Use one ring sort with and the usual unital commutative ring equations. Write for the coherent formula . Add the coherent sequents
This presents the coherent theory of local rings. For an ordinary nonzero ring satisfying these axioms, the nonunits form an ideal: a multiple of a nonunit cannot be a unit; and if nonunits had unit sum, multiplying by would make two nonunits sum to , contradicting the second axiom. They are also closed under additive inverses. This proper ideal contains every proper ideal, since a proper ideal contains no unit, and its quotient is a field; it is the unique maximal ideal. Conversely in a local ring, and cannot both belong to the unique maximal ideal, so one is a unit. The first sequent excludes the zero ring. In a topos, the disjunction asserts that these unit alternatives hold locally.
Let be a small skeleton of the opposite of the category of finitely presented unital commutative rings; write for the object corresponding to . The Zariski coverage on finitely presented rings is generated by
and the empty cover of . Localization is finitely presented, and its compatibility with base change proves the covering axioms.
Here is the classifying argument. For an internal commutative ring and a presentation , define as the subobject of satisfying the polynomial equations . Ring maps induce maps of these solution objects in the site direction. This is independent of presentation, and it preserves finite limits: finite colimits of finitely presented rings correspond to joining finite generators and equations, whose solution objects are finite limits. Conversely a left-exact functor reconstructs a commutative ring using the polynomial maps for addition, multiplication, constants and additive inverse. Presentations by generators and equations then show . Thus flat functors on correspond to internal commutative rings.
Under , the localization arrow above identifies its domain with the locus where evaluates to a unit; the inverse witness is unique. The family is jointly epimorphic exactly when these unit loci cover the solution object for . The locality axiom implies this for every unit-ideal family: from a finite sum , repeatedly apply the two-summand unit alternative, rescaling a unit partial sum when necessary; some , hence some , is a unit locally. Conversely the cover of by its localizations at and gives precisely the locality axiom, while the empty cover of the zero ring gives . Therefore continuous flat functors are exactly models of the displayed coherent theory. The Diaconescu equivalence for geometric morphisms now identifies
naturally in . This proves the asserted classifying topos identification.
Since the site is subcanonical, the generic local ring is the representable sheaf
Its ring operations are induced by polynomial substitution. Its infinitesimal subobject is likewise representable:
Products of representables correspond to tensor products of their rings. For every finitely presented , exponential adjunction and the Yoneda lemma give
Every element of this ring has a unique expression , because form an -basis. This holds even when has nilpotents or zero divisors. The expression is natural under every ring homomorphism , which sends its two coefficients to their images. The canonical morphism , transposed from , is consequently a bijection at every stage , with a natural inverse extracting the coefficients. Therefore
This proves the Kock-Lawvere axiom for the generic local ring. The uniqueness is an internal sheaf assertion tested at all finitely presented rings, including the ring with its generic square-zero element; restricting the test to fields would lose that element and would not prove uniqueness.