information:highlighting, stylistic:style_transfer
Diagenesis

Diagenesis is the process in which sediments are compacted and turned into solid rock. During diagenesis of carbonate sediments, significant chemical and textural changes take place. For example, aragonite is converted to low-magnesium calcite. Diagenesis is the likely origin of pisoliths, concentrically layered particles ranging from 1 to 10 mm (0.039 to 0.394 inches) in diameter found in some limestones. Pisoliths superficially resemble ooids but have no nucleus of foreign matter, fit together tightly, and show other signs that they formed after the original deposition of the sediments.

Silicification occurs early in diagenesis, at low pH and temperature, and contributes to fossil preservation. Silicification takes place through the reaction:

Fossils are often preserved in exquisite detail as chert.

Cementing takes place rapidly in carbonate sediments, typically within less than a million years of deposition. Some cementing occurs while the sediments are still under water, forming hardgrounds. Cementing accelerates after the retreat of the sea from the depositional environment, as rainwater infiltrates the sediment beds, often within just a few thousand years. As rainwater mixes with groundwater, aragonite and high-magnesium calcite are converted to low-calcium calcite. Cementing of thick carbonate deposits by rainwater may commence even before the retreat of the sea, as rainwater can infiltrate over 100 km (60 miles) into sediments beneath the continental shelf.

As carbonate sediments are increasingly deeply buried under younger sediments, chemical and mechanical compaction of the sediments increases. Chemical compaction takes place by pressure solution of the sediments. This process dissolves minerals from points of contact between grains and redeposits it in pore space, reducing the porosity of the limestone from an initial high value of 40% to 80% to less than 10%. Pressure solution produces distinctive stylolites, irregular surfaces within the limestone at which silica-rich sediments accumulate. These may reflect dissolution and loss of a considerable fraction of the limestone bed. At depths greater than 1 km (0.62 miles), burial cementation completes the lithification process. Burial cementation does not produce stylolites.

When overlying beds are eroded, bringing limestone closer to the surface, the final stage of diagenesis takes place. This produces secondary porosity as some of the cement is dissolved by rainwater infiltrating the beds. This may include the formation of vugs, which are crystal-lined cavities within the limestone.

Diagenesis may include conversion of limestone to dolomite by magnesium-rich fluids. There is considerable evidence of replacement of limestone by dolomite, including sharp replacement boundaries that cut across bedding. The process of dolomitization remains an area of active research, but possible mechanisms include exposure to concentrated brines in hot environments (evaporative reflux) or exposure to diluted seawater in delta or estuary environments (Dorag dolomitization). However, Dorag dolomitization has fallen into disfavor as a mechanism for dolomitization, with one 2004 review paper describing it bluntly as "a myth". Ordinary seawater is capable of converting calcite to dolomite, if the seawater is regularly flushed through the rock, as by the ebb and flow of tides (tidal pumping). Once dolomitization begins, it proceeds rapidly, so that there is very little carbonate rock containing mixed calcite and dolomite. Carbonate rock tends to be either almost all calcite/aragonite or almost all dolomite.