lithic grammar

the classification rules that partition continuous geological space into discrete rock names
igneousfelsic

Granite

Coarse-grained felsic intrusive: quartz + feldspar + mica.

SiO₂ = 70% (felsic, ≥70%) + plutonic. Quartz + feldspar + mica in a coarse-grained texture defines granite.

quartzalkali feldsparplagioclasebiotitemuscovite
neighbors: · ·
SiO₂ Classification - Plutonic (top) / Volcanic (bottom)
MaficIntermediateFelsicPlutonicVolcanicGabbroDioriteTonaliteGranodioriteGraniteBasaltAndesiteDaciteRhyolite45%50%52%55%60%63%65%70%75%80%

The Grammar of Rocks

Rock names are discrete labels imposed on continuous geological manifolds. The mineral composition, grain size, temperature, pressure, and formation history of a rock all vary continuously, yet petrology assigns each specimen a discrete name. Three domains (igneous, sedimentary, metamorphic) each use their own classification grammar: different axes, different boundaries, different decision logic.

Igneous Classification

The primary axis is silica content. SiO₂ percentage partitions the space into ultramafic (<45%), mafic (45–52%), intermediate (52–63%), and felsic (>63%). The secondary axis is texture: plutonic (coarse-grained, slow cooling at depth) versus volcanic (fine-grained, rapid cooling at surface). For ultramafic plutonic rocks, a ternary classification based on olivine, orthopyroxene, and clinopyroxene modal proportions further partitions the space.

The IUGS/Streckeisen system uses mineral modes:

Ol+Opx+Cpx=100%\text{Ol} + \text{Opx} + \text{Cpx} = 100\%

with field boundaries at Ol = 90% (dunite), Ol = 40% (peridotite/pyroxenite), and Opx:Cpx ratio (harzburgite vs wehrlite vs lherzolite).

Sedimentary Classification

Clastic sedimentary rocks are classified by grain size following the Wentworth scale: clay (<0.004 mm), silt (0.004–0.063 mm), sand (0.063–2 mm), gravel (>2 mm). Within each size, modifiers refine the classification: fissility distinguishes shale from mudstone, rounding separates conglomerate from breccia, feldspar content yields arkose, poor sorting gives graywacke.

Chemical and organic sedimentary rocks follow different logic entirely: composition (carbonate, siliceous, evaporite) and biogenic origin (plant → coal, shell → coquina, diatom → diatomite).

Metamorphic Classification

Metamorphic classification depends on three variables: protolith (what the rock was before), grade (how much temperature and pressure it experienced), and the pressure regime. The same protolith at different P-T conditions yields different rocks. A pelitic (clay-rich) protolith follows the sequence slate → phyllite → schist → gneiss → migmatite with increasing grade. A mafic protolith takes a different path: greenschist → amphibolite → granulite at normal pressure, but blueschist → eclogite under high pressure.

The Rock Cycle

All three domains connect through geological processes. Weathering breaks down igneous and metamorphic rocks into sediment, lithification compresses sediment into sedimentary rock, metamorphism transforms any rock under heat and pressure, and melting returns material to magma. Every rock is potentially every other rock given enough time and the right conditions. The cycle has no beginning and no end.

Boundaries

Some classification boundaries are sharp: dunite requires >90% olivine. Others are fuzzy: the granite–granodiorite boundary depends on the ratio of alkali feldspar to plagioclase, which varies continuously. Still others are purely conventional: the 63% SiO₂ line separating intermediate from felsic is a human decision, not a physical discontinuity. The playground makes these different boundary types visible: nature is continuous, nomenclature is discrete.

Model version

claude opus 4.8March 2026·first cut. encodes the classification grammars of igneous, sedimentary and metamorphic petrology as three deterministic decision trees over a shared parameter set, with an atlas of 60+ named rocks and a rock-cycle graph. adds calibration of canonical specimens against their accepted names, seven assumptions separating physical boundaries from conventional ones, and a research companion on classification as a formal grammar imposed on continuous geological space.

Calibration

Assumptions

Model changelog

v1.0March 2026
  • igneous grammar: silica percentage partitions ultramafic / mafic / intermediate / felsic, crossed with plutonic vs volcanic texture; an Ol/Opx/Cpx ternary refines ultramafic plutonic rocks.
  • sedimentary grammar: Wentworth grain size for clastic rocks with fissility / rounding / feldspar / sorting modifiers, plus separate chemical (carbonate / siliceous / evaporite) and organic branches.
  • metamorphic grammar: protolith crossed with grade and pressure regime, contact metamorphism as an override, producing Barrovian and mafic-pathway sequences.
  • atlas of 60+ rocks with descriptions, mineralogy and neighbours, plus a rock-cycle graph drawn from curated transformsTo edges.
  • calibration: seven canonical specimens (granite, basalt, dunite, sandstone, limestone, schist, eclogite) derived live from fixed parameters and checked against their accepted names.
  • framing kept honest: assumptions mark which classification boundaries are physical (90% olivine), which are committee conventions (63% silica), and which are fuzzy ratios.