Artin's axioms

Source proofs by the Stacks Project authors, as distributed in the AI Integrated Stacks Project. Source copyright: Copyright (C) 2005 -- 2025 Johan de Jong. This modified course edition is published by the Open Math Courses project, KokunoYumeto/open-math-courses. Writing, adaptation and integration: GPT-6.1 Sol (OpenAI), Codex, Ultra, October 2026. Permission is granted to copy, distribute and modify this modified chapter under the GNU Free Documentation License, Version 1.2 or any later version, with no Invariant Sections, Front-Cover Texts or Back-Cover Texts. Eligible independently written additions retain their CC0 1.0 dedication. Self-checked by the writing AI. The complete licence accompanies this edition.

An algebraic stack has smooth coordinates, whereas a moduli problem usually arrives as a rule assigning a groupoid to each scheme. Artin's criterion constructs coordinates from that rule. The construction has three stages: obtain a versal deformation over a complete local ring, approximate it by a family of finite type, and enlarge its versal locus to an open set. A second argument explains why a flat presentation, even one with inseparable fibres, can be replaced by a smooth presentation.

Read Algebraic stacks first. We use the quotient and bootstrap theorems of The bootstrap theorem, Schlessinger's existence theorem for versal formal objects, the deformation theory of square-zero extensions and the naive cotangent complex, and the commutative algebra of completion and henselization. Precise imported statements appear at the end. All fibre products of groupoids below are 2-fibre products.

1. Infinitesimal objects, arrows and patching

Except in Section 6, let \(S\) be locally Noetherian and let \(\mathcal X\) be a category fibred in groupoids on schemes over \(S\). The subscript “fppf” on this category specifies its underlying site; it does not by itself assert descent.

A finite type field over \(S\) means a field \(k\) with a morphism \(\operatorname{Spec}k\to S\) of finite type. This is more restrictive than being a finitely generated extension of the residue field at an arbitrary point of \(S\). A point of a scheme is a finite type point if its inclusion as the spectrum of its residue field is of finite type. Such a point is closed in some open neighbourhood.

Fix \(x_0\in\mathcal X(k)\). Its predeformation groupoid \(\mathcal F_{k,x_0}(A)\), for an Artinian local \(S\)-algebra \(A\) with specified residue field \(k\), consists of pairs

\[ (x,\iota),\qquad x\in\mathcal X(A),\quad \iota:x|_k\xrightarrow{\sim}x_0. \]

An arrow respects \(\iota\). Pullback along a ring map gives a covariant functor on Artinian rings. The fibre at \(k\) is equivalent to the terminal groupoid: the marking removes the automorphisms of the chosen special object. Automorphisms of its deformations can remain.

1.1. The Rim–Schlessinger condition

For a diagram of Artinian local \(S\)-algebras

\[ A_1\longrightarrow A\longleftarrow A_2,\qquad A_2\twoheadrightarrow A,\qquad P=A_1\times_A A_2, \tag{1.1} \]

whose spectra are of finite type over \(S\), condition (RS) requires the restriction functor

\[ \mathcal X(P)\longrightarrow \mathcal X(A_1)\times_{\mathcal X(A)}\mathcal X(A_2) \tag{1.2} \]

to be an equivalence. The right side remembers the identification on \(A\). Applying (1.2) to marked objects proves that \(\mathcal F_{k,x_0}\) is a deformation category whenever \(\mathcal X\) has (RS).

Condition (RS\(^*\)) requires the same equivalence for arbitrary \(S\)-algebras, with \(A_2\to A\) surjective and its kernel square zero. Filtering a nilpotent ideal into square-zero quotients shows that it implies (RS). The quantifier “arbitrary” is essential in Section 5, where products of modules need not be finite. These definitions are [Stacks, Tags 06L9 and 0CXN].

Lemma 1.1 (the groupoid operations preserve patching). If \(\mathcal X,\mathcal Y,\mathcal Z\) satisfy (RS), then \(\mathcal X\times_{\mathcal Y}\mathcal Z\) does too. The assertion also holds for (RS\(^*\)).

Proof. A patched object consists of an \(\mathcal X\)-object and a \(\mathcal Z\)-object on each side, and an arrow between their images in \(\mathcal Y\). Patch the two objects by essential surjectivity for \(\mathcal X\) and \(\mathcal Z\). Full faithfulness for \(\mathcal Y\) supplies the unique arrow between their images which restricts to the specified arrows. For morphisms, patch the two component arrows by full faithfulness and test their compatibility after restriction; faithfulness for \(\mathcal Y\) proves the compatibility upstairs. This proves both essential surjectivity and full faithfulness. \(\square\)

Lemma 1.2 (algebraic stacks have (RS)). Every algebraic stack satisfies (RS).

Proof. First, a diagram (1.1) is a pushout of affine schemes, and maps from its pushout to an algebraic space patch uniquely. One can check the latter assertion on étale scheme coordinates: after a finite étale cover of the Artinian local pushout, lift the common residue-field point to an étale chart; formal étaleness lifts that choice through the nilpotent thickenings. The two maps then land in a common affine chart, where the assertion is exactly the fibre product identity for rings. Unique lifts make the resulting maps compatible on overlaps, and the algebraic-space sheaf condition descends them. This also proves uniqueness.

For objects of an algebraic stack, use a smooth scheme atlas. After a finite étale cover of \(\operatorname{Spec}P\), the object over \(A_1\) lifts to the atlas: choose a finite separable residue-field point of its smooth atlas fibre and lift through the Artinian thickening. Its restriction to \(A\), together with the given identification, lifts across \(A_2\to A\) by smoothness. The two atlas maps agree on \(A\), and their closed points lie in a common affine atlas chart. The affine pushout patches them to a map from \(\operatorname{Spec}P\).

This constructs the desired object étale locally. The Isom spaces of two such objects are algebraic spaces, so the first paragraph proves that (1.2) is fully faithful. Consequently the local objects have unique compatible descent identifications, including the cocycle equality, and descend to the required object. \(\square\)

The stronger assertion for arbitrary affine pushouts along a thickening is [Stacks, Tag 07WM]. Its general flat-space patching input is not needed for the proof just given.

1.2. Two linear invariants

Write \(k[\epsilon]=k[\epsilon]/(\epsilon^2)\). For a deformation category, define

\[ T_{x_0}\mathcal X= \pi_0\mathcal F_{k,x_0}(k[\epsilon]),\qquad \operatorname{Inf}_{x_0}\mathcal X= \ker\bigl(\operatorname{Aut}(x_0|_{k[\epsilon]}) \to\operatorname{Aut}(x_0)\bigr). \tag{1.3} \]

Patching the split extensions \(k\oplus M\) makes these \(k\)-vector spaces. Addition uses the map \(k[M\oplus N]\to k[M]\) induced by addition of vectors, and scalar multiplication uses multiplication on the square-zero ideal. For infinitesimal automorphisms, addition agrees with composition; terms involving two elements of that ideal vanish.

More generally, under (RS\(^*\)) there are \(A\)-linear functors \(T_x(M)\) and \(\operatorname{Inf}_x(M)\) for \(x\in\mathcal X(A)\). The first is the set of marked lifts to \(A[M]=A\oplus M\), and the second is the automorphism group of the trivial marked lift. If \(A'\twoheadrightarrow A\) has square-zero kernel \(I\), then, when lifts exist, their isomorphism classes form a torsor under \(T_x(I)\). The automorphisms of every marked lift are canonically \(\operatorname{Inf}_x(I)\).

To see the torsor assertion, use

\[ A'\times_A A'\simeq A'\times_A A[I], \quad (a_1,a_2)\longmapsto \bigl(a_1,(\overline a_1,a_2-a_1)\bigr). \tag{1.4} \]

Applying (RS\(^*\)) produces a difference between two lifts. On three lifts, the identity \((a_3-a_1)=(a_2-a_1)+(a_3-a_2)\) proves the addition law. Fixing one lift converts differences into the claimed simply transitive action. All constructions commute with maps of square-zero extensions. This is the mechanism behind [Stacks, Tag 07Y6].

Lemma 1.3 (field change and fibre products). Under (RS), a finite extension \(l/k\) gives

\[ T_{x_0}\mathcal X\otimes_k l\simeq T_{x_0|_l}\mathcal X,\qquad \operatorname{Inf}_{x_0}\mathcal X\otimes_k l\simeq \operatorname{Inf}_{x_0|_l}\mathcal X. \tag{1.5} \]

For \(w=(x,z,\alpha)\) in \(\mathcal W=\mathcal X\times_{\mathcal Y}\mathcal Z\) there is an exact sequence

\[ \begin{aligned} 0\longrightarrow\operatorname{Inf}_w\mathcal W &\longrightarrow\operatorname{Inf}_x\mathcal X\oplus \operatorname{Inf}_z\mathcal Z \longrightarrow\operatorname{Inf}_y\mathcal Y\\ &\longrightarrow T_w\mathcal W \longrightarrow T_x\mathcal X\oplus T_z\mathcal Z \longrightarrow T_y\mathcal Y. \end{aligned} \tag{1.6} \]

Proof. For an Artinian \(l\)-algebra \(B\), apply (RS) to \(B\times_l k\). It identifies marked \(k\)-deformations over that ring with marked \(l\)-deformations over \(B\). The field-change result for linear deformation functors then gives (1.5), including inseparable finite extensions.

In (1.6), the second map is the difference between the two induced infinitesimal automorphisms in \(\mathcal Y\). The boundary twists the trivial pair of deformations by an infinitesimal automorphism of its identifying arrow. Its kernel consists precisely of twists obtainable from component automorphisms. A pair of component deformations comes from \(\mathcal W\) exactly when their \(\mathcal Y\)-images are isomorphic as marked deformations; choices of such an isomorphism differ by the boundary. These observations verify exactness at each term. The constructions by split extensions make all the maps linear. The same proof gives (1.6) with \(T_x(M)\) and \(\operatorname{Inf}_x(M)\) under (RS\(^*\)). \(\square\)

References: [Stacks, Tags 07WW, 07WY and 07YT]. For a naive obstruction complex \(E_x\) as in Section 5.3, the analogous field-change maps on \(H^i(E_x\otimes^{\mathbf L}k)\) are isomorphisms for \(i=0,1\): they are dual to the identifications of \(T\) and \(\operatorname{Inf}\). The indices here are \(0,1\), not \(-1,0\).

Lemma 1.4 (finiteness for an algebraic stack). If an algebraic stack has a smooth atlas locally of finite type over \(S\), the two spaces (1.3) are finite dimensional.

Proof. After a finite separable field extension, lift the object to the atlas. Its tangent space is a quotient of the atlas tangent space, since smoothness lifts deformations. On an affine atlas chart \(\operatorname{Spec}B\) over \(\operatorname{Spec}\Lambda\), that space is \(\operatorname{Hom}_B(\Omega_{B/\Lambda},k)\), which is finite dimensional because \(B\) is of finite type. The infinitesimal automorphisms inject into the tangent space at the identity point of the relation space; an étale scheme chart of that space is again locally of finite type. Apply the same argument and descend finiteness by (1.5). \(\square\)

This proof uses the finite module of differentials, so it also covers inseparable residue-field extensions. The reference is [Stacks, Tag 07X1].

2. Limits, complete local rings and approximation

2.1. Limit preservation includes arrows

The category \(\mathcal X\) is limit preserving if, for every directed inverse system of affine \(S\)-schemes with limit \(T=\lim T_i\),

\[ \mathop{\operatorname{colim}}_i\mathcal X(T_i) \longrightarrow\mathcal X(T) \tag{2.1} \]

is an equivalence. An object must descend to some stage. An arrow between descended objects must descend after increasing that stage, and two arrows equal on \(T\) must become equal at a later stage. Requiring only descent of objects is weaker. For a morphism \(\mathcal X\to\mathcal Y\), “limit preserving on objects” refers to descent of a lift of an already descended \(\mathcal Y\)-object, including its specified identifying arrow. See [Stacks, Tags 07XK and 06CT].

Finite presentation of algebras, modules, étale charts and their finite diagrams gives the following useful test. An algebraic space \(Z\to B\) is locally of finite presentation exactly when its functor on affine \(B\)-schemes preserves directed limits. One checks this on étale affine charts; finite presentation descends the chart and its equality data, and the étale sheaf condition glues the descended morphisms. The converse on an affine chart is the ring criterion for finite presentation, followed by étale descent.

Lemma 2.1 (testing on finite presentation bases). Suppose \(\mathcal Y\) is limit preserving on objects and both categories are Zariski stacks. To establish representability of \(f:\mathcal X\to\mathcal Y\) by algebraic spaces, it suffices to establish it over affine tests \(V\) locally of finite presentation over \(S\), with a uniform allowable size bound. Once representability is known, any property stable under base change and fppf local on the target can be tested on those same \(V\).

Proof. An affine \(V\) mapping into \(\operatorname{Spec}\Lambda\subset S\) is a limit of affine schemes of finite presentation over \(\Lambda\). The object testing \(f\) descends to a stage \(V_i\); its entire fibre category is therefore represented by the base change of the representing space over \(V_i\). For general \(V\), do this on affine opens. On overlaps the representing spaces have canonical compatible isomorphisms, since they represent the same category. Zariski descent glues them. The size bound permits the coproduct of their charts in the chosen site.

For the property assertion, the same calculation identifies the general fibre morphism with a base change of a finite presentation test. Base change and locality prove the claim. \(\square\)

References: [Stacks, Tags 07WI and 06CT]. Fibre products preserve limit preservation: descend both component objects, then their identifying arrow, and finally the finitely many equalities required for a morphism.

2.2. Formal effectiveness is a groupoid assertion

A formal object over a Noetherian complete local \(S\)-algebra \(R\), with residue field of finite type over \(S\), is a compatible system \(\xi_n\in\mathcal X(R/\mathfrak m^n)\), including its transition isomorphisms. It is effective if it is the completion of an object of \(\mathcal X(R)\). The stronger assertion used in axiom [4] is the equivalence

\[ \mathcal X(R)\xrightarrow{\ \sim\ } \varprojlim_n\mathcal X(R/\mathfrak m^n). \tag{2.2} \]

The limit on the right is a groupoid of compatible systems. The equivalence must include all compatible arrows, not only the existence of algebraizations. These equivalences also respect the local base morphisms in the category of formal objects. See [Stacks, Tag 07X3].

Lemma 2.2 (formal objects of algebraic stacks). Every algebraic stack satisfies (2.2).

Proof. A compatible system of maps to a scheme has its closed point in one affine open. Ring maps into the complete ring \(R=\lim R/\mathfrak m^n\) then give the unique algebraized map. For an algebraic space, choose an étale chart at the formal closed point. After a finite étale extension \(R'/R\), formal étaleness gives compatible lifts to that chart. The scheme assertion algebraizes them. Their identifying arrows algebraize by the same argument on the chart relation, and faithfulness verifies the cocycle. Étale descent gives the unique map over \(R\).

For a stack, two objects have an algebraic-space Isom sheaf. The preceding paragraph proves full faithfulness in (2.2). To algebraize a formal object, choose a smooth atlas and a finite separable residue-field point of its first fibre. The corresponding finite étale extension \(R'\) of the complete local ring lifts this point. Smoothness successively lifts it at every order. The resulting maps to the scheme atlas algebraize. Over \(R'\otimes_RR'\), a finite product of complete local rings, full faithfulness algebraizes the formal descent arrows. It also proves their cocycle on the triple product and identifies the descended object's completion with the specified formal object. Effective étale descent finishes the proof. \(\square\)

Equivalences commute with 2-fibre products. Thus (2.2), just like (RS), passes to a fibre product of three categories satisfying it.

2.3. The approximation input and its use

A Noetherian ring is a G-ring if every localization has geometrically regular formal fibres. Appendix B proves the following approximation theorem, including the desingularization and G-ring permanence inputs, with both residue-field cases retained.

Artin approximation. A regular map of Noetherian rings is a filtered colimit of smooth algebras (Popescu's theorem). If \(B\) is a henselian Noetherian local G-ring, a finite polynomial system over \(B\) with a solution in \(\widehat B\) has, for every \(N\), a solution in \(B\) congruent to it modulo \(\mathfrak m^N\). For a local G-ring which is not henselian, the solution lies in an étale neighbourhood inducing the same residue field. These are [Stacks, Tags 07GC, 07QY and 07QZ].

The object version needed here also preserves associated graded rings.

Lemma 2.3 (approximating a family). Let \(\mathcal X\) be limit preserving on objects. Let \(x_R\in\mathcal X(R)\), where \(R\) is as in (2.2), and let \(s\) be the image of its closed point in \(S\). If \(\mathcal O_{S,s}\) is a G-ring, then, for every \(N\), there are a finite type \(S\)-algebra \(A\), a maximal ideal \(\mathfrak n\), and \(x_A\in\mathcal X(A)\), together with

\[ A/\mathfrak n^N\simeq R/\mathfrak m^N,\qquad x_A|_{A/\mathfrak n^N}\simeq x_R|_{R/\mathfrak m^N},\qquad \operatorname{gr}_{\mathfrak n}A\simeq \operatorname{gr}_{\mathfrak m}R. \tag{2.3} \]

Proof. Choose an affine open $\operatorname{Spec}\Lambda\subset S$ containing $s$. The map from the local scheme $\operatorname{Spec}R$ factors through it: its inverse image is an open containing the closed point of a local spectrum, hence the entire spectrum. The finite-type hypothesis on the residue field says that $k$ is a finitely generated $\Lambda$-algebra on this chart. Since $S$ is locally Noetherian, $\Lambda$ is Noetherian.

Write $R$ as the filtered colimit of its finite-type $\Lambda$-subalgebras. Limit preservation on objects gives a finite-type algebra $C$, a map $C\to R$, and an object $x_C$, with a chosen isomorphism $x_C|_R\simeq x$. No descent assertion about all arrows of $\mathcal X$ is being assumed. Choose a finite presentation

$$C=\Lambda[y_1,\ldots,y_u]/(f_1,\ldots,f_v),$$

and write $\bar a_i\in R$ for the images of its generators.

Choose finitely many generators of $k$ as a $\Lambda$-algebra and lift them to $R$. Add lifts of a finite generating set of $\mathfrak m_R$. These choices define a polynomial ring $T=\Lambda[z_1,\ldots,z_e]$ and a map $T\to R$ whose reduction to $k$ is surjective and whose image contains generators of $\mathfrak m_R$. Thus $\mathfrak n=\ker(T\to k)$ is maximal. Elements outside $\mathfrak n$ map to units of $R$, so the map extends to the local ring $Q=T_{\mathfrak n}$ and then continuously to

$$P=\widehat Q\longrightarrow R.$$

Here is a direct proof of its surjectivity. The chosen elements generate $\mathfrak m_R^j/\mathfrak m_R^{j+1}$ by their degree-$j$ monomials with coefficients in $k$. Those coefficients lift through $Q\to k$. Starting with any element of $R$, lift its residue and then its successive errors by such monomials. At the $j$th correction the added element lies in $\mathfrak m_Q^j$. The partial lifts are Cauchy in $Q$, hence define an element of $P$, and their images converge to the prescribed element of the complete ring $R$. This proves surjectivity; it also proves the usual surjective-cotangent-space criterion in this instance.

The complete ring $P$ is Noetherian. Choose generators $b_1,\ldots,b_r$ of the kernel, and lifts $a_i\in P$ of the $\bar a_i$. Choose coefficients $c_{ji}$ such that

$$f_j(a_1,\ldots,a_u)=\sum_{i=1}^r c_{ji}b_i.$$

The syzygy module of $(b_1,\ldots,b_r)$ is finite. Choose generators $k_\ell=(k_{\ell1},\ldots,k_{\ell r})$, giving an exact presentation

$$P^{\oplus t}\xrightarrow K P^{\oplus r} \xrightarrow{(b_1,\ldots,b_r)}P\longrightarrow R\longrightarrow0.$$

The map $K$ sends the $\ell$th basis vector to $k_\ell$; in particular $\sum_i k_{\ell i}b_i=0$.

Let $c$ be one Artin–Rees constant for both displayed maps relative to $\mathfrak m_P$, and choose $M\geq\max(N,c+1)$. The common constant exists by Artin–Rees for finite modules, and increasing a constant preserves its defining inclusions. The finite-complex perturbation and canonical graded-quotient statements are the written Lesson 7, Appendix A, Lemmas A.1–A.2. We use their full statements here and do not reproduce their proof.

Put $\mathfrak p=\mathfrak n\cap\Lambda$. The hypothesis says that $\Lambda_{\mathfrak p}$ is a G-ring. The permanence theorem proved below makes its essentially finite-type algebra $Q$ a G-ring. Apply the pointed étale-neighbourhood approximation theorem of Section 5 simultaneously to the following finite polynomial system:

$$f_j(A_1,\ldots,A_u)=\sum_i C_{ji}B_i, \qquad \sum_i K_{\ell i}B_i=0.$$

The tuple $(a_i,b_i,c_{ji},k_{\ell i})$ is an exact formal solution in $P$. We obtain an étale $Q$-algebra $B$, a maximal ideal $\mathfrak q$ above $\mathfrak n$ with residue field exactly $k$, and a solution $(a'_i,b'_i,c'_{ji},k'_{\ell i})$ whose entries differ from the old ones by $\mathfrak m_P^M$. The induced identification $\widehat{B_{\mathfrak q}}=P$ preserves the map from $Q$, its residue field and every finite-order quotient. There is no need to inject the entire possibly disconnected algebra $B$ into $P$.

Because $b_i$ lies in $\mathfrak m_P$ and $M\geq1$, each $b'_i$ lies in $\mathfrak q$. Set

$$A^*=B/(b'_1,\ldots,b'_r),\qquad \mathfrak m^*=\mathfrak q/(b'_1,\ldots,b'_r).$$

The exact polynomial relations define $C\to A^*$ by $y_i\mapsto a'_i$, so they give $x^*=x_C|_{A^*}$. Completion of a quotient of a Noetherian local ring gives

$$\widehat{(A^*)_{\mathfrak m^*}}=P/(b'_1,\ldots,b'_r).$$

This uses exactness of Noetherian completion for finite modules, supplied by the written completion prerequisite. As $b'_i-b_i\in\mathfrak m_P^M$, the ideals generated by the two lists become identical after adding $\mathfrak m_P^M$. Consequently

$$A^*/(\mathfrak m^*)^M \simeq P/((b'_1,\ldots,b'_r)+\mathfrak m_P^M) =P/((b_1,\ldots,b_r)+\mathfrak m_P^M) \simeq R/\mathfrak m_R^M.$$

Localization at the selected maximal ideal does not change these quotients: every element outside that ideal is already a unit modulo any of its powers. The two maps from $C$ to the displayed common quotient agree, because $a'_i-a_i\in\mathfrak m_P^M$. Restricting the chosen $x_C|_R\simeq x$ therefore gives the required marked comparison of objects at order $M$, hence at order $N$.

The matrix $K'$ and row $(b'_i)$ still form a complex, since all the syzygy equations were preserved exactly. Their entries differ from those of the original exact presentation by $\mathfrak m_P^M\subset\mathfrak m_P^{c+1}$. Lesson 7, Lemma A.2 now identifies the initial ideals inside $\operatorname{gr}_{\mathfrak m_P}P$. Its canonical identity on that graded algebra yields

$$\operatorname{gr}_{\mathfrak m_R}R \simeq\operatorname{gr}_{\mathfrak m_P} \bigl(P/(b'_1,\ldots,b'_r)\bigr).$$

This is an isomorphism of graded algebras. The quotient filtration is the maximal-ideal filtration, so completion identifies its right side with $\operatorname{gr}_{\mathfrak m^*}A^*$. This explains why the entire relation complex was approximated: approximating only the ideal generators would not provide the reverse initial-ideal containment.

It remains to obtain a finite-type algebra over the original affine chart. The algebra $A^*$ is of finite presentation over $Q=T_{\mathfrak n}$. Its finitely many generators, relations and denominators descend to a finite-type $T$-algebra $A_0$ with

$$A^*=(A_0)_{T\setminus\mathfrak n} =\operatorname{colim}_{f\in T\setminus\mathfrak n}(A_0)_f.$$

Products of denominators direct this system. Limit preservation on objects descends $x^*$ to an object $x_A$ at some stage $A=(A_0)_f$, with a specified isomorphism after base change to $A^*$. This algebra is finite type over $\Lambda$ and hence over $S$. Let $\mathfrak m_A$ be the inverse image of $\mathfrak m^*$. The image of $A\to k$ contains the image of $T$, which already surjects onto $k$ by the original residue-field generators. Thus $A/\mathfrak m_A=k$: the selected prime is maximal and has exactly the prescribed residue field.

Since $A^*$ is a localization of $A$ away from elements outside the selected point,

$$A_{\mathfrak m_A}\simeq (A^*)_{\mathfrak m^*}.$$

Localization at a maximal ideal preserves every quotient by its powers and therefore its associated graded algebra. All the ring comparisons constructed above consequently descend to $A$. Restricting the specified isomorphism $x_A|_{A^*}\simeq x^*$ to their common finite-order quotient supplies the required marking on objects; no finite-stage descent of an arbitrary arrow was needed. This proves all assertions. $\square$

The construction follows the Stacks Project proof of family approximation, Tag 07XB. The proof above spells out the complete-local presentation and the final finite-stage point and object comparisons. Its Popescu, G-ring and étale-completion inputs are proved in this reader or bound to the exact written commutative-algebra providers. The separate finite-complex comparison is bound to the actual written Lesson 7 appendix.

Reference: [Stacks, Tag 07XB]. Appendix A proves the finite-complex comparison as commutative algebra before applying it to algebraicity.

3. From versality to a smooth chart

A formal object \(\xi\) over \(R\) is versal if its functor of marked pullbacks to Artinian local rings is smooth: a pullback over \(B\) can be lifted across every small extension \(B'\twoheadrightarrow B\), together with the specified identification with a deformation over \(B'\). A small extension has one-dimensional residue-field kernel.

For \(x\in\mathcal X(U)\), with \(U\) locally of finite type over \(S\), say that \(x\) is versal at \(u\) when

\[ \mathcal F_{U,\kappa(u),u}\longrightarrow \mathcal F_{\mathcal X,\kappa(u),x_u} \tag{3.1} \]

is smooth. Maps from Artinian local rings with that closed point factor uniquely through the completion of \(\mathcal O_{U,u}\); thus (3.1) is exactly versality of the completed object.

The Schlessinger theorem used as a prerequisite says that (RS) and finite-dimensional tangent space give a versal formal object with Noetherian complete local parameter ring [Stacks, Tag 06IW]. It concerns groupoids and retains their markings; it does not require absence of automorphisms.

Lemma 3.1 (algebraizing a versal chart). If \(\xi\) is effective and versal, \(\mathcal X\) is limit preserving on objects, and \(\mathcal O_{S,s}\) is a G-ring at its image point, then \(\xi\) is isomorphic to the completion of a finite type family \(x_A\) at a point with the same residue field.

Proof. Apply Lemma 2.3 with \(N=2\). Versality successively lifts the identifying map at order two to a compatible map from \(\xi\) to the completion of \(x_A\). Its ring map \(R\to\widehat{A_{\mathfrak n}}\) is surjective: it is surjective on the residue field and cotangent space, and complete Nakayama gives surjectivity at each order, then on the inverse limit. The two rings have equal dimensions of all graded pieces by (2.3). The surjections on their Artinian quotients therefore have equal finite lengths and are isomorphisms. Their inverse limit is an isomorphism, including the family and its transition identifications. \(\square\)

Reference: [Stacks, Tag 07XH]. Approximation alone would not preserve versality; the graded-ring comparison supplies the missing step.

Lemma 3.2 (versal everywhere implies smooth). Suppose \(\mathcal X\) has representable diagonal, satisfies (RS), and is limit preserving. If \(U\) is locally of finite type over \(S\) and \(x\in\mathcal X(U)\) is versal at every finite type point, then \(U\to\mathcal X\) is smooth.

Proof. Its base change by an affine \(V\to\mathcal X\) locally of finite presentation over \(S\) is an algebraic space \(Z=U\times_{\mathcal X}V\). The finite presentation limit test and the fibre product argument in Section 2 show that \(Z\) is locally of finite presentation over \(S\). Choose an étale scheme chart \(W\to Z\).

At a finite type point \(w\), the induced field-valued point of \(U\) has finite residue extension of the image point. Lemma 1.3 and smoothness under field change for deformation categories therefore preserve versality. The deformation category of \(Z\) is the fibre product of those of \(U\) and \(V\) over that of \(\mathcal X\). Smoothness of (3.1) passes to this fibre product and then through \(W\to Z\). The Artinian lifting test for a morphism of schemes locally of finite type over a locally Noetherian scheme [Stacks, Tag 02HX] makes \(W\to V\) smooth at \(w\).

The smooth locus is open. Every nonempty closed subset of a scheme contains a point closed in an affine open, hence a finite type point. Thus this locus is all of \(W\). Smoothness descends through the étale chart to \(Z\to V\). Lemma 2.1 extends the conclusion to arbitrary tests \(V\). \(\square\)

The same argument at a single finite type point proves the version used later: for finite type \(U,V\), versality at \(u\) makes \(U\times_{\mathcal X}V\to V\) smooth at each finite type point above \(u\). The representable diagonal is locally of finite type because its Isom functors preserve limits. These statements explain [Stacks, Tags 07XD and 07XP].

Openness of versality asks that a versal finite type point of every finite type family have an open neighbourhood on whose finite type points the family is versal. For \(f:\mathcal X\to\mathcal Y\), it means openness for every base change by a finite type scheme over \(\mathcal Y\). In particular, openness for a diagonal is a separate condition.

4. The axioms and the two Artin criteria

Here is the numbering of [Stacks, Tag 07XJ].

Axiom Requirement
[−1] One allowable cardinal bounds the object isomorphism classes and arrow sets of all finite type field fibres, so the required family of charts belongs to the chosen site.
[0] \(\mathcal X\) is a stack for the étale topology.
[1] The full groupoid equivalence (2.1) holds.
[2] \(\mathcal X\) satisfies (RS).
[3] Both spaces (1.3) are finite dimensional at every finite type field object.
[4] Completion to formal objects is an equivalence, including arrows, as in (2.2).
[5] Openness of versality holds for \(\mathcal X\) and for \(\Delta_{\mathcal X}\).

Fix small models of the field groupoids when recording the bound in [−1]; the construction chooses representatives of their isomorphism classes. For a functor in sets, [0] says étale sheaf, [3] concerns only tangents, [4] is bijectivity of completion, and [5] asks openness for the functor itself. This is [Stacks, Tag 07XZ].

Theorem 4.1 (Artin with representable diagonal). Suppose \(\mathcal O_{S,s}\) is a G-ring for every finite type point \(s\) of \(S\). Suppose \(\mathcal X\) has representable diagonal, satisfies [−1]–[3], every formal object is effective, and openness of versality holds for \(\mathcal X\). Then \(\mathcal X\) is an algebraic stack. If it is a functor in sets, it is an algebraic space.

Proof. For every finite type field object \(x_0\), Schlessinger's theorem gives a versal formal object. Effectiveness and Lemma 3.1 give a finite type scheme family through \(x_0\), at a point with exactly its residue field. Shrink that scheme by openness of versality. Lemma 3.2 makes the resulting morphism to \(\mathcal X\) smooth. Axiom [−1] allows their disjoint union \(U\).

For an affine finite presentation test \(V\to\mathcal X\), the image of \(U\times_{\mathcal X}V\to V\) is open. It contains every finite type point \(v\): the chart chosen for the object over \(\kappa(v)\), and its specified special point, give a point of this fibre product above \(v\). The complement must consequently be empty. Lemma 2.1 proves surjectivity on every test.

The relation \(R=U\times_{\mathcal X}U\) is an algebraic space, with smooth projections. The quotient stack of this smooth groupoid is algebraic by Lesson 5. It agrees with \(\mathcal X\) as an étale stack: smooth surjections have local sections for the étale topology, so every \(\mathcal X\)-object has local coordinates in \(U\); its arrows and their composition are exactly \(R\). Étale descent identifies the two stacks, proving also the fppf stack condition.

For a functor in sets the quotient has no automorphisms. The smooth relation is an equivalence relation. The flat bootstrap of Lesson 2 identifies its sheaf quotient as an algebraic space, and the same étale local-coordinate argument identifies that space with the original functor. \(\square\)

This proves [Stacks, Tags 07Y1 and 07Y4], including the functor criterion's assumption that its diagonal is representable by algebraic spaces.

4.1. Recovering the diagonal

The second diagonal

\[ \Delta_\Delta:\mathcal X\longrightarrow \mathcal X\times_{\mathcal X\times_S\mathcal X}\mathcal X \tag{4.1} \]

is the identity section of the inertia category. Its representability says that the condition \(\alpha=\operatorname{id}\), for a family of automorphisms, is represented by an algebraic space over its parameter scheme. For two isomorphisms \(\alpha,\beta:x\to y\), equality is the condition \(\alpha^{-1}\beta=\operatorname{id}_x\). Consequently (4.1) is representable exactly when every Isom functor has representable diagonal. This is the direct equality test in [Stacks, Tag 07WG].

Theorem 4.2 (Artin's stack criterion). Let \(S\) be locally Noetherian, with \(\mathcal O_{S,s}\) a G-ring at every finite type point. Let \(\mathcal X\) satisfy [−1]–[5]. If its second diagonal (4.1) is representable by algebraic spaces, then \(\mathcal X\) is an algebraic stack.

Proof. Take an affine \(V\) locally of finite presentation over \(S\), and two objects \(x_1,x_2\in\mathcal X(V)\). Their Isom category is a setoid: an object is an isomorphism between the two fixed objects, and it has no nontrivial automorphisms after the two identifications are fixed. Thus its isomorphism-class functor \(I\) is an étale sheaf, by [0]. Its diagonal is representable by the equality test above.

We verify the remaining functor axioms for \(I\). The bound [−1] follows from the bound on arrows in \(\mathcal X\). Limits and (RS) follow by forming the fibre product of \(\mathcal X\to\mathcal X\times_S\mathcal X\) with \(V\), using Lemma 1.1 and the full arrow version of limit preservation. The six-term sequence (1.6) shows that its tangent space is an extension of subquotients of the tangents and infinitesimal automorphisms of \(\mathcal X\) and \(V\); all are finite dimensional. Lemma 2.2 gives effectiveness for the scheme \(V\), and axiom [4] for \(\mathcal X\), together with full faithfulness, algebraizes the identifying arrows. Completion therefore commutes with this fibre product. Finally [5] for \(\Delta_{\mathcal X}\) is exactly openness of versality for \(I\).

The base \(V\) is locally Noetherian. Its local rings at finite type points are essentially of finite type over the corresponding local rings of \(S\), so they are G-rings [Stacks, Tag 07PV]. The functor case of Theorem 4.1 now makes \(I\) an algebraic space over \(V\). Lemma 2.1 extends this assertion from finite presentation tests to all tests; its size bound is the field-arrow bound just used, together with the size of the finite type charts constructed in Theorem 4.1. Thus \(\Delta_{\mathcal X}\) is representable.

Apply the stack case of Theorem 4.1. Its hypotheses are now established, and its smooth atlas proves the conclusion. \(\square\)

Reference: [Stacks, Tag 07Y5]. Neither representability of the first diagonal nor algebraicity is assumed in this argument. The G-ring condition is used at the approximation stage, before constructing the atlas.

5. Two ways to prove openness

5.1. A failed lift can be placed in a family

We first isolate the argument which lets infinitesimal information detect an open locus. Suppose \(\mathcal X\) has (RS\(^*\)), representable diagonal, and limit preservation. Work with \(x\in\mathcal X(A)\), where \(U=\operatorname{Spec}A\) is of finite type over \(\operatorname{Spec}\Lambda\subset S\).

Lemma 5.1 (a witness to nonversality). If \(x\) is not versal at a finite type point \(u\), there is a square-zero extension \(C\twoheadrightarrow A\) with kernel \(\kappa(u)\), and a marked lift \(y\in\mathcal X(C)\), which admits no retraction to the family \(x\) on any open neighbourhood of \(u\).

Here a retraction means a morphism \(r:\operatorname{Spec}C\to U\) restricting to the identity on \(U\), and an isomorphism \(y\simeq r^*x\) restricting to the marking \(y|_U\simeq x\).

Proof. Failure of versality is witnessed by a small extension \(B'\twoheadrightarrow B\), a map \(A\to B\) with closed point \(u\), and a lift of the resulting object over \(B'\), for which the specified lifting problem has no solution. Take \(C=A\times_B B'\). Its kernel is the one-dimensional \(\kappa(u)\)-module of the small extension. Condition (RS\(^*\)) patches \(x\) and the object over \(B'\) to \(y\). A retraction near \(u\) pulls back to \(\operatorname{Spec}B'\), whose sole point lies over \(u\). It would supply exactly the forbidden lift, with its required identification. \(\square\)

Lemma 5.2 (retraction near a versal point). Let \(u_0\) be a versal finite type point. Every marked lift of \(x\) over a square-zero extension \(D\twoheadrightarrow A\) which is of finite type over \(\Lambda\) admits a retraction after shrinking around \(u_0\). The same assertion holds for a possibly infinite extension whenever its marked lift descends to such a finite type extension.

Proof. For the descended family \(x_D\), form \(Z=U\times_{\mathcal X}\operatorname{Spec}D\). The marking gives a section \(i:U\to Z\) over the thickening \(U\subset\operatorname{Spec}D\). The single-point version of Lemma 3.2 shows that \(Z\to\operatorname{Spec}D\) is smooth at \(i(u_0)\). Shrink \(U\) so it is smooth along the whole section. The infinitesimal lifting property of this smooth algebraic space lifts \(i\) across the affine square-zero thickening. The lifted map to \(Z\) supplies both a retraction to \(U\) and the desired isomorphism of objects. Pullback gives the final assertion. \(\square\)

These lemmas also show that versality is preserved under generalization among finite type points. Indeed, descend the witness of Lemma 5.1 to a finite type \(\Lambda\)-subalgebra of \(C\) containing lifts of generators of \(A\). Its map to \(A\) is surjective and its kernel square zero. If \(u\) specialized to a versal \(u_0\), Lemma 5.2 would retract it on a neighbourhood of \(u_0\), hence on a neighbourhood of \(u\), a contradiction.

The following modest Noetherian topological facts will be used. Every subset has the same closure as its points maximal under generalization, and an infinite dense subset of a Noetherian scheme has a countable dense subset [Stacks, Tags 0G2R and 0G2F]. Consequently, if the nonversal finite type points accumulate at a versal \(u_0\), one can choose a countable sequence \(u_i\) of nonversal points, with no specializations between them, whose closure contains \(u_0\). No individual \(u_i\) specializes to \(u_0\).

This gives the strong-effectiveness criterion of [Stacks, Tag 0CXU]. If every compatible system over surjective ring towers \(R_n\), with square-zero \(\ker(R_m\to R_n)\) for \(m\geq n\), is effective over \(\lim R_n\), then openness of versality holds. To prove it, take the witnesses \(C_i\to A\) just constructed and their finite fibre products

\[ R_n=C_1\times_A\cdots\times_A C_n. \tag{5.1} \]

Their kernels over \(A\) are direct sums of \(\kappa(u_i)\), with square-zero multiplication. Condition (RS\(^*\)) patches their marked objects compatibly. Strong effectiveness gives an object over \(\lim R_n\). Limit preservation descends that object to a finite type subalgebra surjecting onto \(A\). Lemma 5.2 gives a retraction near \(u_0\). Pulling it to any \(C_i\) whose point lies in that neighbourhood contradicts Lemma 5.1. Thus the accumulating sequence cannot exist. This proves the criterion, with its stronger tower hypothesis explicitly distinguished from axiom [4].

5.2. Product-compatible obstruction modules

An obstruction theory consists of \(A\)-linear functors \(\mathcal O_x:\operatorname{Mod}_A\to\operatorname{Mod}_A\), functorial in the object, base ring and module, and elements

\[ o_x(A')\in\mathcal O_x(I),\qquad I=\ker(A'\to A), \tag{5.2} \]

for each square-zero extension. They must commute with maps of deformation situations, and must satisfy

\[ x\text{ has a marked lift to }A' \quad\Longleftrightarrow\quad o_x(A')=0. \tag{5.3} \]

Functoriality includes the identity and composition laws for maps \((A,x,M)\to(B,x|_B,N)\), with an \(A\)-linear map \(M\to N\). An obstruction module without the equivalence (5.3) is insufficient for the theorem below. See [Stacks, Tag 07YG].

Theorem 5.3 (the product criterion). Suppose \(\mathcal X\) has representable diagonal, (RS\(^*\)), and limit preservation. Suppose it has an obstruction theory such that for every object \(x\) and every countable collection of modules \(M_i\),

\[ T_x\Bigl(\prod_i M_i\Bigr)\xrightarrow{\sim} \prod_iT_x(M_i),\qquad \mathcal O_x\Bigl(\prod_i M_i\Bigr)\longrightarrow \prod_i\mathcal O_x(M_i)\ \text{is injective}. \tag{5.4} \]

Then \(\mathcal X\) satisfies openness of versality.

Proof. If openness fails at \(u_0\), choose the sequence and marked witnesses \(y_i/C_i\) of Section 5.1. Form the ring

\[ D=\prod_A C_i =\{(c_i)\in\prod_iC_i:\text{all images in }A\text{ agree}\}. \]

It surjects onto \(A\) with square-zero kernel \(M=\prod_i\kappa(u_i)\). The obstruction \(o_x(D)\) maps to \(o_x(C_i)=0\) for every \(i\). Injectivity in (5.4) makes it zero, so choose a marked lift \(y/D\).

For each \(i\), its restriction and \(y_i\) differ by \(t_i\in T_x(\kappa(u_i))\), using the torsor of Section 1.2. The first condition of (5.4) supplies \(t\in T_x(M)\) with all these components. Replace \(y\) by \(t\cdot y\). Its restrictions are now isomorphic to the specified \(y_i\) as marked lifts. In particular the isomorphisms respect \(x\), which is necessary for the next step.

Limit preservation descends \(y\) to a finite type \(\Lambda\)-subalgebra \(D_0\subset D\). Increase \(D_0\) to include lifts of generators of \(A\). Then \(D_0\twoheadrightarrow A\) is a finite type square-zero extension, and its family restricts to \(x\) with the inherited marking. Lemma 5.2 retracts it near \(u_0\). Pull this retraction through \(D_0\to D\to C_i\). Since \(u_0\) lies in the closure of the \(u_i\), some \(u_i\) lies in that neighbourhood. The retraction of the corresponding marked \(y_i\) contradicts its defining property.

This proves the theorem directly; no effectiveness assertion for objects over infinite towers is assumed. \(\square\)

This is [Stacks, Tag 0CYF]. The proof only needs compatibility of obstruction classes for maps with fixed quotient \(A\), but (5.2) has been stated with the usual full functoriality.

5.3. Naive cotangent obstruction theories

Use cohomological indexing. For \(A=\Lambda[z_1,\ldots,z_r]/J\), the naive cotangent complex is

\[ \mathrm{NL}_{A/\Lambda}= \bigl[J/J^2\longrightarrow A^{\oplus r}\bigr] \quad\text{in degrees }-1,0. \tag{5.5} \]

A square-zero surjection \(A'\to A\) with kernel \(I\) gives \(\mathrm{NL}_{A/A'}\simeq I[1]\). The successive maps of naive cotangent complexes have zero composition, but in general do not form a distinguished transitivity triangle.

A naive obstruction theory assigns \(E_x\in D^-(A)\) and \(\xi_x:E_x\to\mathrm{NL}_{A/\Lambda}\), together with

\[ \operatorname{Inf}_x(M)\simeq \operatorname{Ext}^{-1}_A(E_x,M),\qquad T_x(M)\simeq\operatorname{Ext}^{0}_A(E_x,M). \tag{5.6} \]

Its required compatibilities are as follows. Base change \(A\to B\) gives maps \(E_x\to E_{x|_B}\) in \(D(A)\), compatible with \(\xi\), identities and compositions. The identifications (5.6) respect the module and base-change maps of Section 1.2. The class of \(E_x\to\mathrm{NL}_{A/\Lambda}\to\Omega_{A/\Lambda}\) is the canonical deformation obtained by pulling \(x\) along \(a\mapsto(a,da)\) into \(A[\Omega_{A/\Lambda}]\). Finally, \(x\) lifts across \(A'\to A\) exactly when

\[ E_x\longrightarrow\mathrm{NL}_{A/\Lambda} \longrightarrow \mathrm{NL}_{A/A'}\simeq I[1] \tag{5.7} \]

is zero in \(D(A)\). All these requirements, not just a complex of finite modules, enter the definition [Stacks, Tag 07YP].

Lemma 5.4 (the fibre criterion). Assume (RS\(^*\)) and the tangent and obstruction properties just specified for \(x/A\). At a finite type point \(u\) with residue field \(k\), consider

\[ \begin{split} H^{-1}(E_x\otimes_A^{\mathbf L}k)&\twoheadrightarrow H^{-1}(\mathrm{NL}_{A/\Lambda}\otimes_A^{\mathbf L}k),\\ H^0(E_x\otimes_A^{\mathbf L}k)&\hookrightarrow H^0(\mathrm{NL}_{A/\Lambda}\otimes_A^{\mathbf L}k). \end{split} \tag{5.8} \]

These conditions imply versality. If \(u\) is closed in \(U\), versality implies them.

Proof. For a bounded-above complex \(E\), \[ \operatorname{Ext}^i_A(E,k) \simeq\operatorname{Hom}_k(H^{-i}(E\otimes_A^{\mathbf L}k),k). \tag{5.9} \] Resolve by free modules and split the resulting complex of vector spaces to obtain this identity.

The second condition of (5.8), by (5.9) and the canonical-element compatibility, says that \(\operatorname{Der}_\Lambda(A,k)\to T_x(k)\) is surjective. For a small extension \(B'\to B\) with residue field \(k\), the obstruction to lifting \(A\to B\) is in \(\operatorname{Ext}^1_A(\mathrm{NL}_{A/\Lambda},k)\). The first condition makes its map to \(\operatorname{Ext}^1_A(E_x,k)\) injective. If the pulled-back object lifts to \(B'\), (RS\(^*\)) gives a lift of \(x\) to \(A\times_BB'\), so (5.7) kills that image. The ring obstruction is therefore zero. Choose a lift of the ring map. Its object may differ from the prescribed marked object by a tangent class, but the surjectivity on tangents adjusts the lift by a derivation to remove the difference. This solves the lifting problem, including its identifying arrow, and proves sufficiency.

For necessity, tangent surjectivity follows immediately from versality. Suppose the first map in (5.8) were not onto. Choose a functional on \(H^{-1}(\mathrm{NL}\otimes^{\mathbf L}k)\) which kills the image and is nonzero. Extend it to \(J/J^2\otimes_Ak\), and denote the resulting functional by \(\lambda\). With \(P=\Lambda[z_1,\ldots,z_r]\), set

\[ A'=P/\ker\bigl(J\longrightarrow J/J^2\otimes_Ak \xrightarrow{\lambda}k\bigr). \tag{5.10} \]

Since \(u\) is closed, the nonzero image is all of \(k\); the kernel \(I\) of \(A'\to A\) is \(k\) and has square zero. The differential of the discarded relation lies in the kernel of \(J/J^2\otimes k\to k^{\oplus r}\). Equivalently, the image under this differential of \(\ker\lambda\) equals the image of all \(J/J^2\otimes k\): subtract a multiple of an element in the differential kernel on which \(\lambda=1\). Thus \(\Omega_{A'/\Lambda}\otimes k\to\Omega_{A/\Lambda}\otimes k\) is an isomorphism. The extension is essential: a section would add the nonzero derivation to \(I=k\), contrary to that isomorphism of differential fibres.

By (5.9), the choice of \(\lambda\) makes \(E_x\to I[1]\) zero. Therefore \(x\) lifts to \(A'\). Artin–Rees gives \(n\) with \((\mathfrak m')^n\cap I=0\). The extension \[ B'=A'/(\mathfrak m')^n\longrightarrow B=A/\mathfrak m^n \] still has kernel \(k\), and remains essential. Versality lifts the quotient map from the completed local ring of \(A\) to \(B\) to a map into \(B'\), with the lifted object. Because the maximal ideal of \(B'\) has \(n\)-th power zero, that map factors through \(B\) and is a section, a contradiction. The first map of (5.8) must be surjective. \(\square\)

This supplies the essential-extension argument behind [Stacks, Tags 07YJ and 07YN], without assuming a transitivity triangle for (5.5).

Theorem 5.5 (naive obstruction theory gives openness). Suppose \(\mathcal X\) has (RS\(^*\)) and a naive obstruction theory. If every \(E_x\) over a finite type base has finitely generated cohomology modules, then \(\mathcal X\) satisfies openness of versality.

Proof. Shrink a finite type family so its versal point \(u_0\) is closed and the base is affine. Set \(C=\operatorname{Cone}(\xi_x)\). It is bounded above with finite cohomology, since \(A\) is Noetherian and the naive cotangent complex has finite modules. By Lemma 5.4 and the cohomology exact sequence of the cone, \(H^{-1}(C\otimes^{\mathbf L}k(u_0))=0\).

Represent \(C\) by a bounded-above complex of finite free modules locally near \(u_0\). Over the residue field it is exact in degree \(-1\). Choose bases for the image of the incoming differential and a complement mapping isomorphically onto the image of the outgoing differential. Invert the finitely many corresponding matrix minors. Cancelling these invertible blocks removes the whole degree \(-1\) term. The remaining complex consequently has \(H^{-1}(C\otimes^{\mathbf L}M)=0\) for every module on that open neighbourhood.

In particular the fibre cone has zero \(H^{-1}\) at every point there. Its cohomology sequence gives both conditions (5.8), and their sufficient direction proves versality at every finite type point in the neighbourhood. \(\square\)

Reference: [Stacks, Tag 07YU]. This criterion needs the functoriality and canonical tangent class in (5.6)–(5.7). It does not replace them by the bare assertion that obstructions happen to lie in a finite module.

6. Flat groupoids over an arbitrary base

In this section \(S\) is any scheme. No Noetherian or G-ring hypothesis is imposed. The flat bootstrap for sheaves from Lesson 2 will be used, while the stack version will be proved.

6.1. Finite sources and restriction of scalars

Lemma 6.1 (maps from a finite locally free space). If \(Z\to B\) is finite locally free and \(X\to Z\) is an algebraic space, the functor \[ \operatorname{Res}_{Z/B}(X)(T)= \operatorname{Mor}_{Z}(Z_T,X) \tag{6.1} \] is an algebraic space. Restriction of scalars carries a surjective étale morphism to a surjective étale morphism.

Proof. We explain the étale assertion first. For \(W\to Z\) étale, its section functor over \(B\) is étale and representable. This can be checked over an affine \(B\). If \(W\to Z\) is separated, a section is an open-and-closed subscheme of \(W_T\), finite locally free over \(T\), mapping isomorphically to \(Z_T\).

The finite-part construction of Lesson 2 applies to the separated, flat, locally finitely presented, locally quasi-finite map \(W\to B\), without the extra requirement of containing an identity section. Over the affine base, separated locally quasi-finite recognition first makes \(W\) a scheme. The construction's proof is unchanged: over a henselian local base, isolate a selected finite union of fibre components; scheme Zariski main and idempotent lifting extend it to a finite open-and-closed part; finite presentation descends it to an étale neighbourhood. Equality of two such parts is an open-and-closed condition, computed by the ranks of their two finite locally free differences. The étale quotient of these charts represents the finite-part functor.

Within that functor, the condition of mapping isomorphically to \(Z_T\) is open. The map from a selected finite part to \(Z_T\) is finite étale. Its rank is one exactly on the isomorphism locus; the complement of that locus is closed in \(Z_T\), and its finite image in \(T\) is closed. Thus the section functor is an open subspace of the finite-part space and is étale over \(B\).

For a general \(W\), cover it by a disjoint union \(W'\) of affine schemes over the affine base. Its map to \(Z\), and its map to \(W\), are separated. Sections of \(W'\to Z\) therefore form an algebraic space by the preceding argument. They cover the section functor of \(W\to Z\) étale locally: over a strictly henselian local base, the finite scheme \(Z\) is a product of henselian local factors with separably closed residue fields. A surjective étale cover has a section on each factor. Their finite union of choices descends to an étale neighbourhood of the base. The same separated calculation describes every fibre of the map of section functors. The étale bootstrap of Lesson 2 now proves the general assertion.

For an étale map \(X'\to X\), the fibre of its restriction of scalars at a map \(Z_T\to X\) is precisely the section functor of \(Z_T\times_XX'\to Z_T\). This proves representability and étaleness, and the preceding local section argument proves surjectivity when the original map is surjective.

Now trivialize the finite locally free algebra of \(Z\) on affine base opens, and take an étale cover \(X'\to X\) with \(X'\) a disjoint union of affine schemes. For a finite union of these affines, maps from \(Z_T\) are described by algebra maps into the finite free algebra of \(Z_T\). Choose its basis; coordinates for the images of generators and polynomial relations describe an affine scheme. The requirement that a map be over \(Z\) imposes the corresponding equations. Infinite presentations cause no difficulty for representability. Every map from a quasi-compact \(Z_T\) uses only finitely many of the affine components. The finite-component functors are open subfunctors, since \(Z_T\to T\) is finite and the excluded image has closed image in \(T\). They glue to represent restriction of scalars for \(X'\).

The étale assertion already proved gives a representable surjective étale map from that space to (6.1). The sheaf condition follows from descent of morphisms. The étale bootstrap proves (6.1). \(\square\)

This proves the restriction-of-scalars input [Stacks, Tag 05YF], including the étale assertion [Stacks, Tag 05YD]. The finite-part argument also explains why separatedness was needed only in an intermediate chart. No separatedness of \(X\) is assumed.

6.2. The finite Hilbert stack used here

Let \(\mathcal H_d\), for \(d\geq1\), classify finite locally free schemes \(Z\to T\) of degree \(d\). Let \(\mathcal H_d(X)\) also remember a map \(Z\to X\). These objects are finite maps, not necessarily closed subschemes.

Lemma 6.2. Both \(\mathcal H_d\) and \(\mathcal H_d(X)\), for an algebraic space \(X\), are algebraic stacks.

Proof. Put an arbitrary commutative unital algebra structure on the free module of rank \(d\). Its multiplication coefficients \(c_{ij}^k\) and unit coefficients satisfy finitely many equations expressing commutativity, associativity and the two unit identities. They define an affine scheme \(\operatorname{Alg}_d\) over \(\mathbf Z\). Change of basis gives an action of the smooth group \(\operatorname{GL}_d\).

A finite locally free algebra has a Zariski locally chosen basis. The basis changes and all their compatibility equations identify its stack with \([\operatorname{Alg}_d/\operatorname{GL}_d]\), after base change to \(S\). This quotient is algebraic by the smooth quotient theorem of Lesson 5. Passing between the algebra groupoid and the finite-scheme groupoid uses \(\varphi\mapsto\operatorname{Spec}(\varphi^{-1})\) on isomorphisms; this inversion makes the functor covariant.

For a fixed finite scheme \(Z/T\), the fibre of \(\mathcal H_d(X)\to\mathcal H_d\) is the space of maps \(Z\to X\). Lemma 6.1 represents it. Pull back a smooth atlas of \(\mathcal H_d\); its fibre is an algebraic space, and its smooth scheme atlas supplies a smooth atlas of \(\mathcal H_d(X)\). The diagonal is represented by the same finite-source equality construction. \(\square\)

References: [Stacks, Tags 05YQ and 05YS]. Finite locally free algebras and their isomorphisms descend because their modules, multiplication and unit descend.

Suppose \(q:U\to\mathcal Y\) is representable, surjective, flat and locally of finite presentation, with \(U\) an algebraic space and \(\mathcal Y\) an fppf stack. Define \(\mathcal H_d(U/\mathcal Y)\) to have objects

\[ (Z/T,\ y\in\mathcal Y(T),\ f:Z\to U,\ \alpha:y|_Z\xrightarrow{\sim}q(f)). \tag{6.2} \]

Lemma 6.3. The diagonal of \(\mathcal Y\) is representable, and every \(\mathcal H_d(U/\mathcal Y)\) is an algebraic stack.

Proof. For two objects over a scheme \(T\), choose an fppf scheme cover \(T'\to T\) lifting both to \(U\). Their Isom sheaf over \(T'\) is the pullback of the algebraic space \(U\times_{\mathcal Y}U\) along their two coordinate maps. Its map to the original Isom sheaf is representable, flat, locally of finite presentation and surjective, being the base change of \(T'\to T\). The flat sheaf bootstrap makes the original Isom sheaf algebraic. Thus the diagonal is representable.

The map \[ \mathcal H_d(U/\mathcal Y)\longrightarrow \mathcal H_d(U)\times\mathcal Y \tag{6.3} \] is representable: over a fixed \((Z/T,f,y)\), it is \(\operatorname{Res}_{Z/T}\operatorname{Isom}_{\mathcal Y}(y|_Z,q(f))\), an algebraic space by Lemma 6.1.

Choose a smooth scheme atlas \(P\to\mathcal H_d(U)\), and set \(W=P\times_{\mathcal H_d(U)}\mathcal H_d(U/\mathcal Y)\). This is a stack in setoids. An automorphism over the fixed \(Z\) and \(f\) restricts to the identity on \(y|_Z\); the finite locally free map \(Z\to T\) is an fppf cover because \(d>0\), so descent of arrows makes it the identity on \(y\).

By (6.3), \(V=W\times_{\mathcal Y}U\) is an algebraic space over \(P\times_SU\). Its map to the sheaf associated to \(W\) is representable, flat, locally of finite presentation and surjective. The flat sheaf bootstrap makes \(W\) an algebraic space. Finally \(W\to\mathcal H_d(U/\mathcal Y)\) is representable smooth and surjective, as the base change of \(P\). The smooth stack recognition of Lesson 5 proves algebraicity. \(\square\)

This proves the inputs [Stacks, Tags 05XW, 05YH and 06CI] without presupposing the flat stack theorem.

6.3. Why complete intersections give smooth coordinates

In (6.2), the pair \((f,\alpha)\) is a map \(Z\to U_y=U\times_{\mathcal Y}T\). Let \(\mathcal H_{d,\mathrm{lci}}(U/\mathcal Y)\) be the subcategory where this map is unramified and a local complete intersection.

This is an open substack. To check it over a family, use étale scheme charts. Unramifiedness is the vanishing condition for the finite module of relative differentials, and the complete-intersection locus in a flat finitely presented family is open and commutes with base change. The scheme versions follow from finite presentations and the regular-sequence criterion; their algebraic-space formulations are [Stacks, Tags 05X8 and 06CE]. Since \(Z\to T\) is finite, the image of the bad locus is closed in \(T\). Its complement represents exactly the indicated subfunctor. Thus the inclusion is a representable open immersion, including arbitrary base changes.

Lemma 6.4 (lifting the finite slice). Let \(T\subset T'\) be an affine square-zero thickening. Let \(X'\to T'\) be flat and locally of finite presentation, put \(X=X'\times_{T'}T\), and let \(Z\to X\) be unramified lci with \(Z\to T\) finite locally free of degree \(d\). Then it extends to \(Z'\to X'\), with \(Z'\to T'\) finite locally free of the same degree and \(Z=Z'\times_{T'}T\).

Proof. If \(I\) is the ideal of \(T\) in \(T'\), flatness and the regular-immersion conormal calculation give

\[ 0\longrightarrow I\otimes_{\mathcal O_T}\mathcal O_Z \longrightarrow\mathcal C_{Z/X'} \longrightarrow\mathcal C_{Z/X} \longrightarrow0. \tag{6.4} \]

The last module is finite locally free because \(Z\to X\) is unramified lci. The scheme conormal statements, transported by étale charts, are [Stacks, Tags 06CB and 06CC]. Since \(Z\) is affine, (6.4) splits.

Construct the universal first-order neighbourhood of \(Z\) over \(X'\). Étale locally an unramified map is a closed immersion into an étale neighbourhood, and this neighbourhood is cut out by the square of its ideal. Uniqueness of infinitesimal lifts between the étale neighbourhoods glues these constructions. Its square-zero ideal on \(Z\) is \(\mathcal C_{Z/X'}\). Quotient this ideal by the chosen summand \(\mathcal C_{Z/X}\). The resulting neighbourhood \(Z'\) has ideal \(I\otimes\mathcal O_Z\) and a map to \(X'\).

The natural multiplication map identifies its ideal with the image of \(I\), so the square-zero flatness criterion gives flatness of \(Z'\to T'\) and the stated base-change identity. A nilpotent thickening of an affine scheme is affine. Lift finitely many module generators for the finite algebra of \(Z/T\); they generate the algebra of \(Z'/T'\), since the cokernel equals \(I\) times itself and \(I^2=0\). Thus \(Z'\to T'\) is finite. Locally lift a basis of its reduction of rank \(d\). The resulting map from the free module of rank \(d\) is surjective by the same argument. Flatness makes its kernel remain exact after reduction modulo \(I\), so that kernel is equal to \(I\) times itself and is zero. The algebra is therefore finite locally free of rank \(d\). The open lci condition above ensures that its map to \(X'\) still belongs to the indicated substack. \(\square\)

This is the independently established lifting argument of [Stacks, Tag 06D8]. It also proves that \(\mathcal H_{d,\mathrm{lci}}(U/\mathcal Y)\to\mathcal Y\) is formally smooth on objects: apply the lemma to \(U_{y'}\to T'\) for a lift \(y'\) of the base object.

These morphisms are limit preserving on objects. A finite locally free algebra, its map into the fixed locally finitely presented algebraic space \(U_y\), and its finitely many compatibility data descend along affine limits. The finite source uses only finitely many charts; the coefficient construction in Lemma 6.1 then involves finite presentations. The open unramified lci condition descends after increasing the stage. This is the finite presentation argument of [Stacks, Tag 06CH].

Their union over \(d\geq1\) is surjective on field objects. Indeed \(U_y\) is a nonempty algebraic space locally of finite presentation over a field \(k\). Take an affine étale chart and a closed point in its Cohen–Macaulay locus, which is nonempty on a finite type scheme. A system of parameters in the Cohen–Macaulay local ring is a regular sequence. After shrinking the chart, its zero scheme is supported only at that point and is finite over \(k\). Call it \(Z\). The regular immersion followed by the étale map is unramified lci; \(Z\) is a nonzero finite \(k\)-algebra, so it is finite locally free of some degree \(d\). It gives an object (6.2). The scheme inputs are [Stacks, Tags 045U and 0570]; they impose no perfection assumption on \(k\).

Theorem 6.5 (flat stack bootstrap). If \(q:U\to\mathcal Y\) is a representable surjective flat locally finitely presented morphism from an algebraic space to an fppf stack, then \(\mathcal Y\) is an algebraic stack.

Proof. Lemma 6.3 gives its representable diagonal and the algebraic stacks \(\mathcal H_d(U/\mathcal Y)\). Their lci opens are algebraic too. Choose smooth scheme atlases for these opens, and take their union \(P\).

The map \(P\to\mathcal Y\) is representable because \(\mathcal Y\) has representable diagonal. It is limit preserving on objects and formally smooth on objects: both properties compose, using the lifted identifying arrows in their definitions, and the atlases are smooth. For a representable morphism these two properties mean locally finite presentation and formal smoothness respectively. Test the definitions on \(P\times_{\mathcal Y}T\); its objects are actual morphisms to that algebraic space, so the limit and infinitesimal criteria apply. The infinitesimal criterion for a finitely presented morphism makes \(P\to\mathcal Y\) smooth.

The finite slices above cover every field object, allowing field extensions to lift to \(P\). This is surjectivity for a representable morphism. Thus \(P\to\mathcal Y\) is a smooth surjective scheme atlas. Lesson 5's recognition theorem proves the conclusion. \(\square\)

This proves [Stacks, Tag 06DC]. The uses of limits, formal smoothness and field-surjectivity are the precise notions of [Stacks, Tags 06CT, 06CZ and 06D4].

Theorem 6.6 (flat groupoids are algebraic). For any groupoid \(R\rightrightarrows U\) in algebraic spaces over \(S\), if both projections are flat and locally of finite presentation, then \([U/R]\) is an algebraic stack.

Proof. Lesson 5's diagonal calculation represents the Isom sheaves of the quotient: they are locally the pullbacks of the endpoint map \(R\to U\times_SU\), and the flat sheaf bootstrap descends them. In particular \(U\to[U/R]\) is representable.

On an fppf local chart \(a:T\to U\) of a quotient object, its pullback is \(R\times_{s,U,a}T\to T\). This is flat and locally of finite presentation by base change, and is surjective because the identity gives a section. These properties descend fppf locally. Theorem 6.5 therefore applies to \(U\to[U/R]\). \(\square\)

Reference: [Stacks, Tags 06FG and 06FI]. This completes the flat-groupoid theorem used as a stated forward reference in Quotient stacks and Deligne–Mumford stacks, including examples such as \(B\mu_p\).

For orientation, call a map of stacks algebraic when all its scheme-base fibres are algebraic stacks [Stacks, Tag 05XX]. If the target is algebraic, an algebraic map has algebraic source: pull back an atlas and then take an atlas of that fibre. A map from an algebraic stack to a stack with representable diagonal is algebraic for the same reason, using a source atlas. Finally an algebraic map with target having representable diagonal gives representable source diagonal: over each target Isom space, the source Isom fibre is the Isom space of the corresponding algebraic fibre stack. These atlas and Isom calculations prove the three permanence statements without changing the meaning of “representable”.

7. A complete example and a failure of effectiveness

7.1. Line bundles on a proper flat curve

Let \(C\to S\) be proper, flat and of finite presentation, with fibres of dimension at most one. Let \(S\) be locally Noetherian with the G-ring condition of Theorem 4.2. Define \(\mathcal{Pic}_{C/S}(T)\) to be the groupoid of invertible sheaves on \(C_T\), with all their isomorphisms. This is the Picard stack; we do not divide out line bundles pulled back from \(T\).

We will use two precise scheme results. For a proper flat finitely presented scheme and a finitely presented sheaf flat over the base, its derived direct image is perfect and commutes with arbitrary base change [Stacks, Tag 0B91]. For a proper scheme over a complete Noetherian ring, completion gives an equivalence between coherent sheaves and compatible systems of coherent sheaves on its infinitesimal neighbourhoods [Stacks, Tag 088C; EGA III, Theorem 5.1.5]. The latter includes morphisms.

For a line bundle \(N\) on \(C_A\), the first result and the dimension bound give

\[ R\Gamma(C_A,N)\simeq[P^0\longrightarrow P^1] \tag{7.1} \]

with \(P^i\) finite projective \(A\)-modules. To justify the two-term range, its derived fibres have cohomology only in degrees \(0,1\), by coherent cohomology on proper schemes of dimension at most one. A bounded finite-projective representative can then be shortened: cancel the split surjections at its highest excessive degrees and the split injections at its lowest excessive degrees. Fibrewise exactness and Nakayama make these cancellations valid on the base. On an affine base they give (7.1); the construction also shows the asserted Tor amplitude. Thus (7.1) computes base change to every \(A\)-algebra and tensoring with every \(A\)-module.

[−1]. A finite affine cover of \(C_k\), finite presentations of line bundles on that cover, and matrices describing their transitions give a uniform cardinal bound for their isomorphism classes and arrows as \(k\) ranges over finite type fields over \(S\). The cardinal can be enlarged once to contain the affine base presentations and the field models. This supplies the site-size condition.

[0]. Invertible sheaves and their isomorphisms have effective fpqc descent, by descent of quasi-coherent modules followed by the local rank-one condition. In particular this is an étale stack.

[1]. A line bundle on \(C_A\), with \(A=\operatorname{colim}A_i\), is of finite presentation. Finite affine covers, its local presentations and the finitely many transition maps descend to a stage. Their inverse identities and the rank-one condition hold after increasing the stage. The same finite-presentation argument descends isomorphisms and tests equality of isomorphisms. Thus the full groupoids preserve limits.

[2]. Flatness of \(C/S\) makes the structure rings of its affine charts preserve the fibre product (1.1) under base change. Finite projective modules patch over that fibre product, as proved in Exercise 8.2 below. Apply this to the locally free rank-one modules on the charts. Full faithfulness patches their transition maps and checks the cocycle, so the patched sheaf is invertible. This proves (RS), and the same argument with arbitrary square-zero extensions proves (RS\(^*\)).

[3]. The transition-function calculation gives

\[ T_L\mathcal{Pic}_{C/S}=H^1(C_k,\mathcal O_{C_k}),\qquad \operatorname{Inf}_L\mathcal{Pic}_{C/S} =H^0(C_k,\mathcal O_{C_k}). \tag{7.2} \]

Indeed, write a first-order change of transition units as \(g_{ij}(1+\epsilon a_{ij})\). The cocycle equation is the additive Čech cocycle equation for \(a_{ij}\); changing frames adds a coboundary. An automorphism reducing to the identity is \(1+\epsilon a\) with a global section \(a\). The spaces are finite dimensional by proper coherent cohomology.

[4]. For a complete Noetherian local ring \(R\), apply Grothendieck existence to \(C_R\) and a compatible system \(L_n\). It gives a coherent \(L\), including all compatible morphisms. It is invertible near the closed fibre: completing the local stalk along the base ideal gives a free module of rank one, and the local adic criterion, or faithful flatness of completion after localization at the point, gives local freeness there. The non-invertible locus is closed. Its image in \(\operatorname{Spec}R\) is closed by properness and misses the closed point. A nonempty closed subset of a local spectrum contains that point, so the locus is empty. Thus \(L\) is invertible everywhere. Full faithfulness algebraizes isomorphisms and their inverses, proving (2.2).

[5] for the stack. For \(L\in\mathcal{Pic}_{C/S}(A)\) and an \(A\)-module \(M\), the same Čech calculation gives \[ T_L(M)=H^1(C_A,p^*M),\qquad \operatorname{Inf}_L(M)=H^0(C_A,p^*M). \tag{7.3} \] The obstruction to lifting \(L\) across \(A'\to A\) lies in \(H^2(C_A,p^*I)\): lift local frames and transition units; their failure to satisfy the cocycle is a Čech 2-cocycle, and changing the transitions changes it by a coboundary. Its vanishing is precisely the ability to glue a lift. Formula (7.1) for \(\mathcal O_C\) shows that this \(H^2\) is zero for every \(I\). Thus zero obstruction modules give a functorial obstruction theory.

Furthermore \(H^1(C_A,p^*M)=\operatorname{coker}(P^0\otimes_AM\to P^1\otimes_AM)\). Finite projective modules commute with products under tensoring, and products of module sequences are exact. Hence \(T_L\) commutes with countable products, and the zero obstruction functor has the required injectivity. Theorem 5.3 proves openness.

[5] for the diagonal, and the second diagonal. For two line bundles \(L_1,L_2\), put \(N=L_1^\vee\otimes L_2\). Their Hom functor is the affine scheme of vectors in \(P^0\) annihilated by the differential in (7.1). The universal vector gives a section of \(N\). It is an isomorphism exactly where its zero locus in the proper curve has empty image in the parameter scheme. That condition is open, so \(\operatorname{Isom}(L_1,L_2)\) is a scheme locally of finite presentation over the base.

Its diagonal is representable, hence the stack's second diagonal is representable. Openness of versality for these Isom schemes follows from the ordinary Artinian smoothness criterion and the open smooth locus, using étale scheme charts if necessary. This checks the other part of [5].

All the axioms, including their arrow conditions, have now been verified. Theorem 4.2 proves that \(\mathcal{Pic}_{C/S}\) is an algebraic stack. The proof did not replace this stack by its sheaf of isomorphism classes.

7.2. The affine line loses a formal automorphism

Let \(R\) be a complete discrete valuation ring with uniformizer \(t\). On \(\mathbf A^1_R\), the trivial line bundle has automorphism group \(R[x]^\times=R^\times\): \(R\) is a domain, so a unit polynomial has degree zero.

Over \(R/t^n\), however, \(1+tx\) is a unit, with inverse

\[ (1+tx)^{-1}=\sum_{j=0}^{n-1}(-tx)^j. \tag{7.4} \]

The units and their inverses form compatible systems. They give an automorphism of the formal trivial line bundle in \(\lim_n\mathcal{Pic}_{\mathbf A^1/R}(R/t^n)\). The corresponding element \(1+tx\) in \(\lim_n(R/t^n)[x]\) is not the image of a unit of \(R[x]\), since that image would be constant. Thus completion is not full on automorphisms, even though the formal object under discussion is already the completion of a trivial line bundle. Axiom [4] fails. This is exactly the groupoid distinction needed in (2.2).

8. Exercises and complete solutions

Exercise 8.1 (medium: limits of algebraic stacks). Show that an algebraic stack locally of finite presentation over \(S\) is limit preserving. Do not assume quasi-compactness or quasi-separatedness.

Solution. Choose a smooth atlas \(U\to\mathcal X\) with \(U\) locally of finite presentation over \(S\). Then \(R=U\times_{\mathcal X}U\) is smooth over \(U\), hence locally of finite presentation over \(S\). The morphism \(R\to U\times_SU\) is locally of finite presentation by the finite-presentation permanence rule on charts. Descent along the atlas therefore shows that the diagonal of \(\mathcal X\) is locally of finite presentation.

For descended objects over \(T_i\), their Isom space is locally of finite presentation over \(T_i\); its affine limit criterion gives descent and eventual equality of all arrows. This proves full faithfulness in (2.1).

For essential surjectivity, pull the atlas back to an object over an affine \(T\). Choose an étale scheme chart of that smooth algebraic-space cover and finitely many affine opens whose images cover \(T\). Their disjoint union \(V\to T\) is a smooth surjection of finite presentation, with a map to \(U\) and descent arrows in \(R\). The affine schemes \(V\), \(V\times_TV\) and its triple product are of finite presentation over \(T\). Their finite equations descend to a sufficiently late \(T_i\), as do their maps to the locally finitely presented spaces \(U\) and \(R\). The finitely many identity and cocycle equalities descend after a further increase. Smoothness and surjectivity of the covering descend too. Effective fppf descent in the already algebraic stack produces the object over that \(T_i\). Its pullback is the original object. Only a finite portion of the atlas was used for this affine test, so no global compactness assumption was introduced.

Exercise 8.2 (medium: module patching). Verify (RS) for finite locally free modules, including the arrows.

Solution. For (1.1), the ring \(P\) is local, with residue field that of \(A_1\). A patched pair of finite free modules must have equal rank, since their restrictions to \(A\) are isomorphic. Choose bases. The gluing isomorphism is an invertible matrix \(g\) over \(A\). Lift its entries to \(A_2\); its determinant lifts a unit because \(\ker(A_2\to A)\) is nilpotent, so the lifted matrix is invertible. Change the second basis by that matrix. The gluing is now the identity, and the pair is the restriction of \(P^r\).

An arrow between two such pairs is a pair of matrices over \(A_1,A_2\) which agree over \(A\). Entrywise it is a unique matrix over \(P\). If the arrow is an isomorphism, its compatible inverse matrices patch as well. This proves full faithfulness and essential surjectivity. Markings at the residue field are preserved by doing the same construction with their specified identifications.

The general finite-projective version, used for (RS\(^*\)) in Section 7, is obtained by adding complements. Write the module over \(A_1\) as the image of an idempotent in \(A_1^n\). Lift its restriction to an idempotent in \(A_2^n\). Its image is isomorphic to the given second module with its specified reduction: maps between finite projectives lift across the nilpotent ideal, and maps inverse modulo that ideal are inverse after multiplying by an invertible correction. Add the two complementary summands. The enlarged pair is free on both sides, and its gluing matrix lifts as above. Its two projection idempotents, now equal over \(A\), patch to an idempotent over \(P\). Its image is the desired finite projective module. Equivalently that image is the fibre product of the original two modules. Maps patch entrywise in the free ambient modules and respect the idempotents. This proves the finite-projective Milnor patching lemma for arbitrary \(A_1\) and a square-zero surjection \(A_2\to A\), including all arrows.

Exercise 8.3 (medium: vector-bundle tangents). For a vector bundle \(E\) on a proper curve \(C/k\), prove \[ T_E\mathcal{Bun}_C=\operatorname{Ext}^1_C(E,E) =H^1(C,\mathcal E nd(E)). \tag{8.1} \]

Solution. On a finite affine trivializing cover, write its matrices as \(g_{ij}\). A first-order change has the form \(g_{ij}+\epsilon h_{ij}\). Linearizing the cocycle and the frame changes identifies its class with an additive Čech 1-cocycle in \(\mathcal E nd(E)\), modulo coboundaries. Since \(C\) is separated, affine intersections compute the cohomology of this quasi-coherent sheaf. This gives the last term of (8.1), and addition is exactly the split-extension addition of Section 1.

There is also an intrinsic description. A first-order bundle \(E'\) gives the extension \[ 0\to E\xrightarrow{\epsilon}E'\to E\to0 \] as an \(\mathcal O_C\)-module; flatness over \(k[\epsilon]\) identifies the kernel with \(E\). Conversely, an extension gives the middle term an \(\epsilon\)-action by the composite of its quotient to \(E\) and its inclusion of \(E\). Locally the extension splits because \(E\) is locally free, and the resulting module is a free deformation over \(\mathcal O_C[\epsilon]\). Thus extensions and marked first-order bundles are equivalent on isomorphism classes. Their Baer addition matches the cocycle addition. Finally \(\mathcal H om(E,-)\) is exact locally, so global derived Hom from \(E\) is cohomology of \(E^\vee\otimes-\). This identifies \(\operatorname{Ext}^1(E,E)\) with \(H^1(\mathcal E nd(E))\). Infinitesimal automorphisms, for comparison, are \(H^0(\mathcal E nd(E))\).

Exercise 8.4 (hard: the formal Picard groupoid). For a smooth proper curve \(C/k\), verify [3] and [4] for its line-bundle stack.

Solution. Formula (7.2) gives the tangent and infinitesimal automorphism spaces at any line bundle after every finite field extension. Proper coherent cohomology makes \(H^0\) and \(H^1\) finite dimensional, proving [3]. No assumption that automorphisms vanish is made.

Given a complete Noetherian local \(k\)-algebra \(R\), Grothendieck existence on the proper scheme \(C_R\) algebraizes every compatible system of line bundles to a coherent sheaf. The completed local modules along the closed fibre are free of rank one, so the sheaf is invertible near that fibre. Its closed non-invertible locus has proper closed image in \(\operatorname{Spec}R\); such an image cannot be nonempty while missing the closed point. The sheaf is therefore a line bundle on all of \(C_R\). Full faithfulness of existence algebraizes every compatible isomorphism. Applying it also to the inverse and using faithfulness proves that the algebraized map is an isomorphism. Consequently completion is an equivalence of groupoids, not merely a surjection on objects. This proves [4], and explains precisely where properness excludes the phenomenon in (7.4).

Appendix A. Artin–Rees perturbation and graded quotients

The approximation in Lemma 2.3 preserves an entire finite relation complex. We prove the two perturbation facts that make its associated graded conclusion valid, with their exact congruence order.

A.1. The perturbation theorem

Let \(A\) be Noetherian and let \(I\subset\operatorname{Jac}(A)\). For a map \(q\colon M\to N\) of finite modules, say that \(c\geq0\) is an Artin–Rees constant for \(q\) when \[ q(M)\cap I^nN\subset q(I^{n-c}M)\qquad(n\geq c). \] Artin–Rees applied to the finite submodule \(q(M)\subset N\) gives such a constant. We may enlarge a constant, so two given maps admit one common constant.

Lemma A.1. Suppose \[ L\xrightarrow f M\xrightarrow g N, \qquad L\xrightarrow{f'}M\xrightarrow{g'}N \] are complexes of finite \(A\)-modules, the first is exact at \(M\), and \(c\) is an Artin–Rees constant for both \(f\) and \(g\). Assume \[ (f-f')(L)\subset I^{c+1}M, \qquad(g-g')(M)\subset I^{c+1}N. \tag{AR.1} \] Then the second complex is exact at \(M\), and the same \(c\) is an Artin–Rees constant for \(g'\).

Proof. Fix \(n\geq c\) and \(a\in M\) such that \(g'(a)\in I^nN\). We show that we can subtract elements of \(f'(L)\) until the remaining element lies in \(I^{n-c}M\). Such subtractions do not change \(g'(a)\), because the perturbed sequence is a complex.

Suppose at an intermediate step that \(a\in I^rM\), with \(0\leq r<n-c\). Equation (AR.1) gives \[ g(a)=g'(a)+(g-g')(a) \in I^nN+I^{r+c+1}N=I^{r+c+1}N. \] Artin–Rees for \(g\) supplies \(a_1\in I^{r+1}M\) with \(g(a_1)=g(a)\). Exactness of the first sequence supplies \(b\in L\) with \(a-a_1=f(b)\). If \(r\geq c\), Artin–Rees for \(f\) permits choosing \(b\in I^{r-c}L\), since \(f(b)\in I^rM\). If \(r<c\), keep any such \(b\).

In either case \[ a=f'(b)+a_2, \qquad a_2=a_1+(f-f')(b)\in I^{r+1}M. \] Indeed, for \(r\geq c\) the error is in \(I^{c+1}I^{r-c}M=I^{r+1}M\); for \(r<c\) it is in \(I^{c+1}M\subset I^{r+1}M\). Replace \(a\) by \(a_2\). The order rises by one while \(g'(a)\) remains fixed. After finitely many steps we obtain \[ (g')^{-1}(I^nN)\subset f'(L)+I^{n-c}M. \tag{AR.2} \] Applying \(g'\) proves \(g'(M)\cap I^nN\subset g'(I^{n-c}M)\), including the case \(n=c\), when no adjustment was needed.

If \(g'(a)=0\), (AR.2) holds for every \(n\geq c\). Its class in the finite module \(M/f'(L)\) lies in every power of \(I\). The Krull-intersection theorem, with \(I\subset\operatorname{Jac}(A)\), makes that class zero. Hence \(\ker g'\subset\operatorname{im}f'\). The converse follows from \(g'f'=0\). No completeness of \(A\), freeness of the modules, or exactness at an endpoint has been used. \(\square\)

A.2. Equality of the initial submodules

Lemma A.2. Under the preceding hypotheses put \(Q=N/g(M)\) and \(Q'=N/g'(M)\). The identity on \(\operatorname{gr}_I N\) induces a canonical isomorphism \[ \operatorname{gr}_I Q\simeq\operatorname{gr}_I Q' \] of graded \(\operatorname{gr}_I A\)-modules. If \(N=A\) and the two images are ideals, this is an isomorphism of graded algebras.

Proof. In degree \(n\geq0\) the quotient filtration gives \[ (\operatorname{gr}_I Q)_n =I^nN/\bigl(I^{n+1}N+(g(M)\cap I^nN)\bigr). \tag{AR.3} \] We compare the two denominator submodules inside \(I^nN\). If \(n\leq c\), (AR.1) says that \(g(a)\) and \(g'(a)\) differ by an element of \(I^{n+1}N\). For \(g(a)\in I^nN\), its perturbed image is therefore also in \(I^nN\). This gives one containment of denominators.

If \(n>c\), write an element of \(g(M)\cap I^nN\) as \(g(a)\) with \(a\in I^{n-c}M\), using the constant for \(g\). Then \[ g(a)-g'(a)\in I^{c+1}I^{n-c}N=I^{n+1}N. \] Again \(g'(a)\in I^nN\), giving the containment. The perturbation lemma supplies the same constant for \(g'\), so exchanging \(g\) and \(g'\) proves the reverse containment in every degree. The quotients in (AR.3) are thus identical subquotients of \(\operatorname{gr}_I N\). Their identifications respect its graded module action. For ideals in \(A\), they respect multiplication as well, proving the algebra assertion. \(\square\)

A.3. Flat base change of the constant

Lemma A.3. Let \(A\to B\) be flat, with both rings Noetherian. An Artin–Rees constant \(c\) for \(q\colon M\to N\) remains a constant for \(q_B\) relative to \(IB\).

Proof. For \(n\geq c\), the constant condition is equivalent to \[ q^{-1}(I^nN)\subset\ker q+I^{n-c}M. \] The left side is the kernel of \(M\to N/I^nN\). Flat tensor product preserves that kernel and the kernel of \(q\), and identifies the quotients and powers with their base changes. Tensor the displayed inclusion with \(B\), then apply \(q_B\); the desired containment follows. \(\square\)

A.4. Use in family approximation

In Lemma 2.3 the relation presentation is a complex of finite free modules over the complete local presentation ring \(P\): \[ P^{\oplus t}\xrightarrow f P^{\oplus r} \xrightarrow{(b_1,\ldots,b_r)}P\longrightarrow R\longrightarrow0. \] The columns of \(f\) generate the syzygies of the ideal generators. Choose a common constant \(c\) for its two displayed maps, relative to the maximal ideal of \(P\). Polynomial approximation must preserve the equations saying that the new generators and new syzygies still form a complex, and must approximate all these coefficients to order at least \(c+1\). Its order must also be at least the requested \(N\).

The perturbation lemma gives exactness at \(P^{\oplus r}\). The graded quotient lemma identifies the two associated graded quotient algebras, rather than merely their Hilbert functions. The quotient filtration is the maximal-ideal filtration of the local quotient, so this is precisely the graded comparison asserted in (2.3). Completion of the approximating Noetherian local ring preserves its residue quotients and associated graded algebra; thus the comparison returns to that local ring. For a finite type ring and its localization at a maximal ideal, every quotient by a power of that maximal ideal is unchanged by localization, since each element outside the ideal is already a unit in the quotient. The comparison consequently survives the finite-stage descent of the approximating object.

This argument explains why approximating only the ideal generators is insufficient: the exact perturbed syzygy equations supply (AR.2), and (AR.2) supplies the Artin–Rees constant for the perturbed map needed for the reverse graded containment.

The mathematical source is the Stacks Project authors, More on Algebra, labels lemma-approximate-complex and lemma-approximate-complex-graded (Tags 07VE–07VF), and lemma-works-flat-extension, at AI Integrated Stacks Project revision 565b10e987aba5969b21145a0833f42d69f96790. That section credits Conrad–de Jong for part of the material. This independently expressed proof is eligible CC0 programme writing; the consulted human source retains its attribution and GFDL terms.

Prerequisites and proof scope

All four acceptance results—Artin's space and stack criteria, openness from naive obstruction theories, and algebraicity of flat groupoid quotients—have been proved above. The product-compatible obstruction criterion and the stronger-effectiveness criterion have also been proved. The imported inputs are:

The general pushout theorem for algebraic stacks along arbitrary affine thickenings [Stacks, Tag 07WM] is mentioned as a stronger statement. The Artinian assertion needed here was proved in Lemma 1.2. The general theorem's flat-space patching input is not developed in this lesson.

References

Appendix B. Artin approximation and general Néron desingularization

Section and statement numbers within this appendix are local to the appendix; an explicit course or provider title qualifies every outside reference.

This foundation retains the full assertion needed in Lesson 7: a regular map between arbitrary Noetherian rings is a filtered colimit of smooth algebras; consequently every formal solution over a henselian Noetherian local G-ring can be approximated to every prescribed order. The positive-characteristic argument below includes inseparable residue fields. The version over a local G-ring without henselianity produces a pointed étale neighborhood with the same residue field.

The geometric idea is to replace a finite algebraic problem by a smooth one and then use smooth coordinates to impose an exact solution with a prescribed finite-order residue. The proof develops singularity ideals, lifting and desingularization before separating the two residue-field cases. Supporting commutative-algebra constructions and their precise prerequisites accompany that argument.

B.1. Sources, authorship and proof status

The incorporated proofs adapt the Stacks Project Authors' Smoothing Ring Maps chapter, the marked family-approximation proof from Artin's Axioms, and the specified predecessor proofs from More on Algebra and Commutative Algebra, as distributed by AI Integrated Stacks Project. Popescu proved the main theorem; the Stacks exposition follows Richard Swan's treatment, which credits André's notes and Ogoma's arguments. This appendix reuses the Stacks exposition; it does not draw directly on the separately cited papers.

Human source credit: the Stacks Project Authors, with the source copyright notice Copyright (C) 2005–2025 Johan de Jong. AI source credit: the credited contributors to the pinned AI Integrated Stacks Project edition, to the extent their contributions occur in the retained material. Adaptation, dependency comparison and the explicit supplementary verifications here: OpenAI Codex, GPT-6.1 Sol, Ultra, 5 October 2026. These credits do not assert that an AI independently reviewed the unchanged human proof.

The incorporated and adapted human-source component is distributed under GNU FDL version 1.2 or later, with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. The complete licence text accompanies this draft below. Independently written programme material retains the user's CC0 1.0 dedication; no AI rights holder is invented. The combined derivative preserves the human-source terms.

Source ID Native file at the pinned revision SHA-256
AGAS-NATIVE-STACKS-565B-SMOOTHING smoothing.tex 85a37c95d5591632d11e7be6775039638b6f5200b44729abcea1a644d9f5b056
AGAS-NATIVE-STACKS-565B-MORE-ALGEBRA more-algebra.tex 9b91629d8401d8f4fc439ef834cd69adc75e89b1ed59a75ba4fdd01daff52ad4
AGAS-NATIVE-STACKS-565B-ALGEBRA algebra.tex eb0db6ee32deab7b24e055a73cf2cc19904394e516a5b22567e7ef895a7b9cec

B.2. The finite factorization criterion

All rings and maps in this chapter are commutative and unital. Smooth means finitely presented and formally smooth; the equivalent standard Jacobian presentations and flat-fibre characterization are predecessor results identified in §8. A regular map $R\to\Lambda$ is flat and has geometrically regular Noetherian fibres. A Noetherian algebra over a field is geometrically regular if it remains regular after every finite purely inseparable extension of that field. This does not mean that the residue fields at all its primes are separable over the base field.

Lemma 2.1. A ring map $R\to\Lambda$ is a filtered colimit of smooth $R$-algebras if and only if every $R$-algebra map $A\to\Lambda$ from a finitely presented $R$-algebra factors as $A\to B\to\Lambda$, with $B$ smooth over $R$.

Proof. A finitely presented algebra has finitely many generators and relations. A map from it into a filtered colimit descends to a stage: choose a common stage containing the finitely many images, and then a later common stage where all relations vanish. This proves one implication.

For the converse take the category of smooth $R$-algebras equipped with an $R$-algebra map to $\Lambda$, taking a set of representatives. It is nonempty, since $R$ is smooth over itself. Two objects map to a common object: their tensor product is finitely presented, maps to $\Lambda$, and hence factors through a smooth algebra by the hypothesis. Two parallel morphisms $u,v\colon B\rightrightarrows C$ become equal after a morphism to a smooth algebra: quotient $C$ by the differences $u(b_i)-v(b_i)$ for finitely many algebra generators of $B$; this quotient is finitely presented and maps to $\Lambda$, so apply the hypothesis. The category is therefore filtered.

Its colimit maps to $\Lambda$. Each $\lambda\in\Lambda$ occurs in a stage by applying the hypothesis to $R[T]\to\Lambda$, $T\mapsto\lambda$. If two stage elements have the same image, pass to a common stage $C$, quotient it by their difference, and apply the hypothesis again; they become equal in a later smooth stage. The map on colimits is bijective and is a ring homomorphism, so is an isomorphism. This proves the precise criterion, including its filteredness assertion. ∎

This supplies the categorical verification implicit in the native algebra-lemma-when-colimit. The proof uses no Popescu theorem.

B.3. Popescu's theorem and the proof mechanism

Theorem 3.1 (Popescu). Every regular homomorphism $R\to\Lambda$ of Noetherian rings is a filtered colimit of smooth $R$-algebras.

The complete algebraic constructions establishing the theorem appear in §9, not merely its last paragraph. Their logical order is as follows.

For a finitely presented $R$-algebra $A$, write $H_{A/R}$ for the radical ideal defining its nonsmooth locus, and $\mathfrak h_A=\sqrt{H_{A/R}\Lambda}$ after a specified map $A\to\Lambda$. A resolution at a prime $\mathfrak q\supseteq\mathfrak h_A$ is a factorization $A\to B\to\Lambda$ with $B$ finitely presented, $\mathfrak h_A\subseteq\mathfrak h_B$, and $\mathfrak h_B\nsubseteq\mathfrak q$. Thus a resolution strictly increases the radical ideal. It does not require the target $\Lambda$ to be finitely presented.

The singular-ideal construction expresses its generators through minors of a Jacobian presentation and the relations among the equations. An improved presentation, obtained from the symmetric algebra of the conormal module, admits an algebra retraction and has free differentials wherever the original map is smooth. The comparison lemma then makes suitable powers of an element into strictly standard elements. These constructions are the input to the two principal algebraic steps.

First, flat nilpotent deformations of a filtered colimit of smooth algebras remain such colimits. In the square-zero case, a presentation is lifted and finitely many relations are killed using the equational criterion for flatness; the general nilpotent case follows by successive square-zero quotients. Second, the lifting and desingularization lemmas turn a smooth factorization modulo $\pi^8$ into a factorization whose smooth locus expands, assuming the stated annihilator equalities. The powers $\pi^8,\pi^4,\pi^2$ are retained in the actual constructions. Neither step is a simple-root Hensel argument.

These lemmas reduce the theorem to a geometrically regular Noetherian algebra over a field. To justify the reduction, assume failure and choose, among its failing quotient ideals, an ideal $I\subset R$ maximal under inclusion, such that the regular map $R/I\to\Lambda/I\Lambda$ fails the factorization property. Every quotient by a nonzero ideal now has the property. If the nilradical of this new $R$ were nonzero, it would be nilpotent because $R$ is Noetherian; nilpotent lifting and flatness would give the property for $R$, a contradiction. Thus $R$ is reduced. Its total ring of fractions is a finite product of fields, and the field theorem yields a smooth factorization there. Clearing finitely many denominators produces a strictly standard nonzerodivisor $\pi$ in a finite presentation. The property for $R/\pi^8R$, followed by lifting and desingularization, returns a smooth factorization over $R$. The target is flat over $R$, so a nonzerodivisor of $R$ remains a nonzerodivisor of $\Lambda$, giving the required annihilator equalities. This proves the transfer back from the field case to the original map.

Over a field $k$, choose a prime minimal over $\mathfrak h_A$. In characteristic zero the regular local target has a separable residue field, and the regular-parameter construction resolves it. In characteristic $p>0$, the inseparable proof constructs a finite polynomial subalgebra and a local Artinian approximation which captures the finitely many needed coefficients. The injective map $H_1(L_{K/k})\to\mathfrak m/\mathfrak m^2$, furnished by geometric regularity, gives the finite-dimensional condition needed for this construction even when $K/k$ is inseparable or infinitely generated. Ogoma's annihilator lemma makes the localized parameters usable before localization. The construction with auxiliary variables $t_i$ returns from these Artinian data to the original finitely presented algebra. Both complete proofs and their return maps are retained in §9.

Every resolution strictly increases $\mathfrak h_A$. The ascending-chain condition in the Noetherian target terminates this process at $\mathfrak h_B=\Lambda$. At that point choose $f_i\in H_{B/R}$ and $\lambda_i\in\Lambda$ with $\sum_i f_i\lambda_i=1$. The algebra

$$C=B[Z_1,\ldots,Z_r]/(\textstyle\sum_i f_iZ_i-1)$$

maps to $\Lambda$ by $Z_i\mapsto\lambda_i$ and is smooth over $R$. Indeed the opens $D(f_i)$ cover its spectrum, and $C_{f_i}$ is a polynomial algebra in the other $Z_j$ over the smooth algebra $B_{f_i}$. This establishes smoothness on a covering and hence smoothness of $C$. Lemma 2.1 now proves the theorem. The zero target gives the trivial smooth zero-algebra factorization; zero-dimensional local targets are covered explicitly in the supplementary verifications below. ∎

B.4. Approximating a finite polynomial system

Theorem 4.1. Let $(R,\mathfrak m,k)$ be a henselian Noetherian local G-ring and $\widehat R=\varprojlim R/\mathfrak m^q$. Given polynomials $f_1,\ldots,f_s\in R[X_1,\ldots,X_n]$ and $a\in\widehat R^n$ with $f_j(a)=0$, for every integer $N\geq1$ there is $b\in R^n$ with $f_j(b)=0$ and $a_i-b_i\in\mathfrak m^N\widehat R$ for all $i$.

Proof. The G-ring hypothesis at the maximal ideal says precisely that $R\to\widehat R$ is regular; completion is Noetherian and flat by the actual completion provider. Choose $c_i\in R$ with $a_i-c_i\in\mathfrak m^N\widehat R$, and generators $d_1,\ldots,d_M$ of $\mathfrak m^N$. Write $a_i=c_i+\sum_\ell d_\ell a_{i\ell}$. Define the finite polynomial system

$$g_j(Y)=f_j\bigl(c_1+\sum_\ell d_\ell Y_{1\ell},\ldots, c_n+\sum_\ell d_\ell Y_{n\ell}\bigr).$$

It has the formal solution $Y_{i\ell}=a_{i\ell}$. It therefore suffices to prove that every finite polynomial system with a solution in $\widehat R$ has a solution in $R$: any solution $y$ of the new system gives $b_i=c_i+\sum_\ell d_\ell y_{i\ell}$, with the prescribed congruences.

For that existence assertion, let $A\subseteq\widehat R$ be the $R$-subalgebra generated by the finitely many solution coordinates. Since $R$ is Noetherian it is finitely presented over $R$. Popescu's theorem and Lemma 2.1 give $A\to B\to\widehat R$ with $B$ smooth over $R$. Reducing the last map modulo the maximal ideal gives an $R$-algebra map $B\to k$.

The smooth-section lifting lemma supplies an étale $R$-algebra $R'$, an identification $R'/\mathfrak mR'=k$, and an $R$-algebra map $B\to R'$ reducing to that evaluation. Its complete proof is included in §10; it is the finite-projective-conormal and slicing argument, so makes no assumption that $B$ already has a single simple-root presentation. Henselianity, using the proved section criterion AG-CA, Theorem 1.2, gives an $R$-algebra section $R'\to R$. The coordinates' images under $A\to B\to R'\to R$ solve the polynomial system. Apply this assertion to the $g_j$ to obtain the required $b$. ∎

For order $N=0$, a solution given at order one also suffices. The assertion holds for every positive order; no uniform finite upper bound on the requested order is imposed.

B.5. The pointed étale-neighborhood version

Theorem 5.1. Let $(R,\mathfrak m,k)$ be a Noetherian local G-ring, without a henselianity assumption. For the same $f_j$ and formal solution $a$, every $N\geq1$ admits an étale $R$-algebra $R'$, a maximal ideal $\mathfrak m'\subset R'$ over $\mathfrak m$ with specified residue isomorphism $\kappa(\mathfrak m')=k$, and a tuple $b\in(R')^n$ solving $f_j=0$. Under the corresponding local map $R'_{\mathfrak m'}\to\widehat R$, one has $a_i-b_i\in\mathfrak m^N\widehat R$. Equivalently, with the canonical pointed identification $\widehat{R'_{\mathfrak m'}}=\widehat R$, the differences lie in $(\mathfrak m')^N\widehat{R'_{\mathfrak m'}}$.

Proof. Make the same substitution $X_i=c_i+\sum_\ell d_\ell Y_{i\ell}$ as in Theorem 4.1. Factor the finitely presented algebra generated by the new formal coordinates through a smooth $B$. Lift the residue evaluation $B\to k$ to $B\to R'$, where $R\to R'$ is étale and $R'/\mathfrak mR'=k$. Define $b_i=c_i+\sum_\ell d_\ell y_{i\ell}$, where $y_{i\ell}$ are the images of the new coordinates in $R'$. Every $g_j(y)$ vanishes, hence $f_j(b)=0$.

Set $\mathfrak m'=\mathfrak mR'$. The quotient is $k$, so this is maximal with the asserted residue isomorphism. Since $\widehat R$ is complete local it is henselian. Its proved section criterion, applied to $R'\otimes_R\widehat R$ with the selected residue evaluation, gives the local $R$-algebra map $R'_{\mathfrak m'}\to\widehat R$. Each difference is a sum of the $d_\ell\in\mathfrak m^N$ times elements of $\widehat R$, proving the congruence.

For completeness, formal étaleness gives a unique compatible lift of the residue evaluation $R'\to k$ to $R'\to R/\mathfrak m^q$ for each $q$. The selected local branch is thereby identified modulo $\mathfrak m^q$ with $R/\mathfrak m^q$. One way to verify the identification is to pass to the Artinian base $R/\mathfrak m^q$: its selected local étale algebra is finite étale, since its field fibre is finite and the maximal ideal of the base is nilpotent. As a finite flat module over the local Artinian base it is free; its rank is the dimension of its residue algebra, namely one. Its unit generates it by Nakayama, so the structural map is an isomorphism. These identifications respect reduction maps by uniqueness. Taking limits gives $\widehat{R'_{\mathfrak m'}}=\widehat R$ and identifies $\mathfrak m'$ with $\mathfrak m$. This also follows from the same-residue-field pointed neighborhoods used in the written henselization construction AG-CA, §§4 and 6. ∎

Corollary 5.2. If $R$ is Noetherian, $\mathfrak p\subset R$ is a prime, and $R_{\mathfrak p}$ is a G-ring, a formal solution in $\widehat{R_{\mathfrak p}}$ can be approximated to any order in an étale $R$-algebra $R'$ at a prime $\mathfrak p'$ with $\kappa(\mathfrak p')=\kappa(\mathfrak p)$.

Proof. Apply Theorem 5.1 to $R_{\mathfrak p}$. The resulting étale algebra has a finite presentation and its étale equations and selected Jacobian inverses contain only finitely many coefficients from $R_{\mathfrak p}$. Clearing their denominators produces an étale algebra over some $R_s$, $s\notin\mathfrak p$, and hence an étale $R$-algebra. Clear also the finitely many denominators in the solution coordinates and the finitely many relations $f_j(b)=0$ by one further principal localization away from the selected prime. The localized ring at that prime is unchanged, so its completion, residue isomorphism and congruences are unchanged. This is the finite-presentation descent used in the native lemma-approximation-property-variant, whose full proof is retained below. ∎

B.6. Approximation of finite algebraic data

B.6.1. A marked family and its associated graded algebra

Theorem 6.1 (family approximation). Let $S$ be locally Noetherian and let $\mathcal X\to(\mathrm{Sch}/S)_{fppf}$ be a category fibred in groupoids that is limit preserving on objects. Let $x\in\mathcal X(R)$, where $(R,\mathfrak m_R)$ is complete Noetherian local and its residue field $k$ is of finite type over $S$. Write $s$ for the image of its closed point, and assume $\mathcal O_{S,s}$ is a G-ring. For each $N\geq1$ there are a finite-type $S$-algebra $A$, a maximal ideal $\mathfrak m_A$, an object $x_A\in\mathcal X(A)$, and

$$R/\mathfrak m_R^N\simeq A/\mathfrak m_A^N,$$

as $S$-algebras, together with a specified isomorphism of the restricted objects and an isomorphism

$$\operatorname{gr}_{\mathfrak m_R}R\simeq\operatorname{gr}_{\mathfrak m_A}A$$

of graded $k$-algebras. Neither a perfect residue field nor characteristic zero is assumed.

Proof. Choose an affine open $\operatorname{Spec}\Lambda\subset S$ containing $s$. The map from the local scheme $\operatorname{Spec}R$ factors through it: its inverse image is an open containing the closed point of a local spectrum, hence the entire spectrum. The finite-type hypothesis on the residue field says that $k$ is a finitely generated $\Lambda$-algebra on this chart. Since $S$ is locally Noetherian, $\Lambda$ is Noetherian.

Write $R$ as the filtered colimit of its finite-type $\Lambda$-subalgebras. Limit preservation on objects gives a finite-type algebra $C$, a map $C\to R$, and an object $x_C$, with a chosen isomorphism $x_C|_R\simeq x$. No descent assertion about all arrows of $\mathcal X$ is being assumed. Choose a finite presentation

$$C=\Lambda[y_1,\ldots,y_u]/(f_1,\ldots,f_v),$$

and write $\bar a_i\in R$ for the images of its generators.

Choose finitely many generators of $k$ as a $\Lambda$-algebra and lift them to $R$. Add lifts of a finite generating set of $\mathfrak m_R$. These choices define a polynomial ring $T=\Lambda[z_1,\ldots,z_e]$ and a map $T\to R$ whose reduction to $k$ is surjective and whose image contains generators of $\mathfrak m_R$. Thus $\mathfrak n=\ker(T\to k)$ is maximal. Elements outside $\mathfrak n$ map to units of $R$, so the map extends to the local ring $Q=T_{\mathfrak n}$ and then continuously to

$$P=\widehat Q\longrightarrow R.$$

Here is a direct proof of its surjectivity. The chosen elements generate $\mathfrak m_R^j/\mathfrak m_R^{j+1}$ by their degree-$j$ monomials with coefficients in $k$. Those coefficients lift through $Q\to k$. Starting with any element of $R$, lift its residue and then its successive errors by such monomials. At the $j$th correction the added element lies in $\mathfrak m_Q^j$. The partial lifts are Cauchy in $Q$, hence define an element of $P$, and their images converge to the prescribed element of the complete ring $R$. This proves surjectivity; it also proves the usual surjective-cotangent-space criterion in this instance.

The complete ring $P$ is Noetherian. Choose generators $b_1,\ldots,b_r$ of the kernel, and lifts $a_i\in P$ of the $\bar a_i$. Choose coefficients $c_{ji}$ such that

$$f_j(a_1,\ldots,a_u)=\sum_{i=1}^r c_{ji}b_i.$$

The syzygy module of $(b_1,\ldots,b_r)$ is finite. Choose generators $k_\ell=(k_{\ell1},\ldots,k_{\ell r})$, giving an exact presentation

$$P^{\oplus t}\xrightarrow K P^{\oplus r} \xrightarrow{(b_1,\ldots,b_r)}P\longrightarrow R\longrightarrow0.$$

The map $K$ sends the $\ell$th basis vector to $k_\ell$; in particular $\sum_i k_{\ell i}b_i=0$.

Let $c$ be one Artin–Rees constant for both displayed maps relative to $\mathfrak m_P$, and choose $M\geq\max(N,c+1)$. The common constant exists by Artin–Rees for finite modules, and increasing a constant preserves its defining inclusions. The finite-complex perturbation and canonical graded-quotient statements are the written Lesson 7, Appendix A, Lemmas A.1–A.2. We use their full statements here and do not reproduce their proof.

Put $\mathfrak p=\mathfrak n\cap\Lambda$. The hypothesis says that $\Lambda_{\mathfrak p}$ is a G-ring. The permanence theorem proved below makes its essentially finite-type algebra $Q$ a G-ring. Apply the pointed étale-neighbourhood approximation theorem of Section 5 simultaneously to the following finite polynomial system:

$$f_j(A_1,\ldots,A_u)=\sum_i C_{ji}B_i, \qquad \sum_i K_{\ell i}B_i=0.$$

The tuple $(a_i,b_i,c_{ji},k_{\ell i})$ is an exact formal solution in $P$. We obtain an étale $Q$-algebra $B$, a maximal ideal $\mathfrak q$ above $\mathfrak n$ with residue field exactly $k$, and a solution $(a'_i,b'_i,c'_{ji},k'_{\ell i})$ whose entries differ from the old ones by $\mathfrak m_P^M$. The induced identification $\widehat{B_{\mathfrak q}}=P$ preserves the map from $Q$, its residue field and every finite-order quotient. There is no need to inject the entire possibly disconnected algebra $B$ into $P$.

Because $b_i$ lies in $\mathfrak m_P$ and $M\geq1$, each $b'_i$ lies in $\mathfrak q$. Set

$$A^*=B/(b'_1,\ldots,b'_r),\qquad \mathfrak m^*=\mathfrak q/(b'_1,\ldots,b'_r).$$

The exact polynomial relations define $C\to A^*$ by $y_i\mapsto a'_i$, so they give $x^*=x_C|_{A^*}$. Completion of a quotient of a Noetherian local ring gives

$$\widehat{(A^*)_{\mathfrak m^*}}=P/(b'_1,\ldots,b'_r).$$

This uses exactness of Noetherian completion for finite modules, supplied by the written completion prerequisite. As $b'_i-b_i\in\mathfrak m_P^M$, the ideals generated by the two lists become identical after adding $\mathfrak m_P^M$. Consequently

$$A^*/(\mathfrak m^*)^M \simeq P/((b'_1,\ldots,b'_r)+\mathfrak m_P^M) =P/((b_1,\ldots,b_r)+\mathfrak m_P^M) \simeq R/\mathfrak m_R^M.$$

Localization at the selected maximal ideal does not change these quotients: every element outside that ideal is already a unit modulo any of its powers. The two maps from $C$ to the displayed common quotient agree, because $a'_i-a_i\in\mathfrak m_P^M$. Restricting the chosen $x_C|_R\simeq x$ therefore gives the required marked comparison of objects at order $M$, hence at order $N$.

The matrix $K'$ and row $(b'_i)$ still form a complex, since all the syzygy equations were preserved exactly. Their entries differ from those of the original exact presentation by $\mathfrak m_P^M\subset\mathfrak m_P^{c+1}$. Lesson 7, Lemma A.2 now identifies the initial ideals inside $\operatorname{gr}_{\mathfrak m_P}P$. Its canonical identity on that graded algebra yields

$$\operatorname{gr}_{\mathfrak m_R}R \simeq\operatorname{gr}_{\mathfrak m_P} \bigl(P/(b'_1,\ldots,b'_r)\bigr).$$

This is an isomorphism of graded algebras. The quotient filtration is the maximal-ideal filtration, so completion identifies its right side with $\operatorname{gr}_{\mathfrak m^*}A^*$. This explains why the entire relation complex was approximated: approximating only the ideal generators would not provide the reverse initial-ideal containment.

It remains to obtain a finite-type algebra over the original affine chart. The algebra $A^*$ is of finite presentation over $Q=T_{\mathfrak n}$. Its finitely many generators, relations and denominators descend to a finite-type $T$-algebra $A_0$ with

$$A^*=(A_0)_{T\setminus\mathfrak n} =\operatorname{colim}_{f\in T\setminus\mathfrak n}(A_0)_f.$$

Products of denominators direct this system. Limit preservation on objects descends $x^*$ to an object $x_A$ at some stage $A=(A_0)_f$, with a specified isomorphism after base change to $A^*$. This algebra is finite type over $\Lambda$ and hence over $S$. Let $\mathfrak m_A$ be the inverse image of $\mathfrak m^*$. The image of $A\to k$ contains the image of $T$, which already surjects onto $k$ by the original residue-field generators. Thus $A/\mathfrak m_A=k$: the selected prime is maximal and has exactly the prescribed residue field.

Since $A^*$ is a localization of $A$ away from elements outside the selected point,

$$A_{\mathfrak m_A}\simeq (A^*)_{\mathfrak m^*}.$$

Localization at a maximal ideal preserves every quotient by its powers and therefore its associated graded algebra. All the ring comparisons constructed above consequently descend to $A$. Restricting the specified isomorphism $x_A|_{A^*}\simeq x^*$ to their common finite-order quotient supplies the required marking on objects; no finite-stage descent of an arbitrary arrow was needed. This proves all assertions. $\square$

The construction follows the Stacks Project proof of family approximation, Tag 07XB. The proof above spells out the complete-local presentation and the final finite-stage point and object comparisons. Its Popescu, G-ring and étale-completion inputs are proved in this reader or bound to the exact written commutative-algebra providers. The separate finite-complex comparison is bound to the actual written Lesson 7 appendix.

B.7. Jacobian, parameter and cotangent calculations

The following additions are made in the incorporated proof, at the stated native labels. Each concerns an actual inference used by the theorem.

  1. lemma-final-solve: replace the omitted verification by the covering $D(f_i)$ and elimination of $Z_i$ given in §3 above.
  2. lemma-product: if $\Lambda_i=\varinjlim B_{i,\alpha}$ with $B_{i,\alpha}$ smooth over $R_i$, use the product of the two filtered index categories. Then $\Lambda_1\times\Lambda_2=\varinjlim(B_{1,\alpha}\times B_{2,\beta})$; each product algebra is smooth over $R_1\times R_2$, since the source and target split into the two open-and-closed idempotent components and smoothness holds on both. All maps are product algebra maps. This proves the product assertion rather than assuming preservation of filteredness.
  3. lemma-desingularize-lifting-apply: let $\eta\in\operatorname{Spec}\Lambda$ lie over a point where $\bar C$ is smooth. If $\pi\notin\eta$, the lifting lemma makes $D$ smooth over $R$ there. If $\pi\in\eta$, use the compatible factorization $\bar C/\pi^4\to D/\pi^4\to\Lambda/\pi^4$; the same lifting lemma again makes $D$ smooth at the relevant inverse-image prime. Thus the image of $H_{D/R}$ is not contained in $\eta$. The inclusion $H_{D/R}B\subset H_{B/R}$ implies the same for $H_{B/R}$. On $\operatorname{Spec}(\Lambda/\pi^8)$, the open defined by $H_{\bar C/(R/\pi^8)}$ is therefore contained in the open defined by $H_{B/R}$. Reversing closed complements is precisely the claimed radical ideal inclusion. Away from $\pi$, the construction is smooth everywhere. This supplies the native omitted verification.
  4. lemma-ogoma: if $(s^n\pi)^2m=0$, then $\pi^2m$ vanishes after localization, so $m\in K'$. Since $s(K'/K)=0$, one has $s\pi m=0$, and hence $s^n\pi m=0$. The converse is immediate. This proves the assertion for every $n>0$.
  5. lemma-enlarge-solution-modulo: choose a power $q=p^r$ at least the nilpotence order. For $u\in\mathfrak m_{\bar\Lambda}$, $(1+u)^{p^r}=1+u^{p^r}=1$. Merely saying that $q$ is divisible by $p$ does not prove the displayed identity. If $\alpha$ is algebraic over $F$, write its irreducible polynomial as $h(T^{p^r})$ with $h'\ne0$; then $\alpha^{p^r}$ is separable over $F$. This proves the field step formerly referenced to an external Fields section. Enlarge $r$ if needed and use the finite-étale lifting of the separable residue extension.
  6. lemma-resolve-general: set $e=8c$, and choose
$$n\geq\max\{N+dc,\ d(e-1)+1\}.$$

The native choice $n=N+dc$ alone does not imply its later inclusion $\mathfrak p^n\subseteq(\pi_1^e,\ldots,\pi_d^e)$. A regular system of parameters generates $\mathfrak p$ after localization, and every monomial of degree $d(e-1)+1$ has an exponent at least $e$. This proves the inclusion and, because $\mathfrak p\Lambda_{\mathfrak q}=\mathfrak q\Lambda_{\mathfrak q}$, the corresponding target inclusion. Increasing $n$ changes none of the earlier constructions: choose the Artinian approximation at this larger order, keep the same $N,c,e$, and use $\mathfrak q^n\subseteq\mathfrak q^{n-N}H_{A/k}\Lambda_{\mathfrak q}$. The source proof's fifth/sixth-step cross-references are also corrected to express the actual direction: solve modulo $\mathfrak p^n$, then quotient the solution by $J$ to solve modulo $J$. 7. In the induction choosing $\delta_i$, write $v_j=\pi_{t+1}^Nc_j+\pi_{t+1}^Nc'_j\in\Lambda_{\mathfrak q}$. Choose a common $s_0\notin\mathfrak q$ for their finitely many denominators, so $v_j=a_j'/s_0$. The equality $\pi_{t+1}^{2N}=\sum_j a_jv_j$ holds after localization; multiply by one further $u\notin\mathfrak q$ killing the error in $\Lambda$. Choose $s$ divisible by $us_0$, put $\mu_j=(s^{2N}/s_0)a'_j$, and obtain $(s\pi_{t+1})^{2N}=\sum_j a_j\mu_j$ in $\Lambda$. In $\bar\Lambda$, the coefficient $\mu_j$ has image $s^{2N}\pi_{t+1}^Nd_j$, which lies in $D'$ after adjoining the permitted power of $s$. The native text misses the factor $\pi_{t+1}^N$; membership, rather than equality with $s^{2N}d_j$, is what is needed. Multiplying $s$ by a further power preserves the equality after scaling all coefficients, so the enlargement lemma can enforce membership of $s$ itself. 8. At the passage from $R/JR$ to $(R/I)_{\mathfrak r}$, every $t_i$ becomes a unit, because its image $\delta_i\notin\mathfrak q$. Hence $I_{\mathfrak r}=JR_{\mathfrak r}$ and $I\Lambda_{\mathfrak q}=J\Lambda_{\mathfrak q}$. Localizing the solution over $(R/JR)_{\mathfrak p}$ at the remaining elements of $R\setminus\mathfrak r$ therefore gives a solution over $(R/I)_{\mathfrak r}$. The source and target maps are the specified polynomial-algebra maps; their localizations type-check. 9. In the final factorization, $\delta_i\in D'$ has nonzero residue because $D'\to\bar\Lambda$ is a flat local map, hence faithfully flat. It is a unit in the Artinian local ring $D'$. The formula $z_{ij}\mapsto\lambda_{ij}t_i^{2N}/\delta_i^{2N}$ is therefore defined. Its relations follow from $(\pi_i\delta_i)^{2N}=\sum_j a_j\lambda_{ij}$, and evaluation $t_i\mapsto\delta_i$ gives the original coefficients. This establishes both commutative triangles required by the last step. 10. If $d=0$, omit the empty parameter-lifting step (whose stated lemma assumes $r\geq1$). In the separable proof, the localized target is a field with separable extension over $k$, hence a filtered colimit of smooth algebras by the retained field lemma; the height-zero delocalization lemma then gives the resolution. In the inseparable proof, take $c=1$, use the Artinian approximation with no $\pi_i,t_i$, and retain the same localization/height-zero argument. The solution-modulo lemma supplies a factorization through an essentially smooth algebra at order $n\geq1$; its finitely presented source factors through a smooth stage. No positive-dimensional regular-parameter argument is invoked in this case.

  1. In more-algebra-lemma-symmetric-algebra-smooth, the two-term presentation complex is $K\to A^{\oplus n}$, tensored with $C$, rather than $K\to M$. It splits because $M$ is projective; its cokernel is $M\otimes_A C$, exactly as the displayed conormal computation says. The derivative corrects this typed-complex typo and the adjacent $R/I$ typo in the projective-lifting lemma.
  2. The omitted verification in composition of regular maps is supplied in the retained derivative: localize and quotient at a source prime, then make a finite purely inseparable extension of its residue field. Both resulting intermediate and target rings are Noetherian by the regular-map fibre hypotheses, and the intermediate ring is regular. The base-changed second map has regular fibres. A flat map of Noetherian rings with regular source and regular fibres has regular target, by its exact local regularity predecessor. This verifies every geometric fibre of the composite; composition of flat maps verifies its flatness.

The exponent correction repairs this proof; it is not a counterexample to Popescu's theorem. The native source bodies remain unchanged, and these changes are confined to the incorporated derivative.

B.8. Commutative-algebra prerequisites

We use the following written commutative-algebra proofs at their matched scope. The lesson title and source file identify the provider independently of the course's current numbering. Each provider retains its own prerequisites; the exact file bytes and theorem correspondence are recorded in the conversion manifest.

Written programme proof Matched mathematical claims
Completion, Theorems 3.1–3.3, 4.1 and 5.1 Complete rings, formal power series and tensor products and direct sums; Complete rings, formal power series and flatness; Henselian rings and complete rings and formal power series
Coefficient rings and the Cohen structure theorem, Theorem 6.1 and its Noetherianity consequence Complete rings, formal power series and Noetherian rings
Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1 Henselian rings; Henselian rings; Henselian rings and proper morphisms
Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7 Étale morphisms; Étale morphisms and local algebra; Étale morphisms and field extensions
Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3 Criteria for smooth morphisms and field extensions; Smooth morphisms and field extensions
Regular sequences, depth and Cohen–Macaulay modules, Propositions 1.1–1.3 and Theorem 6.1 Koszul complexes, regular sequences and regular rings
Regular local rings, Theorem 1.1 Regular rings
Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 Cotangent complexes and differentials; Cotangent complexes and differentials; Cotangent complexes, differentials and finite presentation; Cotangent complexes and differentials
Faithful flatness and the local criterion for flatness, Theorems 2.1–3.1, 4.2, 5.2 and 5.4 Flatness and local algebra
Lesson 7, Appendix A, Lemma A.3 Derived categories; Derived categories; Flatness

The following proofs supply the conormal and Koszul transitivity arguments, finite projective and smooth-section lifting, geometric regularity, the finite-over-regular complete-local construction, and G-ring permanence. In particular the first-homology quotient argument is included at its own scope; the AG-CA cotangent-presentation comparison is not substituted for it. Formal smoothness of arbitrary separable field extensions is proved in the included algebraic chain, while the coefficient-ring lesson is used only for the prime-field assertion it actually proves.

Section 6.1 proves the full family-approximation construction used in Lesson 7, Lemma 2.3. Its finite-complex Artin–Rees comparison (Tags 07VE/07VF) is the actual written Lesson 7, Appendix A, Lemmas A.1–A.2; its presentation, completion, point and finite-stage object comparisons are supplied here. The concise prerequisite record below identifies the still unbound lower foundations.

B.9. Desingularization from singularity ideals

We now give the full proof chain from the Stacks source smoothing.tex: singular ideals and improved presentations; flat nilpotent lifting; lifting and desingularization; reduction to fields; localization; separable and inseparable residue fields; Popescu's theorem; both approximation theorems and the prime-localized variant. The independent Néron-DVR interlude is not needed for this chain and has not been imported into this assigned support chapter. Its omission does not narrow the regular Noetherian map theorem. All corrections are identified in §7 and applied in the incorporated derivative.

Singular ideals

Let $R \to A$ be a ring map. The singular ideal of $A$ over $R$ is the radical ideal in $A$ cutting out the singular locus of the morphism $\operatorname{Spec}(A) \to \operatorname{Spec}(R)$. Here is a formal definition.

Definition. The singularity ideal

Let $R \to A$ be a ring map. The singular ideal of $A$ over $R$, denoted $H_{A/R}$ is the unique radical ideal $H_{A/R} \subset A$ with $$V(H_{A/R}) = \{\mathfrak q \in \operatorname{Spec}(A) \mid R \to A \text{ not smooth at }\mathfrak q\}$$

This makes sense because the set of primes where $R \to A$ is smooth is open, see Algebra, Definition Smoothness at a prime ideal. In order to find an explicit set of generators for the singular ideal we first prove the following lemma.

Lemma. A Jacobian presentation near a smooth point

Let $R$ be a ring. Let $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$. Let $\mathfrak q \subset A$ be a prime ideal. Assume $R \to A$ is smooth at $\mathfrak q$. Then there exists an $a \in A$, $a \not \in \mathfrak q$, an integer $c$, $0 \leq c \leq \min(n, m)$, subsets $U \subset \{1, \ldots, n\}$, $V \subset \{1, \ldots, m\}$ of cardinality $c$ such that $$a = a' \det(\partial f_j/\partial x_i)_{j \in V, i \in U}$$ for some $a' \in A$ and $$a f_\ell \in (f_j, j \in V) + (f_1, \ldots, f_m)^2$$ for all $\ell \in \{1, \ldots, m\}$.

Proof. Set $I = (f_1, \ldots, f_m)$ so that the naive cotangent complex of $A$ over $R$ is homotopy equivalent to $I/I^2 \to \bigoplus A\text{d}x_i$, see Algebra, Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1. We will use the formation of the naive cotangent complex commutes with localization, see Algebra, Section The naive cotangent complex, especially Algebra, Lemma Localization of the naive cotangent complex. By Algebra, Definitions Smooth ring maps and Smoothness at a prime ideal we see that $(I/I^2)_a \to \bigoplus A_a\text{d}x_i$ is a split injection for some $a \in A$, $a \not \in \mathfrak q$. After renumbering $x_1, \ldots, x_n$ and $f_1, \ldots, f_m$ we may assume that $f_1, \ldots, f_c$ form a basis for the vector space $I/I^2 \otimes_A \kappa(\mathfrak q)$ and that $\text{d}x_{c + 1}, \ldots, \text{d}x_n$ map to a basis of $\Omega_{A/R} \otimes_A \kappa(\mathfrak q)$. Hence after replacing $a$ by $aa'$ for some $a' \in A$, $a' \not \in \mathfrak q$ we may assume $f_1, \ldots, f_c$ form a basis for $(I/I^2)_a$ and that $\text{d}x_{c + 1}, \ldots, \text{d}x_n$ map to a basis of $(\Omega_{A/R})_a$. In this situation $a^N$ for some large integer $N$ satisfies the conditions of the lemma (with $U = V = \{1, \ldots, c\}$). $\square$

We will use the notion of a strictly standard element in $A$ over $R$. Our notion is slightly weaker than the one in Swan's paper the original source citation swan. We also define an elementary standard element to be one of the type we found in the lemma above. We compare the different types of elements in Lemma Comparing standard smooth presentations.

Definition. Strict standard smoothness

Let $R \to A$ be a ring map of finite presentation. We say an element $a \in A$ is elementary standard in $A$ over $R$ if there exists a presentation $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and $0 \leq c \leq \min(n, m)$ such that

$$a = a' \det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$$ for some $a' \in A$ and

$$a f_{c + j} \in (f_1, \ldots, f_c) + (f_1, \ldots, f_m)^2$$ for $j = 1, \ldots, m - c$. We say $a \in A$ is strictly standard in $A$ over $R$ if there exists a presentation $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and $0 \leq c \leq \min(n, m)$ such that

$$a = \sum\nolimits_{I \subset \{1, \ldots, n\},\ |I| = c} a_I \det(\partial f_j/\partial x_i)_{j = 1, \ldots, c,\ i \in I}$$ for some $a_I \in A$ and

$$a f_{c + j} \in (f_1, \ldots, f_c) + (f_1, \ldots, f_m)^2$$ for $j = 1, \ldots, m - c$.

The following lemma is useful to find implications of (the displayed identity).

Lemma. The Jacobian relation in a strict presentation

Let $R$ be a ring. Let $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and write $I = (f_1, \ldots, f_m)$. Let $a \in A$. Then (the displayed identity) implies there exists an $A$-linear map $\psi : \bigoplus\nolimits_{i = 1, \ldots, n} A \text{d}x_i \to A^{\oplus c}$ such that the composition $$A^{\oplus c} \xrightarrow{(f_1, \ldots, f_c)} I/I^2 \xrightarrow{f \mapsto \text{d}f} \bigoplus\nolimits_{i = 1, \ldots, n} A \text{d}x_i \xrightarrow{\psi} A^{\oplus c}$$ is multiplication by $a$. Conversely, if such a $\psi$ exists, then $a^c$ satisfies (the displayed identity).

Proof. This is a special case of Algebra, Lemma A left inverse for a matrix. $\square$

Lemma. Controlling a power of the Jacobian determinant (Elkik)

Let $R \to A$ be a ring map of finite presentation. The singular ideal $H_{A/R}$ is the radical of the ideal generated by strictly standard elements in $A$ over $R$ and also the radical of the ideal generated by elementary standard elements in $A$ over $R$.

Proof. Assume $a$ is strictly standard in $A$ over $R$. We claim that $A_a$ is smooth over $R$, which proves that $a \in H_{A/R}$. Namely, let $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and $c$ be as in Definition Strict standard smoothness. Write $I = (f_1, \ldots, f_m)$ so that the naive cotangent complex of $A$ over $R$ is given by $I/I^2 \to \bigoplus A\text{d}x_i$. Assumption (the displayed identity) implies that $(I/I^2)_a$ is generated by the classes of $f_1, \ldots, f_c$. Assumption (the displayed identity) implies that the differential $(I/I^2)_a \to \bigoplus A_a\text{d}x_i$ has a left inverse, see Lemma The Jacobian relation in a strict presentation. Hence $R \to A_a$ is smooth by definition and Algebra, Lemma Localization of the naive cotangent complex.

Let $H_e, H_s \subset A$ be the radical of the ideal generated by elementary, resp. strictly standard elements of $A$ over $R$. By definition and what we just proved we have $H_e \subset H_s \subset H_{A/R}$. The inclusion $H_{A/R} \subset H_e$ follows from Lemma A Jacobian presentation near a smooth point. $\square$

Example. A singular locus that is not quasi-compact

The set of points where a finitely presented ring map is smooth needn't be a quasi-compact open. For example, let $R = k[x, y_1, y_2, y_3, \ldots]/(xy_i)$ and $A = R/(x)$. Then the smooth locus of $R \to A$ is $\bigcup D(y_i)$ which is not quasi-compact.

Lemma. Base change of a strict standard presentation

Let $R \to A$ be a ring map of finite presentation. Let $R \to R'$ be a ring map. If $a \in A$ is elementary, resp. strictly standard in $A$ over $R$, then $a \otimes 1$ is elementary, resp. strictly standard in $A \otimes_R R'$ over $R'$.

Proof. If $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ is a presentation of $A$ over $R$, then $A \otimes_R R' = R'[x_1, \ldots, x_n]/(f'_1, \ldots, f'_m)$ is a presentation of $A \otimes_R R'$ over $R'$. Here $f'_j$ is the image of $f_j$ in $R'[x_1, \ldots, x_n]$. Hence the result follows from the definitions. $\square$

Lemma. Solving the strict-standard Jacobian relations

Let $R \to A \to \Lambda$ be ring maps with $A$ of finite presentation over $R$. Assume that $H_{A/R} \Lambda = \Lambda$. Then there exists a factorization $A \to B \to \Lambda$ with $B$ smooth over $R$.

Proof. Choose $f_1, \ldots, f_r \in H_{A/R}$ and $\lambda_1, \ldots, \lambda_r \in \Lambda$ such that $\sum f_i\lambda_i = 1$ in $\Lambda$. Set $B = A[x_1, \ldots, x_r]/(f_1x_1 + \ldots + f_rx_r - 1)$ and define $B \to \Lambda$ by mapping $x_i$ to $\lambda_i$. To check that $B$ is smooth over $R$ use that $A_{f_i}$ is smooth over $R$ by definition of $H_{A/R}$ and that $B_{f_i}$ is smooth over $A_{f_i}$. Indeed, $\sum f_ix_i=1$ makes the $D(f_i)$ a cover of $\operatorname{Spec}(B)$. On $D(f_i)$ one eliminates $x_i$, giving a polynomial algebra over $A_{f_i}$. Smoothness on this cover proves the claim. $\square$

Presentations of algebras

Some of the results in this section are due to Elkik. Note that the algebra $C$ in the following lemma is a symmetric algebra over $A$. Moreover, if $R$ is Noetherian, then $C$ is of finite presentation over $R$.

Lemma. Improving a finite presentation

Let $R$ be a ring and let $A$ be a finitely presented $R$-algebra. There exists a finite type $R$-algebra map $A \to C$ which has a retraction with the following two properties

  1. for each $a \in A$ such that $R \to A_a$ is a local complete intersection (More on Algebra, Definition Local complete-intersection ring maps) the ring $C_a$ is smooth over $A_a$ and has a presentation $C_a = R[y_1, \ldots, y_m]/J$ such that $J/J^2$ is free over $C_a$, and

  2. for each $a \in A$ such that $A_a$ is smooth over $R$ the module $\Omega_{C_a/R}$ is free over $C_a$.

Proof. Choose a presentation $A = R[x_1, \ldots, x_n]/I$ and write $I = (f_1, \ldots, f_m)$. Define the $A$-module $K$ by the short exact sequence $$0 \to K \to A^{\oplus m} \to I/I^2 \to 0$$ where the $j$th basis vector $e_j$ in the middle is mapped to the class of $f_j$ on the right. Set $$C = \text{Sym}^*_A(I/I^2).$$ The retraction is just the projection onto the degree $0$ part of $C$. We have a surjection $R[x_1, \ldots, x_n, y_1, \ldots, y_m] \to C$ which maps $y_j$ to the class of $f_j$ in $I/I^2$. The kernel $J$ of this map is generated by the elements $f_1, \ldots, f_m$ and by elements $\sum h_j y_j$ with $h_j \in R[x_1, \ldots, x_n]$ such that $\sum h_j e_j$ defines an element of $K$. By Algebra, Lemma The transitivity sequence for the naive cotangent complex applied to $R \to A \to C$ and the presentations above and More on Algebra, Lemma The cotangent complex of a symmetric algebra there is an exact sequence

$$I/I^2 \otimes_A C \to J/J^2 \to K \otimes_A C \to 0$$ of $C$-modules. Let $h \in R[x_1, \ldots, x_n]$ be an element with image $a \in A$. We will use as presentations for the localized rings $$A_a = R[x_0, x_1, \ldots, x_n]/I' \quad\text{and}\quad C_a = R[x_0, x_1, \ldots, x_n, y_1, \ldots, y_m]/J'$$ where $I' = (hx_0 - 1, I)$ and $J' = (hx_0 - 1, J)$. Hence $I'/(I')^2 = A_a \oplus (I/I^2)_a$ as $A_a$-modules and $J'/(J')^2 = C_a \oplus (J/J^2)_a$ as $C_a$-modules. Thus we obtain

$$C_a \oplus I/I^2 \otimes_A C_a \to C_a \oplus (J/J^2)_a \to K \otimes_A C_a \to 0$$ as the sequence of Algebra, Lemma The transitivity sequence for the naive cotangent complex corresponding to $R \to A_a \to C_a$ and the presentations above.

Next, assume that $a \in A$ is such that $A_a$ is a local complete intersection over $R$. Then $(I/I^2)_a$ is finite projective over $A_a$, see More on Algebra, Lemma Finite projectivity of a quasi-regular conormal module. Hence we see $K_a \oplus (I/I^2)_a \cong A_a^{\oplus m}$ is free. In particular $K_a$ is finite projective too. By More on Algebra, Lemma Cotangent transitivity with a complete-intersection terminal map the sequence (the displayed identity) is exact on the left. Hence $$J'/(J')^2 \cong C_a \oplus I/I^2 \otimes_A C_a \oplus K \otimes_A C_a \cong C_a^{\oplus m + 1}$$ This proves (1). Finally, suppose that in addition $A_a$ is smooth over $R$. Then the same presentation shows that $\Omega_{C_a/R}$ is the cokernel of the map $$J'/(J')^2 \longrightarrow \bigoplus\nolimits_i C_a\text{d}x_i \oplus \bigoplus\nolimits_j C_a\text{d}y_j$$ The summand $C_a$ of $J'/(J')^2$ in the decomposition above corresponds to $hx_0 - 1$ and hence maps isomorphically to the summand $C_a\text{d}x_0$. The summand $I/I^2 \otimes_A C_a$ of $J'/(J')^2$ maps injectively to $\bigoplus_{i = 1, \ldots, n} C_a\text{d}x_i$ with quotient $\Omega_{A_a/R} \otimes_{A_a} C_a$. The summand $K \otimes_A C_a$ maps injectively to $\bigoplus_{j \geq 1} C_a\text{d}y_j$ with quotient isomorphic to $I/I^2 \otimes_A C_a$. Thus the cokernel of the last displayed map is the module $I/I^2 \otimes_A C_a \oplus \Omega_{A_a/R} \otimes_{A_a} C_a$. Since $(I/I^2)_a \oplus \Omega_{A_a/R}$ is free (from the definition of smooth ring maps) we see that (2) holds. $\square$

The following proposition was proved for smooth ring maps over henselian pairs by Elkik in the original source citation Elkik. For smooth ring maps it can be found in the original source citation Arabia, where it is also proven that ring maps between smooth algebras can be lifted.

Proposition. Lifting a smooth algebra over a quotient

Smooth and syntomic algebras lift along surjections

Let $R \to R_0$ be a surjective ring map with kernel $I$.

  1. If $R_0 \to A_0$ is a syntomic ring map, then there exists a syntomic ring map $R \to A$ such that $A/IA \cong A_0$.

  2. If $R_0 \to A_0$ is a smooth ring map, then there exists a smooth ring map $R \to A$ such that $A/IA \cong A_0$.

Proof. Assume $R_0 \to A_0$ syntomic, in particular a local complete intersection (More on Algebra, Lemma Syntomic algebras and local complete intersections). Choose a presentation $A_0 = R_0[x_1, \ldots, x_n]/J_0$. Set $C_0 = \text{Sym}^*_{A_0}(J_0/J_0^2)$. Note that $J_0/J_0^2$ is a finite projective $A_0$-module (Algebra, Lemma The conormal module of a syntomic presentation). By Lemma Improving a finite presentation the ring map $A_0 \to C_0$ is smooth and we can find a presentation $C_0 = R_0[y_1, \ldots, y_m]/K_0$ with $K_0/K_0^2$ free over $C_0$. By Algebra, Lemma A presentation realizing a basis of the conormal module we can assume $C_0 = R_0[y_1, \ldots, y_m]/(\overline{f}_1, \ldots, \overline{f}_c)$ where $\overline{f}_1, \ldots, \overline{f}_c$ maps to a basis of $K_0/K_0^2$ over $C_0$. Choose $f_1, \ldots, f_c \in R[y_1, \ldots, y_m]$ lifting $\overline{f}_1, \ldots, \overline{f}_c$ and set $$C = R[y_1, \ldots, y_m]/(f_1, \ldots, f_c)$$ By construction $C_0 = C/IC$. By Algebra, Lemma Localization of a relative complete intersection we can after replacing $C$ by $C_g$ assume that $C$ is a relative global complete intersection over $R$. We conclude that there exists a finite projective $A_0$-module $P_0$ such that $C_0 = \text{Sym}^*_{A_0}(P_0)$ is isomorphic to $C/IC$ for some syntomic $R$-algebra $C$.

Choose an integer $n$ and a direct sum decomposition $A_0^{\oplus n} = P_0 \oplus Q_0$. By More on Algebra, Lemma Lifting a finite projective module we can find an étale ring map $C \to C'$ which induces an isomorphism $C/IC \to C'/IC'$ and a finite projective $C'$-module $Q$ such that $Q/IQ$ is isomorphic to $Q_0 \otimes_{A_0} C/IC$. Then $D = \text{Sym}_{C'}^*(Q)$ is a smooth $C'$-algebra (see More on Algebra, Lemma Smoothness of a symmetric algebra). Picture $$\begin{gathered}\begin{matrix}R & \phantom{X} & C & C' & D \\ R/I & A_0 & C/IC & C'/IC' & D/ID\end{matrix} \\[6pt] \begin{aligned}R & \longrightarrow R/I \\ R & \longrightarrow C \\ C & \longrightarrow C' \\ C & \longrightarrow C/IC \\ C' & \longrightarrow D \\ C' & \longrightarrow C'/IC' \\ D & \longrightarrow D/ID \\ R/I & \longrightarrow A_0 \\ A_0 & \longrightarrow C/IC \\ C/IC & \xrightarrow{\cong} C'/IC' \\ C'/IC' & \longrightarrow D/ID\end{aligned}\end{gathered}$$ Observe that our choice of $Q$ gives $$\begin{aligned} D/ID & = \text{Sym}_{C/IC}^*(Q_0 \otimes_{A_0} C/IC) \\ & = \text{Sym}_{A_0}^*(Q_0) \otimes_{A_0} C/IC \\ & = \text{Sym}_{A_0}^*(Q_0) \otimes_{A_0} \text{Sym}_{A_0}^*(P_0) \\ & = \text{Sym}_{A_0}^*(Q_0 \oplus P_0) \\ & = \text{Sym}_{A_0}^*(A_0^{\oplus n}) \\ & = A_0[x_1, \ldots, x_n] \end{aligned}$$ Choose $f_1, \ldots, f_n \in D$ which map to $x_1, \ldots, x_n$ in $D/ID = A_0[x_1, \ldots, x_n]$. Set $A = D/(f_1, \ldots, f_n)$. Note that $A_0 = A/IA$. We claim that $R \to A$ is syntomic in a neighbourhood of $V(IA)$. If the claim is true, then we can find a $f \in A$ mapping to $1 \in A_0$ such that $A_f$ is syntomic over $R$ and the proof of (1) is finished.

Proof of the claim. Observe that $R \to D$ is syntomic as a composition of the syntomic ring map $R \to C$, the étale ring map $C \to C'$ and the smooth ring map $C' \to D$ (Algebra, Lemmas Composition of syntomic ring maps and Smooth algebras are syntomic). The question is local on $\operatorname{Spec}(D)$, hence we may assume that $D$ is a relative global complete intersection (Algebra, Lemma Local criteria for a syntomic algebra). Say $D = R[y_1, \ldots, y_m]/(g_1, \ldots, g_s)$. Let $f'_1, \ldots, f'_n \in R[y_1, \ldots, y_m]$ be lifts of $f_1, \ldots, f_n$. Then we can apply Algebra, Lemma Localization of a relative complete intersection to get the claim.

Proof of (2). Since a smooth ring map is syntomic, we can find a syntomic ring map $R \to A$ such that $A_0 = A/IA$. By assumption the fibres of $R \to A$ are smooth over primes in $V(I)$ hence $R \to A$ is smooth in an open neighbourhood of $V(IA)$ (Algebra, Lemma Smoothness from flatness and smooth fibres). Thus we can replace $A$ by a localization to obtain the result we want. $\square$

We know that any syntomic ring map $R \to A$ is locally a relative global complete intersection, see Algebra, Lemma Local criteria for a syntomic algebra. The next lemma says that a vector bundle over $\operatorname{Spec}(A)$ is a relative global complete intersection.

Lemma. Complete-intersection presentations of syntomic algebras

Let $R \to A$ be a syntomic ring map. Then there exists a smooth $R$-algebra map $A \to C$ with a retraction such that $C$ is a global relative complete intersection over $R$, i.e., $$C \cong R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$$ flat over $R$ and all fibres of dimension $n - c$.

Proof. Apply Lemma Improving a finite presentation to get $A \to C$. By Algebra, Lemma A presentation realizing a basis of the conormal module we can write $C = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ with $f_i$ mapping to a basis of $J/J^2$. The ring map $R \to C$ is syntomic (hence flat) as it is a composition of a syntomic and a smooth ring map. The dimension of the fibres is $n - c$ by Algebra, Lemma Local criteria for complete intersections (the fibres are local complete intersections, so the lemma applies). $\square$

Lemma. Standard presentations of smooth algebras

Let $R \to A$ be a smooth ring map. Then there exists a smooth $R$-algebra map $A \to B$ with a retraction such that $B$ is standard smooth over $R$, i.e., $$B \cong R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$$ and $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ is invertible in $B$.

Proof. Apply Lemma Complete-intersection presentations of syntomic algebras to get a smooth $R$-algebra map $A \to C$ with a retraction such that $C = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a relative global complete intersection over $R$. As $C$ is smooth over $R$ we have a short exact sequence $$0 \to \bigoplus\nolimits_{j = 1, \ldots, c} C f_j \to \bigoplus\nolimits_{i = 1, \ldots, n} C\text{d}x_i \to \Omega_{C/R} \to 0$$ Since $\Omega_{C/R}$ is a projective $C$-module this sequence is split. Choose a left inverse $t$ to the first map. Say $t(\text{d}x_i) = \sum c_{ij} f_j$ so that $\sum_i \frac{\partial f_j}{\partial x_i} c_{i\ell} = \delta_{j\ell}$ (Kronecker delta). Let $$B' = C[y_1, \ldots, y_c] = R[x_1, \ldots, x_n, y_1, \ldots, y_c]/(f_1, \ldots, f_c)$$ The $R$-algebra map $C \to B'$ has a retraction given by mapping $y_j$ to zero. We claim that the map $$R[z_1, \ldots, z_n] \longrightarrow B',\quad z_i \longmapsto x_i - \sum\nolimits_j c_{ij} y_j$$ is étale at every point in the image of $\operatorname{Spec}(C) \to \operatorname{Spec}(B')$. In $\Omega_{B'/R[z_1, \ldots, z_n]}$ we have $$0 = \text{d}f_j - \sum\nolimits_i \frac{\partial f_j}{\partial x_i} \text{d}z_i \equiv \sum\nolimits_{i, \ell} \frac{\partial f_j}{\partial x_i} c_{i\ell} \text{d}y_\ell \equiv \text{d}y_j \bmod (y_1, \ldots, y_c)\Omega_{B'/R[z_1, \ldots, z_n]}$$ Since $0 = \text{d}z_i = \text{d}x_i$ modulo $\sum B'\text{d}y_j + (y_1, \ldots, y_c)\Omega_{B'/R[z_1, \ldots, z_n]}$ we conclude that $$\Omega_{B'/R[z_1, \ldots, z_n]}/ (y_1, \ldots, y_c)\Omega_{B'/R[z_1, \ldots, z_n]} = 0.$$ As $\Omega_{B'/R[z_1, \ldots, z_n]}$ is a finite $B'$-module by Nakayama's lemma there exists a $g \in 1 + (y_1, \ldots, y_c)$ that $(\Omega_{B'/R[z_1, \ldots, z_n]})_g = 0$. This proves that $R[z_1, \ldots, z_n] \to B'_g$ is unramified, see Algebra, Definition Unramified ring maps. For any ring map $R \to k$ where $k$ is a field we obtain an unramified ring map $k[z_1, \ldots, z_n] \to (B'_g) \otimes_R k$ between smooth $k$-algebras of dimension $n$. It follows that $k[z_1, \ldots, z_n] \to (B'_g) \otimes_R k$ is flat by Algebra, Lemmas Flatness from Cohen–Macaulayness over a regular base and Smoothness after an algebraic closure of the ground field. By the critère de platitude par fibre (Algebra, Lemma The fibrewise criterion for flatness) we conclude that $R[z_1, \ldots, z_n] \to B'_g$ is flat. Finally, Algebra, Lemma Characterizations of étale algebras implies that $R[z_1, \ldots, z_n] \to B'_g$ is étale. Set $B = B'_g$. Note that $C \to B$ is smooth and has a retraction, so also $A \to B$ is smooth and has a retraction. Moreover, $R[z_1, \ldots, z_n] \to B$ is étale. By Algebra, Lemma Étale algebras in standard smooth form we can write $$B = R[z_1, \ldots, z_n, w_1, \ldots, w_m]/(g_1, \ldots, g_m)$$ with $\det(\partial g_j/\partial w_i)$ invertible in $B$. This proves the lemma. $\square$

Lemma. Standard smooth presentations in a filtered colimit

Let $R \to \Lambda$ be a ring map. If $\Lambda$ is a filtered colimit of smooth $R$-algebras, then $\Lambda$ is a filtered colimit of standard smooth $R$-algebras.

Proof. Let $A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation over $R$. According to Algebra, Lemma Recognizing a filtered colimit of finite presentations we have to factor this map through a standard smooth algebra, and we know we can factor it as $A \to B \to \Lambda$ with $B$ smooth over $R$. Choose an $R$-algebra map $B \to C$ with a retraction $C \to B$ such that $C$ is standard smooth over $R$, see Lemma Standard presentations of smooth algebras. Then the desired factorization is $A \to B \to C \to B \to \Lambda$. $\square$

Lemma. Including prescribed generators in a smooth presentation

Let $R \to A$ be a standard smooth ring map. Let $E \subset A$ be a finite subset of order $|E| = n$. Then there exists a presentation $A = R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$ with $c \geq n$, with $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ invertible in $A$, and such that $E$ is the set of congruence classes of $x_1, \ldots, x_n$.

Proof. Choose a presentation $A = R[y_1, \ldots, y_m]/(g_1, \ldots, g_d)$ such that the image of $\det(\partial g_j/\partial y_i)_{i, j = 1, \ldots, d}$ is invertible in $A$. Choose an enumeration $E = \{a_1, \ldots, a_n\}$ and choose $h_i \in R[y_1, \ldots, y_m]$ whose image in $A$ is $a_i$. Consider the presentation $$A = R[x_1, \ldots, x_n, y_1, \ldots, y_m]/ (x_1 - h_1, \ldots, x_n - h_n, g_1, \ldots, g_d)$$ and set $c = n + d$. $\square$

Lemma. Comparing standard smooth presentations

Let $R \to A$ be a ring map of finite presentation. Let $a \in A$. Consider the following conditions on $a$:

  1. $A_a$ is smooth over $R$,

  2. $A_a$ is smooth over $R$ and $\Omega_{A_a/R}$ is stably free,

  3. $A_a$ is smooth over $R$ and $\Omega_{A_a/R}$ is free,

  4. $A_a$ is standard smooth over $R$,

  5. $a$ is strictly standard in $A$ over $R$,

  6. $a$ is elementary standard in $A$ over $R$.

Then we have

  1. $4$ $\Rightarrow$ (3) $\Rightarrow$ (2) $\Rightarrow$ (1),

  2. $6$ $\Rightarrow$ (5),

  3. $6$ $\Rightarrow$ (4),

  4. $5$ $\Rightarrow$ (2),

  5. $2$ $\Rightarrow$ the elements $a^e$, $e \geq e_0$ are strictly standard in $A$ over $R$,

  6. $4$ $\Rightarrow$ the elements $a^e$, $e \geq e_0$ are elementary standard in $A$ over $R$.

Proof. Part (a) is clear from the definitions and Algebra, Lemma Standard smooth algebras. Part (b) is clear from Definition Strict standard smoothness.

Proof of (c). Choose a presentation $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ such that (the displayed identity) and (the displayed identity) hold. Choose $h \in R[x_1, \ldots, x_n]$ mapping to $a$. Then $$A_a = R[x_0, x_1, \ldots, x_n]/(x_0h - 1, f_1, \ldots, f_m).$$ Write $J = (x_0h - 1, f_1, \ldots, f_m)$. By (the displayed identity) we see that the $A_a$-module $J/J^2$ is generated by $x_0h - 1, f_1, \ldots, f_c$ over $A_a$. Hence, as in the proof of Algebra, Lemma A presentation realizing a basis of the conormal module, we can choose a $g \in 1 + J$ such that $$A_a = R[x_0, \ldots, x_n, x_{n + 1}]/ (x_0h - 1, f_1, \ldots, f_c, gx_{n + 1} - 1).$$ At this point (the displayed identity) implies that $R \to A_a$ is standard smooth (use the coordinates $x_0, x_1, \ldots, x_c, x_{n + 1}$ to take derivatives).

Proof of (d). Choose a presentation $A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ such that (the displayed identity) and (the displayed identity) hold. Write $I = (f_1, \ldots, f_m)$. We already know that $A_a$ is smooth over $R$, see Lemma Controlling a power of the Jacobian determinant. By Lemma The Jacobian relation in a strict presentation we see that $(I/I^2)_a$ is free on $f_1, \ldots, f_c$ and maps isomorphically to a direct summand of $\bigoplus A_a \text{d}x_i$. Since $\Omega_{A_a/R} = (\Omega_{A/R})_a$ is the cokernel of the map $(I/I^2)_a \to \bigoplus A_a \text{d}x_i$ we conclude that it is stably free.

Proof of (e). Choose a presentation $A = R[x_1, \ldots, x_n]/I$ with $I$ finitely generated. By assumption we have a short exact sequence $$0 \to (I/I^2)_a \to \bigoplus\nolimits_{i = 1, \ldots, n} A_a\text{d}x_i \to \Omega_{A_a/R} \to 0$$ which is split exact. Hence we see that $(I/I^2)_a \oplus \Omega_{A_a/R}$ is a free $A_a$-module. Since $\Omega_{A_a/R}$ is stably free we see that $(I/I^2)_a$ is stably free as well. Thus replacing the presentation chosen above by $A = R[x_1, \ldots, x_n, x_{n + 1}, \ldots, x_{n + r}]/J$ with $J = (I, x_{n + 1}, \ldots, x_{n + r})$ for some $r$ we get that $(J/J^2)_a$ is (finite) free. Choose $f_1, \ldots, f_c \in J$ which map to a basis of $(J/J^2)_a$. Extend this to a list of generators $f_1, \ldots, f_m \in J$. Consider the presentation $A = R[x_1, \ldots, x_{n + r}]/(f_1, \ldots, f_m)$. Then (the displayed identity) holds for $a^e$ for all sufficiently large $e$ by construction. Moreover, since $(J/J^2)_a \to \bigoplus\nolimits_{i = 1, \ldots, n + r} A_a\text{d}x_i$ is a split injection we can find an $A_a$-linear left inverse. Writing this left inverse in terms of the basis $f_1, \ldots, f_c$ and clearing denominators we find a linear map $\psi_0 : A^{\oplus n + r} \to A^{\oplus c}$ such that $$A^{\oplus c} \xrightarrow{(f_1, \ldots, f_c)} J/J^2 \xrightarrow{f \mapsto \text{d}f} \bigoplus\nolimits_{i = 1, \ldots, n + r} A \text{d}x_i \xrightarrow{\psi_0} A^{\oplus c}$$ is multiplication by $a^{e_0}$ for some $e_0 \geq 1$. By Lemma The Jacobian relation in a strict presentation we see (the displayed identity) holds for all $a^{ce_0}$ and hence for $a^e$ for all $e$ with $e \geq ce_0$.

Proof of (f). Choose a presentation $A_a = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ such that $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ is invertible in $A_a$. We may assume that for some $m < n$ the classes of the elements $x_1, \ldots, x_m$ correspond to $a_i/1$ where $a_1, \ldots, a_m \in A$ are generators of $A$ over $R$, see Lemma Including prescribed generators in a smooth presentation. After replacing $x_i$ by $a^Nx_i$ for $m < i \leq n$ we may assume the class of $x_i$ is $a_i/1 \in A_a$ for some $a_i \in A$. Consider the ring map $$\Psi : R[x_1, \ldots, x_n] \longrightarrow A,\quad x_i \longmapsto a_i.$$ This is a surjective ring map. By replacing $f_j$ by $a^Nf_j$ we may assume that $f_j \in R[x_1, \ldots, x_n]$ and that $\Psi(f_j) = 0$ (since after all $f_j(a_1/1, \ldots, a_n/1) = 0$ in $A_a$). Let $J = \operatorname{Ker}(\Psi)$. Then $A = R[x_1, \ldots, x_n]/J$ is a presentation and $f_1, \ldots, f_c \in J$ are elements such that $(J/J^2)_a$ is freely generated by $f_1, \ldots, f_c$ and such that $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ maps to an invertible element of $A_a$. It follows that (the displayed identity) and (the displayed identity) hold for $a^e$ and all large enough $e$ as desired. $\square$

The lifting problem

The goal in this section is to prove (Proposition Lifting an algebraic factorization) that the collection of algebras which are filtered colimits of smooth algebras is closed under infinitesimal flat deformations. The proof is elementary and only uses the results on presentations of smooth algebras from Section The geometric construction.

Lemma. A first lifting step

Let $R \to \Lambda$ be a ring map. Let $I \subset R$ be an ideal. Assume that

  1. $I^2 = 0$, and

  2. $\Lambda/I\Lambda$ is a filtered colimit of smooth $R/I$-algebras.

Let $\varphi : A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation over $R$. Then there exists a factorization $$A \to B/J \to \Lambda$$ where $B$ is a smooth $R$-algebra and $J \subset IB$ is a finitely generated ideal.

Proof. Choose a factorization $$A/IA \to \bar B \to \Lambda/I\Lambda$$ with $\bar B$ standard smooth over $R/I$; this is possible by assumption and Lemma Standard smooth presentations in a filtered colimit. Write $$\bar B = A/IA[t_1, \ldots, t_r]/(\bar g_1, \ldots, \bar g_s)$$ and say $\bar B \to \Lambda/I\Lambda$ maps $t_i$ to the class of $\lambda_i$ modulo $I\Lambda$. Choose $g_1, \ldots, g_s \in A[t_1, \ldots, t_r]$ lifting $\bar g_1, \ldots, \bar g_s$. Write $\varphi(g_i)(\lambda_1, \ldots, \lambda_r) = \sum \epsilon_{ij} \mu_{ij}$ for some $\epsilon_{ij} \in I$ and $\mu_{ij} \in \Lambda$. Define $$A' = A[t_1, \ldots, t_r, \delta_{i, j}]/ (g_i - \sum \epsilon_{ij} \delta_{ij})$$ and consider the map $$A' \longrightarrow \Lambda,\quad a \longmapsto \varphi(a),\quad t_i \longmapsto \lambda_i,\quad \delta_{ij} \longmapsto \mu_{ij}$$ We have $$A'/IA' = A/IA[t_1, \ldots, t_r]/(\bar g_1, \ldots, \bar g_s)[\delta_{ij}] \cong \bar B[\delta_{ij}]$$ This is a standard smooth algebra over $R/I$ as $\bar B$ is standard smooth. Choose a presentation $A'/IA' = R/I[x_1, \ldots, x_n]/(\bar f_1, \ldots, \bar f_c)$ with $\det(\partial \bar f_j/\partial x_i)_{i, j = 1, \ldots, c}$ invertible in $A'/IA'$. Choose lifts $f_1, \ldots, f_c \in R[x_1, \ldots, x_n]$ of $\bar f_1, \ldots, \bar f_c$. Then $$B = R[x_1, \ldots, x_n, x_{n + 1}]/ (f_1, \ldots, f_c, x_{n + 1}\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c} - 1)$$ is smooth over $R$. Since smooth ring maps are formally smooth (Algebra, Proposition Formal smoothness of smooth algebras) there exists an $R$-algebra map $B \to A'$ which is an isomorphism modulo $I$. Then $B \to A'$ is surjective by Nakayama's lemma (Algebra, Lemma Nakayama's lemma). Thus $A' = B/J$ with $J \subset IB$ finitely generated (see Algebra, Lemma Finite presentation and finite algebras). $\square$

Lemma. A second lifting step

Let $R \to \Lambda$ be a ring map. Let $I \subset R$ be an ideal. Assume that

  1. $I^2 = 0$,

  2. $\Lambda/I\Lambda$ is a filtered colimit of smooth $R/I$-algebras, and

  3. $R \to \Lambda$ is flat.

Let $\varphi : B \to \Lambda$ be an $R$-algebra map with $B$ smooth over $R$. Let $J \subset IB$ be a finitely generated ideal such that $\varphi(J) = 0$. Then there exists $R$-algebra maps $$B \xrightarrow{\alpha} B' \xrightarrow{\beta} \Lambda$$ such that $B'$ is smooth over $R$, such that $\alpha(J) = 0$ and such that $\beta \circ \alpha = \varphi$.

Proof. If we can prove the lemma in case $J = (h)$, then we can prove the lemma by induction on the number of generators of $J$. Namely, suppose that $J$ can be generated by $n$ elements $h_1, \ldots, h_n$ and the lemma holds for all cases where $J$ is generated by $n - 1$ elements. Then we apply the case $n = 1$ to produce $B \to B' \to \Lambda$ where the first map kills $h_n$. Then we let $J'$ be the ideal of $B'$ generated by the images of $h_1, \ldots, h_{n - 1}$ and we apply the case for $n - 1$ to produce $B' \to B'' \to \Lambda$. It is easy to verify that $B \to B'' \to \Lambda$ does the job.

Assume $J = (h)$ and write $h = \sum \epsilon_i b_i$ for some $\epsilon_i \in I$ and $b_i \in B$. Note that $0 = \varphi(h) = \sum \epsilon_i \varphi(b_i)$. As $\Lambda$ is flat over $R$, the equational criterion for flatness (Algebra, Lemma The equational criterion for flatness) implies that we can find $\lambda_j \in \Lambda$, $j = 1, \ldots, m$ and $a_{ij} \in R$ such that $\varphi(b_i) = \sum_j a_{ij} \lambda_j$ and $\sum_i \epsilon_i a_{ij} = 0$. Set $$C = B[x_1, \ldots, x_m]/(b_i - \sum a_{ij} x_j)$$ with $C \to \Lambda$ given by $\varphi$ and $x_j \mapsto \lambda_j$. Choose a factorization $$C \to B'/J' \to \Lambda$$ as in Lemma A first lifting step. Since $B$ is smooth over $R$ we can lift the map $B \to C \to B'/J'$ to a map $\alpha : B \to B'$. Then $\varphi = \beta \circ \alpha$. To finish the proof we check that $\alpha(h) = 0$. Namely, the fact that $\alpha$ lifts $B \to C \to B'/J'$ implies that $$\alpha(b_i) = \sum a_{ij} \xi_j + \theta_i$$ for some $\xi_j \in B'$ and $\theta_i \in J' \subset IB'$. Hence we see that $$\alpha(h) = \alpha(\sum \epsilon_i b_i) = \sum \epsilon_i a_{ij} \xi_j + \sum \epsilon_i \theta_i = 0$$ because of the relations above and the fact that $I^2 = 0$. $\square$

Proposition. Lifting an algebraic factorization

Ind-smoothness of an algebra is stable under infinitesimal deformations

Let $R \to \Lambda$ be a ring map. Let $I \subset R$ be an ideal. Assume that

  1. $I$ is nilpotent,

  2. $\Lambda/I\Lambda$ is a filtered colimit of smooth $R/I$-algebras, and

  3. $R \to \Lambda$ is flat.

Then $\Lambda$ is a filtered colimit of smooth $R$-algebras.

Proof. Since $I^n = 0$ for some $n$, it follows by induction on $n$ that it suffices to consider the case where $I^2 = 0$. Let $\varphi : A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation over $R$. We have to find a factorization $A \to B \to \Lambda$ with $B$ smooth over $R$, see Algebra, Lemma Recognizing a filtered colimit of finite presentations. By Lemma A first lifting step we may assume that $A = B/J$ with $B$ smooth over $R$ and $J \subset IB$ a finitely generated ideal. By Lemma A second lifting step we can find a commutative diagram $$\begin{gathered}\begin{matrix}B & \phantom{X} & B' \\ \phantom{X} & \Lambda\end{matrix} \\[6pt] \begin{aligned}B & \xrightarrow{\alpha} B' \\ B & \xrightarrow{\varphi} \Lambda \\ B' & \xrightarrow{\beta} \Lambda\end{aligned}\end{gathered}$$ of $R$-algebras with $B'$ smooth over $R$ such that $\alpha(J) = 0$. Thus $\alpha$ factors as $B \to A \to B'$ and the proof is complete. $\square$

The lifting lemma

Here is a fiendishly clever lemma.

Lemma. The lifting lemma

Let $R$ be a Noetherian ring. Let $\Lambda$ be an $R$-algebra. Let $\pi \in R$ and assume that $\text{Ann}_R(\pi) = \text{Ann}_R(\pi^2)$ and $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$. Suppose we have $R$-algebra maps $R/\pi^2R \to \bar C \to \Lambda/\pi^2\Lambda$ with $\bar C$ of finite presentation. Then there exists an $R$-algebra homomorphism $D \to \Lambda$ and a commutative diagram $$\begin{gathered}\begin{matrix}R/\pi^2R & \bar C & \Lambda/\pi^2\Lambda \\ R/\pi R & D/\pi D & \Lambda/\pi \Lambda\end{matrix} \\[6pt] \begin{aligned}R/\pi^2R & \longrightarrow \bar C \\ R/\pi^2R & \longrightarrow R/\pi R \\ \bar C & \longrightarrow \Lambda/\pi^2\Lambda \\ \bar C & \longrightarrow D/\pi D \\ \Lambda/\pi^2\Lambda & \longrightarrow \Lambda/\pi \Lambda \\ R/\pi R & \longrightarrow D/\pi D \\ D/\pi D & \longrightarrow \Lambda/\pi \Lambda\end{aligned}\end{gathered}$$ with the following properties

  1. $D$ is of finite presentation,

  2. $R \to D$ is smooth at any prime $\mathfrak q$ with $\pi \not \in \mathfrak q$,

  3. $R \to D$ is smooth at any prime $\mathfrak q$ with $\pi \in \mathfrak q$ lying over a prime of $\bar C$ where $R/\pi^2 R \to \bar C$ is smooth, and

  4. $\bar C/\pi \bar C \to D/\pi D$ is smooth at any prime lying over a prime of $\bar C$ where $R/\pi^2R \to \bar C$ is smooth.

Proof. We choose a presentation $$\bar C = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$$ We also denote $I = (f_1, \ldots, f_m)$ and $\bar I$ the image of $I$ in $R/\pi^2R[x_1, \ldots, x_n]$. Since $R$ is Noetherian, so is $\bar C$. Hence the smooth locus of $R/\pi^2 R \to \bar C$ is quasi-compact, see Topology, Lemma Noetherian topological spaces (programme binding). Applying Lemma A Jacobian presentation near a smooth point we may choose a finite list of elements $a_1, \ldots, a_r \in R[x_1, \ldots, x_n]$ such that

  1. the union of the open subspaces $\operatorname{Spec}(\bar C_{a_k}) \subset \operatorname{Spec}(\bar C)$ cover the smooth locus of $R/\pi^2 R \to \bar C$, and

  2. for each $k = 1, \ldots, r$ there exists a finite subset $E_k \subset \{1, \ldots, m\}$ such that $(\bar I/\bar I^2)_{a_k}$ is freely generated by the classes of $f_j$, $j \in E_k$.

Set $I_k = (f_j, j \in E_k) \subset I$ and denote $\bar I_k$ the image of $I_k$ in $R/\pi^2R[x_1, \ldots, x_n]$. By (2) and Nakayama's lemma we see that $(\bar I/\bar I_k)_{a_k}$ is annihilated by $1 + b'_k$ for some $b'_k \in \bar I_{a_k}$. Suppose $b'_k$ is the image of $b_k/(a_k)^N$ for some $b_k \in I$ and some integer $N$. After replacing $a_k$ by $a_k((a_k)^N + b_k)$ we get

  1. $(\bar I_k)_{a_k} = (\bar I)_{a_k}$.

Thus, after possibly replacing $a_k$ by a high power, we may write

  1. $a_k f_\ell = \sum\nolimits_{j \in E_k} h_{k, \ell}^jf_j + \pi^2 g_{k, \ell}$

for any $\ell \in \{1, \ldots, m\}$ and some $h_{k, \ell}^j, g_{k, \ell} \in R[x_1, \ldots, x_n]$. If $\ell \in E_k$ we choose $h_{k, \ell}^j = a_k\delta_{\ell, j}$ (Kronecker delta) and $g_{k, \ell} = 0$. Set $$D = R[x_1, \ldots, x_n, z_1, \ldots, z_m]/ (f_j - \pi z_j, p_{k, \ell}).$$ Here $j \in \{1, \ldots, m\}$, $k \in \{1, \ldots, r\}$, $\ell \in \{1, \ldots, m\}$, and $$p_{k, \ell} = a_k z_\ell - \sum\nolimits_{j \in E_k} h_{k, \ell}^j z_j

The map $R \to D$ is the given one. Say $\bar C \to \Lambda/\pi^2\Lambda$ maps $x_i$ to the class of $\lambda_i$ modulo $\pi^2$. For an element $f \in R[x_1, \ldots, x_n]$ we denote $f(\lambda) \in \Lambda$ the result of substituting $\lambda_i$ for $x_i$. Then we know that $f_j(\lambda) = \pi^2 \mu_j$ for some $\mu_j \in \Lambda$. Define $D \to \Lambda$ by the rules $x_i \mapsto \lambda_i$ and $z_j \mapsto \pi\mu_j$. This is well defined because $$\begin{aligned} p_{k, \ell} & \mapsto a_k(\lambda) \pi \mu_\ell - \sum\nolimits_{j \in E_k} h_{k, \ell}^j(\lambda) \pi \mu_j

Using (4) we obtain the following key equality $$\begin{aligned} \pi p_{k, \ell} & = \pi a_k z_\ell - \sum\nolimits_{j \in E_k} \pi h_{k, \ell}^jz_j

For fixed $k \in \{1, \ldots, r\}$ consider the ring $$D_k = R[x_1, \ldots, x_n, z_1, \ldots, z_m]/ (f_j - \pi z_j, j \in E_k, p_{k, \ell})$$ The number of equations is $m = |E_k| + (m - |E_k|)$ as $p_{k, \ell}$ is zero if $\ell \in E_k$. Also, note that $$\begin{aligned} (D_k/\pi D_k)_{a_k} & = R/\pi R[x_1, \ldots, x_n, 1/a_k, z_1, \ldots, z_m]/ (f_j, j \in E_k, p_{k, \ell}) \\ & = (\bar C/\pi \bar C)_{a_k}[z_1, \ldots, z_m]/ (a_kz_\ell - \sum\nolimits_{j \in E_k} h_{k, \ell}^j z_j) \\ & \cong (\bar C/\pi \bar C)_{a_k}[z_j, j \in E_k] \end{aligned}$$ In particular $(D_k/\pi D_k)_{a_k}$ is smooth over $(\bar C/\pi \bar C)_{a_k}$. By our choice of $a_k$ we have that $(\bar C/\pi \bar C)_{a_k}$ is smooth over $R/\pi R$ of relative dimension $n - |E_k|$, see (2). Hence for a prime $\mathfrak q_k \subset D_k$ containing $\pi$ and lying over $\operatorname{Spec}(\bar C_{a_k})$ the fibre ring of $R \to D_k$ is smooth at $\mathfrak q_k$ of dimension $n$. Thus $R \to D_k$ is syntomic at $\mathfrak q_k$ by our count of the number of equations above, see Algebra, Lemma Localization of a relative complete intersection. Hence $R \to D_k$ is smooth at $\mathfrak q_k$, see Algebra, Lemma Smoothness from flatness and smooth fibres.

To finish the proof, let $\mathfrak q \subset D$ be a prime containing $\pi$ lying over a prime where $R/\pi^2 R \to \bar C$ is smooth. Then $a_k \not \in \mathfrak q$ for some $k$ by (1). We will show that the surjection $D_k \to D$ induces an isomorphism on local rings at $\mathfrak q$. Since we know that the ring maps $\bar C/\pi \bar C \to D_k/\pi D_k$ and $R \to D_k$ are smooth at the corresponding prime $\mathfrak q_k$ by the preceding paragraph this will prove (c) and (d) and thus finish the proof.

First, note that for any $\ell$ the equation $\pi p_{k, \ell} = -a_k(f_\ell - \pi z_\ell) + \sum_{j \in E_k} h_{k, \ell}^j (f_j - \pi z_j)$ proved above shows that $f_\ell - \pi z_\ell$ maps to zero in $(D_k)_{a_k}$ and in particular in $(D_k)_{\mathfrak q_k}$. The relations (4) imply that $a_k f_\ell = \sum_{j \in E_k} h_{k, \ell}^j f_j$ in $I/I^2$. Since $(\bar I_k/\bar I_k^2)_{a_k}$ is free on $f_j$, $j \in E_k$ we see that $$a_{k'} h_{k, \ell}^j - \sum\nolimits_{j' \in E_{k'}} h_{k', \ell}^{j'} h_{k, j'}^j$$ is zero in $\bar C_{a_k}$ for every $k, k', \ell$ and $j \in E_k$. Hence we can find a large integer $N$ such that $$a_k^N\left( a_{k'} h_{k, \ell}^j - \sum\nolimits_{j' \in E_{k'}} h_{k', \ell}^{j'} h_{k, j'}^j \right)$$ is in $I_k + \pi^2R[x_1, \ldots, x_n]$. Computing modulo $\pi$ we have $$\begin{aligned} & a_kp_{k', \ell} - a_{k'}p_{k, \ell} + \sum h_{k', \ell}^{j'} p_{k, j'} \ &

The desingularization lemma

The following construction enlarges the smooth locus.

Lemma. The desingularization lemma

Let $R$ be a Noetherian ring. Let $\Lambda$ be an $R$-algebra. Let $\pi \in R$ and assume that $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$. Let $A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation. Assume

  1. the image of $\pi$ is strictly standard in $A$ over $R$, and

  2. there exists a section $\rho : A/\pi^4 A \to R/\pi^4 R$ which is compatible with the map to $\Lambda/\pi^4 \Lambda$.

Then we can find $R$-algebra maps $A \to B \to \Lambda$ with $B$ of finite presentation such that $\mathfrak a B \subset H_{B/R}$ where $\mathfrak a = \text{Ann}_R(\text{Ann}_R(\pi^2)/\text{Ann}_R(\pi))$.

Proof. Choose a presentation $$A = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$$ and $0 \leq c \leq \min(n, m)$ such that (the displayed identity) holds for $\pi$ and such that

$$\pi f_{c + j} \in (f_1, \ldots, f_c) + (f_1, \ldots, f_m)^2$$ for $j = 1, \ldots, m - c$. Say $\rho$ maps $x_i$ to the class of $r_i \in R$. Then we can replace $x_i$ by $x_i - r_i$. Hence we may assume $\rho(x_i) = 0$ in $R/\pi^4 R$. This implies that $f_j(0) \in \pi^4R$ and that $A \to \Lambda$ maps $x_i$ to $\pi^4\lambda_i$ for some $\lambda_i \in \Lambda$. Write $$f_j = f_j(0) + \sum\nolimits_{i = 1, \ldots, n} r_{ji} x_i + \text{h.o.t.}$$ This implies that the constant term of $\partial f_j/\partial x_i$ is $r_{ji}$. Apply $\rho$ to (the displayed identity) for $\pi$ and we see that $$\pi = \sum\nolimits_{I \subset \{1, \ldots, n\},\ |I| = c} r_I \det(r_{ji})_{j = 1, \ldots, c,\ i \in I} \bmod \pi^4R$$ for some $r_I \in R$. Thus we have $$u\pi = \sum\nolimits_{I \subset \{1, \ldots, n\},\ |I| = c} r_I \det(r_{ji})_{j = 1, \ldots, c,\ i \in I}$$ for some $u \in 1 + \pi^3R$. By Algebra, Lemma A left inverse for a matrix this implies there exists a $n \times c$ matrix $(s_{ik})$ such that $$u\pi \delta_{jk} = \sum\nolimits_{i = 1, \ldots, n} r_{ji}s_{ik}\quad \text{for all } j, k = 1, \ldots, c$$ (Kronecker delta). We introduce auxiliary variables $v_1, \ldots, v_c, w_1, \ldots, w_n$ and we set $$h_i = x_i - \pi^2 \sum\nolimits_{j = 1, \ldots c} s_{ij} v_j - \pi^3 w_i$$ In the following we will use that $$R[x_1, \ldots, x_n, v_1, \ldots, v_c, w_1, \ldots, w_n]/ (h_1, \ldots, h_n) = R[v_1, \ldots, v_c, w_1, \ldots, w_n]$$ without further mention. In $R[x_1, \ldots, x_n, v_1, \ldots, v_c, w_1, \ldots, w_n]/ (h_1, \ldots, h_n)$ we have $$\begin{aligned} f_j & = f_j(x_1 - h_1, \ldots, x_n - h_n) \\ & = \pi^2 \sum\nolimits_{k = 1}^c \left(\sum\nolimits_{i = 1}^n r_{ji} s_{ik}\right) v_k + \pi^3 \sum\nolimits_{i = 1}^n r_{ji}w_i \bmod \pi^4 \\ & = \pi^3 v_j + \pi^3 \sum\nolimits_{i = 1}^n r_{ji}w_i \bmod \pi^4 \end{aligned}$$ for $1 \leq j \leq c$. Hence we can choose elements $g_j \in R[v_1, \ldots, v_c, w_1, \ldots, w_n]$ such that $g_j = v_j + \sum r_{ji}w_i \bmod \pi$ and such that $f_j = \pi^3 g_j$ in the $R$-algebra $R[x_1, \ldots, x_n, v_1, \ldots, v_c, w_1, \ldots, w_n]/ (h_1, \ldots, h_n)$. We set $$B = R[x_1, \ldots, x_n, v_1, \ldots, v_c, w_1, \ldots, w_n]/ (f_1, \ldots, f_m, h_1, \ldots, h_n, g_1, \ldots, g_c).$$ The map $A \to B$ is clear. We define $B \to \Lambda$ by mapping $x_i \to \pi^4\lambda_i$, $v_i \mapsto 0$, and $w_i \mapsto \pi \lambda_i$. Then it is clear that the elements $f_j$ and $h_i$ are mapped to zero in $\Lambda$. Moreover, it is clear that $g_i$ is mapped to an element $t$ of $\pi\Lambda$ such that $\pi^3t = 0$ (as $f_i = \pi^3 g_i$ modulo the ideal generated by the $h$'s). Hence our assumption that $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$ implies that $t = 0$. Thus we are done if we can prove the statement about smoothness.

Note that $B_\pi \cong A_\pi[v_1, \ldots, v_c]$ because the equations $g_i = 0$ are implied by $f_i = 0$. Hence $B_\pi$ is smooth over $R$ as $A_\pi$ is smooth over $R$ by the assumption that $\pi$ is strictly standard in $A$ over $R$, see Lemma Controlling a power of the Jacobian determinant.

Set $B' = R[v_1, \ldots, v_c, w_1, \ldots, w_n]/(g_1, \ldots, g_c)$. As $g_i = v_i + \sum r_{ji}w_i \bmod \pi$ we see that $B'/\pi B' = R/\pi R[w_1, \ldots, w_n]$. Hence $R \to B'$ is smooth of relative dimension $n$ at every point of $V(\pi)$ by Algebra, Lemmas Localization of a relative complete intersection and Smoothness from flatness and smooth fibres (the first lemma shows it is syntomic at those primes, in particular flat, whereupon the second lemma shows it is smooth).

Let $\mathfrak q \subset B$ be a prime with $\pi \in \mathfrak q$ and for some $r \in \mathfrak a$, $r \not \in \mathfrak q$. Denote $\mathfrak q' = B' \cap \mathfrak q$. We claim the surjection $B' \to B$ induces an isomorphism of local rings $(B')_{\mathfrak q'} \to B_\mathfrak q$. This will conclude the proof of the lemma. Note that $B_\mathfrak q$ is the quotient of $(B')_{\mathfrak q'}$ by the ideal generated by $f_{c + j}$, $j = 1, \ldots, m - c$. We observe two things: first the image of $f_{c + j}$ in $(B')_{\mathfrak q'}$ is divisible by $\pi^2$ and second the image of $\pi f_{c + j}$ in $(B')_{\mathfrak q'}$ can be written as $\sum b_{j_1 j_2} f_{c + j_1}f_{c + j_2}$ by (the displayed identity). Thus we see that the image of each $\pi f_{c + j}$ is contained in the ideal generated by the elements $\pi^2 f_{c + j'}$. Hence $\pi f_{c + j} = 0$ in $(B')_{\mathfrak q'}$ as this is a Noetherian local ring, see Algebra, Lemma Krull's intersection theorem. As $R \to (B')_{\mathfrak q'}$ is flat we see that $$\left(\text{Ann}_R(\pi^2)/\text{Ann}R(\pi)\right) \otimes_R (B'){\mathfrak q'}

\text{Ann}{(B'){\mathfrak q'}}(\pi^2)/\text{Ann}{(B'){\mathfrak q'}}(\pi)$$ Because $r \in \mathfrak a$ is invertible in $(B'){\mathfrak q'}$ we see that this module is zero. Hence we see that the image of $f{c + j}$ is zero in $(B')_{\mathfrak q'}$ as desired. $\square$

Lemma. Desingularization of a strict presentation

Let $R$ be a Noetherian ring. Let $\Lambda$ be an $R$-algebra. Let $\pi \in R$ and assume that $\text{Ann}_R(\pi) = \text{Ann}_R(\pi^2)$ and $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$. Let $A \to \Lambda$ and $D \to \Lambda$ be $R$-algebra maps with $A$ and $D$ of finite presentation. Assume

  1. $\pi$ is strictly standard in $A$ over $R$, and

  2. there exists an $R$-algebra map $A/\pi^4 A \to D/\pi^4 D$ compatible with the maps to $\Lambda/\pi^4 \Lambda$.

Then we can find an $R$-algebra map $B \to \Lambda$ with $B$ of finite presentation and $R$-algebra maps $A \to B$ and $D \to B$ compatible with the maps to $\Lambda$ such that $H_{D/R}B \subset H_{B/D}$ and $H_{D/R}B \subset H_{B/R}$.

Proof. We apply Lemma The desingularization lemma to $$D \longrightarrow A \otimes_R D \longrightarrow \Lambda$$ and the image of $\pi$ in $D$. By Lemma Base change of a strict standard presentation we see that $\pi$ is strictly standard in $A \otimes_R D$ over $D$. As our section $\rho : (A \otimes_R D)/\pi^4 (A \otimes_R D) \to D/\pi^4 D$ we take the map induced by the map in (2). Thus Lemma The desingularization lemma applies and we obtain a factorization $A \otimes_R D \to B \to \Lambda$ with $B$ of finite presentation and $\mathfrak a B \subset H_{B/D}$ where $$\mathfrak a = \text{Ann}_D(\text{Ann}_D(\pi^2)/\text{Ann}_D(\pi)).$$ For any prime $\mathfrak q$ of $D$ such that $D_\mathfrak q$ is flat over $R$ we have $\text{Ann}_{D_\mathfrak q}(\pi^2)/\text{Ann}_{D_\mathfrak q}(\pi) = 0$ because annihilators of elements commutes with flat base change and we assumed $\text{Ann}_R(\pi) = \text{Ann}_R(\pi^2)$. Because $D$ is Noetherian we see that $\text{Ann}_D(\pi^2)/\text{Ann}_D(\pi)$ is a finite $D$-module, hence formation of its annihilator commutes with localization. Thus we see that $\mathfrak a \not \subset \mathfrak q$. Hence we see that $D \to B$ is smooth at any prime of $B$ lying over $\mathfrak q$. Since any prime of $D$ where $R \to D$ is smooth is one where $D_\mathfrak q$ is flat over $R$ we conclude that $H_{D/R}B \subset H_{B/D}$. The final inclusion $H_{D/R}B \subset H_{B/R}$ follows because compositions of smooth ring maps are smooth (Algebra, Lemma Composition of smooth ring maps). $\square$

Lemma. Combining lifting with desingularization

Let $R$ be a Noetherian ring. Let $\Lambda$ be an $R$-algebra. Let $\pi \in R$ and assume that $\text{Ann}_R(\pi) = \text{Ann}_R(\pi^2)$ and $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$. Let $A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation and assume $\pi$ is strictly standard in $A$ over $R$. Let $$A/\pi^8A \to \bar C \to \Lambda/\pi^8\Lambda$$ be a factorization with $\bar C$ of finite presentation. Then we can find a factorization $A \to B \to \Lambda$ with $B$ of finite presentation such that $R_\pi \to B_\pi$ is smooth and such that $$H_{\bar C/(R/\pi^8 R)} \cdot \Lambda/\pi^8\Lambda \subset \sqrt{H_{B/R} \Lambda} \bmod \pi^8\Lambda.$$

Proof. Apply Lemma The lifting lemma to get $R \to D \to \Lambda$ with a factorization $\bar C/\pi^4\bar C \to D/\pi^4 D \to \Lambda/\pi^4\Lambda$ such that $R \to D$ is smooth at any prime not containing $\pi$ and at any prime lying over a prime of $\bar C/\pi^4\bar C$ where $R/\pi^8 R \to \bar C$ is smooth. By Lemma Desingularization of a strict presentation we can find a finitely presented $R$-algebra $B$ and factorizations $A \to B \to \Lambda$ and $D \to B \to \Lambda$ such that $H_{D/R}B\subset H_{B/R}$. Away from $\pi$, the lifting lemma makes $D$ smooth over $R$, and the displayed inclusion makes $B$ smooth there too. Let $\eta$ be a prime of $\Lambda$ containing $\pi$ whose inverse image in $\bar C$ is in the smooth locus. The compatible map $\bar C/\pi^4\to D/\pi^4\to\Lambda/\pi^4$ and the lifting lemma show that the inverse image of $\eta$ in $D$ is smooth over $R$. Thus $H_{D/R}\Lambda\nsubseteq\eta$, and the displayed inclusion gives $H_{B/R}\Lambda\nsubseteq\eta$. On $\operatorname{Spec}(\Lambda/\pi^8)$ the smooth open of $\bar C$ is therefore contained in the open defined by $H_{B/R}$. Taking closed complements gives exactly the stated radical ideal inclusion. $\square$

Reduction to the field case

In this section we apply the lemmas in the previous sections to prove that it suffices to prove the main result when the base ring is a field, see Lemma Reducing desingularization to field bases.

Situation. The global desingularization problem

Here $R \to \Lambda$ is a regular ring map of Noetherian rings.

Let $R \to \Lambda$ be as in Situation The global desingularization problem. We say PT holds for $R \to \Lambda$ if $\Lambda$ is a filtered colimit of smooth $R$-algebras.

Lemma. Tensor products and direct sums

Let $R_i \to \Lambda_i$, $i = 1, 2$ be as in Situation The global desingularization problem. If PT holds for $R_i \to \Lambda_i$, $i = 1, 2$, then PT holds for $R_1 \times R_2 \to \Lambda_1 \times \Lambda_2$.

Proof. Write $\Lambda_i=\mathop{\rm colim}_\alpha B_{i,\alpha}$ with smooth $R_i$-algebras. The product of the two filtered index categories is filtered, and its colimit of $B_{1,\alpha}\times B_{2,\beta}$ is $\Lambda_1\times\Lambda_2$: elements and equality of elements are checked componentwise at common stages. Each product algebra is smooth over $R_1\times R_2$, since the idempotent components of both spectra split and the two restrictions are the given smooth maps. This proves the lemma. $\square$

Lemma. Returning from a localized base

Let $R \to A \to \Lambda$ be ring maps with $A$ of finite presentation over $R$. Let $S \subset R$ be a multiplicative set. Let $S^{-1}A \to B' \to S^{-1}\Lambda$ be a factorization with $B'$ smooth over $S^{-1}R$. Then we can find a factorization $A \to B \to \Lambda$ such that some $s \in S$ maps to an elementary standard element (Definition Strict standard smoothness) in $B$ over $R$.

Proof. We first apply Lemma Standard presentations of smooth algebras to $S^{-1}R \to B'$. Thus we may assume $B'$ is standard smooth over $S^{-1}R$. Write $A = R[x_1, \ldots, x_n]/(g_1, \ldots, g_t)$ and say $x_i \mapsto \lambda_i$ in $\Lambda$. We may write $B' = S^{-1}R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$ for some $c \geq n$ where $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ is invertible in $B'$ and such that $A \to B'$ is given by $x_i \mapsto x_i$, see Lemma Including prescribed generators in a smooth presentation. After multiplying $x_i$, $i > n$ by an element of $S$ and correspondingly modifying the equations $f_j$ we may assume $B' \to S^{-1}\Lambda$ maps $x_i$ to $\lambda_i/1$ for some $\lambda_i \in \Lambda$ for $i > n$. Choose a relation $$1 = a_0 \det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c} + \sum\nolimits_{j = 1, \ldots, c} a_jf_j$$ for some $a_j \in S^{-1}R[x_1, \ldots, x_{n + m}]$. Since each element of $S$ is invertible in $B'$ we may (by clearing denominators) assume that $f_j, a_j \in R[x_1, \ldots, x_{n + m}]$ and that $$s_0 = a_0 \det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c} + \sum\nolimits_{j = 1, \ldots, c} a_jf_j$$ for some $s_0 \in S$. Since $g_j$ maps to zero in $S^{-1}R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$ we can find elements $s_j \in S$ such that $s_j g_j = 0$ in $R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$. Since $f_j$ maps to zero in $S^{-1}\Lambda$ we can find $s'_j \in S$ such that $s'_j f_j(\lambda_1, \ldots, \lambda_{n + m}) = 0$ in $\Lambda$. Consider the ring $$B = R[x_1, \ldots, x_{n + m}]/ (s'_1f_1, \ldots, s'_cf_c, g_1, \ldots, g_t)$$ and the factorization $A \to B \to \Lambda$ with $B \to \Lambda$ given by $x_i \mapsto \lambda_i$. We claim that $s = s_0s_1 \ldots s_ts'_1 \ldots s'_c$ is elementary standard in $B$ over $R$ which finishes the proof. Namely, $s_j g_j \in (f_1, \ldots, f_c)$ and hence $sg_j \in (s'_1f_1, \ldots, s'_cf_c)$. Finally, we have $$a_0\det(\partial s'jf_j/\partial x_i){i, j = 1, \ldots, c} + \sum\nolimits_{j = 1, \ldots, c} (s'_1 \ldots \hat{s'_j} \ldots s'_c) a_j s'_jf_j

s_0s'_1\ldots s'_c$$ which divides $s$ as desired. $\square$

Lemma. Reducing desingularization to field bases

Proving Popescu approximation reduces to algebras over a field

If for every Situation The global desingularization problem where $R$ is a field PT holds, then PT holds in general.

Proof. Assume PT holds for any Situation The global desingularization problem where $R$ is a field. Let $R \to \Lambda$ be as in Situation The global desingularization problem arbitrary. Note that $R/I \to \Lambda/I\Lambda$ is another regular ring map of Noetherian rings, see More on Algebra, Lemma Base change of regular ring maps. Consider the set of ideals $$\mathcal{I} = \{I \subset R \mid R/I \to \Lambda/I\Lambda \text{ does not have PT}\}$$ We have to show that $\mathcal{I}$ is empty. If this set is nonempty, then it contains a maximal element because $R$ is Noetherian. Replacing $R$ by $R/I$ and $\Lambda$ by $\Lambda/I$ we obtain a situation where PT holds for $R/I \to \Lambda/I\Lambda$ for any nonzero ideal of $R$. In particular, we see by applying Proposition Lifting an algebraic factorization that $R$ is a reduced ring.

Let $A \to \Lambda$ be an $R$-algebra homomorphism with $A$ of finite presentation. We have to find a factorization $A \to B \to \Lambda$ with $B$ smooth over $R$, see Algebra, Lemma Recognizing a filtered colimit of finite presentations.

Let $S \subset R$ be the set of nonzerodivisors and consider the total ring of fractions $Q = S^{-1}R$ of $R$. We know that $Q = K_1 \times \ldots \times K_n$ is a product of fields, see Algebra, Lemmas Total rings of fractions without embedded primes and Irreducible components of a Noetherian spectrum. By Lemma Tensor products and direct sums and our assumption PT holds for the ring map $S^{-1}R \to S^{-1}\Lambda$. Hence we can find a factorization $S^{-1}A \to B' \to S^{-1}\Lambda$ with $B'$ smooth over $S^{-1}R$.

We apply Lemma Returning from a localized base and find a factorization $A \to B \to \Lambda$ such that some $\pi \in S$ is elementary standard in $B$ over $R$. After replacing $A$ by $B$ we may assume that $\pi$ is elementary standard, hence strictly standard in $A$. We know that $R/\pi^8R \to \Lambda/\pi^8\Lambda$ satisfies PT. Hence we can find a factorization $R/\pi^8 R \to A/\pi^8A \to \bar C \to \Lambda/\pi^8\Lambda$ with $R/\pi^8 R \to \bar C$ smooth. By Lemma The lifting lemma we can find an $R$-algebra map $D \to \Lambda$ with $D$ smooth over $R$ and a factorization $R/\pi^4 R \to A/\pi^4A \to D/\pi^4D \to \Lambda/\pi^4\Lambda$. By Lemma Desingularization of a strict presentation we can find $A \to B \to \Lambda$ with $B$ smooth over $R$ which finishes the proof. $\square$

Localization and descent of resolutions

Situation. The local desingularization problem

We are given a Noetherian ring $R$ and an $R$-algebra map $A \to \Lambda$ and a prime $\mathfrak q \subset \Lambda$. We assume $A$ is of finite presentation over $R$. In this situation we denote $\mathfrak h_A = \sqrt{H_{A/R} \Lambda}$.

Let $R \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem. We say $R \to A \to \Lambda \supset \mathfrak q$ can be resolved if there exists a factorization $A \to B \to \Lambda$ with $B$ of finite presentation and $\mathfrak h_A \subset \mathfrak h_B \not \subset \mathfrak q$. In this case we will call the factorization $A \to B \to \Lambda$ a resolution of $R \to A \to \Lambda \supset \mathfrak q$.

Lemma. Lifting a local desingularization solution

Let $R \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem. Let $r \geq 1$ and $\pi_1, \ldots, \pi_r \in R$ map to elements of $\mathfrak q$. Assume

  1. for $i = 1, \ldots, r$ we have $$\text{Ann}{R/(\pi_1^8, \ldots, \pi{i - 1}^8)R}(\pi_i)

    \text{Ann}{R/(\pi_1^8, \ldots, \pi{i - 1}^8)R}(\pi_i^2)$$ and $$\text{Ann}{\Lambda/(\pi_1^8, \ldots, \pi{i - 1}^8)\Lambda}(\pi_i)

    \text{Ann}{\Lambda/(\pi_1^8, \ldots, \pi{i - 1}^8)\Lambda}(\pi_i^2)$$

  2. for $i = 1, \ldots, r$ the element $\pi_i$ maps to a strictly standard element in $A$ over $R$.

Then, if $$R/(\pi_1^8, \ldots, \pi_r^8)R \to A/(\pi_1^8, \ldots, \pi_r^8)A \to \Lambda/(\pi_1^8, \ldots, \pi_r^8)\Lambda \supset \mathfrak q/(\pi_1^8, \ldots, \pi_r^8)\Lambda$$ can be resolved, so can $R \to A \to \Lambda \supset \mathfrak q$.

Proof. We are going to prove this by induction on $r$.

The case $r = 1$. Here the assumption is that there exists a factorization $A/\pi_1^8 \to \bar C \to \Lambda/\pi_1^8$ which resolves the situation modulo $\pi_1^8$. Conditions (1) and (2) are the assumptions needed to apply Lemma Combining lifting with desingularization. Thus we can "lift" the resolution $\bar C$ to a resolution of $R \to A \to \Lambda \supset \mathfrak q$.

The case $r > 1$. In this case we apply the induction hypothesis for $r - 1$ to the situation $R/\pi_1^8 \to A/\pi_1^8 \to \Lambda/\pi_1^8 \supset \mathfrak q/\pi_1^8\Lambda$. Note that property (2) is preserved by Lemma Base change of a strict standard presentation. $\square$

Lemma. Returning from a localized target

Source credit: the original source citation swan (Lemma 12.2) or the original source citation popescu-GND (Lemma 2)

Let $R \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem. Let $\mathfrak p = R \cap \mathfrak q$. Assume that $\mathfrak q$ is minimal over $\mathfrak h_A$ and that $R_\mathfrak p \to A_\mathfrak p \to \Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q$ can be resolved. Then there exists a factorization $A \to C \to \Lambda$ with $C$ of finite presentation such that $H_{C/R} \Lambda \not \subset \mathfrak q$.

Proof. Let $A_\mathfrak p \to C \to \Lambda_\mathfrak q$ be a resolution of $R_\mathfrak p \to A_\mathfrak p \to \Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q$. By our assumption that $\mathfrak q$ is minimal over $\mathfrak h_A$ this means that $H_{C/R_\mathfrak p} \Lambda_\mathfrak q = \Lambda_\mathfrak q$. By Lemma Solving the strict-standard Jacobian relations we may assume that $C$ is smooth over $R_\mathfrak p$. By Lemma Standard presentations of smooth algebras we may assume that $C$ is standard smooth over $R_\mathfrak p$. Write $A = R[x_1, \ldots, x_n]/(g_1, \ldots, g_t)$ and say $A \to \Lambda$ is given by $x_i \mapsto \lambda_i$. Write $C = R_\mathfrak p[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$ for some $c \geq n$ such that $A \to C$ maps $x_i$ to $x_i$ and such that $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ is invertible in $C$, see Lemma Including prescribed generators in a smooth presentation. After clearing denominators we may assume $f_1, \ldots, f_c$ are elements of $R[x_1, \ldots, x_{n + m}]$. Of course $\det(\partial f_j/\partial x_i)_{i, j = 1, \ldots, c}$ is not invertible in $R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$ but it becomes invertible after inverting some element $s_0 \in R$, $s_0 \not \in \mathfrak p$. As $g_j$ maps to zero under $R[x_1, \ldots, x_n] \to A \to C$ we can find $s_j \in R$, $s_j \not \in \mathfrak p$ such that $s_j g_j$ is zero in $R[x_1, \ldots, x_{n + m}]/(f_1, \ldots, f_c)$. Write $f_j = F_j(x_1, \ldots, x_{n + m}, 1)$ for some polynomial $F_j \in R[x_1, \ldots, x_n, X_{n + 1}, \ldots, X_{n + m + 1}]$ homogeneous in $X_{n + 1}, \ldots, X_{n + m + 1}$. Pick $\lambda_{n + i} \in \Lambda$, $i = 1, \ldots, m + 1$ with $\lambda_{n + m + 1} \not \in \mathfrak q$ such that $x_{n + i}$ maps to $\lambda_{n + i}/\lambda_{n + m + 1}$ in $\Lambda_\mathfrak q$. Then $$\begin{aligned} F_j(\lambda_1, \ldots, \lambda_{n + m + 1}) & = (\lambda_{n + m + 1})^{\deg(F_j)} F_j(\lambda_1, \ldots, \lambda_n, \frac{\lambda_{n + 1}}{\lambda_{n + m + 1}}, \ldots, \frac{\lambda_{n + m}}{\lambda_{n + m + 1}}, 1) \\ & = (\lambda_{n + m + 1})^{\deg(F_j)} f_j(\lambda_1, \ldots, \lambda_n, \frac{\lambda_{n + 1}}{\lambda_{n + m + 1}}, \ldots, \frac{\lambda_{n + m}}{\lambda_{n + m + 1}}) \\ & = 0 \end{aligned}$$ in $\Lambda_\mathfrak q$. Thus we can find $\lambda_0 \in \Lambda$, $\lambda_0 \not \in \mathfrak q$ such that $\lambda_0 F_j(\lambda_1, \ldots, \lambda_{n + m + 1}) = 0$ in $\Lambda$. Now we set $B$ equal to $$R[x_0, \ldots, x_{n + m + 1}]/ (g_1, \ldots, g_t, x_0F_1(x_1, \ldots, x_{n + m + 1}), \ldots, x_0F_c(x_1, \ldots, x_{n + m + 1}))$$ which we map to $\Lambda$ by mapping $x_i$ to $\lambda_i$. Let $b$ be the image of $x_0 x_{n + m + 1} s_0 s_1 \ldots s_t$ in $B$. Then $B_b$ is isomorphic to $$R_{s_0s_1 \ldots s_t}[x_0, x_1, \ldots, x_{n + m + 1}, 1/x_0x_{n + m + 1}]/ (f_1, \ldots, f_c)$$ which is smooth over $R$ by construction. Since $b$ does not map to an element of $\mathfrak q$, we win. $\square$

Lemma. Returning from a height-zero localization

Let $R \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem. Let $\mathfrak p = R \cap \mathfrak q$. Assume

  1. $\mathfrak q$ is minimal over $\mathfrak h_A$,

  2. $R_\mathfrak p \to A_\mathfrak p \to \Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q$ can be resolved, and

  3. $\dim(\Lambda_\mathfrak q) = 0$.

Then $R \to A \to \Lambda \supset \mathfrak q$ can be resolved.

Proof. By (3) the ring $\Lambda_\mathfrak q$ is Artinian local hence $\mathfrak q\Lambda_\mathfrak q$ is nilpotent. Thus $(\mathfrak h_A)^N \Lambda_\mathfrak q = 0$ for some $N > 0$. Thus there exists a $\lambda \in \Lambda$, $\lambda \not \in \mathfrak q$ such that $\lambda (\mathfrak h_A)^N = 0$ in $\Lambda$. Say $H_{A/R} = (a_1, \ldots, a_r)$ so that $\lambda a_i^N = 0$ in $\Lambda$. By Lemma Returning from a localized target we can find a factorization $A \to C \to \Lambda$ with $C$ of finite presentation such that $\mathfrak h_C \not \subset \mathfrak q$. Write $C = A[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$. Set $$B = A[x_1, \ldots, x_n, y_1, \ldots, y_r, z, t_{ij}]/ (f_j - \sum y_i t_{ij}, zy_i)$$ where $t_{ij}$ is a set of $rm$ variables. Note that there is a map $B \to C[y_i, z]/(y_iz)$ given by setting $t_{ij}$ equal to zero. The map $B \to \Lambda$ is the composition $B \to C[y_i, z]/(y_iz) \to \Lambda$ where $C[y_i, z]/(y_iz) \to \Lambda$ is the given map $C \to \Lambda$, maps $z$ to $\lambda$, and maps $y_i$ to the image of $a_i^N$ in $\Lambda$.

We claim that $B$ is a solution for $R \to A \to \Lambda \supset \mathfrak q$. First note that $B_z$ is isomorphic to $C[z, z^{-1}, t_{ij}]$ as a C-algebra. Choose $c \in H_{C/R}$ whose image in $\Lambda$ is not in $\mathfrak q$. Then $B_{zc}$ is smooth over $R$. On the other hand, $B_{y_\ell} \cong A[x_i, y_i, y_\ell^{-1}, t_{ij}, i \not = \ell]$ which is smooth over $A$. Thus we see that $zc$ and $a_\ell y_\ell$ (compositions of smooth maps are smooth) are all elements of $H_{B/R}$. This proves the lemma. $\square$

Separable residue fields

In this section we explain how to solve a local problem in the case of a separable residue field extension.

Lemma. The annihilator stabilization step (Ogoma)

Let $A$ be a Noetherian ring and let $M$ be a finite $A$-module. Let $S \subset A$ be a multiplicative set. If $\pi \in A$ and $\operatorname{Ker}(\pi : S^{-1}M \to S^{-1}M) = \operatorname{Ker}(\pi^2 : S^{-1}M \to S^{-1}M)$ then there exists an $s \in S$ such that for any $n > 0$ we have $\operatorname{Ker}(s^n\pi : M \to M) = \operatorname{Ker}((s^n\pi)^2 : M \to M)$.

Proof. Let $K = \operatorname{Ker}(\pi : M \to M)$ and $K' = \{m \in M \mid \pi^2 m = 0\text{ in }S^{-1}M\}$ and $Q = K'/K$. Note that $S^{-1}Q = 0$ by assumption. Since $A$ is Noetherian we see that $Q$ is a finite $A$-module. Hence we can find an $s \in S$ such that $s$ annihilates $Q$. If $(s^n\pi)^2m=0$ then $\pi^2m$ vanishes after localization, so $m\in K'$. As $s(K'/K)=0$, we have $s\pi m=0$ and hence $s^n\pi m=0$. The reverse kernel inclusion is immediate, so this $s$ works for every $n>0$. $\square$

Lemma. Parameters adapted to the singularity ideal

Let $\Lambda$ be a Noetherian ring. Let $I \subset \Lambda$ be an ideal. Let $I \subset \mathfrak q$ be a prime. Let $n, e$ be positive integers. Assume that $\mathfrak q^n\Lambda_\mathfrak q \subset I\Lambda_\mathfrak q$ and that $\Lambda_\mathfrak q$ is a regular local ring of dimension $d$. Then there exist $\pi_1, \ldots, \pi_d \in \Lambda$ such that

  1. $(\pi_1, \ldots, \pi_d)\Lambda_\mathfrak q = \mathfrak q\Lambda_\mathfrak q$,

  2. $\pi_1^n, \ldots, \pi_d^n \in I$, and

  3. for $i = 1, \ldots, d$ we have $$\text{Ann}_{\Lambda/(\pi_1^e, \ldots, \pi_{i - 1}^e)\Lambda}(\pi_i) = \text{Ann}_{\Lambda/(\pi_1^e, \ldots, \pi_{i - 1}^e)\Lambda}(\pi_i^2).$$

Proof. Set \(S = \Lambda \setminus \mathfrak q\) so that \(\Lambda_\mathfrak q = S^{-1}\Lambda\). First pick \(\pi_1, \ldots, \pi_d\) with (1) which is possible as \(\Lambda_\mathfrak q\) is regular. By assumption \(\pi_i^n \in I\Lambda_\mathfrak q\). Thus we can find \(s_1, \ldots, s_d \in S\) such that \(s_i\pi_i^n \in I\). Replacing \(\pi_i\) by \(s_i\pi_i\) we get (2). Note that (1) and (2) are preserved by further multiplying by elements of \(S\). Suppose that (3) holds for \(i = 1, \ldots, t\) for some \(t \in \{0, \ldots, d\}\). Note that \(\pi_1, \ldots, \pi_d\) is a regular sequence in \(S^{-1}\Lambda\), see Algebra, Lemma Regular rings are Cohen–Macaulay. In particular \(\pi_1^e, \ldots, \pi_t^e, \pi_{t + 1}\) is a regular sequence in \(S^{-1}\Lambda = \Lambda_\mathfrak q\) by Algebra, Lemma Powers of a regular sequence. Hence we see that

\[ \text{Ann}_{S^{-1}\Lambda/(\pi_1^e, \ldots, \pi_{i - 1}^e)}(\pi_i) = \text{Ann}_{S^{-1}\Lambda/(\pi_1^e, \ldots, \pi_{i - 1}^e)}(\pi_i^2). \]

Thus we get (3) for \(i = t + 1\) after replacing \(\pi_{t + 1}\) by \(s\pi_{t + 1}\) for some \(s \in S\) by Lemma The annihilator stabilization step. By induction on \(t\) this produces a sequence satisfying (1), (2), and (3). \(\square\)

Lemma. Desingularization with separable residue fields

Let $k \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem where

  1. $k$ is a field,

  2. $\Lambda$ is Noetherian,

  3. $\mathfrak q$ is minimal over $\mathfrak h_A$,

  4. $\Lambda_\mathfrak q$ is a regular local ring, and

  5. the field extension $\kappa(\mathfrak q)/k$ is separable.

Then $k \to A \to \Lambda \supset \mathfrak q$ can be resolved.

Proof. Set $d=\dim\Lambda_{\mathfrak q}$. If $d=0$, the localized target is a field separable over $k$, hence a filtered colimit of smooth algebras by Algebra, Lemma Syntomic algebras in a filtered colimit. Factor the finitely presented localized source through one such algebra and apply Lemma Returning from a height-zero localization; this resolves the original situation. We may therefore assume $d>0$. Set $R = k[x_1, \ldots, x_d]$. Choose $n > 0$ such that $\mathfrak q^n\Lambda_\mathfrak q \subset \mathfrak h_A\Lambda_\mathfrak q$ which is possible as $\mathfrak q$ is minimal over $\mathfrak h_A$. Choose generators $a_1, \ldots, a_r$ of $H_{A/k}$. Set $$B = A[x_1, \ldots, x_d, z_{ij}]/(x_i^n - \sum z_{ij}a_j)$$ Each $B_{a_j}$ is smooth over $R$ because it is a polynomial algebra over $A_{a_j}[x_1, \ldots, x_d]$ and $A_{a_j}$ is smooth over $k$. Hence $B_{x_i}$ is smooth over $R$. Let $B \to C$ be the $R$-algebra map constructed in Lemma Improving a finite presentation which comes with a $R$-algebra retraction $C \to B$. In particular a map $C \to \Lambda$ fitting into the diagram below. By construction $C_{x_i}$ is a smooth $R$-algebra with $\Omega_{C_{x_i}/R}$ free. Hence we can find $c > 0$ such that $x_i^c$ is strictly standard in $C/R$, see Lemma Comparing standard smooth presentations. Now choose $\pi_1, \ldots, \pi_d \in \Lambda$ as in Lemma Parameters adapted to the singularity ideal where $n = n$, $e = 8c$, $\mathfrak q = \mathfrak q$ and $I = \mathfrak h_A$. Write $\pi_i^n = \sum \lambda_{ij} a_j$ for some $\lambda_{ij} \in \Lambda$. There is a map $B \to \Lambda$ given by $x_i \mapsto \pi_i$ and $z_{ij} \mapsto \lambda_{ij}$. Set $R = k[x_1, \ldots, x_d]$. Diagram $$\begin{gathered}\begin{matrix}R & B \\ k & A & \Lambda\end{matrix} \\[6pt] \begin{aligned}R & \longrightarrow B \\ B & \longrightarrow \Lambda \\ k & \longrightarrow R \\ k & \longrightarrow A \\ A & \longrightarrow B \\ A & \longrightarrow \Lambda\end{aligned}\end{gathered}$$ Now we apply Lemma Lifting a local desingularization solution to $R \to C \to \Lambda \supset \mathfrak q$ and the sequence of elements $x_1^c, \ldots, x_d^c$ of $R$. Assumption (2) is clear. Assumption (1) holds for $R$ by inspection and for $\Lambda$ by our choice of $\pi_1, \ldots, \pi_d$. (Note that if $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^2)$, then we have $\text{Ann}_\Lambda(\pi) = \text{Ann}_\Lambda(\pi^c)$ for all $c > 0$.) Thus it suffices to resolve $$R/(x_1^e, \ldots, x_d^e) \to C/(x_1^e, \ldots, x_d^e) \to \Lambda/(\pi_1^e, \ldots, \pi_d^e) \supset \mathfrak q/(\pi_1^e, \ldots, \pi_d^e)$$ for $e = 8c$. By Lemma Returning from a height-zero localization it suffices to resolve this after localizing at $\mathfrak q$. But since $x_1, \ldots, x_d$ map to a regular sequence in $\Lambda_\mathfrak q$ we see that $R_\mathfrak p \to \Lambda_\mathfrak q$ is flat, see Algebra, Lemma Flatness over a regular local ring. Hence $$R_\mathfrak p/(x_1^e, \ldots, x_d^e) \to \Lambda_\mathfrak q/(\pi_1^e, \ldots, \pi_d^e)$$ is a flat ring map of Artinian local rings. Moreover, this map induces a separable field extension on residue fields by assumption. Thus this map is a filtered colimit of smooth algebras by Algebra, Lemma Syntomic algebras in a filtered colimit and Proposition Lifting an algebraic factorization. Existence of the desired solution follows from Algebra, Lemma Recognizing a filtered colimit of finite presentations. $\square$

Inseparable residue fields

In this section we explain how to solve a local problem in the case of an inseparable residue field extension.

Lemma. Compatibility of the local approximation data

Let $k$ be a field of characteristic $p > 0$. Let $(\Lambda, \mathfrak m, K)$ be an Artinian local $k$-algebra. Assume that $\dim H_1(L_{K/k}) < \infty$. Then $\Lambda$ is a filtered colimit of Artinian local $k$-algebras $A$ with each map $A \to \Lambda$ flat, with $\mathfrak m_A \Lambda = \mathfrak m$, and with $A$ essentially of finite type over $k$.

Proof. Note that the flatness of $A \to \Lambda$ implies that $A \to \Lambda$ is injective, so the lemma really tells us that $\Lambda$ is a directed union of these types of subrings $A \subset \Lambda$. Let $n$ be the minimal integer such that $\mathfrak m^n = 0$. We will prove this lemma by induction on $n$. The case $n = 1$ is clear as a field extension is a union of finitely generated field extensions.

Pick $\lambda_1, \ldots, \lambda_d \in \mathfrak m$ which generate $\mathfrak m$. As $K$ is formally smooth over $\mathbf{F}_p$ (see Algebra, Lemma Elementary formally smooth extensions) we can find a ring map $\sigma : K \to \Lambda$ which is a section of the quotient map $\Lambda \to K$. In general $\sigma$ is not a $k$-algebra map. Given $\sigma$ we define $$\Psi_\sigma : K[x_1, \ldots, x_d] \longrightarrow \Lambda$$ using $\sigma$ on elements of $K$ and mapping $x_i$ to $\lambda_i$. Claim: there exists a $\sigma : K \to \Lambda$ and a subfield $k \subset F \subset K$ finitely generated over $k$ such that the image of $k$ in $\Lambda$ is contained in $\Psi_\sigma(F[x_1, \ldots, x_d])$.

We will prove the claim by induction on the least integer $n$ such that $\mathfrak m^n = 0$. It is clear for $n = 1$. If $n > 1$ set $I = \mathfrak m^{n - 1}$ and $\Lambda' = \Lambda/I$. By induction we may assume given $\sigma' : K \to \Lambda'$ and $k \subset F' \subset K$ finitely generated such that the image of $k \to \Lambda \to \Lambda'$ is contained in $A' = \Psi_{\sigma'}(F'[x_1, \ldots, x_d])$. Denote $\tau' : k \to A'$ the induced map. Choose a lift $\sigma : K \to \Lambda$ of $\sigma'$ (this is possible by the formal smoothness of $K/\mathbf{F}_p$ we mentioned above). For later reference we note that we can change $\sigma$ to $\sigma + D$ for some derivation $D : K \to I$. Set $A = F'[x_1, \ldots, x_d]/(x_1, \ldots, x_d)^n$. Then $\Psi_\sigma$ induces a ring map $\Psi_\sigma : A \to \Lambda$. The composition with the quotient map $\Lambda \to \Lambda'$ induces a surjective map $A \to A'$ with nilpotent kernel. Choose a lift $\tau : k \to A$ of $\tau'$ (possible as $k/\mathbf{F}_p$ is formally smooth). Thus we obtain two maps $k \to \Lambda$, namely $\Psi_\sigma \circ \tau : k \to \Lambda$ and the given map $i : k \to \Lambda$. These maps agree modulo $I$, whence the difference is a derivation $\theta = i - \Psi_\sigma \circ \tau : k \to I$. Note that if we change $\sigma$ into $\sigma + D$ then we change $\theta$ into $\theta - D|_k$.

Choose a set of elements $\{y_j\}_{j \in J}$ of $k$ whose differentials $\text{d}y_j$ form a basis of $\Omega_{k/\mathbf{F}_p}$. The Jacobi-Zariski sequence for $\mathbf{F}_p \subset k \subset K$ is $$0 \to H_1(L_{K/k}) \to \Omega_{k/\mathbf{F}_p} \otimes K \to \Omega_{K/\mathbf{F}_p} \to \Omega_{K/k} \to 0$$ As $\dim H_1(L_{K/k}) < \infty$ we can find a finite subset $J_0 \subset J$ such that the image of the first map is contained in $\bigoplus_{j \in J_0} K\text{d}y_j$. Hence the elements $\text{d}y_j$, $j \in J \setminus J_0$ map to $K$-linearly independent elements of $\Omega_{K/\mathbf{F}_p}$. Therefore we can choose a $D : K \to I$ such that $\theta - D|_k = \xi \circ \text{d}$ where $\xi$ is a composition $$\Omega_{k/\mathbf{F}_p} = \bigoplus\nolimits_{j \in J} k \text{d}y_j \longrightarrow \bigoplus\nolimits_{j \in J_0} k \text{d}y_j \longrightarrow I$$ Let $f_j = \xi(\text{d}y_j) \in I$ for $j \in J_0$. Change $\sigma$ into $\sigma + D$ as above. Then we see that $\theta(a) = \sum_{j \in J_0} a_j f_j$ for $a \in k$ where $\text{d}a = \sum a_j \text{d}y_j$ in $\Omega_{k/\mathbf{F}_p}$. Note that $I$ is generated by the monomials $\lambda^E = \lambda_1^{e_1} \ldots \lambda_d^{e_d}$ of total degree $|E| = \sum e_i = n - 1$ in $\lambda_1, \ldots, \lambda_d$. Write $f_j = \sum_E c_{j, E} \lambda^E$ with $c_{j, E} \in K$. Replace $F'$ by $F = F'(c_{j, E})$. Then the claim holds.

Choose $\sigma$ and $F$ as in the claim. The kernel of $\Psi_\sigma$ is generated by finitely many polynomials $g_1, \ldots, g_t \in K[x_1, \ldots, x_d]$ and we may assume their coefficients are in $F$ after enlarging $F$ by adjoining finitely many elements. In this case it is clear that the map $A = F[x_1, \ldots, x_d]/(g_1, \ldots, g_t) \to K[x_1, \ldots, x_d]/(g_1, \ldots, g_t) = \Lambda$ is flat. By the claim $A$ is a $k$-subalgebra of $\Lambda$. It is clear that $\Lambda$ is the filtered colimit of these algebras, as $K$ is the filtered union of the subfields $F$. Finally, these algebras are essentially of finite type over $k$ by Algebra, Lemma Finite generation in an Artinian local target. $\square$

Lemma. A factorization modulo a prescribed ideal

Let $k$ be a field of characteristic $p > 0$. Let $\Lambda$ be a Noetherian geometrically regular $k$-algebra. Let $\mathfrak q \subset \Lambda$ be a prime ideal. Let $n \geq 1$ be an integer and let $E \subset \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ be a finite subset. Then we can find $m \geq 0$ and $\varphi : k[y_1, \ldots, y_m] \to \Lambda$ with the following properties

  1. setting $\mathfrak p = \varphi^{-1}(\mathfrak q)$ we have $\mathfrak q\Lambda_\mathfrak q = \mathfrak p \Lambda_\mathfrak q$ and $k[y_1, \ldots, y_m]_\mathfrak p \to \Lambda_\mathfrak q$ is flat,

  2. there is a factorization by homomorphisms of local Artinian rings $$k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p \to D \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$$ where the first arrow is essentially smooth and the second is flat,

  3. $E$ is contained in $D$ modulo $\mathfrak q^n\Lambda_\mathfrak q$.

Proof. Set $\bar \Lambda = \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$. Note that $\dim H_1(L_{\kappa(\mathfrak q)/k}) < \infty$ by More on Algebra, Proposition Characterizations of geometric regularity. Pick $A \subset \bar \Lambda$ containing $E$ such that $A$ is local Artinian, essentially of finite type over $k$, the map $A \to \bar \Lambda$ is flat, and $\mathfrak m_A$ generates the maximal ideal of $\bar \Lambda$, see Lemma Compatibility of the local approximation data. Denote $F = A/\mathfrak m_A$ the residue field so that $k \subset F \subset K$. Pick $\lambda_1, \ldots, \lambda_t \in \Lambda$ which map to elements of $A$ in $\bar \Lambda$ such that moreover the images of $\text{d}\lambda_1, \ldots, \text{d}\lambda_t$ form a basis of $\Omega_{F/k}$. Consider the map $\varphi' : k[y_1, \ldots, y_t] \to \Lambda$ sending $y_j$ to $\lambda_j$. Set $\mathfrak p' = (\varphi')^{-1}(\mathfrak q)$. By More on Algebra, Lemma Geometric regularity over a field the ring map $k[y_1, \ldots, y_t]_{\mathfrak p'} \to \Lambda_\mathfrak q$ is flat and $\Lambda_\mathfrak q/\mathfrak p' \Lambda_\mathfrak q$ is regular. Thus we can choose further elements $\lambda_{t + 1}, \ldots, \lambda_m \in \Lambda$ which map into $A \subset \bar \Lambda$ and which map to a regular system of parameters of $\Lambda_\mathfrak q/\mathfrak p' \Lambda_\mathfrak q$. We obtain $\varphi : k[y_1, \ldots, y_m] \to \Lambda$ having property (1) such that $k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p \to \bar\Lambda$ factors through $A$. Thus $k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p \to A$ is flat by Algebra, Lemma Descent of flatness. By construction the residue field extension $F/\kappa(\mathfrak p)$ is finitely generated and $\Omega_{F/\kappa(\mathfrak p)} = 0$. Hence it is finite separable by More on Algebra, Lemma Cartier's equality for differentials. Thus $k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p \to A$ is finite by Algebra, Lemma Finite generation in an Artinian local target. Finally, we conclude that it is étale by Algebra, Lemma Characterizations of étale algebras. Since an étale ring map is certainly essentially smooth we win. $\square$

Lemma. Enlarging a factorization in positive characteristic

Let $\varphi : k[y_1, \ldots, y_m] \to \Lambda$, $n$, $\mathfrak q$, $\mathfrak p$ and $$k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n \to D \to \Lambda_\mathfrak q/\mathfrak q^n \Lambda_\mathfrak q$$ be as in Lemma A factorization modulo a prescribed ideal. Then for any $\lambda \in \Lambda \setminus \mathfrak q$ there exists an integer $q > 0$ and a factorization $$k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n \to D \to D' \to \Lambda_\mathfrak q/\mathfrak q^n \Lambda_\mathfrak q$$ such that $D \to D'$ is an essentially smooth map of local Artinian rings, the last arrow is flat, and $\lambda^q$ is in $D'$.

Proof. Set $\bar \Lambda = \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$. Let $\bar \lambda$ be the image of $\lambda$ in $\bar \Lambda$. Let $\alpha \in \kappa(\mathfrak q)$ be the image of $\lambda$ in the residue field. Let $k \subset F \subset \kappa(\mathfrak q)$ be the residue field of $D$. If $\alpha$ is in $F$ then we can find an $x \in D$ such that $x \bar\lambda = 1 \bmod \mathfrak q$. Hence $(x\bar\lambda)^q=1$ if $q=p^r$ is at least the nilpotence order of $\mathfrak q\bar\Lambda$: Frobenius gives $(1+u)^{p^r}=1+u^{p^r}=1$. Hence $\bar\lambda^q$ is in $D$. If $\alpha$ is transcendental over $F$, then we can take $D' = (D[\bar \lambda])_\mathfrak m$ equal to the subring generated by $D$ and $\bar \lambda$ localized at $\mathfrak m = D[\bar \lambda] \cap \mathfrak q \bar \Lambda$. This works because $D[\bar \lambda]$ is in fact a polynomial algebra over $D$ in this case. Finally, if $\lambda \bmod \mathfrak q$ is algebraic over $F$, then we can find a $p$-power $q$ such that $\alpha^q$ is separable algebraic over $F$, see the following elementary field argument. The irreducible polynomial of $\alpha$ has the form $h(T^{p^r})$ with $h'\ne0$, after extracting all common powers of $p$ from its exponents; thus $\alpha^{p^r}$ is separable over $F$. Note that $D$ and $\bar\Lambda$ are henselian local rings, see Algebra, Lemma Henselianity in local dimension zero. Let $D \to D'$ be a finite étale extension whose residue field extension is $F(\alpha^q)/F$, see Algebra, Lemma Finite étale algebras over a henselian ring. Since $\bar\Lambda$ is henselian and $F(\alpha^q)$ is contained in its residue field we can find a factorization $D' \to \bar \Lambda$. By the first part of the argument we see that $\bar\lambda^{qq'} \in D'$ for some $q' > 0$. $\square$

Lemma. Desingularization with inseparable residue fields

Let $k \to A \to \Lambda \supset \mathfrak q$ be as in Situation The local desingularization problem where

  1. $k$ is a field of characteristic $p > 0$,

  2. $\Lambda$ is Noetherian and geometrically regular over $k$,

  3. $\mathfrak q$ is minimal over $\mathfrak h_A$.

Then $k \to A \to \Lambda \supset \mathfrak q$ can be resolved.

Proof. If $d=\dim\Lambda_{\mathfrak q}=0$, apply Lemma A factorization modulo a prescribed ideal at order $n=1$, with $E$ the images of algebra generators of $A$. The local target is a field and the polynomial source localizes at a height-zero prime, so its local ring is a field. The resulting $D$ is essentially smooth over that source and contains those generators. Thus $A$ localized at this base factors through a smooth stage; finite-presentation factorization followed by Lemma Returning from a height-zero localization yields the resolution. This is also the construction below with no parameters and no auxiliary $t_i$; the empty lifting step is omitted. Hence assume $d>0$ below.

The lemma is proven by the following steps in the given order. We will justify each of these steps below.

  1. Pick an integer $N > 0$ such that $\mathfrak q^N\Lambda_\mathfrak q \subset H_{A/k}\Lambda_\mathfrak q$.

  2. Pick generators $a_1, \ldots, a_t \in A$ of the ideal $H_{A/k}$.

Set $d = \dim(\Lambda_\mathfrak q)$.
Set $B = A[x_1, \ldots, x_d, z_{ij}]/(x_i^{2N} - \sum z_{ij}a_j)$.
  1. Consider $B$ as a $k[x_1, \ldots, x_d]$-algebra and let $B \to C$ be as in Lemma Improving a finite presentation. We also obtain a section $C \to B$.

Choose $c > 0$ such that each $x_i^c$ is strictly standard in $C$ over $k[x_1, \ldots, x_d]$.
  1. Set $e=8c$ and choose $n\geq\max\{N+dc,d(e-1)+1\}$.

  2. Let $E \subset \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ be the images of generators of $A$ as a $k$-algebra.

Choose an integer $m$ and a $k$-algebra map $\varphi : k[y_1, \ldots, y_m] \to \Lambda$ and a factorization by local Artinian rings $$k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p
\to D \to
\Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$$ such that the first arrow is essentially smooth, the second is flat, $E$ is contained in $D$, with $\mathfrak p = \varphi^{-1}(\mathfrak q)$ the map $k[y_1, \ldots, y_m]_\mathfrak p \to \Lambda_\mathfrak q$ is flat, and $\mathfrak p \Lambda_\mathfrak q = \mathfrak q \Lambda_\mathfrak q$.
Choose $\pi_1, \ldots, \pi_d \in \mathfrak p$ which map to a regular system of parameters of $k[y_1, \ldots, y_m]_\mathfrak p$.
  1. Let $R = k[y_1, \ldots, y_m, t_1, \ldots, t_d]$ and $\gamma_i = \pi_i t_i$.

  2. If necessary modify the choice of $\pi_i$ such that for $i = 1, \ldots, d$ we have $$\text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)R}(\gamma_i) = \text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)R}(\gamma_i^2)$$

There exist $\delta_1, \ldots, \delta_d \in \Lambda$, $\delta_i \not \in \mathfrak q$ and a factorization $D \to D' \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ with $D'$ local Artinian, $D \to D'$ essentially smooth, the map $D' \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ flat such that, with $\pi_i' = \delta_i \pi_i$, we have for $i = 1, \ldots, d$

1.  $(\pi_i')^{2N} = \sum a_j\lambda_{ij}$ in $\Lambda$ where $\lambda_{ij} \bmod \mathfrak q^n\Lambda_\mathfrak q$ is an element of $D'$,

2.  $\text{Ann}_{\Lambda/({\pi'}_1^e, \ldots, {\pi'}_{i - 1}^e)}({\pi'}_i) =
    \text{Ann}_{\Lambda/({\pi'}_1^e, \ldots, {\pi'}_{i - 1}^e)}({\pi'}_i^2)$,

3.  $\delta_i \bmod \mathfrak q^n\Lambda_\mathfrak q$ is an element of $D'$.
  1. Define $B \to \Lambda$ by sending $x_i$ to $\pi'_i$ and $z_{ij}$ to $\lambda_{ij}$ found above. Define $C \to \Lambda$ by composing the map $B \to \Lambda$ with the retraction $C \to B$.

  2. Map $R \to \Lambda$ by $\varphi$ on $k[y_1, \ldots, y_m]$ and by sending $t_i$ to $\delta_i$. Further introduce a map $$k[x_1, \ldots, x_d] \longrightarrow R = k[y_1, \ldots, y_m, t_1, \ldots, t_d]$$ by sending $x_i$ to $\gamma_i = \pi_i t_i$.

  3. It suffices to resolve $$R \to C \otimes_{k[x_1, \ldots, x_d]} R \to \Lambda \supset \mathfrak q$$

  4. Set $I = (\gamma_1^e, \ldots, \gamma_d^e) \subset R$.

  5. It suffices to resolve $$R/I \to C \otimes_{k[x_1, \ldots, x_d]} R/I \to \Lambda/I\Lambda \supset \mathfrak q/I\Lambda$$

  6. We denote $\mathfrak r \subset R = k[y_1, \ldots, y_m, t_1, \ldots, t_d]$ the inverse image of $\mathfrak q$.

  7. It suffices to resolve $$(R/I)_\mathfrak r \to C \otimes_{k[x_1, \ldots, x_d]} (R/I)_\mathfrak r \to \Lambda_\mathfrak q/I\Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q/I\Lambda_\mathfrak q$$

Set $J = (\pi_1^e, \ldots, \pi_d^e)$ in $k[y_1, \ldots, y_m]$.
It suffices to resolve $$(R/JR)_\mathfrak p \to
C \otimes_{k[x_1, \ldots, x_d]} (R/JR)_\mathfrak p \to
\Lambda_\mathfrak q/J\Lambda_\mathfrak q
\supset
\mathfrak q\Lambda_\mathfrak q/J\Lambda_\mathfrak q$$
  1. It suffices to resolve $$(R/\mathfrak p^nR)_\mathfrak p \to C \otimes_{k[x_1, \ldots, x_d]} (R/\mathfrak p^nR)_\mathfrak p \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$$

  2. It suffices to resolve $$(R/\mathfrak p^nR)_\mathfrak p \to B \otimes_{k[x_1, \ldots, x_d]} (R/\mathfrak p^nR)_\mathfrak p \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$$

The ring $D'[t_1, \ldots, t_d]$ is given the structure of an $R_\mathfrak p/\mathfrak p^nR_\mathfrak p$-algebra by the given map $k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p
\to D'$ and by sending $t_i$ to $t_i$. It suffices to find a factorization $$B \otimes_{k[x_1, \ldots, x_d]} (R/\mathfrak p^nR)_\mathfrak p
\to D'[t_1, \ldots, t_d] \to
\Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$$ where the second arrow sends $t_i$ to $\delta_i$ and induces the given homomorphism $D' \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$.
  1. Such a factorization exists by our choice of $D'$ above.

We now give the justification for each of the steps, except that we skip justifying the steps which just introduce notation.

Ad (the indicated step). This is possible as $\mathfrak q$ is minimal over $\mathfrak h_A = \sqrt{H_{A/k}\Lambda}$.

Ad (the indicated step). Note that $A_{a_j}$ is smooth over $k$. Hence $B_{a_j}$, which is isomorphic to a polynomial algebra over $A_{a_j}[x_1, \ldots, x_d]$, is smooth over $k[x_1, \ldots, x_d]$. Thus $B_{x_i}$ is smooth over $k[x_1, \ldots, x_d]$. By Lemma Improving a finite presentation we see that $C_{x_i}$ is smooth over $k[x_1, \ldots, x_d]$ with finite free module of differentials. Hence some power of $x_i$ is strictly standard in $C$ over $k[x_1, \ldots, x_d]$ by Lemma Comparing standard smooth presentations.

Ad (the indicated step). This follows by applying Lemma A factorization modulo a prescribed ideal.

Ad (the indicated step). Since $k[y_1, \ldots, y_m]_\mathfrak p \to \Lambda_\mathfrak q$ is flat and $\mathfrak p \Lambda_\mathfrak q = \mathfrak q \Lambda_\mathfrak q$ by construction we see that $\dim(k[y_1, \ldots, y_m]_\mathfrak p) = d$ by Algebra, Lemma Dimension of a flat family. Thus we can find $\pi_1, \ldots, \pi_d \in \mathfrak p$ which map to a regular system of parameters in $k[y_1, \ldots, y_m]_\mathfrak p$.

Ad (the indicated step). By Algebra, Lemma Regular rings are Cohen–Macaulay any permutation of the sequence \(\pi_1, \ldots, \pi_d\) is a regular sequence in \(k[y_1, \ldots, y_m]_\mathfrak p\). Hence \(\gamma_1 = \pi_1 t_1, \ldots, \gamma_d = \pi_d t_d\) is a regular sequence in \(R_\mathfrak p = k[y_1, \ldots, y_m]_\mathfrak p[t_1, \ldots, t_d]\), see Algebra, Lemma Regular sequences in a polynomial ring. Let \(S = k[y_1, \ldots, y_m] \setminus \mathfrak p\) so that \(R_\mathfrak p = S^{-1}R\). Note that \(\pi_1, \ldots, \pi_d\) and \(\gamma_1, \ldots, \gamma_d\) remain regular sequences if we multiply our \(\pi_i\) by elements of \(S\). Suppose that

\[ \text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)R}(\gamma_i) = \text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)R}(\gamma_i^2) \]

holds for \(i = 1, \ldots, t\) for some \(t \in \{0, \ldots, d\}\). Note that \(\gamma_1^e, \ldots, \gamma_t^e, \gamma_{t + 1}\) is a regular sequence in \(S^{-1}R\) by Algebra, Lemma Powers of a regular sequence. Hence we see that

\[ \text{Ann}_{S^{-1}R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)}(\gamma_i) = \text{Ann}_{S^{-1}R/(\gamma_1^e, \ldots, \gamma_{i - 1}^e)}(\gamma_i^2). \]

Thus we get

\[ \text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_t^e)R}(\gamma_{t + 1}) = \text{Ann}_{R/(\gamma_1^e, \ldots, \gamma_t^e)R}(\gamma_{t + 1}^2) \]

after replacing \(\pi_{t + 1}\) by \(s\pi_{t + 1}\) for some \(s \in S\) by Lemma The annihilator stabilization step. By induction on \(t\) this produces the desired sequence.

Ad (the indicated step). Let \(S = \Lambda \setminus \mathfrak q\) so that \(\Lambda_\mathfrak q = S^{-1}\Lambda\). Set \(\bar \Lambda = \Lambda_\mathfrak q/\mathfrak q^n \Lambda_\mathfrak q\). Suppose that we have a \(t \in \{0, \ldots, d\}\) and \(\delta_1, \ldots, \delta_t \in S\) and a factorization \(D \to D' \to \bar \Lambda\) as in (the indicated step) such that (a), (b), (c) hold for \(i = 1, \ldots, t\). We have \(\pi_{t + 1}^N \in H_{A/k}\Lambda_\mathfrak q\) as \(\mathfrak q^N \Lambda_\mathfrak q \subset H_{A/k}\Lambda_\mathfrak q\) by (the indicated step). Hence \(\pi_{t + 1}^N \in H_{A/k} \bar\Lambda\). Hence \(\pi_{t + 1}^N \in H_{A/k}D'\) as \(D' \to \bar \Lambda\) is faithfully flat, see Algebra, Lemma Universal injectivity of a faithfully flat ring map. Recall that \(H_{A/k} = (a_1, \ldots, a_t)\). Say \(\pi_{t + 1}^N = \sum a_j d_j\) in \(D'\) and choose \(c_j \in \Lambda_\mathfrak q\) lifting \(d_j \in D'\). Then \(\pi_{t + 1}^N = \sum c_j a_j + \epsilon\) with \(\epsilon \in \mathfrak q^n\Lambda_\mathfrak q \subset \mathfrak q^{n - N}H_{A/k}\Lambda_\mathfrak q\). Write \(\epsilon = \sum a_j c'_j\) for some \(c'_j \in \mathfrak q^{n - N}\Lambda_\mathfrak q\). Hence \(\pi_{t + 1}^{2N} = \sum (\pi_{t + 1}^N c_j + \pi_{t + 1}^N c'_j) a_j\). Note that \(\pi_{t + 1}^Nc'_j\) maps to zero in \(\bar \Lambda\); this trivial but key observation will ensure later that (a) holds. Now we choose \(s \in S\) such that there exist \(\mu_{t + 1j} \in \Lambda\) such that on the one hand \(\pi_{t + 1}^N c_j + \pi_{t + 1}^N c'_j = \mu_{t + 1j}/s^{2N}\) in \(S^{-1}\Lambda\) and on the other \((s \pi_{t + 1})^{2N} = \sum \mu_{t + 1j}a_j\) in \(\Lambda\). To verify this denominator step, write all coefficients \(v_j=\pi_{t+1}^Nc_j+\pi_{t+1}^Nc'_j\) as \(a'_j/s_0\) with a common \(s_0\in S\). The localized equality has an error killed by some \(u\in S\). Choose \(s\) divisible by \(us_0\) and set \(\mu_{t+1,j}=(s^{2N}/s_0)a'_j\). Multiplying the error by \(s^{2N}/s_0\) kills it and gives the asserted equality in \(\Lambda\). We may further replace \(s\) by a power and enlarge \(D'\) such that \(s\) maps to an element of \(D'\). With these choices \(\mu_{t+1,j}\) maps to \(s^{2N}\pi_{t+1}^Nd_j\), an element of \(D'\): both \(\pi_{t+1}\) and \(d_j\) are in \(D'\), and we arranged that the image of \(s\) is in \(D'\). Note that \(\pi_1, \ldots, \pi_d\) are a regular sequence of parameters in \(S^{-1}\Lambda\) by our choice of \(\varphi\). Hence \(\pi_1, \ldots, \pi_d\) forms a regular sequence in \(\Lambda_\mathfrak q\) by Algebra, Lemma Regular rings are Cohen–Macaulay. It follows that \({\pi'}_1^e, \ldots, {\pi'}_t^e, s\pi_{t + 1}\) is a regular sequence in \(S^{-1}\Lambda\) by Algebra, Lemma Powers of a regular sequence. Thus we get

\[ \text{Ann}_{S^{-1}\Lambda/({\pi'}_1^e, \ldots, {\pi'}_t^e)}(s\pi_{t + 1}) = \text{Ann}_{S^{-1}\Lambda/({\pi'}_1^e, \ldots, {\pi'}_t^e)}((s\pi_{t + 1})^2). \]

Hence we may apply Lemma The annihilator stabilization step to find an \(s' \in S\) such that

\[ \text{Ann}_{\Lambda/({\pi'}_1^e, \ldots, {\pi'}_t^e)}((s')^qs\pi_{t + 1}) = \text{Ann}_{\Lambda/({\pi'}_1^e, \ldots, {\pi'}_t^e)}(((s')^qs\pi_{t + 1})^2). \]

for any \(q > 0\). By Lemma Enlarging a factorization in positive characteristic we can choose \(q\) and enlarge \(D'\) such that \((s')^q\) maps to an element of \(D'\). Setting \(\delta_{t + 1} = (s')^qs\) we conclude that (a), (b), (c) hold for \(i = 1, \ldots, t + 1\). For (a) note that \(\lambda_{t + 1j} = (s')^{2Nq}\mu_{t + 1j}\) works. By induction on \(t\) we win.

Ad (the indicated step). By construction the radical of $H_{(C \otimes_{k[x_1, \ldots, x_d]} R)/R} \Lambda$ contains $\mathfrak h_A$. Namely, the elements $a_j \in H_{A/k}$ map to elements of $H_{B/k[x_1, \ldots, x_d]}$, hence map to elements of $H_{C/k[x_1, \ldots, x_d]}$, hence $a_j \otimes 1$ map to elements of $H_{C \otimes_{k[x_1, \ldots, x_d]} R/R}$. Moreover, if we have a solution $C \otimes_{k[x_1, \ldots, x_d]} R \to T \to \Lambda$ of $$R \to C \otimes_{k[x_1, \ldots, x_d]} R \to \Lambda \supset \mathfrak q$$ then $H_{T/R} \subset H_{T/k}$ as $R$ is smooth over $k$. Hence $T$ will also be a solution for the original situation $k \to A \to \Lambda \supset \mathfrak q$.

Ad (the indicated step). Follows on applying Lemma Lifting a local desingularization solution to $R \to C \otimes_{k[x_1, \ldots, x_d]} R \to \Lambda \supset \mathfrak q$ and the sequence of elements $\gamma_1^c, \ldots, \gamma_d^c$. We note that since $x_i^c$ are strictly standard in $C$ over $k[x_1, \ldots, x_d]$ the elements $\gamma_i^c$ are strictly standard in $C \otimes_{k[x_1, \ldots, x_d]} R$ over $R$ by Lemma Base change of a strict standard presentation. The other assumption of Lemma Lifting a local desingularization solution holds by steps (the indicated step) and (the indicated step).

Ad (the indicated step). Apply Lemma Returning from a height-zero localization to the situation in (the indicated step). In the rest of the arguments the target ring is local Artinian, hence we are looking for a factorization by a smooth algebra $T$ over the source ring.

Ad (the indicated step). Suppose that $C \otimes_{k[x_1, \ldots, x_d]} (R/JR)_\mathfrak p \to T \to \Lambda_\mathfrak q/J\Lambda_\mathfrak q$ is a solution to $$(R/JR)_\mathfrak p \to C \otimes_{k[x_1, \ldots, x_d]} (R/JR)_\mathfrak p \to \Lambda_\mathfrak q/J\Lambda_\mathfrak q \supset \mathfrak q\Lambda_\mathfrak q/J\Lambda_\mathfrak q$$ Each $t_i$ is a unit at $\mathfrak r$, since its image is $\delta_i\notin\mathfrak q$. Hence $I_{\mathfrak r}=JR_{\mathfrak r}$ and $I\Lambda_{\mathfrak q}=J\Lambda_{\mathfrak q}$. Localizing the given solution along $R\setminus\mathfrak r$ therefore gives $C\otimes_{k[x_1,\ldots,x_d]}(R/I)_{\mathfrak r}\to T_{\mathfrak r}\to \Lambda_{\mathfrak q}/I\Lambda_{\mathfrak q}$, with $T_{\mathfrak r}$ smooth over $(R/I)_{\mathfrak r}$. This is the required solution.

Ad (the indicated step). Our choice $n\geq d(e-1)+1$ is large enough so that $\mathfrak p^nk[y_1, \ldots, y_m]_\mathfrak p \subset J_\mathfrak p$ and $\mathfrak q^n \Lambda_\mathfrak q \subset J\Lambda_\mathfrak q$. Hence if we have a solution $C \otimes_{k[x_1, \ldots, x_d]} (R/\mathfrak p^nR)_\mathfrak p \to T \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ of (the indicated step) then we can take $T/JT$ as the solution for (the indicated step). Indeed the regular parameters generate the localized maximal ideal, and each monomial of degree $d(e-1)+1$ has some exponent at least $e$, proving the two asserted ideal inclusions.

Ad (the indicated step). This is true because we have a section $C \to B$ in the category of $R$-algebras.

Ad (the indicated step). This is true because $D'$ is essentially smooth over the local Artinian ring $k[y_1, \ldots, y_m]_\mathfrak p/\mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p$ and $$R_\mathfrak p/\mathfrak p^nR_\mathfrak p = k[y_1, \ldots, y_m]_\mathfrak p/ \mathfrak p^n k[y_1, \ldots, y_m]_\mathfrak p[t_1, \ldots, t_d].$$ Hence $D'[t_1, \ldots, t_d]$ is a filtered colimit of smooth $R_\mathfrak p/\mathfrak p^nR_\mathfrak p$-algebras and $B \otimes_{k[x_1, \ldots, x_d]} (R_\mathfrak p/\mathfrak p^nR_\mathfrak p)$ factors through one of these.

Ad (the indicated step). The final twist of the proof is that we cannot just use the map $B \to D'$ which maps $x_i$ to the image of $\pi_i'$ in $D'$ and $z_{ij}$ to the image of $\lambda_{ij}$ in $D'$ because we need the diagram $$\begin{gathered}\begin{matrix}B & D'[t_1, \ldots, t_d] \\ k[x_1, \ldots, x_d] & R_\mathfrak p/\mathfrak p^nR_\mathfrak p\end{matrix} \\[6pt] \begin{aligned}B & \longrightarrow D'[t_1, \ldots, t_d] \\ k[x_1, \ldots, x_d] & \longrightarrow R_\mathfrak p/\mathfrak p^nR_\mathfrak p \\ k[x_1, \ldots, x_d] & \longrightarrow B \\ R_\mathfrak p/\mathfrak p^nR_\mathfrak p & \longrightarrow D'[t_1, \ldots, t_d]\end{aligned}\end{gathered}$$ to commute and we need the composition $B \to D'[t_1, \ldots, t_d] \to \Lambda_\mathfrak q/\mathfrak q^n\Lambda_\mathfrak q$ to be the map of (the indicated step). This requires us to map $x_i$ to the image of $\pi_i t_i$ in $D'[t_1, \ldots, t_d]$. Hence we map $z_{ij}$ to the image of $\lambda_{ij} t_i^{2N} / \delta_i^{2N}$ in $D'[t_1, \ldots, t_d]$ which is defined because $\delta_i\in D'$ has nonzero residue under the faithfully flat local map $D'\to\bar\Lambda$, so is a unit. The relation follows on multiplying $(\pi_i\delta_i)^{2N}=\sum_j a_j\lambda_{ij}$ by $t_i^{2N}/\delta_i^{2N}$. The image of $x_i$ is $\pi_it_i$, giving the specified base algebra map; evaluation $t_i\mapsto\delta_i$ sends $z_{ij}$ back to $\lambda_{ij}$. Thus both triangles commute. $\square$

The main theorem

In this section we wrap up the discussion.

Theorem. General Néron desingularization (Popescu)

Any regular homomorphism of Noetherian rings is a filtered colimit of smooth ring maps.

Proof. By Lemma Reducing desingularization to field bases it suffices to prove this for $k \to \Lambda$ where $\Lambda$ is Noetherian and geometrically regular over $k$. Let $k \to A \to \Lambda$ be a factorization with $A$ a finite type $k$-algebra. It suffices to construct a factorization $A \to B \to \Lambda$ with $B$ of finite type such that $\mathfrak h_B = \Lambda$, see Lemma Solving the strict-standard Jacobian relations. Hence we may perform Noetherian induction on the ideal $\mathfrak h_A$. Pick a prime $\mathfrak q \supset \mathfrak h_A$ such that $\mathfrak q$ is minimal over $\mathfrak h_A$. It now suffices to resolve $k \to A \to \Lambda \supset \mathfrak q$ (as defined in the text following Situation The local desingularization problem). If the characteristic of $k$ is zero, this follows from Lemma Desingularization with separable residue fields. If the characteristic of $k$ is $p > 0$, this follows from Lemma Desingularization with inseparable residue fields. $\square$

The approximation property for G-rings

Let $R$ be a Noetherian local ring. In this case $R$ is a G-ring if and only if the ring map $R \to R^\wedge$ is regular, see More on Algebra, Lemma Testing the G-ring property at maximal ideals. In this case it is true that the henselization $R^h$ and the strict henselization $R^{sh}$ of $R$ are G-rings, see More on Algebra, Lemma The G-ring property under henselization. Moreover, any algebra essentially of finite type over a field, over a complete local ring, over $\mathbf{Z}$, or over a characteristic zero Dedekind ring is a G-ring, see More on Algebra, Proposition Examples and permanence of G-rings. This gives an ample supply of rings to which the result below applies.

Let $R$ be a ring. Let $f_1, \ldots, f_m \in R[x_1, \ldots, x_n]$. Let $S$ be an $R$-algebra. In this situation we say a vector $(a_1, \ldots, a_n) \in S^n$ is a solution in $S$ if and only if $$f_j(a_1, \ldots, a_n) = 0 \text{ in } S, \text{ for } j = 1, \ldots, m$$ Of course an important question in algebraic geometry is to see when systems of polynomial equations have solutions. The following theorem tells us that having solutions in the completion of a local Noetherian ring is often enough to show there exist solutions in the henselization of the ring.

Theorem. Artin approximation for henselian local G-rings

Let $R$ be a Noetherian local ring. Let $f_1, \ldots, f_m \in R[x_1, \ldots, x_n]$. Suppose that $(a_1, \ldots, a_n) \in (R^\wedge)^n$ is a solution in $R^\wedge$. If $R$ is a henselian G-ring, then for every integer $N$ there exists a solution $(b_1, \ldots, b_n) \in R^n$ in $R$ such that $a_i - b_i \in \mathfrak m^NR^\wedge$.

Proof. Let $c_i \in R$ be an element such that $a_i - c_i \in \mathfrak m^N$. Choose generators $\mathfrak m^N = (d_1, \ldots, d_M)$. Write $a_i = c_i + \sum a_{i, l} d_l$. Consider the polynomial ring $R[x_{i, l}]$ and the elements $$g_j = f_j(c_1 + \sum x_{1, l} d_l , \ldots, c_n + \sum x_{n, l} d_l) \in R[x_{i, l}]$$ The system of equations $g_j = 0$ has the solution $(a_{i, l})$. Suppose that we can show that the system of equations $g_j = 0$ has a solution $(b_{i, l})$ in $R$. Then it follows that $b_i = c_i + \sum b_{i, l}d_l$ is a solution of $f_j = 0$ which is congruent to $a_i$ modulo $\mathfrak m^N$. Thus it suffices to show that solvability over $R^\wedge$ implies solvability over $R$.

Let $A \subset R^\wedge$ be the $R$-subalgebra generated by $a_1, \ldots, a_n$. Since we've assumed $R$ is a G-ring, i.e., that $R \to R^\wedge$ is regular, we see that there exists a factorization $$A \to B \to R^\wedge$$ with $B$ smooth over $R$, see Theorem General Néron desingularization. Denote $\kappa = R/\mathfrak m$ the residue field. It is also the residue field of $R^\wedge$, so we get a commutative diagram $$\begin{gathered}\begin{matrix}B & R' \\ R & \kappa\end{matrix} \\[6pt] \begin{aligned}B & \longrightarrow \kappa \\ B & \cdots\!\!\rightarrow R' \\ R' & \cdots\!\!\rightarrow \kappa \\ R & \longrightarrow \kappa \\ R & \longrightarrow B\end{aligned}\end{gathered}$$ Since the vertical arrow is smooth, More on Algebra, Lemma Lifting a section of a smooth morphism implies that there exists an étale ring map $R \to R'$ which induces an isomorphism $R/\mathfrak m \to R'/\mathfrak mR'$ and an $R$-algebra map $B \to R'$ making the diagram above commute. Since $R$ is henselian we see that $R \to R'$ has a section, see Algebra, Lemma Characterizations of henselian local rings. Let $b_i \in R$ be the image of $a_i$ under the ring maps $A \to B \to R' \to R$. Since all of these maps are $R$-algebra maps, we see that $(b_1, \ldots, b_n)$ is a solution in $R$. $\square$

Given a Noetherian local ring $(R, \mathfrak m)$, an étale ring map $R \to R'$, and a maximal ideal $\mathfrak m' \subset R'$ lying over $\mathfrak m$ with $\kappa(\mathfrak m) = \kappa(\mathfrak m')$, then we have inclusions $$R \subset R_{\mathfrak m'} \subset R^h \subset R^\wedge,$$ by Algebra, Lemma Extending a henselian lifting problem to a finite algebra and More on Algebra, Lemma Noetherianity of a henselization.

Theorem. Artin approximation in an étale neighbourhood

Let $R$ be a Noetherian local ring. Let $f_1, \ldots, f_m \in R[x_1, \ldots, x_n]$. Suppose that $(a_1, \ldots, a_n) \in (R^\wedge)^n$ is a solution. If $R$ is a G-ring, then for every integer $N$ there exist

  1. an étale ring map $R \to R'$,

  2. a maximal ideal $\mathfrak m' \subset R'$ lying over $\mathfrak m$

  3. a solution $(b_1, \ldots, b_n) \in (R')^n$ in $R'$

such that $\kappa(\mathfrak m) = \kappa(\mathfrak m')$ and $a_i - b_i \in (\mathfrak m')^NR^\wedge$.

Proof. We could deduce this theorem from Theorem Artin approximation for henselian local G-rings using that the henselization $R^h$ is a G-ring by More on Algebra, Lemma The G-ring property under henselization and writing $R^h$ as a directed colimit of étale extension $R'$. Instead we prove this by redoing the proof of the previous theorem in this case.

Let $c_i \in R$ be an element such that $a_i - c_i \in \mathfrak m^N$. Choose generators $\mathfrak m^N = (d_1, \ldots, d_M)$. Write $a_i = c_i + \sum a_{i, l} d_l$. Consider the polynomial ring $R[x_{i, l}]$ and the elements $$g_j = f_j(c_1 + \sum x_{1, l} d_l , \ldots, c_n + \sum x_{n, l} d_l) \in R[x_{i, l}]$$ The system of equations $g_j = 0$ has the solution $(a_{i, l})$. Suppose that we can show that the system of equations $g_j = 0$ has a solution $(b_{i, l})$ in $R'$ for some étale ring map $R \to R'$ endowed with a maximal ideal $\mathfrak m'$ such that $\kappa(\mathfrak m) = \kappa(\mathfrak m')$. Then it follows that $b_i = c_i + \sum b_{i, l}d_l$ is a solution of $f_j = 0$ which is congruent to $a_i$ modulo $(\mathfrak m')^N$. Thus it suffices to show that solvability over $R^\wedge$ implies solvability over some étale ring extension which induces a trivial residue field extension at some prime over $\mathfrak m$.

Let $A \subset R^\wedge$ be the $R$-subalgebra generated by $a_1, \ldots, a_n$. Since we've assumed $R$ is a G-ring, i.e., that $R \to R^\wedge$ is regular, we see that there exists a factorization $$A \to B \to R^\wedge$$ with $B$ smooth over $R$, see Theorem General Néron desingularization. Denote $\kappa = R/\mathfrak m$ the residue field. It is also the residue field of $R^\wedge$, so we get a commutative diagram $$\begin{gathered}\begin{matrix}B & R' \\ R & \kappa\end{matrix} \\[6pt] \begin{aligned}B & \longrightarrow \kappa \\ B & \cdots\!\!\rightarrow R' \\ R' & \cdots\!\!\rightarrow \kappa \\ R & \longrightarrow \kappa \\ R & \longrightarrow B\end{aligned}\end{gathered}$$ Since the vertical arrow is smooth, More on Algebra, Lemma Lifting a section of a smooth morphism implies that there exists an étale ring map $R \to R'$ which induces an isomorphism $R/\mathfrak m \to R'/\mathfrak mR'$ and an $R$-algebra map $B \to R'$ making the diagram above commute. Let $b_i \in R'$ be the image of $a_i$ under the ring maps $A \to B \to R'$. Since all of these maps are $R$-algebra maps, we see that $(b_1, \ldots, b_n)$ is a solution in $R'$. $\square$

Here is another variant of the main theorem of this section.

Lemma. Approximation after localization at a prime

Let $R$ be a Noetherian ring. Let $\mathfrak p \subset R$ be a prime ideal. Let $f_1, \ldots, f_m \in R[x_1, \ldots, x_n]$. Suppose that $(a_1, \ldots, a_n) \in ((R_\mathfrak p)^\wedge)^n$ is a solution. If $R_\mathfrak p$ is a G-ring, then for every integer $N$ there exist

  1. an étale ring map $R \to R'$,

  2. a prime ideal $\mathfrak p' \subset R'$ lying over $\mathfrak p$

  3. a solution $(b_1, \ldots, b_n) \in (R')^n$ in $R'$

such that $\kappa(\mathfrak p) = \kappa(\mathfrak p')$ and $a_i - b_i \in (\mathfrak p')^N(R'_{\mathfrak p'})^\wedge$.

Proof. By Theorem Artin approximation in an étale neighbourhood we can find a solution $(b'_1, \ldots, b'_n)$ in some ring $R''$ étale over $R_\mathfrak p$ which comes with a prime ideal $\mathfrak p''$ lying over $\mathfrak p$ such that $\kappa(\mathfrak p) = \kappa(\mathfrak p'')$ and $a_i - b'_i \in (\mathfrak p'')^N(R''_{\mathfrak p''})^\wedge$. We can write $R'' = R' \otimes_R R_\mathfrak p$ for some étale $R$-algebra $R'$ (see Algebra, Lemma Étale morphisms). After replacing $R'$ by a principal localization if necessary we may assume $(b'_1, \ldots, b'_n)$ come from a solution $(b_1, \ldots, b_n)$ in $R'$. Setting $\mathfrak p' = R' \cap \mathfrak p''$ we see that $R''_{\mathfrak p''} = R'_{\mathfrak p'}$ which finishes the proof. $\square$

B.10. Predecessor constructions used in the proof

These are the complete selected statements and proofs from the native Stacks source files. Their source labels are retained for precise cross-references. Remaining lower dependencies are listed in §12; not all of them are proved in this lesson.

B.10.1. More on Algebra

Lemma. Localizing an algebra while preserving its closed fibre

Let $A \to B$ be a ring map and $J \subset B$ an ideal. If $A \to B$ is étale at every prime of $V(J)$, then there exists a $g \in B$ mapping to an invertible element of $B/J$ such that $A' = B_g$ is étale over $A$.

Proof. The set of points of $\operatorname{Spec}(B)$ where $A \to B$ is not étale is a closed subset of $\operatorname{Spec}(B)$, see Algebra, Definition Étale ring maps. Write this as $V(J')$ for some ideal $J' \subset B$. Then $V(J') \cap V(J) = \emptyset$ hence $J + J' = B$ by Algebra, Lemma The Zariski topology on an affine spectrum. Write $1 = f + g$ with $f \in J$ and $g \in J'$. Then $g$ works. $\square$

Lemma. Lifting a monic polynomial factorization

Let $A$ be a ring, let $I \subset A$ be an ideal. Let $f \in A[x]$ be a monic polynomial. Let $\overline{f} = \overline{g} \overline{h}$ be a factorization of $f$ in $A/I[x]$ such that $\overline{g}$ and $\overline{h}$ are monic and generate the unit ideal in $A/I[x]$. Then there exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and a factorization $f = g' h'$ in $A'[x]$ with $g'$, $h'$ monic lifting the given factorization over $A/I$.

Proof. We will deduce this from results on the universal factorization proved earlier; however, we encourage the reader to find their own proof not using this trick. Say $\deg(\overline{g}) = n$ and $\deg(\overline{h}) = m$ so that $\deg(f) = n + m$. Write $f = x^{n + m} + \sum \alpha_i x^{n + m - i}$ for some $\alpha_1, \ldots, \alpha_{n + m} \in A$. Consider the ring map $$R = \mathbf{Z}[a_1, \ldots, a_{n + m}] \longrightarrow S = \mathbf{Z}[b_1, \ldots, b_n, c_1, \ldots, c_m]$$ of Algebra, Example Étale algebras from polynomial factorizations. Let $R \to A$ be the ring map which sends $a_i$ to $\alpha_i$. Set $$B = A \otimes_R S$$ By construction the image $f_B$ of $f$ in $B[x]$ factors, say $f_B = g_B h_B$ with $g_B = x^n + \sum (1 \otimes b_i) x^{n - i}$ and similarly for $h_B$. Write $\overline{g} = x^n + \sum \overline{\beta}_i x^{n - i}$ and $\overline{h} = x^m + \sum \overline{\gamma}_i x^{m - i}$. The $A$-algebra map $$B \longrightarrow A/I, \quad 1 \otimes b_i \mapsto \overline{\beta}_i, \quad 1 \otimes c_i \mapsto \overline{\gamma}_i$$ maps $g_B$ and $h_B$ to $\overline{g}$ and $\overline{h}$ in $A/I[x]$. The displayed map is surjective; denote $J \subset B$ its kernel. From the discussion in Algebra, Example Étale algebras from polynomial factorizations it is clear that $A \to B$ is etale at all points of $V(J) \subset \operatorname{Spec}(B)$. Choose $g \in B$ as in Lemma Localizing an algebra while preserving its closed fibre and consider the $A$-algebra $B_g$. Since $g$ maps to a unit in $B/J = A/I$ we obtain also a map $B_g/I B_g \to A/I$ of $A/I$-algebras. Since $A/I \to B_g/I B_g$ is étale, also $B_g/IB_g \to A/I$ is étale (Algebra, Lemma Morphisms between étale algebras). Hence there exists an idempotent $e \in B_g/I B_g$ such that $A/I = (B_g/I B_g)_e$ (Algebra, Lemma Finite presentation and flatness). Choose a lift $h \in B_g$ of $e$. Then $A \to A' = (B_g)_h$ with factorization given by the image of the factorization $f_B = g_B h_B$ in $A'$ is a solution to the problem posed by the lemma. $\square$

Lemma. Lifting a coprime factorization

Let $A$ be a ring, let $I \subset A$ be an ideal. Let $f \in A[x]$ be a monic polynomial. Let $\overline{f} = \overline{g} \overline{h}$ be a factorization of $f$ in $A/I[x]$ and assume

  1. the leading coefficient of $\overline{g}$ is an invertible element of $A/I$, and

  2. $\overline{g}$, $\overline{h}$ generate the unit ideal in $A/I[x]$.

Then there exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and a factorization $f = g' h'$ in $A'[x]$ lifting the given factorization over $A/I$.

Proof. Applying Lemma Lifting a unit we may assume that the leading coefficient of $\overline{g}$ is the reduction of an invertible element $u \in A$. Then we may replace $\overline{g}$ by $\overline{u}^{-1}\overline{g}$ and $\overline{h}$ by $\overline{u}\overline{h}$. Thus we may assume that $\overline{g}$ is monic. Since $f$ is monic we conclude that $\overline{h}$ is monic too. In this case the result follows from Lemma Lifting a monic polynomial factorization. $\square$

Lemma. Separating a closed image from another closed subset

Let $R \to S$ be a ring map. Let $I \subset R$ be an ideal of $R$ and let $J \subset S$ be an ideal of $S$. If the closure of the image of $V(J)$ in $\operatorname{Spec}(R)$ is disjoint from $V(I)$, then there exists an element $f \in R$ which maps to $1$ in $R/I$ and to an element of $J$ in $S$.

Proof. Let $I' \subset R$ be an ideal such that $V(I')$ is the closure of the image of $V(J)$. Then $V(I) \cap V(I') = \emptyset$ by assumption and hence $I + I' = R$ by Algebra, Lemma The Zariski topology on an affine spectrum. Write $1 = g + f$ with $g \in I$ and $f \in I'$. We have $V(f') \supset V(J)$ where $f'$ is the image of $f$ in $S$. Hence $(f')^n \in J$ for some $n$, see Algebra, Lemma The Zariski topology on an affine spectrum. Replacing $f$ by $f^n$ we win. $\square$

Lemma. Integral elements compatible with a lifted factorization

Let $I$ be an ideal of a ring $A$. Let $A \to B$ be an integral ring map. Let $b \in B$ map to an idempotent in $B/IB$. Then there exists a monic $f \in A[x]$ with $f(b) = 0$ and $f \bmod I = x^d(x - 1)^d$ for some $d \geq 1$.

Proof. Observe that $z = b^2 - b$ is an element of $IB$. By Algebra, Lemma Integral extensions there exist a monic polynomial $g(x) = x^d + \sum a_j x^j$ of degree $d$ with $a_j \in I$ such that $g(z) = 0$ in $B$. Hence $f(x) = g(x^2 - x) \in A[x]$ is a monic polynomial such that $f(x) \equiv x^d(x - 1)^d \bmod I$ and such that $f(b) = 0$ in $B$. $\square$

Lemma. Lifting an idempotent after localization

Let $A$ be a ring, let $I \subset A$ be an ideal. Let $A \to B$ be an integral ring map. Let $\overline{e} \in B/IB$ be an idempotent. Then there exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and an idempotent $e' \in B \otimes_A A'$ lifting $\overline{e}$.

Proof. Choose an element $y \in B$ lifting $\overline{e}$. Choose $f \in A[x]$ as in Lemma Integral elements compatible with a lifted factorization for $y$. By Lemma Lifting a coprime factorization we can find an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and such that $f = gh$ in $A[x]$ with $g(x) = x^d \bmod IA'$ and $h(x) = (x - 1)^d \bmod IA'$. After replacing $A$ by $A'$ we may assume that the factorization is defined over $A$. In that case we see that $b_1 = g(y) \in B$ is a lift of $\overline{e}^d = \overline{e}$ and $b_2 = h(y) \in B$ is a lift of $(\overline{e} - 1)^d = (-1)^d (1 - \overline{e})^d = (-1)^d(1 - \overline{e})$ and moreover $b_1b_2 = 0$. Thus $(b_1, b_2)B/IB = B/IB$ and $V(b_1, b_2) \subset \operatorname{Spec}(B)$ is disjoint from $V(IB)$. Since $\operatorname{Spec}(B) \to \operatorname{Spec}(A)$ is closed (see Algebra, Lemmas Going up for integral ring maps and Going up and closed maps of spectra) we can find an $a \in A$ which maps to an invertible element of $A/I$ whose image in $B$ lies in $(b_1, b_2)$, see Lemma Separating a closed image from another closed subset. After replacing $A$ by the localization $A_a$ we get that $(b_1, b_2) = B$. Then $\operatorname{Spec}(B) = D(b_1) \amalg D(b_2)$; disjoint union because $b_1b_2 = 0$ and covers $\operatorname{Spec}(B)$ because $(b_1, b_2) = B$. Let $e \in B$ be the idempotent corresponding to the open and closed subset $D(b_1)$, see Algebra, Lemma Product decompositions from disjoint closed subsets. Since $b_1$ is a lift of $\overline{e}$ and $b_2$ is a lift of $\pm (1 - \overline{e})$ we conclude that $e$ is a lift of $\overline{e}$ by the uniqueness statement in Algebra, Lemma Product decompositions from disjoint closed subsets. $\square$

Lemma. Lifting a finite projective module

Let $A$ be a ring, let $I \subset A$ be an ideal. Let $\overline{P}$ be a finite projective $A/I$-module. Then there exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and a finite projective $A'$-module $P'$ lifting $\overline{P}$.

Proof. We can choose an integer $n$ and a direct sum decomposition $(A/I)^{\oplus n} = \overline{P} \oplus \overline{K}$ for some $A/I$-module $\overline{K}$. Choose a lift $\varphi : A^{\oplus n} \to A^{\oplus n}$ of the projector $\overline{p}$ associated to the direct summand $\overline{P}$. Let $f \in A[x]$ be the characteristic polynomial of $\varphi$. Set $B = A[x]/(f)$. By Cayley-Hamilton (Algebra, Lemma The characteristic polynomial) there is a map $B \to \text{End}_A(A^{\oplus n})$ mapping $x$ to $\varphi$. For every prime $\mathfrak p \supset I$ the image of $f$ in $\kappa(\mathfrak p)$ is $(x - 1)^rx^{n - r}$ where $r$ is the dimension of $\overline{P} \otimes_{A/I} \kappa(\mathfrak p)$. Hence $(x - 1)^nx^n$ maps to zero in $B \otimes_A \kappa(\mathfrak p)$ for all $\mathfrak p \supset I$. Thus $x(1 - x)$ is contained in every prime ideal of $B/IB$. Hence $x^N(1 - x)^N$ is contained in $IB$ for some $N \geq 1$. It follows that $x^N + (1 - x)^N$ is a unit in $B/IB$ and that $$\overline{e} = \text{image of }\frac{x^N}{x^N + (1 - x)^N}\text{ in }B/IB$$ is an idempotent as both assertions hold in $\mathbf{Z}[x]/(x^N(x - 1)^N)$. The image of $\overline{e}$ in $\text{End}_{A/I}((A/I)^{\oplus n})$ is $$\frac{\overline{p}^N}{\overline{p}^N + (1 - \overline{p})^N} = \overline{p}$$ as $\overline{p}$ is an idempotent. After replacing $A$ by an étale extension $A'$ as in the lemma, we may assume there exists an idempotent $e \in B$ which maps to $\overline{e}$ in $B/IB$, see Lemma Lifting an idempotent after localization. Then the image of $e$ under the map $$B = A[x]/(f) \longrightarrow \text{End}_A(A^{\oplus n}).$$ is an idempotent element $p$ which lifts $\overline{p}$. Setting $P = \operatorname{Im}(p)$ we win. $\square$

Lemma. The cotangent complex of a symmetric algebra

Let $A$ be a ring. Let $0 \to K \to A^{\oplus m} \to M \to 0$ be a sequence of $A$-modules. Consider the $A$-algebra $C = \text{Sym}^*_A(M)$ with its presentation $\alpha : A[y_1, \ldots, y_m] \to C$ coming from the surjection $A^{\oplus m} \to M$. Then $$\mathrm{NL}(\alpha) = (K \otimes_A C \to \bigoplus\nolimits_{j = 1, \ldots, m} C \text{d}y_j)$$ (see Algebra, Section The naive cotangent complex) in particular $\Omega_{C/A} = M \otimes_A C$.

Proof. Let $J = \operatorname{Ker}(\alpha)$. The lemma asserts that $J/J^2 \cong K \otimes_A C$. Note that $\alpha$ is a homomorphism of graded algebras. We will prove that in degree $d$ we have $(J/J^2)_d = K \otimes_A C_{d - 1}$. Note that $$J_d = \operatorname{Ker}(\text{Sym}^d_A(A^{\oplus m}) \to \text{Sym}^d_A(M)) = \operatorname{Im}(K \otimes_A \text{Sym}^{d - 1}_A(A^{\oplus m}) \to \text{Sym}^d_A(A^{\oplus m})),$$ see Algebra, Lemma Presentations of symmetric and exterior powers. It follows that $(J^2)_d = \sum_{a + b = d} J_a \cdot J_b$ is the image of $$K \otimes_A K \otimes_A \text{Sym}^{d - 2}_A(A^{\otimes m}) \to \text{Sym}^d_A(A^{\oplus m}).$$ The cokernel of the map $K \otimes_A \text{Sym}^{d - 2}_A(A^{\otimes m}) \to \text{Sym}^{d - 1}_A(A^{\oplus m})$ is $\text{Sym}^{d - 1}_A(M)$ by the lemma referenced above. Hence it is clear that $(J/J^2)_d = J_d/(J^2)_d$ is equal to $$\begin{aligned} \operatorname{Coker}( K \otimes_A K \otimes_A \text{Sym}^{d - 2}_A(A^{\otimes m}) \to K \otimes_A \text{Sym}^{d - 1}_A(A^{\otimes m})) & = K \otimes_A \text{Sym}^{d - 1}_A(M) \\ & = K \otimes_A C_{d -1} \end{aligned}$$ as desired. $\square$

Lemma. Smoothness of a symmetric algebra

Let $A$ be a ring. Let $M$ be an $A$-module. Then $C = \text{Sym}_A^*(M)$ is smooth over $A$ if and only if $M$ is a finite projective $A$-module.

Proof. Let $\sigma : C \to A$ be the projection onto the degree $0$ part of $C$. Then $J = \operatorname{Ker}(\sigma)$ is the part of degree $> 0$ and we see that $J/J^2 = M$ as an $A$-module. Hence if $A \to C$ is smooth then $M$ is a finite projective $A$-module by Algebra, Lemma Sections of smooth ring maps.

Conversely, assume that $M$ is finite projective and choose a surjection $A^{\oplus n} \to M$ with kernel $K$. Of course the sequence $0 \to K \to A^{\oplus n} \to M \to 0$ is split as $M$ is projective. In particular we see that $K$ is a finite $A$-module and hence $C$ is of finite presentation over $A$ as $C$ is a quotient of $A[x_1, \ldots, x_n]$ by the ideal generated by $K \subset \bigoplus Ax_i$. The computation of Lemma The cotangent complex of a symmetric algebra shows that $\mathrm{NL}_{C/A}$ is homotopy equivalent to $(K \to A^{\oplus n}) \otimes_A C$. Hence $\mathrm{NL}_{C/A}$ is quasi-isomorphic to $C \otimes_A M$ placed in degree $0$ which means that $C$ is smooth over $A$ by Algebra, Definition Smooth ring maps. $\square$

Lemma. Lifting a section of a smooth morphism

Let $A$ be a ring, let $I \subset A$ be an ideal. Consider a commutative diagram $$\begin{gathered}\begin{matrix}B \\ A & A/I\end{matrix} \\[6pt] \begin{aligned}B & \longrightarrow A/I \\ A & \longrightarrow B \\ A & \longrightarrow A/I\end{aligned}\end{gathered}$$ where $B$ is a smooth $A$-algebra. Then there exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and an $A$-algebra map $B \to A'$ lifting the ring map $B \to A/I$.

Proof. Let $J \subset B$ be the kernel of $B \to A/I$ so that $B/J = A/I$. By Algebra, Lemma Smoothness and the naive cotangent complex the sequence $$0 \to I/I^2 \to J/J^2 \to \Omega_{B/A} \otimes_B B/J \to 0$$ is split exact. Thus $\overline{P} = J/(J^2 + IB) = \Omega_{B/A} \otimes_B B/J$ is a finite projective $A/I$-module. Choose an integer $n$ and a direct sum decomposition $A/I^{\oplus n} = \overline{P} \oplus \overline{K}$. By Lemma Lifting a finite projective module we can find an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and a finite projective $A$-module $K$ which lifts $\overline{K}$. We may and do replace $A$ by $A'$. Set $B' = B \otimes_A \text{Sym}_A^*(K)$. Since $A \to \text{Sym}_A^*(K)$ is smooth by Lemma Smoothness of a symmetric algebra we see that $B \to B'$ is smooth which in turn implies that $A \to B'$ is smooth (see Algebra, Lemmas Base change of smooth ring maps and Smooth morphisms and local algebra). Moreover the section $\text{Sym}^*_A(K) \to A$ determines a section $B' \to B$ and we let $B' \to A/I$ be the composition $B' \to B \to A/I$. Let $J' \subset B'$ be the kernel of $B' \to A/I$. We have $JB' \subset J'$ and $B \otimes_A K \subset J'$. These maps combine to give an isomorphism $$(A/I)^{\oplus n} \cong J/(J^2 + IB) \oplus \overline{K} \longrightarrow J'/((J')^2 + IB')$$ Thus, after replacing $B$ by $B'$ we may assume that $J/(J^2 + IB) = \Omega_{B/A} \otimes_B B/J$ is a free $A/I$-module of rank $n$.

In this case, choose $f_1, \ldots, f_n \in J$ which map to a basis of $J/(J^2 + IB)$. Consider the finitely presented $A$-algebra $C = B/(f_1, \ldots, f_n)$. Note that we have an exact sequence $$0 \to H_1(L_{C/A}) \to (f_1, \ldots, f_n)/(f_1, \ldots, f_n)^2 \to \Omega_{B/A} \otimes_B C \to \Omega_{C/A} \to 0$$ see Algebra, Lemma The transitivity sequence for the naive cotangent complex (note that $H_1(L_{B/A}) = 0$ and that $\Omega_{B/A}$ is finite projective, in particular flat so the Tor group vanishes). For any prime $\mathfrak q \supset J$ of $B$ the module $\Omega_{B/A, \mathfrak q}$ is free of rank $n$ because $\Omega_{B/A}$ is finite projective and because $\Omega_{B/A} \otimes_B B/J$ is free of rank $n$ (see Algebra, Lemma Characterizations of finite projective modules). By our choice of $f_1, \ldots, f_n$ the map $$\left((f_1, \ldots, f_n)/(f_1, \ldots, f_n)^2\right)_{\mathfrak q} \to \Omega_{B/A, \mathfrak q}$$ is surjective modulo $J$. Hence we see that this map of modules over the local ring $C_{\mathfrak q}$ has to be an isomorphism (by Algebra, Lemma Nakayama's lemma the map is surjective and for example by Algebra, Lemma Surjective endomorphisms of finite modules because $((f_1, \ldots, f_n)/(f_1, \ldots, f_n)^2)_{\mathfrak q}$ is generated by $n$ elements the map is injective). Thus $H_1(L_{C/A})_{\mathfrak q} = 0$ and $\Omega_{C/A, \mathfrak q} = 0$. By Algebra, Lemma Smoothness at a point we see that $A \to C$ is smooth at the prime $\overline{\mathfrak q}$ of $C$ corresponding to $\mathfrak q$. Since $\Omega_{C/A, \mathfrak q} = 0$ it is actually étale at $\overline{\mathfrak q}$. Thus $A \to C$ is étale at all primes of $C$ containing $JC$. By Lemma Localizing an algebra while preserving its closed fibre we can find an $f \in C$ mapping to an invertible element of $C/JC$ such that $A \to C_f$ is étale. By our choice of $f$ it is still true that $C_f/JC_f = A/I$. The map $C_f/IC_f \to A/I$ is surjective and étale by Algebra, Lemma Morphisms between étale algebras. Hence $A/I$ is isomorphic to the localization of $C_f/IC_f$ at some element $g \in C$, see Algebra, Lemma Finite presentation and flatness. Set $A' = C_{fg}$ to conclude the proof. $\square$

Lemma. The conormal sequence for a first-homology regular sequence

Let $A$ be a ring. Let $I \subset J \subset A$ be ideals. Assume that $J/I \subset A/I$ is generated by an $H_1$-regular sequence. Then $I \cap J^2 = IJ$.

Proof. To prove this choose $g_1, \ldots, g_m \in J$ whose images in $A/I$ form a $H_1$-regular sequence which generates $J/I$. In particular $J = I + (g_1, \ldots, g_m)$. Suppose that $x \in I \cap J^2$. Because $x \in J^2$ can write $$x = \sum a_{ij} g_ig_j + \sum a_j g_j + a$$ with $a_{ij} \in A$, $a_j \in I$ and $a \in I^2$. Then $\sum a_{ij}g_ig_j \in I \cap (g_1, \ldots, g_m)$ hence by Lemma First cotangent homology after a regular quotient we see that $\sum a_{ij}g_ig_j \in I(g_1, \ldots, g_m)$. Thus $x \in IJ$ as desired. $\square$

Lemma. The conormal sequence for a first-homology regular ideal

Let $A$ be a ring. Let $I \subset J \subset A$ be ideals. Assume that $J/I \subset A/I$ is a $H_1$-regular ideal. Then $I \cap J^2 = IJ$.

Proof. Follows immediately from Lemma The conormal sequence for a first-homology regular sequence by localizing. $\square$

Lemma. Finite projectivity of a quasi-regular conormal module

Let $I \subset R$ be a quasi-regular ideal of a ring. Then $I/I^2$ is a finite projective $R/I$-module.

Proof. This follows from Algebra, Lemma Characterizations of finite projective modules and the definitions. $\square$

Lemma. Syntomic algebras and local complete intersections

Let $R \to S$ be a ring map. The following are equivalent

  1. $R \to S$ is syntomic (Algebra, Definition Local complete intersections), and

  2. $R \to S$ is flat and a local complete intersection.

Proof. Assume (1). Then $R \to S$ is flat by definition. By Algebra, Lemma Local criteria for a syntomic algebra and Lemma Locality of the complete-intersection condition we see that it suffices to show a relative global complete intersection is a local complete intersection homomorphism which is Lemma Koszul complexes of global complete intersections.

Assume (2). A local complete intersection is of finite presentation because a Koszul-regular ideal is finitely generated. Let $R \to k$ be a map to a field. It suffices to show that $S' = S \otimes_R k$ is a local complete intersection over $k$, see Algebra, Definition Complete intersections over a field. Choose a prime $\mathfrak q' \subset S'$. Write $S = R[x_1, \ldots, x_n]/I$. Then $S' = k[x_1, \ldots, x_n]/I'$ where $I' \subset k[x_1, \ldots, x_n]$ is the image of $I$. Let $\mathfrak p' \subset k[x_1, \ldots, x_n]$, $\mathfrak q \subset S$, and $\mathfrak p \subset R[x_1, \ldots, x_n]$ be the corresponding primes. By Definition Regular ideals exists an $g \in R[x_1, \ldots, x_n]$, $g \not \in \mathfrak p$ and $f_1, \ldots, f_r \in R[x_1, \ldots, x_n]_g$ which form a Koszul-regular sequence generating $I_g$. Since $S$ and hence $S_g$ is flat over $R$ we see that the images $f'_1, \ldots, f'_r$ in $k[x_1, \ldots, x_n]_g$ form a $H_1$-regular sequence generating $I'_g$, see Lemma Relative regular immersions in affine algebra. Thus $f'_1, \ldots, f'_r$ map to a regular sequence in $k[x_1, \ldots, x_n]_{\mathfrak p'}$ generating $I'_{\mathfrak p'}$ by Lemma Regularity conditions for finite ideals in Noetherian rings. Applying Algebra, Lemma Local criteria for complete intersections we conclude $S'_{gg'}$ for some $g' \in S$, $g' \not \in \mathfrak q'$ is a global complete intersection over $k$ as desired. $\square$

Lemma. Cotangent transitivity with a complete-intersection terminal map

Let $A \to B \to C$ be ring maps. Assume $B \to C$ is a local complete intersection homomorphism. Choose a presentation $\alpha : A[x_s, s \in S] \to B$ with kernel $I$. Choose a presentation $\beta : B[y_1, \ldots, y_m] \to C$ with kernel $J$. Let $\gamma : A[x_s, y_t] \to C$ be the induced presentation of $C$ with kernel $K$. Then we get a canonical commutative diagram $$\begin{gathered}\begin{matrix}0 & \Omega_{A[x_s]/A} \otimes C & \Omega_{A[x_s, y_t]/A} \otimes C & \Omega_{B[y_t]/B} \otimes C & 0 \\ 0 & I/I^2 \otimes C & K/K^2 & J/J^2 & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow \Omega_{A[x_s]/A} \otimes C \\ \Omega_{A[x_s]/A} \otimes C & \longrightarrow \Omega_{A[x_s, y_t]/A} \otimes C \\ \Omega_{A[x_s, y_t]/A} \otimes C & \longrightarrow \Omega_{B[y_t]/B} \otimes C \\ \Omega_{B[y_t]/B} \otimes C & \longrightarrow 0 \\ 0 & \longrightarrow I/I^2 \otimes C \\ I/I^2 \otimes C & \longrightarrow K/K^2 \\ I/I^2 \otimes C & \longrightarrow \Omega_{A[x_s]/A} \otimes C \\ K/K^2 & \longrightarrow J/J^2 \\ K/K^2 & \longrightarrow \Omega_{A[x_s, y_t]/A} \otimes C \\ J/J^2 & \longrightarrow 0 \\ J/J^2 & \longrightarrow \Omega_{B[y_t]/B} \otimes C\end{aligned}\end{gathered}$$ with exact rows. In particular, the six term exact sequence of Algebra, Lemma The transitivity sequence for the naive cotangent complex can be completed with a zero on the left, i.e., the sequence $$0 \to H_1(\mathrm{NL}_{B/A} \otimes_B C) \to H_1(L_{C/A}) \to H_1(L_{C/B}) \to \Omega_{B/A} \otimes_B C \to \Omega_{C/A} \to \Omega_{C/B} \to 0$$ is exact.

Proof. The only thing to prove is the injectivity of the map $I/I^2 \otimes C \to K/K^2$. By assumption the ideal $J$ is Koszul-regular. Hence we have $IA[x_s, y_j] \cap K^2 = IK$ by Lemma The conormal sequence for a first-homology regular ideal. This means that the kernel of $K/K^2 \to J/J^2$ is isomorphic to $IA[x_s, y_j]/IK$. Since $I/I^2 \otimes_B C = IA[x_s, y_j]/IK$ by right exactness of tensor product, this provides us with the desired injectivity of $I/I^2 \otimes_B C \to K/K^2$. $\square$

Lemma. Cotangent transitivity for filtered complete intersections

Let $A \to B \to C$ be ring maps. If $B \to C$ is a filtered colimit of local complete intersection homomorphisms then the conclusion of Lemma Cotangent transitivity with a complete-intersection terminal map remains valid.

Proof. Follows from Lemma Cotangent transitivity with a complete-intersection terminal map and Algebra, Lemma Filtered colimits of naive cotangent complexes. $\square$

Lemma. Cartier's equality for differentials (Cartier equality)

Let $K/k$ be a finitely generated field extension. Then $\Omega_{K/k}$ and $H_1(L_{K/k})$ are finite dimensional and $\text{trdeg}_k(K) = \dim_K \Omega_{K/k} - \dim_K H_1(L_{K/k})$.

Proof. We can find a global complete intersection $A = k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ over $k$ such that $K$ is isomorphic to the fraction field of $A$, see Algebra, Lemma Syntomic algebras in a filtered colimit and its proof. In this case we see that $\mathrm{NL}_{K/k}$ is homotopy equivalent to the complex $$\bigoplus\nolimits_{j = 1, \ldots, c} K \longrightarrow \bigoplus\nolimits_{i = 1, \ldots, n} K\text{d}x_i$$ by Algebra, Lemmas Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 and Localization of the naive cotangent complex. The transcendence degree of $K$ over $k$ is the dimension of $A$ (by Algebra, Lemma Prime ideals and dimension in a polynomial ring) which is $n - c$ and we win. $\square$

Lemma. Transitivity of first cotangent homology

Let $M/L/K$ be field extensions. Then the Jacobi-Zariski sequence $$0 \to H_1(L_{L/K}) \otimes_L M \to H_1(L_{M/K}) \to H_1(L_{M/L}) \to \Omega_{L/K} \otimes_L M \to \Omega_{M/K} \to \Omega_{M/L} \to 0$$ is exact.

Proof. Combine Lemma Cotangent transitivity for filtered complete intersections with Algebra, Lemma Syntomic algebras in a filtered colimit. $\square$

Lemma. Compatibility of cotangent homology with a quotient

Given a commutative diagram of fields $$\begin{gathered}\begin{matrix}K & K' \\ k & k'\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow K' \\ k & \longrightarrow K \\ k & \longrightarrow k' \\ k' & \longrightarrow K'\end{aligned}\end{gathered}$$ with $k'/k$ and $K'/K$ finitely generated field extensions the kernel and cokernel of the maps $$\alpha : \Omega_{K/k} \otimes_K K' \to \Omega_{K'/k'} \quad\text{and}\quad \beta : H_1(L_{K/k}) \otimes_K K' \to H_1(L_{K'/k'})$$ are finite dimensional and $$\dim \operatorname{Ker}(\alpha) - \dim \operatorname{Coker}(\alpha) -\dim \operatorname{Ker}(\beta) + \dim \operatorname{Coker}(\beta)

\text{trdeg}_k(k') - \text{trdeg}_K(K')$$

Proof. The Jacobi-Zariski sequences for $k \subset k' \subset K'$ and $k \subset K \subset K'$ are $$0 \to H_1(L_{k'/k}) \otimes K' \to H_1(L_{K'/k}) \to H_1(L_{K'/k'}) \to \Omega_{k'/k} \otimes K' \to \Omega_{K'/k} \to \Omega_{K'/k'} \to 0$$ and $$0 \to H_1(L_{K/k}) \otimes K' \to H_1(L_{K'/k}) \to H_1(L_{K'/K}) \to \Omega_{K/k} \otimes K' \to \Omega_{K'/k} \to \Omega_{K'/K} \to 0$$ By Lemma Cartier's equality for differentials the vector spaces $\Omega_{k'/k}$, $\Omega_{K'/K}$, $H_1(L_{K'/K})$, and $H_1(L_{k'/k})$ are finite dimensional and the alternating sum of their dimensions is $\text{trdeg}_k(k') - \text{trdeg}_K(K')$. The lemma follows. $\square$

Proposition. Characterizations of geometric regularity

Let $k$ be a field of characteristic $p > 0$. Let $(A, \mathfrak m, K)$ be a Noetherian local $k$-algebra. The following are equivalent

  1. $A$ is geometrically regular over $k$,

  2. for all $k \subset k' \subset k^{1/p}$ finite over $k$ the ring $A \otimes_k k'$ is regular,

  3. $A$ is regular and the canonical map $H_1(L_{K/k}) \to \mathfrak m/\mathfrak m^2$ is injective, and

  4. $A$ is regular and the map $\Omega_{k/\mathbf{F}_p} \otimes_k K \to \Omega_{A/\mathbf{F}_p} \otimes_A K$ is injective.

Proof. Proof of (3) $\Rightarrow$ (1). Assume (3). Let $k'/k$ be a finite purely inseparable extension. Set $A' = A \otimes_k k'$. This is a local ring with maximal ideal $\mathfrak m'$. Set $K' = A'/\mathfrak m'$. We get a commutative diagram $$\begin{gathered}\begin{matrix}0 & H_1(L_{K/k}) \otimes K' & \mathfrak m/\mathfrak m^2 \otimes K' & \Omega_{A/k} \otimes_A K' & \Omega_{K/k} \otimes K' & 0 \\ \phantom{X} & H_1(L_{K'/k'}) & \mathfrak m'/(\mathfrak m')^2 & \Omega_{A'/k'} \otimes_{A'} K' & \Omega_{K'/k'} & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow H_1(L_{K/k}) \otimes K' \\ H_1(L_{K/k}) \otimes K' & \longrightarrow \mathfrak m/\mathfrak m^2 \otimes K' \\ H_1(L_{K/k}) \otimes K' & \xrightarrow{\beta} H_1(L_{K'/k'}) \\ \mathfrak m/\mathfrak m^2 \otimes K' & \longrightarrow \Omega_{A/k} \otimes_A K' \\ \mathfrak m/\mathfrak m^2 \otimes K' & \longrightarrow \mathfrak m'/(\mathfrak m')^2 \\ \Omega_{A/k} \otimes_A K' & \longrightarrow \Omega_{K/k} \otimes K' \\ \Omega_{A/k} \otimes_A K' & \xrightarrow{\cong} \Omega_{A'/k'} \otimes_{A'} K' \\ \Omega_{K/k} \otimes K' & \longrightarrow 0 \\ \Omega_{K/k} \otimes K' & \xrightarrow{\alpha} \Omega_{K'/k'} \\ H_1(L_{K'/k'}) & \longrightarrow \mathfrak m'/(\mathfrak m')^2 \\ \mathfrak m'/(\mathfrak m')^2 & \longrightarrow \Omega_{A'/k'} \otimes_{A'} K' \\ \Omega_{A'/k'} \otimes_{A'} K' & \longrightarrow \Omega_{K'/k'} \\ \Omega_{K'/k'} & \longrightarrow 0\end{aligned}\end{gathered}$$ with exact rows. The third vertical arrow is an isomorphism by base change for modules of differentials (Algebra, Lemma Base change of Kähler differentials). Thus $\alpha$ is surjective. By Lemma Compatibility of cotangent homology with a quotient we have $$\dim \operatorname{Ker}(\alpha) - \dim \operatorname{Ker}(\beta) + \dim \operatorname{Coker}(\beta) = 0$$ (and these dimensions are all finite). A diagram chase shows that $\dim \mathfrak m'/(\mathfrak m')^2 \leq \dim \mathfrak m/\mathfrak m^2$. However, since $A \to A'$ is finite flat we see that $\dim(A) = \dim(A')$, see Algebra, Lemma Dimensions of a base, fibre and total space. Hence $A'$ is regular by definition.

Equivalence of (3) and (4). Consider the Jacobi-Zariski sequences for rows of the commutative diagram $$\begin{gathered}\begin{matrix}\mathbf{F}_p & A & K \\ \mathbf{F}_p & k & K\end{matrix} \\[6pt] \begin{aligned}\mathbf{F}_p & \longrightarrow A \\ A & \longrightarrow K \\ \mathbf{F}_p & \longrightarrow k \\ \mathbf{F}_p & \longrightarrow \mathbf{F}_p \\ k & \longrightarrow K \\ k & \longrightarrow A \\ K & \longrightarrow K\end{aligned}\end{gathered}$$ to get a commutative diagram $$\begin{gathered}\begin{matrix}0 & \mathfrak m/\mathfrak m^2 & \Omega_{A/\mathbf{F}_p} \otimes_A K & \Omega_{K/\mathbf{F}_p} & 0 & \phantom{X} \\ 0 & H_1(L_{K/k}) & \Omega_{k/\mathbf{F}_p} \otimes_k K & \Omega_{K/\mathbf{F}_p} & \Omega_{K/k} & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow \mathfrak m/\mathfrak m^2 \\ \mathfrak m/\mathfrak m^2 & \longrightarrow \Omega_{A/\mathbf{F}_p} \otimes_A K \\ \Omega_{A/\mathbf{F}_p} \otimes_A K & \longrightarrow \Omega_{K/\mathbf{F}_p} \\ \Omega_{K/\mathbf{F}_p} & \longrightarrow 0 \\ 0 & \longrightarrow H_1(L_{K/k}) \\ H_1(L_{K/k}) & \longrightarrow \Omega_{k/\mathbf{F}_p} \otimes_k K \\ H_1(L_{K/k}) & \longrightarrow \mathfrak m/\mathfrak m^2 \\ \Omega_{k/\mathbf{F}_p} \otimes_k K & \longrightarrow \Omega_{K/\mathbf{F}_p} \\ \Omega_{k/\mathbf{F}_p} \otimes_k K & \longrightarrow \Omega_{A/\mathbf{F}_p} \otimes_A K \\ \Omega_{K/\mathbf{F}_p} & \longrightarrow \Omega_{K/k} \\ \Omega_{K/\mathbf{F}_p} & \longrightarrow \Omega_{K/\mathbf{F}_p} \\ \Omega_{K/k} & \longrightarrow 0 \\ \Omega_{K/k} & \longrightarrow 0\end{aligned}\end{gathered}$$ with exact rows. We have used that $H_1(L_{K/A}) = \mathfrak m/\mathfrak m^2$ and that $H_1(L_{K/\mathbf{F}_p}) = 0$ as $K/\mathbf{F}_p$ is separable, see Algebra, Proposition Characterizations of separable field extensions. Thus it is clear that the kernels of $H_1(L_{K/k}) \to \mathfrak m/\mathfrak m^2$ and $\Omega_{k/\mathbf{F}_p} \otimes_k K \to \Omega_{A/\mathbf{F}_p} \otimes_A K$ have the same dimension.

Proof of (2) $\Rightarrow$ (4) following Faltings, see the original source citation Faltings-einfacher. Let $a_1, \ldots, a_n \in k$ be elements such that $\text{d}a_1, \ldots, \text{d}a_n$ are linearly independent in $\Omega_{k/\mathbf{F}_p}$. Consider the field extension $k' = k(a_1^{1/p}, \ldots, a_n^{1/p})$. By Algebra, Lemma Degrees of extensions obtained by adjoining p-th roots we see that $k' = k[x_1, \ldots, x_n]/(x_1^p - a_1, \ldots, x_n^p - a_n)$. In particular we see that the naive cotangent complex of $k'/k$ is homotopic to the complex $\bigoplus_{j = 1, \ldots, n} k' \rightarrow \bigoplus_{i = 1, \ldots, n} k'$ with the zero differential as $\text{d}(x_j^p - a_j) = 0$ in $\Omega_{k[x_1, \ldots, x_n]/k}$. Set $A' = A \otimes_k k'$ and $K' = A'/\mathfrak m'$ as above. By Algebra, Lemma Base change of the naive cotangent complex we see that $\mathrm{NL}_{A'/A}$ is homotopy equivalent to the complex $\bigoplus_{j = 1, \ldots, n} A' \rightarrow \bigoplus_{i = 1, \ldots, n} A'$ with the zero differential, i.e., $H_1(L_{A'/A})$ and $\Omega_{A'/A}$ are free of rank $n$. The Jacobi-Zariski sequence for $\mathbf{F}_p \to A \to A'$ is $$H_1(L_{A'/A}) \to \Omega_{A/\mathbf{F}_p} \otimes_A A' \to \Omega_{A'/\mathbf{F}_p} \to \Omega_{A'/A} \to 0$$ Using the presentation $A[x_1, \ldots, x_n] \to A'$ with kernel $(x_j^p - a_j)$ we see, unwinding the maps in Algebra, Lemma The transitivity sequence for the naive cotangent complex, that the $j$th basis vector of $H_1(L_{A'/A})$ maps to $\text{d}a_j \otimes 1$ in $\Omega_{A/\mathbf{F}_p} \otimes A'$. As $\Omega_{A'/A}$ is free (hence flat) we get on tensoring with $K'$ an exact sequence $$K'^{\oplus n} \to \Omega_{A/\mathbf{F}_p} \otimes_A K' \xrightarrow{\beta} \Omega_{A'/\mathbf{F}_p} \otimes_{A'} K' \to K'^{\oplus n} \to 0$$ We conclude that the elements $\text{d}a_j \otimes 1$ generate $\operatorname{Ker}(\beta)$ and we have to show that are linearly independent, i.e., we have to show $\dim(\operatorname{Ker}(\beta)) = n$. Consider the following big diagram $$\begin{gathered}\begin{matrix}0 & \mathfrak m'/(\mathfrak m')^2 & \Omega_{A'/\mathbf{F}_p} \otimes K' & \Omega_{K'/\mathbf{F}_p} & 0 \\ 0 & \mathfrak m/\mathfrak m^2 \otimes K' & \Omega_{A/\mathbf{F}_p} \otimes K' & \Omega_{K/\mathbf{F}_p} \otimes K' & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow \mathfrak m'/(\mathfrak m')^2 \\ \mathfrak m'/(\mathfrak m')^2 & \longrightarrow \Omega_{A'/\mathbf{F}_p} \otimes K' \\ \Omega_{A'/\mathbf{F}_p} \otimes K' & \longrightarrow \Omega_{K'/\mathbf{F}_p} \\ \Omega_{K'/\mathbf{F}_p} & \longrightarrow 0 \\ 0 & \longrightarrow \mathfrak m/\mathfrak m^2 \otimes K' \\ \mathfrak m/\mathfrak m^2 \otimes K' & \longrightarrow \Omega_{A/\mathbf{F}_p} \otimes K' \\ \mathfrak m/\mathfrak m^2 \otimes K' & \xrightarrow{\alpha} \mathfrak m'/(\mathfrak m')^2 \\ \Omega_{A/\mathbf{F}_p} \otimes K' & \longrightarrow \Omega_{K/\mathbf{F}_p} \otimes K' \\ \Omega_{A/\mathbf{F}_p} \otimes K' & \xrightarrow{\beta} \Omega_{A'/\mathbf{F}_p} \otimes K' \\ \Omega_{K/\mathbf{F}_p} \otimes K' & \longrightarrow 0 \\ \Omega_{K/\mathbf{F}_p} \otimes K' & \xrightarrow{\gamma} \Omega_{K'/\mathbf{F}_p}\end{aligned}\end{gathered}$$ By Lemma Cartier's equality for differentials and the Jacobi-Zariski sequence for $\mathbf{F}_p \to K \to K'$ we see that the kernel and cokernel of $\gamma$ have the same finite dimension. By assumption $A'$ is regular (and of the same dimension as $A$, see above) hence the kernel and cokernel of $\alpha$ have the same dimension. It follows that the kernel and cokernel of $\beta$ have the same dimension which is what we wanted to show.

The implication (1) $\Rightarrow$ (2) is trivial. This finishes the proof of the proposition. $\square$

Lemma. Geometric regularity over a field

Let $k$ be a field of characteristic $p > 0$. Let $(A, \mathfrak m, K)$ be a Noetherian local $k$-algebra. Assume $A$ is geometrically regular over $k$. Let $K/F/k$ be a finitely generated subextension. Let $\varphi : k[y_1, \ldots, y_m] \to A$ be a $k$-algebra map such that $y_i$ maps to an element of $F$ in $K$ and such that $\text{d}y_1, \ldots, \text{d}y_m$ map to a basis of $\Omega_{F/k}$. Set $\mathfrak p = \varphi^{-1}(\mathfrak m)$. Then $$k[y_1, \ldots, y_m]_\mathfrak p \to A$$ is flat and $A/\mathfrak pA$ is regular.

Proof. Set $A_0 = k[y_1, \ldots, y_m]_\mathfrak p$ with maximal ideal $\mathfrak m_0$ and residue field $K_0$. Note that $\Omega_{A_0/k}$ is free of rank $m$ and $\Omega_{A_0/k} \otimes K_0 \to \Omega_{K_0/k}$ is an isomorphism. It is clear that $A_0$ is geometrically regular over $k$. Hence $H_1(L_{K_0/k}) \to \mathfrak m_0/\mathfrak m_0^2$ is an isomorphism, see Proposition Characterizations of geometric regularity. Now consider $$\begin{gathered}\begin{matrix}H_1(L_{K_0/k}) \otimes K & \mathfrak m_0/\mathfrak m_0^2 \otimes K \\ H_1(L_{K/k}) & \mathfrak m/\mathfrak m^2\end{matrix} \\[6pt] \begin{aligned}H_1(L_{K_0/k}) \otimes K & \longrightarrow H_1(L_{K/k}) \\ H_1(L_{K_0/k}) \otimes K & \longrightarrow \mathfrak m_0/\mathfrak m_0^2 \otimes K \\ \mathfrak m_0/\mathfrak m_0^2 \otimes K & \longrightarrow \mathfrak m/\mathfrak m^2 \\ H_1(L_{K/k}) & \longrightarrow \mathfrak m/\mathfrak m^2\end{aligned}\end{gathered}$$ Since the left vertical arrow is injective by Lemma Transitivity of first cotangent homology and the lower horizontal by Proposition Characterizations of geometric regularity we conclude that the right vertical one is too. Hence a regular system of parameters in $A_0$ maps to part of a regular system of parameters in $A$. We win by Algebra, Lemmas Flatness over a regular local ring and Regular rings are Cohen–Macaulay. $\square$

Lemma. Base change of regular ring maps (Regular maps and base change)

Let $R \to \Lambda$ be a regular ring map. For any finite type ring map $R \to R'$ the base change $R' \to \Lambda \otimes_R R'$ is regular too.

Proof. Flatness is preserved under any base change, see Algebra, Lemma Base change of flat modules. Consider a prime $\mathfrak p' \subset R'$ lying over $\mathfrak p \subset R$. The residue field extension $\kappa(\mathfrak p')/\kappa(\mathfrak p)$ is finitely generated as $R'$ is of finite type over $R$. Hence the fibre ring $$(\Lambda \otimes_R R') \otimes_{R'} \kappa(\mathfrak p') = \Lambda \otimes_R \kappa(\mathfrak p) \otimes_{\kappa(\mathfrak p)} \kappa(\mathfrak p')$$ is Noetherian by Algebra, Lemma Noetherianity under extension of the ground field and the assumption on the fibre rings of $R \to \Lambda$. Geometric regularity of the fibres is preserved by Algebra, Lemma Criteria for geometric regularity. $\square$

Lemma. Composition of regular ring maps (Composition of regular maps)

Let $A \to B$ and $B \to C$ be regular ring maps. If the fibre rings of $A \to C$ are Noetherian, then $A \to C$ is regular.

Proof. Let $\mathfrak p \subset A$ be a prime. Let $\kappa(\mathfrak p) \subset k$ be a finite purely inseparable extension. We have to show that $C \otimes_A k$ is regular. By Lemma Base change of regular ring maps we may assume that $A = k$ and we reduce to proving that $C$ is regular. The assumption is that $B$ is regular and that $B \to C$ is flat with regular fibres. Then $C$ is regular by Algebra, Lemma Regularity over a regular base with regular fibre. Here are the details of the reduction. First localize at the source prime, then quotient by it and make a finite purely inseparable extension $k$ of its residue field. Base change preserves flatness and the regular-fibre condition. The intermediate ring $B\otimes_A k$ is Noetherian and regular, by the regular-map fibre hypothesis and finite field extension. The target $C\otimes_A k$ is Noetherian by the assumed Noetherian composite fibres, and $B\otimes_A k\to C\otimes_A k$ has regular fibres. The flat regular-source regular-fibre criterion proves that this target is regular. These are all geometric fibres of the composite. The composite is flat because both maps are flat. $\square$

Lemma. Permanence of regular ring maps

Let $A \to B \to C$ be ring maps. If $A \to C$ is regular and $B \to C$ is flat and surjective on spectra, then $A \to B$ is regular.

Proof. By Algebra, Lemma Permanence of flat ring maps we see that $A \to B$ is flat. Let $\mathfrak p \subset A$ be a prime. The ring map $B \otimes_A \kappa(\mathfrak p) \to C \otimes_A \kappa(\mathfrak p)$ is flat and surjective on spectra. Hence $B \otimes_A \kappa(\mathfrak p)$ is geometrically regular by Algebra, Lemma Descent of geometric regularity. $\square$

B.10.2. Commutative Algebra

Lemma. A left inverse for a matrix

Let $R$ be a ring. Let $n \geq m$. Let $A$ be an $n \times m$ matrix with coefficients in $R$. Let $J \subset R$ be the ideal generated by the $m \times m$ minors of $A$.

  1. For any $f \in J$ there exists a $m \times n$ matrix $B$ such that $BA = f 1_{m \times m}$.

  2. If $f \in R$ and $BA = f 1_{m \times m}$ for some $m \times n$ matrix $B$, then $f^m \in J$.

Proof. For $I \subset \{1, \ldots, n\}$ with $|I| = m$, we denote by $E_I$ the $m \times n$ matrix of the projection $$R^{\oplus n} = \bigoplus\nolimits_{i \in \{1, \ldots, n\}} R \longrightarrow \bigoplus\nolimits_{i \in I} R$$ and set $A_I = E_I A$, i.e., $A_I$ is the $m \times m$ matrix whose rows are the rows of $A$ with indices in $I$. Let $B_I$ be the adjugate (transpose of cofactor) matrix to $A_I$, i.e., such that $A_I B_I = B_I A_I = \det(A_I) 1_{m \times m}$. The $m \times m$ minors of $A$ are the determinants $\det A_I$ for all the $I \subset \{1, \ldots, n\}$ with $|I| = m$. If $f \in J$ then we can write $f = \sum c_I \det(A_I)$ for some $c_I \in R$. Set $B = \sum c_I B_I E_I$ to see that (1) holds.

If $f 1_{m \times m} = BA$ then by the Cauchy-Binet formula (Commutative algebra) we have $f^m = \sum b_I \det(A_I)$ where $b_I$ is the determinant of the $m \times m$ matrix whose columns are the columns of $B$ with indices in $I$. $\square$

Lemma. Flatness over a regular local ring

Let $R \to S$ be a homomorphism of Noetherian local rings. Assume that $R$ is a regular local ring and that a regular system of parameters maps to a regular sequence in $S$. Then $R \to S$ is flat.

Proof. Suppose that $x_1, \ldots, x_d$ are a system of parameters of $R$ which map to a regular sequence in $S$. Note that $S/(x_1, \ldots, x_d)S$ is flat over $R/(x_1, \ldots, x_d)$ as the latter is a field. Then $x_d$ is a nonzerodivisor in $S/(x_1, \ldots, x_{d - 1})S$ hence $S/(x_1, \ldots, x_{d - 1})S$ is flat over $R/(x_1, \ldots, x_{d - 1})$ by the local criterion of flatness (see Lemma A variant of the local criterion for flatness and remarks following). Then $x_{d - 1}$ is a nonzerodivisor in $S/(x_1, \ldots, x_{d - 2})S$ hence $S/(x_1, \ldots, x_{d - 2})S$ is flat over $R/(x_1, \ldots, x_{d - 2})$ by the local criterion of flatness (see Lemma A variant of the local criterion for flatness and remarks following). Continue till one reaches the conclusion that $S$ is flat over $R$. $\square$

Lemma. Regular sequences in a polynomial ring

Let $R$ be a ring. Let $f_1, \ldots, f_r \in R$ which do not generate the unit ideal. The following are equivalent:

  1. any permutation of $f_1, \ldots, f_r$ is a regular sequence,

  2. any subsequence of $f_1, \ldots, f_r$ (in the given order) is a regular sequence, and

  3. $f_1x_1, \ldots, f_rx_r$ is a regular sequence in the polynomial ring $R[x_1, \ldots, x_r]$.

Proof. It is clear that (1) implies (2). We prove (2) implies (1) by induction on $r$. The case $r = 1$ is trivial. The case $r = 2$ says that if $a, b \in R$ are a regular sequence and $b$ is a nonzerodivisor, then $b, a$ is a regular sequence. This is clear because the kernel of $a : R/(b) \to R/(b)$ is isomorphic to the kernel of $b : R/(a) \to R/(a)$ if both $a$ and $b$ are nonzerodivisors. The case $r > 2$. Assume (2) holds and say we want to prove $f_{\sigma(1)}, \ldots, f_{\sigma(r)}$ is a regular sequence for some permutation $\sigma$. We already know that $f_{\sigma(1)}, \ldots, f_{\sigma(r - 1)}$ is a regular sequence by induction. Hence it suffices to show that $f_s$ where $s = \sigma(r)$ is a nonzerodivisor modulo $f_1, \ldots, \hat f_s, \ldots, f_r$. If $s = r$ we are done. If $s < r$, then note that $f_s$ and $f_r$ are both nonzerodivisors in the ring $R/(f_1, \ldots, \hat f_s, \ldots, f_{r - 1})$ (by induction hypothesis again). Since we know $f_s, f_r$ is a regular sequence in that ring we conclude by the case of sequence of length $2$ that $f_r, f_s$ is too.

Note that $R[x_1, \ldots, x_r]/(f_1x_1, \ldots, f_ix_i)$ as an $R$-module is a direct sum of the modules $$R/I_E \cdot x_1^{e_1} \ldots x_r^{e_r}$$ indexed by multi-indices $E = (e_1, \ldots, e_r)$ where $I_E$ is the ideal generated by $f_j$ for $1 \leq j \leq i$ with $e_j > 0$. Hence $f_{i + 1}x_{i + 1}$ is a nonzerodivisor on this if and only if $f_{i + 1}$ is a nonzerodivisor on $R/I_E$ for all $E$. Taking $E$ with all positive entries, we see that $f_{i + 1}$ is a nonzerodivisor on $R/(f_1, \ldots, f_i)$. Thus (3) implies (2). Conversely, if (2) holds, then any subsequence of $f_1, \ldots, f_i, f_{i + 1}$ is a regular sequence in particular $f_{i + 1}$ is a nonzerodivisor on all $R/I_E$. In this way we see that (2) implies (3). $\square$

Lemma. Finite generation in an Artinian local target

Let $R \to S$ be a ring map. Assume $S$ is an Artinian local ring with maximal ideal $\mathfrak m$. Then

  1. $R \to S$ is finite if and only if $R \to S/\mathfrak m$ is finite,

  2. $R \to S$ is of finite type if and only if $R \to S/\mathfrak m$ is of finite type.

  3. $R \to S$ is essentially of finite type if and only if the composition $R \to S/\mathfrak m$ is essentially of finite type.

Proof. If $R \to S$ is finite, then $R \to S/\mathfrak m$ is finite by Lemma Transitivity of finite ring extensions. Conversely, assume $R \to S/\mathfrak m$ is finite. As $S$ has finite length over itself (Lemma Finite length over an Artinian ring) we can choose a filtration $$0 \subset I_1 \subset \ldots \subset I_n = S$$ by ideals such that $I_i/I_{i - 1} \cong S/\mathfrak m$ as $S$-modules. Thus $S$ has a filtration by $R$-submodules $I_i$ such that each successive quotient is a finite $R$-module. Thus $S$ is a finite $R$-module by Lemma Commutative algebra.

If $R \to S$ is of finite type, then $R \to S/\mathfrak m$ is of finite type by Lemma Composition of finite-type ring maps. Conversely, assume that $R \to S/\mathfrak m$ is of finite type. Choose $f_1, \ldots, f_n \in S$ which map to generators of $S/\mathfrak m$. Then $A = R[x_1, \ldots, x_n] \to S$, $x_i \mapsto f_i$ is a ring map such that $A \to S/\mathfrak m$ is surjective (in particular finite). Hence $A \to S$ is finite by part (1) and we see that $R \to S$ is of finite type by Lemma Composition of finite-type ring maps.

If $R \to S$ is essentially of finite type, then $R \to S/\mathfrak m$ is essentially of finite type by Lemma Composition of essentially finite-type ring maps. Conversely, assume that $R \to S/\mathfrak m$ is essentially of finite type. Suppose $S/\mathfrak m$ is the localization of $R[x_1, \ldots, x_n]/I$. Choose $f_1, \ldots, f_n \in S$ whose congruence classes modulo $\mathfrak m$ correspond to the congruence classes of $x_1, \ldots, x_n$ modulo $I$. Consider the map $R[x_1, \ldots, x_n] \to S$, $x_i \mapsto f_i$ with kernel $J$. Set $A = R[x_1, \ldots, x_n]/J \subset S$ and $\mathfrak p = A \cap \mathfrak m$. Note that $A/\mathfrak p \subset S/\mathfrak m$ is equal to the image of $R[x_1, \ldots, x_n]/I$ in $S/\mathfrak m$. Hence $\kappa(\mathfrak p) = S/\mathfrak m$. Thus $A_\mathfrak p \to S$ is finite by part (1). We conclude that $S$ is essentially of finite type by Lemma Composition of essentially finite-type ring maps. $\square$

Lemma. Syntomic algebras in a filtered colimit

Let $K/k$ be a field extension. Then $K$ is a filtered colimit of global complete intersection algebras over $k$. If $K/k$ is separable, then $K$ is a filtered colimit of smooth algebras over $k$.

Proof. Suppose that $E \subset K$ is a finite subset. It suffices to show that there exists a $k$ subalgebra $A \subset K$ which contains $E$ and which is a global complete intersection (resp. smooth) over $k$. The separable/smooth case follows from Lemma Smooth localizations of separable extensions. In general let $L \subset K$ be the subfield generated by $E$. Pick a transcendence basis $x_1, \ldots, x_d \in L$ over $k$. The extension $L/k(x_1, \ldots, x_d)$ is finite. Say $L = k(x_1, \ldots, x_d)[y_1, \ldots, y_r]$. Pick inductively polynomials $P_i \in k(x_1, \ldots, x_d)[Y_1, \ldots, Y_r]$ such that $P_i = P_i(Y_1, \ldots, Y_i)$ is monic in $Y_i$ over $k(x_1, \ldots, x_d)[Y_1, \ldots, Y_{i - 1}]$ and maps to the minimal polynomial of $y_i$ in $k(x_1, \ldots, x_d)[y_1, \ldots, y_{i - 1}][Y_i]$. Then it is clear that $P_1, \ldots, P_r$ are a regular sequence in $k(x_1, \ldots, x_d)[Y_1, \ldots, Y_r]$ and that $L = k(x_1, \ldots, x_d)[Y_1, \ldots, Y_r]/(P_1, \ldots, P_r)$. If $h \in k[x_1, \ldots, x_d]$ is a polynomial such that $P_i \in k[x_1, \ldots, x_d, 1/h, Y_1, \ldots, Y_r]$, then we see that $P_1, \ldots, P_r$ is a regular sequence in $k[x_1, \ldots, x_d, 1/h, Y_1, \ldots, Y_r]$ and $A = k[x_1, \ldots, x_d, 1/h, Y_1, \ldots, Y_r]/(P_1, \ldots, P_r)$ is a global complete intersection. After adjusting our choice of $h$ we may assume $E \subset A$ and we win. $\square$

B.11. The additional G-ring permanence argument

The definition, local criterion, complete-local and henselization results, and full essentially-finite-type permanence proof are retained here. This explicitly supplies the theorem used on the local polynomial algebra in Lesson 7. Its exact unintegrated lower supports remain visible in §12.

G-rings

Let $A$ be a Noetherian local ring. In Section Completion and formal smoothness we have seen that some but not all properties of $A$ are reflected in the completion $A^\wedge$ of $A$. To study this further we introduce some terminology. For a prime $\mathfrak q$ of $A$ the fibre ring $$A^\wedge \otimes_A \kappa(\mathfrak q) = (A^\wedge)_\mathfrak q/\mathfrak q(A^\wedge)_\mathfrak q = (A/\mathfrak q)^\wedge \otimes_{A/\mathfrak q} \kappa(\mathfrak q)$$ is called a formal fibre of $A$. We think of the formal fibre as an algebra over $\kappa(\mathfrak q)$. Thus $A \to A^\wedge$ is a regular ring homomorphism if and only if all the formal fibres are geometrically regular algebras.

Definition. G-rings

A ring $R$ is called a G-ring if $R$ is Noetherian and for every prime $\mathfrak p$ of $R$ the ring map $R_\mathfrak p \to (R_\mathfrak p)^\wedge$ is regular.

By the discussion above we see that $R$ is a G-ring if and only if every local ring $R_\mathfrak p$ has geometrically regular formal fibres. Note that if $\mathbf{Q} \subset R$, then it suffices to check the formal fibres are regular. Another way to express the G-ring condition is described in the following lemma.

Lemma. Recognizing a G-ring from a completion

Let $R$ be a Noetherian ring. Then $R$ is a G-ring if and only if for every pair of primes $\mathfrak q \subset \mathfrak p \subset R$ the algebra $$(R/\mathfrak q)_\mathfrak p^\wedge \otimes_{R/\mathfrak q} \kappa(\mathfrak q)$$ is geometrically regular over $\kappa(\mathfrak q)$.

Proof. This follows from the fact that $$R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q) = (R/\mathfrak q)_\mathfrak p^\wedge \otimes_{R/\mathfrak q} \kappa(\mathfrak q)$$ as algebras over $\kappa(\mathfrak q)$. $\square$

Lemma. G-rings under quasi-finite extensions

Let $R \to R'$ be a finite type map of Noetherian rings and let $$\begin{gathered}\begin{matrix}\mathfrak q' & \mathfrak p' & R' \\ \mathfrak q & \mathfrak p & R\end{matrix} \\[6pt] \begin{aligned}\mathfrak q' & \longrightarrow \mathfrak p' \\ \mathfrak p' & \longrightarrow R' \\ \mathfrak q & \longrightarrow \mathfrak p \\ \mathfrak q & \mathrel{-} \mathfrak q' \\ \mathfrak p & \longrightarrow R \\ \mathfrak p & \mathrel{-} \mathfrak p' \\ R & \longrightarrow R'\end{aligned}\end{gathered}$$ be primes. Assume $R \to R'$ is quasi-finite at $\mathfrak p'$.

  1. If the formal fibre $R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q)$ is geometrically regular over $\kappa(\mathfrak q)$, then the formal fibre $(R'_{\mathfrak p'})^\wedge \otimes_{R'} \kappa(\mathfrak q')$ is geometrically regular over $\kappa(\mathfrak q')$.

  2. If the formal fibres of $R_\mathfrak p$ are geometrically regular, then the formal fibres of $R'_{\mathfrak p'}$ are geometrically regular.

  3. If $R \to R'$ is quasi-finite and $R$ is a G-ring, then $R'$ is a G-ring.

Proof. It is clear that (1) \(\Rightarrow\) (2) \(\Rightarrow\) (3). Assume \(R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q)\) is geometrically regular over \(\kappa(\mathfrak q)\). By Algebra, Lemma Completion at a quasi-finite prime we see that

\[ R_\mathfrak p^\wedge \otimes_R R' = (R'_{\mathfrak p'})^\wedge \times B \]

for some \(R_\mathfrak p^\wedge\)-algebra \(B\). Hence \(R'_{\mathfrak p'} \to (R'_{\mathfrak p'})^\wedge\) is a factor of a base change of the map \(R_\mathfrak p \to R_\mathfrak p^\wedge\). It follows that \((R'_{\mathfrak p'})^\wedge \otimes_{R'} \kappa(\mathfrak q')\) is a factor of

\[ R_\mathfrak p^\wedge \otimes_R R' \otimes_{R'} \kappa(\mathfrak q') = R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q) \otimes_{\kappa(\mathfrak q)} \kappa(\mathfrak q'). \]

Thus the result follows as extension of base field preserves geometric regularity, see Algebra, Lemma Criteria for geometric regularity. \(\square\)

Lemma. Testing geometric regularity of formal fibres

Let $R$ be a Noetherian ring. Then $R$ is a G-ring if and only if for every finite free ring map $R \to S$ the formal fibres of $S$ are regular rings.

Proof. Assume that for any finite free ring map \(R \to S\) the ring \(S\) has regular formal fibres. Let \(\mathfrak q \subset \mathfrak p \subset R\) be primes and let \(\kappa(\mathfrak q) \subset L\) be a finite purely inseparable extension. To show that \(R\) is a G-ring it suffices to show that

\[ R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q) \otimes_{\kappa(\mathfrak q)} L \]

is a regular ring. Choose a finite free extension \(R \to R'\) such that \(\mathfrak q' = \mathfrak qR'\) is a prime and such that \(\kappa(\mathfrak q')\) is isomorphic to \(L\) over \(\kappa(\mathfrak q)\), see Algebra, Lemma Finite free algebras with a prescribed residue extension. By Algebra, Lemma Completion of a finite ring extension we have

\[ R_\mathfrak p^\wedge \otimes_R R' = \prod (R'_{\mathfrak p_i'})^\wedge \]

where \(\mathfrak p_i'\) are the primes of \(R'\) lying over \(\mathfrak p\). Thus we have

\[ R_\mathfrak p^\wedge \otimes_R \kappa(\mathfrak q) \otimes_{\kappa(\mathfrak q)} L = R_\mathfrak p^\wedge \otimes_R R' \otimes_{R'} \kappa(\mathfrak q') = \prod (R'_{\mathfrak p_i'})^\wedge \otimes_{R'_{\mathfrak p'_i}} \kappa(\mathfrak q') \]

Our assumption is that the rings on the right are regular, hence the ring on the left is regular too. Thus \(R\) is a G-ring. The converse follows from Lemma G-rings under quasi-finite extensions. \(\square\)

Lemma. Geometric regularity of generic formal fibres in positive characteristic

Let $k$ be a field of characteristic $p$. Let $A = k[[x_1, \ldots, x_n]][y_1, \ldots, y_m]$ and denote $K$ the fraction field of $A$. Let $\mathfrak p \subset A$ be a prime. Then $A_\mathfrak p^\wedge \otimes_A K$ is geometrically regular over $K$.

Proof. Let $L/K$ be a finite purely inseparable field extension. We will show by induction on $[L : K]$ that $A_\mathfrak p^\wedge \otimes L$ is regular. The base case is $L = K$: as $A$ is regular, $A_\mathfrak p^\wedge$ is regular (Lemma Regularity and completion), hence the localization $A_\mathfrak p^\wedge \otimes K$ is regular. Let $K \subset M \subset L$ be a subfield such that $L$ is a degree $p$ extension of $M$ obtained by adjoining a $p$th root of an element $f \in M$. Let $B$ be a finite $A$-subalgebra of $M$ with fraction field $M$. Clearing denominators, we may and do assume $f \in B$. Set $C = B[z]/(z^p -f)$ and note that $B \subset C$ is finite and that the fraction field of $C$ is $L$. Since $A \subset B \subset C$ are finite and $L/M/K$ are purely inseparable we see that for every element of $B$ or $C$ some power of it lies in $A$. Hence there is a unique prime $\mathfrak r \subset B$, resp. $\mathfrak q \subset C$ lying over $\mathfrak p$. Note that $$A_\mathfrak p^\wedge \otimes_A M = B_\mathfrak r^\wedge \otimes_B M$$ see Algebra, Lemma Completion of a finite ring extension. By induction we know that this ring is regular. In the same manner we have $$A_\mathfrak p^\wedge \otimes_A L = C_\mathfrak q^\wedge \otimes_C L = B_\mathfrak r^\wedge \otimes_B M[z]/(z^p - f)$$ the last equality because the completion of $C = B[z]/(z^p - f)$ equals $B_\mathfrak r^\wedge[z]/(z^p -f)$. By Lemma Derivations of formal power series in positive characteristic we know there exists a derivation $D : B \to B$ such that $D(f) \not = 0$. In other words, $g = D(f)$ is a unit in $M$! By Lemma Extending a derivation $D$ extends to a derivation of $B_\mathfrak r$, $B_\mathfrak r^\wedge$ and $B_\mathfrak r^\wedge \otimes_B M$ (successively extending through a localization, a completion, and a localization). Since it is an extension we end up with a derivation of $B_\mathfrak r^\wedge \otimes_B M$ which maps $f$ to $g$ and $g$ is a unit of the ring $B_\mathfrak r^\wedge \otimes_B M$. Hence $A_\mathfrak p^\wedge \otimes_A L$ is regular by Lemma Regularity after an extension of degree p and we win. $\square$

Proposition. Complete Noetherian rings are G-rings

A Noetherian complete local ring is a G-ring.

Proof. Let $A$ be a Noetherian complete local ring. By Lemma Recognizing a G-ring from a completion it suffices to check that $B = A/\mathfrak q$ has geometrically regular formal fibres over the minimal prime $(0)$ of $B$. Thus we may assume that $A$ is a domain and it suffices to check the condition for the formal fibres over the minimal prime $(0)$ of $A$. Let $K$ be the fraction field of $A$.

We can choose a subring $A_0 \subset A$ which is a regular complete local ring such that $A$ is finite over $A_0$, see Algebra, Lemma A complete local domain finite over a regular ring. Moreover, we may assume that $A_0$ is a power series ring over a field or a Cohen ring. By Lemma G-rings under quasi-finite extensions we see that it suffices to prove the result for $A_0$.

Assume that $A$ is a power series ring over a field or a Cohen ring. Since $A$ is regular the localizations $A_\mathfrak p$ are regular (see Algebra, Definition Regular Noetherian rings and the discussion preceding it). Hence the completions $A_\mathfrak p^\wedge$ are regular, see Lemma Regularity and completion. Hence the fibre $A_{\mathfrak p}^\wedge \otimes_A K$ is, as a localization of $A_\mathfrak p^\wedge$, also regular. Thus we are done if the characteristic of $K$ is $0$. The positive characteristic case is the case $A = k[[x_1, \ldots, x_d]]$ which is a special case of Lemma Geometric regularity of generic formal fibres in positive characteristic. $\square$

Lemma. Testing the G-ring property at maximal ideals

Let $R$ be a Noetherian ring. Then $R$ is a G-ring if and only if $R_\mathfrak m$ has geometrically regular formal fibres for every maximal ideal $\mathfrak m$ of $R$.

Proof. Assume $R_\mathfrak m \to R_\mathfrak m^\wedge$ is regular for every maximal ideal $\mathfrak m$ of $R$. Let $\mathfrak p$ be a prime of $R$ and choose a maximal ideal $\mathfrak p \subset \mathfrak m$. Since $R_\mathfrak m \to R_\mathfrak m^\wedge$ is faithfully flat we can choose a prime $\mathfrak p'$ in $R_\mathfrak m^\wedge$ lying over $\mathfrak pR_\mathfrak m$. Consider the commutative diagram $$\begin{gathered}\begin{matrix}R_\mathfrak m^\wedge & (R_\mathfrak m^\wedge)_{\mathfrak p'} & (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge \\ R_\mathfrak m & R_\mathfrak p & R_\mathfrak p^\wedge\end{matrix} \\[6pt] \begin{aligned}R_\mathfrak m^\wedge & \longrightarrow (R_\mathfrak m^\wedge)_{\mathfrak p'} \\ (R_\mathfrak m^\wedge)_{\mathfrak p'} & \longrightarrow (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge \\ R_\mathfrak m & \longrightarrow R_\mathfrak m^\wedge \\ R_\mathfrak m & \longrightarrow R_\mathfrak p \\ R_\mathfrak p & \longrightarrow (R_\mathfrak m^\wedge)_{\mathfrak p'} \\ R_\mathfrak p & \longrightarrow R_\mathfrak p^\wedge \\ R_\mathfrak p^\wedge & \longrightarrow (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge\end{aligned}\end{gathered}$$ By assumption the ring map $R_\mathfrak m \to R_\mathfrak m^\wedge$ is regular. By Proposition Complete Noetherian rings are G-rings $(R_\mathfrak m^\wedge)_{\mathfrak p'} \to (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge$ is regular. The localization $R_\mathfrak m^\wedge \to (R_\mathfrak m^\wedge)_{\mathfrak p'}$ is regular. Hence $R_\mathfrak m \to (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge$ is regular by Lemma Composition of regular ring maps. Since it factors through the localization $R_\mathfrak p$, also the ring map $R_\mathfrak p \to (R_\mathfrak m^\wedge)_{\mathfrak p'}^\wedge$ is regular. Thus we may apply Lemma Permanence of regular ring maps to see that $R_\mathfrak p \to R_\mathfrak p^\wedge$ is regular. $\square$

Lemma. The G-ring property under henselization

Let $R$ be a Noetherian local ring which is a G-ring. Then the henselization $R^h$ and the strict henselization $R^{sh}$ are G-rings.

Proof. We will use the criterion of Lemma Testing the G-ring property at maximal ideals. Let $\mathfrak q \subset R^h$ be a prime and set $\mathfrak p = R \cap \mathfrak q$. Set $\mathfrak q_1 = \mathfrak q$ and let $\mathfrak q_2, \ldots, \mathfrak q_t$ be the other primes of $R^h$ lying over $\mathfrak p$, so that $R^h \otimes_R \kappa(\mathfrak p) = \prod\nolimits_{i = 1, \ldots, t} \kappa(\mathfrak q_i)$, see Lemma Fibres of henselization maps. Using that $(R^h)^\wedge = R^\wedge$ (Lemma Noetherianity of a henselization) we see $$\prod\nolimits_{i = 1, \ldots, t} (R^h)^\wedge \otimes_{R^h} \kappa(\mathfrak q_i) = (R^h)^\wedge \otimes_{R^h} (R^h \otimes_R \kappa(\mathfrak p)) = R^\wedge \otimes_R \kappa(\mathfrak p)$$ Hence $(R^h)^\wedge \otimes_{R^h} \kappa(\mathfrak q_i)$ is geometrically regular over $\kappa(\mathfrak p)$ by assumption. Since $\kappa(\mathfrak q_i)$ is separable algebraic over $\kappa(\mathfrak p)$ it follows from Algebra, Lemma Geometric regularity under separable algebraic extensions that $(R^h)^\wedge \otimes_{R^h} \kappa(\mathfrak q_i)$ is geometrically regular over $\kappa(\mathfrak q_i)$.

Let $\mathfrak r \subset R^{sh}$ be a prime and set $\mathfrak p = R \cap \mathfrak r$. Set $\mathfrak r_1 = \mathfrak r$ and let $\mathfrak r_2, \ldots, \mathfrak r_s$ be the other primes of $R^{sh}$ lying over $\mathfrak p$, so that $R^{sh} \otimes_R \kappa(\mathfrak p) = \prod\nolimits_{i = 1, \ldots, s} \kappa(\mathfrak r_i)$, see Lemma Fibres of henselization maps. Then we see that $$\prod\nolimits_{i = 1, \ldots, s} (R^{sh})^\wedge \otimes_{R^{sh}} \kappa(\mathfrak r_i) = (R^{sh})^\wedge \otimes_{R^{sh}} (R^{sh} \otimes_R \kappa(\mathfrak p)) = (R^{sh})^\wedge \otimes_R \kappa(\mathfrak p)$$ Note that $R^\wedge \to (R^{sh})^\wedge$ is formally smooth in the $\mathfrak m_{(R^{sh})^\wedge}$-adic topology, see Lemma Noetherianity of a henselization. Hence $R^\wedge \to (R^{sh})^\wedge$ is regular by Proposition Formal smoothness and regularity. We conclude that $(R^{sh})^\wedge \otimes_{R^{sh}} \kappa(\mathfrak r_i)$ is regular over $\kappa(\mathfrak p)$ by Lemma Composition of regular ring maps as $R^\wedge \otimes_R \kappa(\mathfrak p)$ is regular over $\kappa(\mathfrak p)$ by assumption. Since $\kappa(\mathfrak r_i)$ is separable algebraic over $\kappa(\mathfrak p)$ it follows from Algebra, Lemma Geometric regularity under separable algebraic extensions that $(R^{sh})^\wedge \otimes_{R^{sh}} \kappa(\mathfrak r_i)$ is geometrically regular over $\kappa(\mathfrak r_i)$. $\square$

Lemma. Geometric regularity of polynomial formal fibres in positive characteristic

Let $p$ be a prime number. Let $A$ be a Noetherian complete local domain with fraction field $K$ of characteristic $p$. Let $\mathfrak q \subset A[x]$ be a maximal ideal lying over the maximal ideal of $A$ and let $(0) \not = \mathfrak r \subset \mathfrak q$ be a prime lying over $(0) \subset A$. Then $A[x]_\mathfrak q^\wedge \otimes_{A[x]} \kappa(\mathfrak r)$ is geometrically regular over $\kappa(\mathfrak r)$.

Proof. Note that $K \subset \kappa(\mathfrak r)$ is finite. Hence, given a finite purely inseparable extension $L/\kappa(\mathfrak r)$ there exists a finite extension of Noetherian complete local domains $A \subset B$ such that $\kappa(\mathfrak r) \otimes_A B$ surjects onto $L$. Namely, you take $B \subset L$ a finite $A$-subalgebra whose field of fractions is $L$. Denote $\mathfrak r' \subset B[x]$ the kernel of the map $B[x] = A[x] \otimes_A B \to \kappa(\mathfrak r) \otimes_A B \to L$ so that $\kappa(\mathfrak r') = L$. Then $$A[x]_\mathfrak q^\wedge \otimes_{A[x]} L = A[x]_\mathfrak q^\wedge \otimes_{A[x]} B[x] \otimes_{B[x]} \kappa(\mathfrak r') = \prod B[x]_{\mathfrak q_i}^\wedge \otimes_{B[x]} \kappa(\mathfrak r')$$ where $\mathfrak q_1, \ldots, \mathfrak q_t$ are the primes of $B[x]$ lying over $\mathfrak q$, see Algebra, Lemma Completion of a finite ring extension. Thus we see that it suffices to prove the rings $B[x]_{\mathfrak q_i}^\wedge \otimes_{B[x]} \kappa(\mathfrak r')$ are regular. This reduces us to showing that $A[x]_\mathfrak q^\wedge \otimes_{A[x]} \kappa(\mathfrak r)$ is regular in the special case that $K = \kappa(\mathfrak r)$.

Assume \(K = \kappa(\mathfrak r)\). In this case we see that \(\mathfrak r K[x]\) is generated by \(x - f\) for some \(f \in K\) and

\[ A[x]_\mathfrak q^\wedge \otimes_{A[x]} \kappa(\mathfrak r) = (A[x]_\mathfrak q^\wedge \otimes_A K)/(x - f) \]

The derivation \(D = \text{d}/\text{d}x\) of \(A[x]\) extends to \(K[x]\) and maps \(x - f\) to a unit of \(K[x]\). Moreover \(D\) extends to \(A[x]_\mathfrak q^\wedge \otimes_A K\) by Lemma Extending a derivation. As \(A \to A[x]_\mathfrak q^\wedge\) is formally smooth (see Lemmas Formal smoothness and smooth morphisms and Formal smoothness and completion) the ring \(A[x]_\mathfrak q^\wedge \otimes_A K\) is regular by Proposition Formal smoothness and regularity (the arguments of the proof of that proposition simplify significantly in this particular case). We conclude by Lemma Regularity of a quotient. \(\square\)

Proposition. The G-ring property for finite-type algebras

Let $R$ be a G-ring. If $R \to S$ is essentially of finite type then $S$ is a G-ring.

Proof. Since being a G-ring is a property of the local rings it is clear that a localization of a G-ring is a G-ring. Conversely, if every localization at a prime is a G-ring, then the ring is a G-ring. Thus it suffices to show that $S_\mathfrak q$ is a G-ring for every finite type $R$-algebra $S$ and every prime $\mathfrak q$ of $S$. Writing $S$ as a quotient of $R[x_1, \ldots, x_n]$ we see from Lemma G-rings under quasi-finite extensions that it suffices to prove that $R[x_1, \ldots, x_n]$ is a G-ring. By induction on $n$ it suffices to prove that $R[x]$ is a G-ring. Let $\mathfrak q \subset R[x]$ be a maximal ideal. By Lemma Testing the G-ring property at maximal ideals it suffices to show that $$R[x]_\mathfrak q \longrightarrow R[x]_\mathfrak q^\wedge$$ is regular. If $\mathfrak q$ lies over $\mathfrak p \subset R$, then we may replace $R$ by $R_\mathfrak p$. Hence we may assume that $R$ is a Noetherian local G-ring with maximal ideal $\mathfrak m$ and that $\mathfrak q \subset R[x]$ lies over $\mathfrak m$. Note that there is a unique prime $\mathfrak q' \subset R^\wedge[x]$ lying over $\mathfrak q$. Consider the diagram $$\begin{gathered}\begin{matrix}R[x]_\mathfrak q^\wedge & (R^\wedge[x]_{\mathfrak q'})^\wedge \\ R[x]_\mathfrak q & R^\wedge[x]_{\mathfrak q'}\end{matrix} \\[6pt] \begin{aligned}R[x]_\mathfrak q^\wedge & \longrightarrow (R^\wedge[x]_{\mathfrak q'})^\wedge \\ R[x]_\mathfrak q & \longrightarrow R^\wedge[x]_{\mathfrak q'} \\ R[x]_\mathfrak q & \longrightarrow R[x]_\mathfrak q^\wedge \\ R^\wedge[x]_{\mathfrak q'} & \longrightarrow (R^\wedge[x]_{\mathfrak q'})^\wedge\end{aligned}\end{gathered}$$ Since $R$ is a G-ring the lower horizontal arrow is regular (as a localization of a base change of the regular ring map $R \to R^\wedge$). Suppose we can prove the right vertical arrow is regular. Then it follows that the composition $R[x]_\mathfrak q \to (R^\wedge[x]_{\mathfrak q'})^\wedge$ is regular, and hence the left vertical arrow is regular by Lemma Permanence of regular ring maps. Hence we see that we may assume $R$ is a Noetherian complete local ring and $\mathfrak q$ a prime lying over the maximal ideal of $R$.

Let $R$ be a Noetherian complete local ring and let $\mathfrak q \subset R[x]$ be a maximal ideal lying over the maximal ideal of $R$. Let $\mathfrak r \subset \mathfrak q$ be a prime ideal. We want to show that $R[x]_\mathfrak q^\wedge \otimes_{R[x]} \kappa(\mathfrak r)$ is a geometrically regular algebra over $\kappa(\mathfrak r)$. Set $\mathfrak p = R \cap \mathfrak r$. Then we can replace $R$ by $R/\mathfrak p$ and $\mathfrak q$ and $\mathfrak r$ by their images in $R/\mathfrak p[x]$, see Lemma Recognizing a G-ring from a completion. Hence we may assume that $R$ is a domain and that $\mathfrak r \cap R = (0)$.

By Algebra, Lemma A complete local domain finite over a regular ring we can find $R_0 \subset R$ which is regular and such that $R$ is finite over $R_0$. Applying Lemma G-rings under quasi-finite extensions we see that it suffices to prove $R[x]_\mathfrak q^\wedge \otimes_{R[x]} \kappa(\mathfrak r)$ is geometrically regular over $\kappa(\mathfrak r)$ when, in addition to the above, $R$ is a regular complete local ring.

Now $R$ is a regular complete local ring, we have $\mathfrak r \subset \mathfrak q \subset R[x]$, we have $(0) = R \cap \mathfrak r$ and $\mathfrak q$ is a maximal ideal lying over the maximal ideal of $R$. Since $R$ is regular the ring $R[x]$ is regular (Algebra, Lemma Regularity ascends along a regular ring map). Hence the localization $R[x]_\mathfrak q$ is regular. Hence the completions $R[x]_\mathfrak q^\wedge$ are regular, see Lemma Regularity and completion. Hence the fibre $R[x]_{\mathfrak q}^\wedge \otimes_{R[x]} \kappa(\mathfrak r)$ is, as a localization of $R[x]_\mathfrak q^\wedge$, also regular. Thus we are done if the characteristic of the fraction field of $R$ is $0$.

If the characteristic of $R$ is positive, then $R = k[[x_1, \ldots, x_n]]$. In this case we split the argument in two subcases:

  1. The case $\mathfrak r = (0)$. The result is a direct consequence of Lemma Geometric regularity of generic formal fibres in positive characteristic.

  2. The case $\mathfrak r \not = (0)$. This is Lemma Geometric regularity of polynomial formal fibres in positive characteristic.

$\square$

Remark. Failure of the G-ring property under completion

Let $R$ be a G-ring and let $I \subset R$ be an ideal. In general it is not the case that the $I$-adic completion $R^\wedge$ is a G-ring. An example was given by Nishimura in the original source citation Nishimura. A generalization and, in some sense, clarification of this example can be found in the last section of the original source citation Dumitrescu.

Proposition. Examples and permanence of G-rings

The following types of rings are G-rings:

  1. fields,

  2. Noetherian complete local rings,

  3. $\mathbf{Z}$,

  4. Dedekind domains with fraction field of characteristic zero,

  5. finite type ring extensions of any of the above.

Proof. For fields, $\mathbf{Z}$ and Dedekind domains of characteristic zero this follows immediately from the definition and the fact that the completion of a discrete valuation ring is a discrete valuation ring. A Noetherian complete local ring is a G-ring by Proposition Complete Noetherian rings are G-rings. The statement on finite type overrings is Proposition The G-ring property for finite-type algebras. $\square$

Additional proofs of the supporting constructions

These statements and full proofs supply local support for the preceding arguments. They reuse the same Stacks Project edition. A remaining genuine prerequisite is marked explicitly rather than treated as proved.

Versality and algebraicity criteria

Lemma. Approximation of a marked family with its associated graded algebra

Let $S$ be a locally Noetherian scheme. Let $p : \mathcal{X} \to (\mathrm{Sch}/S)_{fppf}$ be a category fibred in groupoids. Let $x$ be an object of $\mathcal{X}$ lying over $\operatorname{Spec}(R)$ where $R$ is a Noetherian complete local ring with residue field $k$ of finite type over $S$. Let $s \in S$ be the image of $\operatorname{Spec}(k) \to S$. Assume that (a) $\mathcal{O}_{S, s}$ is a G-ring and (b) $p$ is limit preserving on objects. Then for every integer $N \geq 1$ there exist

  1. a finite type $S$-algebra $A$,

  2. a maximal ideal $\mathfrak m_A \subset A$,

  3. an object $x_A$ of $\mathcal{X}$ over $\operatorname{Spec}(A)$,

  4. an $S$-isomorphism $R/\mathfrak m_R^N \cong A/\mathfrak m_A^N$,

  5. an isomorphism $x|_{\operatorname{Spec}(R/\mathfrak m_R^N)} \cong x_A|_{\operatorname{Spec}(A/\mathfrak m_A^N)}$ compatible with (4), and

  6. an isomorphism $\text{Gr}_{\mathfrak m_R}(R) \cong \text{Gr}_{\mathfrak m_A}(A)$ of graded $k$-algebras.

Proof. Choose an affine open $\operatorname{Spec}(\Lambda) \subset S$ such that $k$ is a finite $\Lambda$-algebra, see Morphisms, Lemma Points of finite type (uncovered prerequisite). We may and do replace $S$ by $\operatorname{Spec}(\Lambda)$.

We may write $R$ as a directed colimit $R = \mathop{\operatorname{colim}} C_j$ where each $C_j$ is a finite type $\Lambda$-algebra (see Algebra, Lemma Filtered limits and finite presentation). By assumption (b) the object $x$ is isomorphic to the restriction of an object over one of the $C_j$. Hence we may choose a finite type $\Lambda$-algebra $C$, a $\Lambda$-algebra map $C \to R$, and an object $x_C$ of $\mathcal{X}$ over $\operatorname{Spec}(C)$ such that $x = x_C|_{\operatorname{Spec}(R)}$. The choice of $C$ is a bookkeeping device and could be avoided. For later use, let us write $C = \Lambda[y_1, \ldots, y_u]/(f_1, \ldots, f_v)$ and we denote $\overline{a}_i \in R$ the image of $y_i$ under the map $C \to R$. Set $\mathfrak m_C = C \cap \mathfrak m_R$.

Choose a $\Lambda$-algebra surjection $\Lambda[x_1, \ldots, x_s] \to k$ and denote by $\mathfrak m'$ the kernel. By the universal property of polynomial rings we may lift this to a $\Lambda$-algebra map $\Lambda[x_1, \ldots, x_s] \to R$. We add some variables (i.e., we increase $s$ a bit) mapping to generators of $\mathfrak m_R$. Having done this we see that $\Lambda[x_1, \ldots, x_s] \to R/\mathfrak m_R^2$ is surjective. Then we see that

$$P = \Lambda[x_1, \ldots, x_s]_{\mathfrak m'}^\wedge \longrightarrow R$$ is a surjective map of Noetherian complete local rings, see for example Formal Deformation Theory, Lemma Surjectivity on cotangent spaces.

Choose lifts $a_i \in P$ of $\overline{a}_i$ we found above. Choose generators $b_1, \ldots, b_r \in P$ for the kernel of (the displayed identity). Choose $c_{ji} \in P$ such that $$f_j(a_1, \ldots, a_u) = \sum c_{ji} b_i$$ in $P$ which is possible by the choices made so far. Choose generators $$k_1, \ldots, k_t \in \operatorname{Ker}(P^{\oplus r} \xrightarrow{(b_1, \ldots, b_r)} P)$$ and write $k_i = (k_{i1}, \ldots, k_{ir})$ and $K = (k_{ij})$ so that $$P^{\oplus t} \xrightarrow{K} P^{\oplus r} \xrightarrow{(b_1, \ldots, b_r)} P \to R \to 0$$ is an exact sequence of $P$-modules. In particular we have $\sum k_{ij} b_j = 0$. After possibly increasing $N$ we may assume $N - 1$ works in the Artin-Rees lemma for the first two maps of this exact sequence (see More on Algebra, Section Artin–Rees constants for finite module maps for terminology).

By assumption $\mathcal{O}_{S, s} = \Lambda_{\Lambda \cap \mathfrak m'}$ is a G-ring. Hence by More on Algebra, Proposition The G-ring property for finite-type algebras the ring $\Lambda[x_1, \ldots, x_s]_{\mathfrak m'}$ is a $G$-ring. Hence by Smoothing Ring Maps, Theorem Artin approximation in an étale neighbourhood there exist an étale ring map $$\Lambda[x_1, \ldots, x_s]_{\mathfrak m'} \to B,$$ a maximal ideal $\mathfrak m_B$ of $B$ lying over $\mathfrak m'$, and elements $a'_i, b'_i, c'_{ij}, k'_{ij} \in B$ such that

  1. $\kappa(\mathfrak m') = \kappa(\mathfrak m_B)$ which implies that $\Lambda[x_1, \ldots, x_s]_{\mathfrak m'} \subset B_{\mathfrak m_B} \subset P$ and $P$ is identified with the completion of $B$ at $\mathfrak m_B$, see remark preceding Smoothing Ring Maps, Theorem Artin approximation in an étale neighbourhood,

  2. $a_i - a'_i, b_i - b'_i, c_{ij} - c'_{ij}, k_{ij} - k'_{ij} \in (\mathfrak m')^N P$, and

  3. $f_j(a'_1, \ldots, a'_u) = \sum c'_{ji} b'_i$ and $\sum k'_{ij}b'_j = 0$.

Set $A = B/(b'_1, \ldots, b'_r)$ and denote by $\mathfrak m_A$ the image of $\mathfrak m_B$ in $A$. (Note that $A$ is essentially of finite type over $\Lambda$; at the end of the proof we will show how to obtain an $A$ which is of finite type over $\Lambda$.) There is a ring map $C \to A$ sending $y_i \mapsto a'_i$ because the $a'_i$ satisfy the desired equations modulo $(b'_1, \ldots, b'_r)$. Note that $A/\mathfrak m_A^N = R/\mathfrak m_R^N$ as quotients of $P = B^\wedge$ by property (2) above. Set $x_A = x_C|_{\operatorname{Spec}(A)}$. Since the maps $$C \to A \to A/\mathfrak m_A^N \cong R/\mathfrak m_R^N \quad\text{and}\quad C \to R \to R/\mathfrak m_R^N$$ are equal we see that $x_A$ and $x$ agree modulo $\mathfrak m_R^N$ via the isomorphism $A/\mathfrak m_A^N = R/\mathfrak m_R^N$. At this point we have shown properties (1) -- (5) of the statement of the lemma. To see (6) note that $$P^{\oplus t} \xrightarrow{K} P^{\oplus r} \xrightarrow{(b_1, \ldots, b_r)} P \quad\text{and}\quad P^{\oplus t} \xrightarrow{K'} P^{\oplus r} \xrightarrow{(b'_1, \ldots, b'_r)} P$$ are two complexes of $P$-modules which are congruent modulo $(\mathfrak m')^N$ with the first one being exact. By our choice of $N$ above we see from More on Algebra, Lemma Lesson 7, Appendix A, Lemma A.2 that $R = P/(b_1, \ldots, b_r)$ and $P/(b'_1, \ldots, b'_r) = B^\wedge/(b'_1, \ldots, b'_r) = A^\wedge$ have isomorphic associated graded algebras, which is what we wanted to show.

This last paragraph of the proof serves to clean up the issue that $A$ is essentially of finite type over $S$ and not yet of finite type. The construction above gives $A = B/(b'_1, \ldots, b'_r)$ and $\mathfrak m_A \subset A$ with $B$ étale over $\Lambda[x_1, \ldots, x_s]_{\mathfrak m'}$. Hence $A$ is of finite type over the Noetherian ring $\Lambda[x_1, \ldots, x_s]_{\mathfrak m'}$. Thus we can write $A = (A_0)_{\mathfrak m'}$ for some finite type $\Lambda[x_1, \ldots, x_s]$ algebra $A_0$. Then $A = \mathop{\operatorname{colim}} (A_0)_f$ where $f \in \Lambda[x_1, \ldots, x_s] \setminus \mathfrak m'$, see Algebra, Lemma Localization as a filtered colimit. Because $p : \mathcal{X} \to (\mathrm{Sch}/S)_{fppf}$ is limit preserving on objects, we see that $x_A$ comes from some object $x_{(A_0)_f}$ over $\operatorname{Spec}((A_0)_f)$ for an $f$ as above. After replacing $A$ by $(A_0)_f$ and $x_A$ by $x_{(A_0)_f}$ and $\mathfrak m_A$ by $(A_0)_f \cap \mathfrak m_A$ the proof is finished. $\square$

Commutative algebra and regularity

Definition. Smoothness at a prime ideal

Let $R \to S$ be a ring map. Let $\mathfrak q$ be a prime of $S$. We say $R \to S$ is smooth at $\mathfrak q$ if there exists a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is smooth.

Lemma. Localization of the naive cotangent complex

Let $A \to B$ be a ring map. Let $S \subset B$ be a multiplicative subset. The canonical map $\mathrm{NL}_{B/A} \otimes_B S^{-1}B \to \mathrm{NL}_{S^{-1}B/A}$ is a quasi-isomorphism.

Proof. We have $S^{-1}B = \mathop{\operatorname{colim}}_{g \in S} B_g$ where we think of $S$ as a directed set (ordering by divisibility), see Lemma Localization as a filtered colimit. By Lemma The cotangent complex of a principal localization each of the maps $\mathrm{NL}_{B/A} \otimes_B B_g \to \mathrm{NL}_{B_g/A}$ is a quasi-isomorphism. The lemma follows from Lemma Filtered colimits of naive cotangent complexes. $\square$

Definition. Smooth ring maps

A ring map $R \to S$ is smooth if it is of finite presentation and the naive cotangent complex $\mathrm{NL}_{S/R}$ is quasi-isomorphic to a finite projective $S$-module placed in degree $0$: this means that $H_1(\mathrm{NL}_{S/R}) = 0$ and that $\Omega_{S/R}$ is a finite projective $S$-module.

Lemma. The transitivity sequence for the naive cotangent complex (Jacobi-Zariski sequence)

Let $A \to B \to C$ be ring maps. Choose a presentation $\alpha : A[x_s, s \in S] \to B$ with kernel $I$. Choose a presentation $\beta : B[y_t, t \in T] \to C$ with kernel $J$. Let $\gamma : A[x_s, y_t] \to C$ be the induced presentation of $C$ with kernel $K$. Then we get a canonical commutative diagram $$\begin{gathered}\begin{matrix}0 & \Omega_{A[x_s]/A} \otimes C & \Omega_{A[x_s, y_t]/A} \otimes C & \Omega_{B[y_t]/B} \otimes C & 0 \\ \phantom{X} & I/I^2 \otimes C & K/K^2 & J/J^2 & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow \Omega_{A[x_s]/A} \otimes C \\ \Omega_{A[x_s]/A} \otimes C & \longrightarrow \Omega_{A[x_s, y_t]/A} \otimes C \\ \Omega_{A[x_s, y_t]/A} \otimes C & \longrightarrow \Omega_{B[y_t]/B} \otimes C \\ \Omega_{B[y_t]/B} \otimes C & \longrightarrow 0 \\ I/I^2 \otimes C & \longrightarrow K/K^2 \\ I/I^2 \otimes C & \longrightarrow \Omega_{A[x_s]/A} \otimes C \\ K/K^2 & \longrightarrow J/J^2 \\ K/K^2 & \longrightarrow \Omega_{A[x_s, y_t]/A} \otimes C \\ J/J^2 & \longrightarrow 0 \\ J/J^2 & \longrightarrow \Omega_{B[y_t]/B} \otimes C\end{aligned}\end{gathered},$$ with exact rows. We get the following exact sequence of homology groups $$H_1(\mathrm{NL}_{B/A} \otimes_B C) \to H_1(L_{C/A}) \to H_1(L_{C/B}) \to C \otimes_B \Omega_{B/A} \to \Omega_{C/A} \to \Omega_{C/B} \to 0$$ of $C$-modules extending the sequence of Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1. If $\text{Tor}_1^B(\Omega_{B/A}, C) = 0$ and $\text{Tor}_2^B(\Omega_{B/A}, C) = 0$, then $H_1(\mathrm{NL}_{B/A} \otimes_B C) = H_1(L_{B/A}) \otimes_B C$.

Proof. The precise definition of the maps is omitted. The exactness of the top row follows as the $\text{d}x_s$, $\text{d}y_t$ form a basis for the middle module. The map $\gamma$ factors $$A[x_s, y_t] \to B[y_t] \to C$$ with surjective first arrow and second arrow equal to $\beta$. Thus we see that $K \to J$ is surjective. Moreover, the kernel of the first displayed arrow is $IA[x_s, y_t]$. Hence $I/I^2 \otimes C$ surjects onto the kernel of $K/K^2 \to J/J^2$. Finally, we can use Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 to identify the terms as homology groups of the naive cotangent complexes.

The final assertion is a statement in homological algebra. Recall that $\mathrm{NL}_{B/A} = (N^{-1} \to N^0)$ is a two term complex of $B$-modules with $N^0$ free and cohomology modules $H^0 = \Omega_{B/A}$ and $H^{-1} = H_1(L_{B/A})$. Write $M \subset N^0$ for the image of the differential. If $\text{Tor}_1^B(H^0, C) = 0$, then we have an exact sequence $$0 \to M \otimes_B C \to N^0 \otimes_B C \to H^0 \otimes_B C \to 0$$ Since $N^0$ is free, we also see that $\text{Tor}_2^B(H^0, C) = \text{Tor}_1^B(M, C)$. Hence if $\text{Tor}_2^B(H^0, C) = 0$ then we also have an exact sequence $$0 \to H^{-1} \otimes_B C \to N^{-1} \otimes_B C \to M \otimes_B C \to 0$$ Putting everything together we see that if $\text{Tor}_1^B(H^0, C) = 0$ and $\text{Tor}_2^B(H^0, C) = 0$, then $H^{-1} \otimes_B C$ is the kernel of $N^{-1} \otimes_B C \to N^0 \otimes_B C$ as desired. $\square$

Lemma. The conormal module of a syntomic presentation

Let $R$ be a ring. Let $S = R[x_1, \ldots, x_n]/I$ for some finitely generated ideal $I$. If $g \in S$ is such that $S_g$ is syntomic over $R$, then $(I/I^2)_g$ is a finite projective $S_g$-module.

Proof. By Lemma Local criteria for a syntomic algebra there exist finitely many elements $g_1, \ldots, g_m \in S$ which generate the unit ideal in $S_g$ such that each $S_{gg_j}$ is a relative global complete intersection over $R$. Since it suffices to prove that $(I/I^2)_{gg_j}$ is finite projective, see Lemma Characterizations of finite projective modules, we may assume that $S_g$ is a relative global complete intersection. In this case the result follows from Lemmas Localization of a conormal module and The conormal module of a global complete intersection. $\square$

Lemma. A presentation realizing a basis of the conormal module

Let $S$ be a finitely presented $R$-algebra which has a presentation $S = R[x_1, \ldots, x_n]/I$ such that $I/I^2$ is free over $S$. Then $S$ has a presentation $S = R[y_1, \ldots, y_m]/(f_1, \ldots, f_c)$ such that $(f_1, \ldots, f_c)/(f_1, \ldots, f_c)^2$ is free with basis given by the classes of $f_1, \ldots, f_c$.

Proof. Note that $I$ is a finitely generated ideal by Lemma Finite presentation and finite algebras. Let $f_1, \ldots, f_c \in I$ be elements which map to a basis of $I/I^2$. By Nakayama's lemma (Lemma Nakayama's lemma) there exists a $g \in 1 + I$ such that $$g \cdot I \subset (f_1, \ldots, f_c)$$ and $I_g \cong (f_1, \ldots, f_c)_g$. Hence we see that $$S \cong R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)[1/g] \cong R[x_1, \ldots, x_n, x_{n + 1}]/(f_1, \ldots, f_c, gx_{n + 1} - 1)$$ as desired. It follows that $f_1, \ldots, f_c,gx_{n + 1} - 1$ form a basis for $(f_1, \ldots, f_c, gx_{n + 1} - 1)/(f_1, \ldots, f_c, gx_{n + 1} - 1)^2$ for example by applying Lemma The cotangent complex of a principal localization. $\square$

Lemma. Localization of a relative complete intersection

Let $R$ be a ring. Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. We will find $h \in R[x_1, \ldots, x_n]$ which maps to $g \in S$ such that $$S_g = R[x_1, \ldots, x_n, x_{n + 1}]/(f_1, \ldots, f_c, hx_{n + 1} - 1)$$ is a relative global complete intersection with a presentation as in Definition Relative global complete intersections in each of the following cases:

  1. Let $I \subset R$ be an ideal. If the fibres of $\operatorname{Spec}(S/IS) \to \operatorname{Spec}(R/I)$ have dimension $n - c$, then we can find $(h, g)$ as above such that $g$ maps to $1 \in S/IS$.

  2. Let $\mathfrak p \subset R$ be a prime. If $\dim(S \otimes_R \kappa(\mathfrak p)) = n - c$, then we can find $(h, g)$ as above such that $g$ maps to a unit of $S \otimes_R \kappa(\mathfrak p)$.

  3. Let $\mathfrak q \subset S$ be a prime lying over $\mathfrak p \subset R$. If $\dim_{\mathfrak q}(S/R) = n - c$, then we can find $(h, g)$ as above such that $g \not \in \mathfrak q$.

Proof. Ad (1). By Lemma An open neighbourhood with bounded fibre dimension there exists an open subset $W \subset \operatorname{Spec}(S)$ containing $V(IS)$ such that all fibres of $W \to \operatorname{Spec}(R)$ have dimension $\leq n - c$. Say $W = \operatorname{Spec}(S) \setminus V(J)$. Then $V(J) \cap V(IS) = \emptyset$ hence we can find a $g \in J$ which maps to $1 \in S/IS$. Let $h \in R[x_1, \ldots, x_n]$ be any preimage of $g$.

Ad (2). By Lemma An open neighbourhood with bounded fibre dimension there exists an open subset $W \subset \operatorname{Spec}(S)$ containing $\operatorname{Spec}(S \otimes_R \kappa(\mathfrak p))$ such that all fibres of $W \to \operatorname{Spec}(R)$ have dimension $\leq n - c$. Say $W = \operatorname{Spec}(S) \setminus V(J)$. Then $V(J \cdot S \otimes_R \kappa(\mathfrak p)) = \emptyset$. Hence we can find a $g \in J$ which maps to a unit in $S \otimes_R \kappa(\mathfrak p)$ (details omitted). Let $h \in R[x_1, \ldots, x_n]$ be any preimage of $g$.

Ad (3). By Lemma An open neighbourhood with bounded fibre dimension there exists a $g \in S$, $g \not \in \mathfrak q$ such that all nonempty fibres of $R \to S_g$ have dimension $\leq n - c$. Let $h \in R[x_1, \ldots, x_n]$ be any element that maps to $g$. $\square$

Lemma. Composition of syntomic ring maps

Let $R \to S$, $S \to S'$ be ring maps.

  1. If $R \to S$ and $S \to S'$ are syntomic, then $R \to S'$ is syntomic.

  2. If $R \to S$ and $S \to S'$ are relative global complete intersections, then $R \to S'$ is a relative global complete intersection.

Proof. Proof of (2). Say $R \to S$ and $S \to S'$ are relative global complete intersections and we have presentations $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ and $S' = S[y_1, \ldots, y_m]/(h_1, \ldots, h_d)$ as in Definition Relative global complete intersections. Then $$S' \cong R[x_1, \ldots, x_n, y_1, \ldots, y_m]/(f_1, \ldots, f_c, h'_1, \ldots, h'_d)$$ for some lifts $h_j' \in R[x_1, \ldots, x_n, y_1, \ldots, y_m]$ of the $h_j$. Hence it suffices to bound the dimensions of the fibre rings. Thus we may assume $R = k$ is a field. In this case we see that we have a ring, namely $S$, which is of finite type over $k$ and equidimensional of dimension $n - c$, and a finite type ring map $S \to S'$ all of whose nonempty fibre rings are equidimensional of dimension $m - d$. Then, by Lemma Dimensions of a base, fibre and total space for example applied to localizations at maximal ideals of $S'$, we see that $\dim(S') \leq n - c + m - d$ as desired.

We will reduce part (1) to part (2). Assume $R \to S$ and $S \to S'$ are syntomic. Let $\mathfrak q' \subset S'$ be a prime ideal lying over $\mathfrak q \subset S$. By Lemma Local criteria for a syntomic algebra there exists a $g' \in S'$, $g' \not \in \mathfrak q'$ such that $S \to S'_{g'}$ is a relative global complete intersection. Similarly, we find $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is a relative global complete intersection. By Lemma Base change of a global complete intersection the ring map $S_g \to S'_{gg'}$ is a relative global complete intersection. By part (2) we see that $R \to S'_{gg'}$ is a relative global complete intersection and $gg' \not \in \mathfrak q'$. Since $\mathfrak q'$ was arbitrary combining Lemmas Local criteria for a syntomic algebra and Locality of syntomic ring maps we see that $R \to S'$ is syntomic (this also uses that the spectrum of $S'$ is quasi-compact, see Lemma Quasi-compactness of an affine spectrum). $\square$

Lemma. Smooth algebras are syntomic

Let $R \to S$ be a smooth ring map. There exists an open covering of $\operatorname{Spec}(S)$ by standard opens $D(g)$ such that each $S_g$ is standard smooth over $R$. In particular $R \to S$ is syntomic.

Proof. Choose a presentation $\alpha : R[x_1, \ldots, x_n] \to S$ with kernel $I = (f_1, \ldots, f_m)$. For every subset $E \subset \{1, \ldots, m\}$ consider the open subset $U_E$ where the classes $f_e, e\in E$ freely generate the finite projective $S$-module $I/I^2$, see Lemma Flatness of a cokernel. We may cover $\operatorname{Spec}(S)$ by standard opens $D(g)$ each completely contained in one of the opens $U_E$. For such a $g$ we look at the presentation $$\beta : R[x_1, \ldots, x_n, x_{n + 1}] \longrightarrow S_g$$ mapping $x_{n + 1}$ to $1/g$. Setting $J = \operatorname{Ker}(\beta)$ we use Lemma The cotangent complex of a principal localization to see that $J/J^2 \cong (I/I^2)_g \oplus S_g$ is free. We may and do replace $S$ by $S_g$. Then using Lemma A presentation realizing a basis of the conormal module we may assume we have a presentation $\alpha : R[x_1, \ldots, x_n] \to S$ with kernel $I = (f_1, \ldots, f_c)$ such that $I/I^2$ is free on the classes of $f_1, \ldots, f_c$.

Using the presentation $\alpha$ obtained at the end of the previous paragraph, we more or less repeat this argument with the basis elements $\text{d}x_1, \ldots, \text{d}x_n$ of $\Omega_{R[x_1, \ldots, x_n]/R}$. Namely, for any subset $E \subset \{1, \ldots, n\}$ of cardinality $c$ we may consider the open subset $U_E$ of $\operatorname{Spec}(S)$ where the differential of $\mathrm{NL}(\alpha)$ composed with the projection $$S^{\oplus c} \cong I/I^2 \longrightarrow \Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S \longrightarrow \bigoplus\nolimits_{i \in E} S\text{d}x_i$$ is an isomorphism. Again we may find a covering of $\operatorname{Spec}(S)$ by (finitely many) standard opens $D(g)$ such that each $D(g)$ is completely contained in one of the opens $U_E$. By renumbering, we may assume $E = \{1, \ldots, c\}$. For a $g$ with $D(g) \subset U_E$ we look at the presentation $$\beta : R[x_1, \ldots, x_n, x_{n + 1}] \to S_g$$ mapping $x_{n + 1}$ to $1/g$. Setting $J = \operatorname{Ker}(\beta)$ we conclude from Lemma The cotangent complex of a principal localization that $J = (f_1, \ldots, f_c, fx_{n + 1} - 1)$ where $\alpha(f) = g$ and that the composition $$J/J^2 \longrightarrow \Omega_{R[x_1, \ldots, x_{n + 1}]/R} \otimes_{R[x_1, \ldots, x_{n + 1}]} S_g \longrightarrow \bigoplus\nolimits_{i = 1}^c S_g\text{d}x_i \oplus S_g \text{d}x_{n + 1}$$ is an isomorphism. Reordering the coordinates as $x_1, \ldots, x_c, x_{n + 1}, x_{c + 1}, \ldots, x_n$ we conclude that $S_g$ is standard smooth over $R$ as desired.

This finishes the proof as standard smooth algebras are syntomic (Lemmas Standard smooth algebras and Criteria for global complete intersections) and being syntomic over $R$ is local on $S$ (Lemma Locality of syntomic ring maps). $\square$

Lemma. Local criteria for a syntomic algebra

Let $R \to S$ be a ring map. Let $\mathfrak q \subset S$ be a prime lying over the prime $\mathfrak p$ of $R$. The following are equivalent:

  1. There exists an element $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is syntomic.

  2. There exists an element $g \in S$, $g \not \in \mathfrak q$ such that $S_g$ is a relative global complete intersection over $R$.

  3. There exists an element $g \in S$, $g \not \in \mathfrak q$, such that $R \to S_g$ is of finite presentation, the local ring map $R_{\mathfrak p} \to S_{\mathfrak q}$ is flat, and the local ring $S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}$ is a complete intersection ring over $\kappa(\mathfrak p)$ (see Definition Complete-intersection local rings).

Proof. The implication (1) $\Rightarrow$ (3) is Lemma Complete intersections at a prime ideal. The implication (2) $\Rightarrow$ (1) is Lemma Criteria for global complete intersections. It remains to show that (3) implies (2).

Assume (3). After replacing $S$ by $S_g$ for some $g \in S$, $g\not\in \mathfrak q$, we may assume $S$ is finitely presented over $R$. Choose a presentation $S = R[x_1, \ldots, x_n]/I$. Let $\mathfrak q' \subset R[x_1, \ldots, x_n]$ be the prime corresponding to $\mathfrak q$. Write $\kappa(\mathfrak p) = k$. Note that $S \otimes_R k = k[x_1, \ldots, x_n]/\overline{I}$ where $\overline{I} \subset k[x_1, \ldots, x_n]$ is the ideal generated by the image of $I$. Let $\overline{\mathfrak q}' \subset k[x_1, \ldots, x_n]$ be the prime ideal generated by the image of $\mathfrak q'$. By Lemma Complete intersections at a prime ideal the equivalent conditions of Lemma Local criteria for complete intersections hold for $\overline{I}$ and $\overline{\mathfrak q}'$. Say the dimension of $\overline{I}_{\overline{\mathfrak q}'}/ \overline{\mathfrak q}'\overline{I}_{\overline{\mathfrak q}'}$ over $\kappa(\overline{\mathfrak q}')$ is $c$. Pick $f_1, \ldots, f_c \in I$ mapping to a basis of this vector space. The images $\overline{f}_j \in \overline{I}$ generate $\overline{I}_{\overline{\mathfrak q}'}$ (by Lemma Local criteria for complete intersections). Set $S' = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. Let $J$ be the kernel of the surjection $S' \to S$. Since $S$ is of finite presentation $J$ is a finitely generated ideal (Lemma Composition of finite-type ring maps). Consider the short exact sequence $$0 \to J \to S' \to S \to 0.$$ As $S_\mathfrak q$ is flat over $R$ we see that $J_{\mathfrak q'} \otimes_R k \to S'_{\mathfrak q'} \otimes_R k$ is injective (Lemma Tor vanishing for a flat module). However, by construction $S'_{\mathfrak q'} \otimes_R k$ maps isomorphically to $S_\mathfrak q \otimes_R k$. Hence we conclude that $J_{\mathfrak q'} \otimes_R k = J_{\mathfrak q'}/\mathfrak pJ_{\mathfrak q'} = 0$. By Nakayama's lemma (Lemma Nakayama's lemma) we conclude that there exists a $g \in R[x_1, \ldots, x_n]$, $g \not \in \mathfrak q'$ such that $J_g = 0$. In other words $S'_g \cong S_g$. After further localizing we see that $S'$ (and hence $S$) becomes a relative global complete intersection by Lemma Localization of a relative complete intersection as desired. $\square$

Lemma. Smoothness from flatness and smooth fibres

Let $R \to S$ be a ring map. Let $\mathfrak q \subset S$ be a prime lying over the prime $\mathfrak p$ of $R$. Assume

  1. there exists a $g \in S$, $g \not\in \mathfrak q$ such that $R \to S_g$ is of finite presentation,

  2. the local ring homomorphism $R_{\mathfrak p} \to S_{\mathfrak q}$ is flat,

  3. the fibre $S \otimes_R \kappa(\mathfrak p)$ is smooth over $\kappa(\mathfrak p)$ at the prime corresponding to $\mathfrak q$.

Then $R \to S$ is smooth at $\mathfrak q$.

Proof. By Lemmas Local criteria for a syntomic algebra and Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3 we see that there exists a $g \in S$, $g \not \in \mathfrak q$, such that $S_g$ is a relative global complete intersection. Replacing $S$ by $S_g$ we may assume $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a relative global complete intersection. For any subset $I \subset \{1, \ldots, n\}$ of cardinality $c$ consider the polynomial $g_I = \det (\partial f_j/\partial x_i)_{j = 1, \ldots, c, i \in I}$ of Lemma Smoothness of a global complete intersection. Note that the image $\overline{g}_I$ of $g_I$ in the polynomial ring $\kappa(\mathfrak p)[x_1, \ldots, x_n]$ is the determinant of the partial derivatives of the images $\overline{f}_j$ of the $f_j$ in the ring $\kappa(\mathfrak p)[x_1, \ldots, x_n]$. Thus the lemma follows by applying Lemma Smoothness of a global complete intersection both to $R \to S$ and to $\kappa(\mathfrak p) \to S \otimes_R \kappa(\mathfrak p)$. $\square$

Lemma. Local criteria for complete intersections

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak q$ be a prime of $S$. Choose any presentation $S = k[x_1, \ldots, x_n]/I$. Let $\mathfrak q'$ be the prime of $k[x_1, \ldots, x_n]$ corresponding to $\mathfrak q$. Set $c = \text{height}(\mathfrak q') - \text{height}(\mathfrak q)$, in other words $\dim_{\mathfrak q}(S) = n - c$ (see Lemma Dimension and codimension). The following are equivalent

  1. There exists a $g \in S$, $g \not \in \mathfrak q$ such that $S_g$ is a global complete intersection over $k$.

  2. The ideal $I_{\mathfrak q'} \subset k[x_1, \ldots, x_n]_{\mathfrak q'}$ can be generated by $c$ elements.

  3. The conormal module $(I/I^2)_{\mathfrak q}$ can be generated by $c$ elements over $S_{\mathfrak q}$.

  4. The conormal module $(I/I^2)_{\mathfrak q}$ is a free $S_{\mathfrak q}$-module of rank $c$.

  5. The ideal $I_{\mathfrak q'}$ can be generated by a regular sequence in the regular local ring $k[x_1, \ldots, x_n]_{\mathfrak q'}$.

In this case any $c$ elements of $I_{\mathfrak q'}$ which generate $I_{\mathfrak q'}/\mathfrak q'I_{\mathfrak q'}$ form a regular sequence in the local ring $k[x_1, \ldots, x_n]_{\mathfrak q'}$.

Proof. Set $R = k[x_1, \ldots, x_n]_{\mathfrak q'}$. This is a Cohen-Macaulay local ring of dimension $\text{height}(\mathfrak q')$, see for example Lemma Complete intersections are Cohen–Macaulay. Moreover, $\overline{R} = R/IR = R/I_{\mathfrak q'} = S_{\mathfrak q}$ is a quotient of dimension $\text{height}(\mathfrak q)$. Let $f_1, \ldots, f_c \in I_{\mathfrak q'}$ be elements which generate $(I/I^2)_{\mathfrak q}$. By Lemma Nakayama's lemma we see that $f_1, \ldots, f_c$ generate $I_{\mathfrak q'}$. Since the dimensions work out, we conclude by Proposition Characterizations of Cohen–Macaulay modules that $f_1, \ldots, f_c$ is a regular sequence in $R$. By Lemma Regular sequences are quasi-regular we see that $(I/I^2)_{\mathfrak q}$ is free. These arguments show that (2), (3), (4) are equivalent and that they imply the last statement of the lemma, and therefore they imply (5).

If (5) holds, say $I_{\mathfrak q'}$ is generated by a regular sequence of length $e$, then $\text{height}(\mathfrak q) = \dim(S_{\mathfrak q}) = \dim(k[x_1, \ldots, x_n]_{\mathfrak q'}) - e = \text{height}(\mathfrak q') - e$ by dimension theory, see Section Dimension and codimension. We conclude that $e = c$. Thus (5) implies (2).

We continue with the notation introduced in the first paragraph. For each $f_i$ we may find $d_i \in k[x_1, \ldots, x_n]$, $d_i \not \in \mathfrak q'$ such that $f_i' = d_i f_i \in k[x_1, \ldots, x_n]$. Then it is still true that $I_{\mathfrak q'} = (f_1', \ldots, f_c')R$. Hence there exists a $g' \in k[x_1, \ldots, x_n]$, $g' \not \in \mathfrak q'$ such that $I_{g'} = (f_1', \ldots, f_c')$. Moreover, pick $g'' \in k[x_1, \ldots, x_n]$, $g'' \not \in \mathfrak q'$ such that $\dim(S_{g''}) = \dim_{\mathfrak q} \operatorname{Spec}(S)$. By Lemma Dimension and codimension this dimension is equal to $n - c$. Finally, set $g$ equal to the image of $g'g''$ in $S$. Then we see that $$S_g \cong k[x_1, \ldots, x_n, x_{n + 1}] / (f_1', \ldots, f_c', x_{n + 1}g'g'' - 1)$$ and by our choice of $g''$ this ring has dimension $n - c$. Therefore it is a global complete intersection. Thus each of (2), (3), and (4) implies (1).

Assume (1). Let $S_g \cong k[y_1, \ldots, y_m]/(f_1, \ldots, f_t)$ be a presentation of $S_g$ as a global complete intersection. Write $J = (f_1, \ldots, f_t)$. Let $\mathfrak q'' \subset k[y_1, \ldots, y_m]$ be the prime corresponding to $\mathfrak qS_g$. Note that $t = m - \dim(S_g) = \text{height}(\mathfrak q'') - \text{height}(\mathfrak q)$, see Lemma Dimension and codimension for the last equality. As seen in the proof of Lemma Complete intersections are Cohen–Macaulay (and also above) the elements $f_1, \ldots, f_t$ form a regular sequence in the local ring $k[y_1, \ldots, y_m]_{\mathfrak q''}$. By Lemma Regular sequences are quasi-regular we see that $(J/J^2)_{\mathfrak q}$ is free of rank $t$. By Lemma Localization of a conormal module we have $$J/J^2 \oplus S_g^n \cong (I/I^2)_g \oplus S_g^m$$ Thus $(I/I^2)_{\mathfrak q}$ is free of rank $t + n - m = m - \dim(S_g) + n - m = n - \dim(S_g) = \text{height}(\mathfrak q') - \text{height}(\mathfrak q) = c$. Thus we obtain (4). $\square$

Definition. Unramified ring maps

Let $R \to S$ be a ring map.

  1. We say $R \to S$ is unramified if $R \to S$ is of finite type and $\Omega_{S/R} = 0$.

  2. We say $R \to S$ is G-unramified if $R \to S$ is of finite presentation and $\Omega_{S/R} = 0$.

  3. Given a prime $\mathfrak q$ of $S$ we say that $S$ is unramified at $\mathfrak q$ if there exists a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is unramified.

  4. Given a prime $\mathfrak q$ of $S$ we say that $S$ is G-unramified at $\mathfrak q$ if there exists a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is G-unramified.

Lemma. Flatness from Cohen--Macaulayness over a regular base

Miracle flatness

Let $R \to S$ be a local homomorphism of Noetherian local rings. Assume

  1. $R$ is regular,

  2. $S$ is Cohen-Macaulay,

  3. $\dim(S) = \dim(R) + \dim(S/\mathfrak m_R S)$.

Then $R \to S$ is flat.

Proof. By induction on $\dim(R)$. The case $\dim(R) = 0$ is trivial, because then $R$ is a field. Assume $\dim(R) > 0$. By (3) this implies that $\dim(S) > 0$. Let $\mathfrak q_1, \ldots, \mathfrak q_r$ be the minimal primes of $S$. Note that $\mathfrak q_i \not \supset \mathfrak m_R S$ since $$\dim(S/\mathfrak q_i) = \dim(S) > \dim(S/\mathfrak m_R S),$$ the first equality by Lemma Maximal prime chains in a Cohen–Macaulay ring and the inequality by (3). Thus $\mathfrak p_i = R \cap \mathfrak q_i$ is not equal to $\mathfrak m_R$. Pick $x \in \mathfrak m_R$, $x \not \in \mathfrak m_R^2$, and $x \not \in \mathfrak p_i$, see Lemma An elementary algebraic comparison. Hence we see that $x$ is not contained in any of the minimal primes of $S$. Hence $x$ is a nonzerodivisor on $S$ by (2), see Lemma Equivalent Cohen–Macaulay conditions and $S/xS$ is Cohen-Macaulay with $\dim(S/xS) = \dim(S) - 1$. By (1) and Lemma Regular rings are Cohen–Macaulay the ring $R/xR$ is regular with $\dim(R/xR) = \dim(R) - 1$. By induction we see that $R/xR \to S/xS$ is flat. Hence we conclude by Lemma A variant of the local criterion for flatness and the remark following it. $\square$

Lemma. Smoothness after an algebraic closure of the ground field

Let $k$ be an algebraically closed field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak m \subset S$ be a maximal ideal. The following are equivalent:

  1. The ring $S_{\mathfrak m}$ is a regular local ring.

  2. We have $\dim_{\kappa(\mathfrak m)} \Omega_{S/k} \otimes_S \kappa(\mathfrak m) \leq \dim(S_{\mathfrak m})$.

  3. We have $\dim_{\kappa(\mathfrak m)} \Omega_{S/k} \otimes_S \kappa(\mathfrak m) = \dim(S_{\mathfrak m})$.

  4. There exists a $g \in S$, $g \not \in \mathfrak m$ such that $S_g$ is smooth over $k$. In other words $S/k$ is smooth at $\mathfrak m$.

Proof. Note that (1), (2) and (3) are equivalent by Lemma The rank of Kähler differentials and Definition Regular Noetherian rings.

Assume that $S$ is smooth at $\mathfrak m$. By Lemma Smooth algebras are syntomic we see that $S_g$ is standard smooth over $k$ for a suitable $g \in S$, $g \not \in \mathfrak m$. Hence by Lemma Standard smooth algebras we see that $\Omega_{S_g/k}$ is free of rank $\dim(S_g)$. Hence by Lemma The rank of Kähler differentials we see that $\dim(S_{\mathfrak m}) = \dim (\mathfrak m/\mathfrak m^2)$ in other words $S_\mathfrak m$ is regular.

Conversely, suppose that $S_{\mathfrak m}$ is regular. Let $d = \dim(S_{\mathfrak m}) = \dim \mathfrak m/\mathfrak m^2$. Choose a presentation $S = k[x_1, \ldots, x_n]/I$ such that $x_i$ maps to an element of $\mathfrak m$ for all $i$. In other words, $\mathfrak m'' = (x_1, \ldots, x_n)$ is the corresponding maximal ideal of $k[x_1, \ldots, x_n]$. Note that we have a short exact sequence $$I/\mathfrak m''I \to \mathfrak m''/(\mathfrak m'')^2 \to \mathfrak m/(\mathfrak m)^2 \to 0$$ Pick $c = n - d$ elements $f_1, \ldots, f_c \in I$ such that their images in $\mathfrak m''/(\mathfrak m'')^2$ span the kernel of the map to $\mathfrak m/\mathfrak m^2$. This is clearly possible. Let $J = (f_1, \ldots, f_c)$. So $J \subset I$. Let $S' = k[x_1, \ldots, x_n]/J$ so there is a surjection $S' \to S$. Let $\mathfrak m' = \mathfrak m''S'$ be the corresponding maximal ideal of $S'$. Hence we have $$\begin{gathered}\begin{matrix}k[x_1, \ldots, x_n] & S' & S \\ \mathfrak m'' & \mathfrak m' & \mathfrak m\end{matrix} \\[6pt] \begin{aligned}k[x_1, \ldots, x_n] & \longrightarrow S' \\ S' & \longrightarrow S \\ \mathfrak m'' & \longrightarrow k[x_1, \ldots, x_n] \\ \mathfrak m'' & \longrightarrow \mathfrak m' \\ \mathfrak m' & \longrightarrow \mathfrak m \\ \mathfrak m' & \longrightarrow S' \\ \mathfrak m & \longrightarrow S\end{aligned}\end{gathered}$$ By our choice of $J$ the exact sequence $$J/\mathfrak m''J \to \mathfrak m''/(\mathfrak m'')^2 \to \mathfrak m'/(\mathfrak m')^2 \to 0$$ shows that $\dim( \mathfrak m'/(\mathfrak m')^2 ) = d$. Since $S'_{\mathfrak m'}$ surjects onto $S_{\mathfrak m}$ we see that $\dim(S'_{\mathfrak m'}) \geq d$. Hence by the discussion preceding Definition Regular local rings we conclude that $S'_{\mathfrak m'}$ is regular of dimension $d$ as well. Because $S'$ was cut out by $c = n - d$ equations we conclude that there exists a $g' \in S'$, $g' \not \in \mathfrak m'$ such that $S'_{g'}$ is a global complete intersection over $k$, see Lemma Local criteria for complete intersections. Also the map $S'_{\mathfrak m'} \to S_{\mathfrak m}$ is a surjection of Noetherian local domains of the same dimension and hence an isomorphism. Hence $S' \to S$ is surjective with finitely generated kernel and becomes an isomorphism after localizing at $\mathfrak m'$. Thus we can find $g' \in S'$, $g' \not \in \mathfrak m'$ such that $S'_{g'} \to S_{g'}$ is an isomorphism. All in all we conclude that after replacing $S$ by a principal localization we may assume that $S$ is a global complete intersection.

At this point we may write $S = k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ with $\dim S = n - c$. Recall that the naive cotangent complex of this algebra is given by $$\bigoplus S \cdot f_j \to \bigoplus S \cdot \text{d}x_i$$ see Lemma The conormal module of a global complete intersection. By Lemma Smoothness of a global complete intersection in order to show that $S$ is smooth at $\mathfrak m$ we have to show that one of the $c \times c$ minors $g_I$ of the matrix "$A$" giving the map above does not vanish at $\mathfrak m$. By Lemma The rank of Kähler differentials the matrix $A \bmod \mathfrak m$ has rank $c$. Thus we win. $\square$

Lemma. The fibrewise criterion for flatness (Critère de platitude par fibres)

Let $R$, $S$, $S'$ be local rings and let $R \to S \to S'$ be local ring homomorphisms. Let $M$ be an $S'$-module. Let $\mathfrak m \subset R$ be the maximal ideal. Assume

  1. The ring maps $R \to S$ and $R \to S'$ are essentially of finite presentation.

  2. The module $M$ is of finite presentation over $S'$.

  3. The module $M$ is not zero.

  4. The module $M/\mathfrak mM$ is a flat $S/\mathfrak mS$-module.

  5. The module $M$ is a flat $R$-module.

Then $S$ is flat over $R$ and $M$ is a flat $S$-module.

Proof. As in the proof of Lemma Essentially finite presentations in a filtered limit we may first write $R = \mathop{\operatorname{colim}} R_\lambda$ as a directed colimit of local $\mathbf{Z}$-algebras which are essentially of finite type. Denote by $\mathfrak p_\lambda$ the maximal ideal of $R_\lambda$. Next, we may assume that for some $\lambda_1 \in \Lambda$ there exist $f_{j, \lambda_1} \in R_{\lambda_1}[x_1, \ldots, x_n]$ such that $$S = \mathop{\operatorname{colim}}_{\lambda \geq \lambda_1} S_\lambda, \text{ with } S_\lambda = (R_\lambda[x_1, \ldots, x_n]/ (f_{1, \lambda}, \ldots, f_{u, \lambda}))_{\mathfrak q_\lambda}$$ For some $\lambda_2 \in \Lambda$, $\lambda_2 \geq \lambda_1$ there exist $g_{j, \lambda_2} \in R_{\lambda_2}[x_1, \ldots, x_n, y_1, \ldots, y_m]$ with images $\overline{g}_{j, \lambda_2} \in S_{\lambda_2}[y_1, \ldots, y_m]$ such that $$S' = \mathop{\operatorname{colim}}_{\lambda \geq \lambda_2} S'_\lambda, \text{ with } S'_\lambda = (S_\lambda[y_1, \ldots, y_m]/ (\overline{g}_{1, \lambda}, \ldots, \overline{g}_{v, \lambda}))_{\overline{\mathfrak q}'_\lambda}$$ Note that this also implies that $$S'_\lambda = (R_\lambda[x_1, \ldots, x_n, y_1, \ldots, y_m]/ (f_{1, \lambda}, \ldots, f_{u, \lambda}, g_{1, \lambda}, \ldots, g_{v, \lambda}))_{\mathfrak q'_\lambda}$$ Choose a presentation $$(S')^{\oplus s} \to (S')^{\oplus t} \to M \to 0$$ of $M$ over $S'$. Let $A \in \text{Mat}(t \times s, S')$ be the matrix of the presentation. For some $\lambda_3 \in \Lambda$, $\lambda_3 \geq \lambda_2$ we can find a matrix $A_{\lambda_3} \in \text{Mat}(t \times s, S'_{\lambda_3})$ which maps to $A$. For all $\lambda \geq \lambda_3$ we let $M_\lambda = \operatorname{Coker}((S'_\lambda)^{\oplus s} \xrightarrow{A_\lambda} (S'_\lambda)^{\oplus t})$.

With these choices, we have for each $\lambda_3 \leq \lambda \leq \mu$ that $S_\lambda \otimes_{R_{\lambda}} R_\mu \to S_\mu$ is a localization, $S'_\lambda \otimes_{S_{\lambda}} S_\mu \to S'_\mu$ is a localization, and the map $M_\lambda \otimes_{S'_\lambda} S'_\mu \to M_\mu$ is an isomorphism. This also implies that $S'_\lambda \otimes_{R_{\lambda}} R_\mu \to S'_\mu$ is a localization. Thus, since $M$ is flat over $R$ we see by Lemma Eventual flatness in a filtered colimit that for all $\lambda$ big enough the module $M_\lambda$ is flat over $R_\lambda$. Moreover, note that $\mathfrak m = \mathop{\operatorname{colim}} \mathfrak p_\lambda$, $S/\mathfrak mS = \mathop{\operatorname{colim}} S_\lambda/\mathfrak p_\lambda S_\lambda$, $S'/\mathfrak mS' = \mathop{\operatorname{colim}} S'_\lambda/\mathfrak p_\lambda S'_\lambda$, and $M/\mathfrak mM = \mathop{\operatorname{colim}} M_\lambda/\mathfrak p_\lambda M_\lambda$. Also, for each $\lambda_3 \leq \lambda \leq \mu$ we see (from the properties listed above) that $$S'_\lambda/\mathfrak p_\lambda S'_\lambda \otimes_{S_{\lambda}/\mathfrak p_\lambda S_\lambda} S_\mu/\mathfrak p_\mu S_\mu \longrightarrow S'_\mu/\mathfrak p_\mu S'_\mu$$ is a localization, and the map $$M_\lambda / \mathfrak p_\lambda M_\lambda \otimes_{S'_\lambda/\mathfrak p_\lambda S'_\lambda} S'_\mu /\mathfrak p_\mu S'_\mu \longrightarrow M_\mu/\mathfrak p_\mu M_\mu$$ is an isomorphism. Hence the system $(S_\lambda/\mathfrak p_\lambda S_\lambda \to S'_\lambda/\mathfrak p_\lambda S'_\lambda, M_\lambda/\mathfrak p_\lambda M_\lambda)$ is a system as in Lemma Essentially finitely presented module models as well. We may apply Lemma Eventual flatness in a filtered colimit again because $M/\mathfrak m M$ is assumed flat over $S/\mathfrak mS$ and we see that $M_\lambda/\mathfrak p_\lambda M_\lambda$ is flat over $S_\lambda/\mathfrak p_\lambda S_\lambda$ for all $\lambda$ big enough. Thus for $\lambda$ big enough the data $R_\lambda \to S_\lambda \to S'_\lambda, M_\lambda$ satisfies the hypotheses of Lemma The Noetherian fibrewise criterion for flatness. Pick such a $\lambda$. Then $S$ is a localization of $S_\lambda \otimes_{R_\lambda} R$, hence is flat over $R$. Also $M$ is a localization of $M_\lambda \otimes_{S_\lambda} S$, hence is flat over $S$ (base change and localization preserve flatness). $\square$

Lemma. Characterizations of étale algebras

Let $R \to S$ be a ring map. Let $\mathfrak q$ be a prime of $S$ lying over a prime $\mathfrak p$ of $R$. If

  1. $R \to S$ is of finite presentation,

  2. $R_{\mathfrak p} \to S_{\mathfrak q}$ is flat

  3. $\mathfrak p S_{\mathfrak q}$ is the maximal ideal of the local ring $S_{\mathfrak q}$, and

  4. the field extension $\kappa(\mathfrak q)/\kappa(\mathfrak p)$ is finite separable,

then $R \to S$ is étale at $\mathfrak q$.

Proof. Apply Lemma An isolated point of a fibre to find a $g \in S$, $g \not \in \mathfrak q$ such that $\mathfrak q$ is the only prime of $S_g$ lying over $\mathfrak p$. We may and do replace $S$ by $S_g$. Then $S \otimes_R \kappa(\mathfrak p)$ has a unique prime, hence is a local ring, hence is equal to $S_{\mathfrak q}/\mathfrak pS_{\mathfrak q} \cong \kappa(\mathfrak q)$. By Lemma Smoothness from flatness and smooth fibres there exists a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is smooth. Replacing $S$ by $S_g$ again, we may assume that $R \to S$ is smooth. By Lemma Smooth algebras are syntomic we may even assume that $R \to S$ is standard smooth, say $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. Since $S \otimes_R \kappa(\mathfrak p) = \kappa(\mathfrak q)$ has dimension $0$ we conclude that $n = c$, i.e., $R \to S$ is étale. $\square$

Lemma. Étale algebras in standard smooth form

Any étale ring map is standard smooth. More precisely, if $R \to S$ is étale, then there exists a presentation $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_n)$ such that the image of $\det(\partial f_j/\partial x_i)$ is invertible in $S$.

Proof. Let $R \to S$ be étale. Choose a presentation $S = R[x_1, \ldots, x_n]/I$. As $R \to S$ is étale we know that $$\text{d} : I/I^2 \longrightarrow \bigoplus\nolimits_{i = 1, \ldots, n} S\text{d}x_i$$ is an isomorphism, in particular $I/I^2$ is a free $S$-module. Thus by Lemma A presentation realizing a basis of the conormal module we may assume (after possibly changing the presentation), that $I = (f_1, \ldots, f_c)$ such that the classes $f_i \bmod I^2$ form a basis of $I/I^2$. It follows immediately from the fact that the displayed map above is an isomorphism that $c = n$ and that $\det(\partial f_j/\partial x_i)$ is invertible in $S$. $\square$

Lemma. Recognizing a filtered colimit of finite presentations

Let $R \to \Lambda$ be a ring map. Let $\mathcal{E}$ be a set of $R$-algebras such that each $A \in \mathcal{E}$ is of finite presentation over $R$. Then the following two statements are equivalent

  1. $\Lambda$ is a filtered colimit of elements of $\mathcal{E}$, and

  2. for any $R$-algebra map $A \to \Lambda$ with $A$ of finite presentation over $R$ we can find a factorization $A \to B \to \Lambda$ with $B \in \mathcal{E}$.

Proof. Suppose that $\mathcal{I} \to \mathcal{E}$, $i \mapsto A_i$ is a filtered diagram such that $\Lambda = \mathop{\operatorname{colim}}_i A_i$. Let $A \to \Lambda$ be an $R$-algebra map with $A$ of finite presentation over $R$. Then we get a factorization $A \to A_i \to \Lambda$ by applying Lemma Characterizations of finite presentation. Thus (1) implies (2).

Consider the category $\mathcal{I}$ of Lemma The filtered category of finite ring presentations. By Categories, Lemma Cofinal subcategories of filtered categories (uncovered prerequisite) the full subcategory $\mathcal{J}$ consisting of those $A \to \Lambda$ with $A \in \mathcal{E}$ is cofinal in $\mathcal{I}$ and is a filtered category. Then $\Lambda$ is also the colimit over $\mathcal{J}$ by Categories, Lemma Cofinality and colimits (uncovered prerequisite). $\square$

Lemma. Standard smooth algebras

Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c) = R[x_1, \ldots, x_n]/I$ be a standard smooth algebra. Then

  1. the ring map $R \to S$ is smooth,

  2. the $S$-module $\Omega_{S/R}$ is free on $\text{d}x_{c + 1}, \ldots, \text{d}x_n$,

  3. the $S$-module $I/I^2$ is free on the classes of $f_1, \ldots, f_c$,

  4. for any $g \in S$ the ring map $R \to S_g$ is standard smooth,

  5. for any ring map $R \to R'$ the base change $R' \to R'\otimes_R S$ is standard smooth,

  6. if $f \in R$ maps to an invertible element in $S$, then $R_f \to S$ is standard smooth, and

  7. the ring $S$ is a relative global complete intersection over $R$.

Proof. Consider the naive cotangent complex of the given presentation $$(f_1, \ldots, f_c)/(f_1, \ldots, f_c)^2 \longrightarrow \bigoplus\nolimits_{i = 1}^n S \text{d}x_i.$$ Let us compose this map with the projection onto the first $c$ direct summands of the direct sum. According to the definition of a standard smooth algebra the classes $f_i \bmod (f_1, \ldots, f_c)^2$ map to a basis of $\bigoplus_{i = 1}^c S\text{d}x_i$. We conclude that $(f_1, \ldots, f_c)/(f_1, \ldots, f_c)^2$ is free of rank $c$ with a basis given by the elements $f_i \bmod (f_1, \ldots, f_c)^2$, and that the homology in degree $0$, i.e., $\Omega_{S/R}$, of the naive cotangent complex is a free $S$-module with basis the images of $\text{d}x_{c + j}$, $j = 1, \ldots, n - c$. In particular, this proves $R \to S$ is smooth.

The proofs of (4) and (6) are omitted. But see the example below and the proof of Lemma Base change of a global complete intersection.

Let $\varphi : R \to R'$ be any ring map. Set $S' = R'[x_1, \ldots, x_n]/(f_1^\varphi, \ldots, f_c^\varphi)$ where $f^\varphi$ is the polynomial obtained from $f \in R[x_1, \ldots, x_n]$ by applying $\varphi$ to all the coefficients. Then $S' \cong R' \otimes_R S$. Moreover, the determinant of Definition Standard smooth presentations for $S'/R'$ is equal to $g^\varphi$. Its image in $S'$ is therefore the image of $g$ via $R[x_1, \ldots, x_n] \to S \to S'$ and hence invertible. This proves (5).

To prove (7) it suffices to show that every nonzero fibre $S \otimes_R \kappa(\mathfrak p)$ has dimension $n - c$ for every prime $\mathfrak p \subset R$. By (5) it suffices to prove that any standard smooth algebra $k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ over a field $k$, if nonzero, has dimension $n - c$. We already know that $k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a local complete intersection by Lemma Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3. Hence, since $I/I^2$ is free of rank $c$ we see that $k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ has dimension $n - c$, by Lemma Local criteria for complete intersections for example. $\square$

Proposition. Formal smoothness of smooth algebras

Let $R \to S$ be a ring map. The following are equivalent

  1. $R \to S$ is of finite presentation and formally smooth,

  2. $R \to S$ is smooth.

Proof. Follows from Proposition Characterizations of formal smoothness and Definition Smooth ring maps. (Note that $\Omega_{S/R}$ is a finitely presented $S$-module if $R \to S$ is of finite presentation, see Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1.) $\square$

Lemma. Nakayama's lemma

Source credit: the original source citation MatCA (1.M Lemma (NAK) page 11)

We quote from the original source citation MatCA: "This simple but important lemma is due to T. Nakayama, G. Azumaya and W. Krull. Priority is obscure, and although it is usually called the Lemma of Nakayama, late Prof. Nakayama did not like the name."

Let $R$ be a ring with Jacobson radical $\text{rad}(R)$. Let $M$ be an $R$-module. Let $I \subset R$ be an ideal.

  1. If $IM = M$ and $M$ is finite, then there exists an $f \in 1 + I$ such that $fM = 0$.

  2. If $IM = M$, $M$ is finite, and $I \subset \text{rad}(R)$, then $M = 0$.

  3. If $N, N' \subset M$, $M = N + IN'$, and $N'$ is finite, then there exists an $f \in 1 + I$ such that $fM \subset N$ and $M_f = N_f$.

  4. If $N, N' \subset M$, $M = N + IN'$, $N'$ is finite, and $I \subset \text{rad}(R)$, then $M = N$.

  5. If $N \to M$ is a module map, $N/IN \to M/IM$ is surjective, and $M$ is finite, then there exists an $f \in 1 + I$ such that $N_f \to M_f$ is surjective.

  6. If $N \to M$ is a module map, $N/IN \to M/IM$ is surjective, $M$ is finite, and $I \subset \text{rad}(R)$, then $N \to M$ is surjective.

  7. If $x_1, \ldots, x_n \in M$ generate $M/IM$ and $M$ is finite, then there exists an $f \in 1 + I$ such that $x_1, \ldots, x_n$ generate $M_f$ over $R_f$.

  8. If $x_1, \ldots, x_n \in M$ generate $M/IM$, $M$ is finite, and $I \subset \text{rad}(R)$, then $M$ is generated by $x_1, \ldots, x_n$.

  9. If $IM = M$, $I$ is nilpotent, then $M = 0$.

  10. If $N, N' \subset M$, $M = N + IN'$, and $I$ is nilpotent then $M = N$.

  11. If $N \to M$ is a module map, $I$ is nilpotent, and $N/IN \to M/IM$ is surjective, then $N \to M$ is surjective.

  12. If $\{x_\alpha\}_{\alpha \in A}$ is a set of elements of $M$ which generate $M/IM$ and $I$ is nilpotent, then $M$ is generated by the $x_\alpha$.

Proof. Proof of (the indicated step). Choose generators $y_1, \ldots, y_m$ of $M$ over $R$. For each $i$ we can write $y_i = \sum z_{ij} y_j$ with $z_{ij} \in I$ (since $M = IM$). In other words $\sum_j (\delta_{ij} - z_{ij})y_j = 0$. Let $f$ be the determinant of the $m \times m$ matrix $A = (\delta_{ij} - z_{ij})$. Note that $f \in 1 + I$ (since the matrix $A$ is entrywise congruent to the $m \times m$ identity matrix modulo $I$). By Lemma A left inverse for a matrix (1), there exists an $m \times m$ matrix $B$ such that $BA = f 1_{m \times m}$. Writing out we see that $\sum_{i} b_{hi} a_{ij} = f \delta_{hj}$ for all $h$ and $j$; hence, $\sum_{i, j} b_{hi} a_{ij} y_j = \sum_{j} f \delta_{hj} y_j = f y_h$ for every $h$. In other words, $0 = f y_h$ for every $h$ (since each $i$ satisfies $\sum_j a_{ij} y_j = 0$). This implies that $f$ annihilates $M$.

By Lemma Containment in the Jacobson radical an element of $1 + \text{rad}(R)$ is an invertible element of $R$. Hence we see that (the indicated step) implies (2). We obtain (3) by applying (1) to $M/N$ which is finite as $N'$ is finite. We obtain (4) by applying (2) to $M/N$ which is finite as $N'$ is finite. We obtain (5) by applying (3) to $M$ and the submodules $\operatorname{Im}(N \to M)$ and $M$. We obtain (6) by applying (4) to $M$ and the submodules $\operatorname{Im}(N \to M)$ and $M$. We obtain (7) by applying (5) to the map $R^{\oplus n} \to M$, $(a_1, \ldots, a_n) \mapsto a_1x_1 + \ldots + a_nx_n$. We obtain (8) by applying (6) to the map $R^{\oplus n} \to M$, $(a_1, \ldots, a_n) \mapsto a_1x_1 + \ldots + a_nx_n$.

Part (9) holds because if $M = IM$ then $M = I^nM$ for all $n \geq 0$ and $I$ being nilpotent means $I^n = 0$ for some $n \gg 0$. Parts (10), (11), and (12) follow from (9) by the arguments used above. $\square$

Lemma. Finite presentation and finite algebras

Let $R \to S$ be a ring map of finite presentation. For any surjection $\alpha : R[x_1, \ldots, x_n] \to S$ the kernel of $\alpha$ is a finitely generated ideal in $R[x_1, \ldots, x_n]$.

Proof. Write $S = R[y_1, \ldots, y_m]/(f_1, \ldots, f_k)$. Choose $g_i \in R[y_1, \ldots, y_m]$ which are lifts of $\alpha(x_i)$. Then we see that $S = R[x_i, y_j]/(f_l, x_i - g_i)$. Choose $h_j \in R[x_1, \ldots, x_n]$ such that $\alpha(h_j)$ corresponds to $y_j \bmod (f_1, \ldots, f_k)$. Consider the map $\psi : R[x_i, y_j] \to R[x_i]$, $x_i \mapsto x_i$, $y_j \mapsto h_j$. Then the kernel of $\alpha$ is the image of $(f_l, x_i - g_i)$ under $\psi$ and we win. $\square$

Lemma. The equational criterion for flatness (Equational criterion of flatness)

A module $M$ over $R$ is flat if and only if every relation in $M$ is trivial.

Proof. Assume $M$ is flat and let $\sum f_i x_i = 0$ be a relation in $M$. Let $I = (f_1, \ldots, f_n)$, and let $K = \operatorname{Ker}(R^n \to I, (a_1, \ldots, a_n) \mapsto \sum_i a_i f_i)$. So we have the short exact sequence $0 \to K \to R^n \to I \to 0$. Then $\sum f_i \otimes x_i$ is an element of $I \otimes_R M$ which maps to zero in $R \otimes_R M = M$. By flatness $\sum f_i \otimes x_i$ is zero in $I \otimes_R M$. Thus there exists an element of $K \otimes_R M$ mapping to $\sum e_i \otimes x_i \in R^n \otimes_R M$ where $e_i$ is the $i$th basis element of $R^n$. Write this element as $\sum k_j \otimes y_j$ and then write the image of $k_j$ in $R^n$ as $\sum a_{ij} e_i$ to get the result.

Assume every relation is trivial, let $I$ be a finitely generated ideal, and let $x = \sum f_i \otimes x_i$ be an element of $I \otimes_R M$ mapping to zero in $R \otimes_R M = M$. This just means exactly that $\sum f_i x_i$ is a relation in $M$. And the fact that it is trivial implies easily that $x$ is zero, because $$x

\sum f_i \otimes x_i

\sum f_i \otimes \left(\sum a_{ij}y_j\right)

\sum \left(\sum f_i a_{ij}\right) \otimes y_j

0$$ $\square$

Lemma. Krull's intersection theorem

Let $R$ be a Noetherian local ring. Let $I \subset R$ be a proper ideal. Let $M$ be a finite $R$-module. Then $\bigcap_{n \geq 0} I^nM = 0$.

Proof. Let $N = \bigcap_{n \geq 0} I^nM$. Then $N = I^nM \cap N$ for all $n \geq 0$. By the Artin-Rees Lemma The Artin–Rees lemma we see that $N = I^nM \cap N \subset IN$ for some suitably large $n$. By Nakayama's Lemma Nakayama's lemma we see that $N = 0$. $\square$

Lemma. Composition of smooth ring maps

A composition of smooth ring maps is smooth.

Proof. You can prove this in many different ways. One way is to use the snake lemma (Lemma The snake lemma), the Jacobi-Zariski sequence (Lemma The transitivity sequence for the naive cotangent complex), combined with the characterization of projective modules as being direct summands of free modules (Lemma Characterizations of projective modules). Another proof can be obtained by combining Lemmas Smooth algebras are syntomic, Composition of standard smooth presentations and Smooth morphisms and local algebra. $\square$

Lemma. Total rings of fractions without embedded primes

Let $R$ be a ring. Assume that $R$ has finitely many minimal primes $\mathfrak q_1, \ldots, \mathfrak q_t$, and that $\mathfrak q_1 \cup \ldots \cup \mathfrak q_t$ is the set of zerodivisors of $R$. Then the total ring of fractions $Q(R)$ is equal to $R_{\mathfrak q_1} \times \ldots \times R_{\mathfrak q_t}$.

Proof. There are natural maps $Q(R) \to R_{\mathfrak q_i}$ since any nonzerodivisor lies in $R \setminus \mathfrak q_i$. Hence a natural map $Q(R) \to R_{\mathfrak q_1} \times \ldots \times R_{\mathfrak q_t}$. For any nonminimal prime $\mathfrak p \subset R$ we see that $\mathfrak p \not \subset \mathfrak q_1 \cup \ldots \cup \mathfrak q_t$ by Lemma An elementary algebraic comparison. Hence $\operatorname{Spec}(Q(R)) = \{\mathfrak q_1, \ldots, \mathfrak q_t\}$ (as subsets of $\operatorname{Spec}(R)$, see Lemma The spectrum of a localization). Therefore $\operatorname{Spec}(Q(R))$ is a finite discrete set and it follows that $Q(R) = A_1 \times \ldots \times A_t$ with $\operatorname{Spec}(A_i) = \{\mathfrak{q}_i\}$, see Lemma A disjoint spectrum and a product of rings. Moreover $A_i$ is a local ring, which is a localization of $R$. Hence $A_i \cong R_{\mathfrak q_i}$. $\square$

Lemma. Irreducible components of a Noetherian spectrum

A Noetherian affine scheme has finitely many generic points.

If $R$ is a Noetherian ring then $\operatorname{Spec}(R)$ has finitely many irreducible components. In other words $R$ has finitely many minimal primes.

Proof. By Lemma The topology of a Noetherian spectrum and Topology, Lemma Noetherian topological spaces (programme binding) we see there are finitely many irreducible components. By Lemma Irreducibility of an affine spectrum these correspond to minimal primes of $R$. $\square$

Lemma. Regular rings are Cohen--Macaulay

Let $R$ be a regular local ring and let $x_1, \ldots, x_d$ be a minimal set of generators for the maximal ideal $\mathfrak m$. Then $x_1, \ldots, x_d$ is a regular sequence, and each $R/(x_1, \ldots, x_c)$ is a regular local ring of dimension $d - c$. In particular $R$ is Cohen-Macaulay.

Proof. Note that $R/x_1R$ is a Noetherian local ring of dimension $\geq d - 1$ by Lemma A single polynomial equation with $x_2, \ldots, x_d$ generating the maximal ideal. Hence it is a regular local ring by definition. Since $R$ is a domain by Lemma Regular local rings, Theorem 1.1 $x_1$ is a nonzerodivisor. $\square$

Lemma. Powers of a regular sequence

Let $R$ be a ring. Let $M$ be an $R$-module. Let $f_1, \ldots, f_r \in R$ and $e_1, \ldots, e_r > 0$ integers. Then $f_1, \ldots, f_r$ is an $M$-regular sequence if and only if $f_1^{e_1}, \ldots, f_r^{e_r}$ is an $M$-regular sequence.

Proof. We will prove this by induction on $r$. If $r = 1$ this follows from the following two easy facts: (a) a power of a nonzerodivisor on $M$ is a nonzerodivisor on $M$ and (b) a divisor of a nonzerodivisor on $M$ is a nonzerodivisor on $M$. If $r > 1$, then by induction applied to $M/f_1M$ we have that $f_1, f_2, \ldots, f_r$ is an $M$-regular sequence if and only if $f_1, f_2^{e_2}, \ldots, f_r^{e_r}$ is an $M$-regular sequence. Thus it suffices to show, given $e > 0$, that $f_1^e, f_2, \ldots, f_r$ is an $M$-regular sequence if and only if $f_1, \ldots, f_r$ is an $M$-regular sequence. We will prove this by induction on $e$. The case $e = 1$ is trivial. Since $f_1$ is a nonzerodivisor under both assumptions (by the case $r = 1$) we have a short exact sequence $$0 \to M/f_1M \xrightarrow{f_1^{e - 1}} M/f_1^eM \to M/f_1^{e - 1}M \to 0$$ Suppose that $f_1, f_2, \ldots, f_r$ is an $M$-regular sequence. Then by induction the elements $f_2, \ldots, f_r$ are $M/f_1M$ and $M/f_1^{e - 1}M$-regular sequences. By Lemma Regular sequences, depth and Cohen–Macaulay modules, Propositions 1.1–1.3 and Theorem 6.1 $f_2, \ldots, f_r$ is $M/f_1^eM$-regular. Hence $f_1^e, f_2, \ldots, f_r$ is $M$-regular. Conversely, suppose that $f_1^e, f_2, \ldots, f_r$ is an $M$-regular sequence. Then $f_2 : M/f_1^eM \to M/f_1^eM$ is injective, hence $f_2 : M/f_1M \to M/f_1M$ is injective, hence by induction(!) $f_2 : M/f_1^{e - 1}M \to M/f_1^{e - 1}M$ is injective, hence $$0 \to M/(f_1, f_2)M \xrightarrow{f_1^{e - 1}} M/(f_1^e, f_2)M \to M/(f_1^{e - 1}, f_2)M \to 0$$ is a short exact sequence by Lemma The snake lemma. This proves the converse for $r = 2$. If $r > 2$, then we have $f_3 : M/(f_1^e, f_2)M \to M/(f_1^e, f_2)M$ is injective, hence $f_3 : M/(f_1, f_2)M \to M/(f_1, f_2)M$ is injective, and so on. Some details omitted. $\square$

Lemma. Elementary formally smooth extensions

Let $K/k$ be an extension of fields.

  1. If $K$ is purely transcendental over $k$, then $K$ is formally smooth over $k$.

  2. If $K$ is separable algebraic over $k$, then $K$ is formally smooth over $k$.

  3. If $K$ is separable over $k$, then $K$ is formally smooth over $k$.

Proof. For (1) write $K = k(x_j; j \in J)$. Suppose that $A$ is a $k$-algebra, and $I \subset A$ is an ideal of square zero. Let $\varphi : K \to A/I$ be a $k$-algebra map. Let $a_j \in A$ be an element such that $a_j \mod I = \varphi(x_j)$. Then it is easy to see that there is a unique $k$-algebra map $K \to A$ which maps $x_j$ to $a_j$ and which reduces to $\varphi$ mod $I$. Hence $k \subset K$ is formally smooth.

In case (2) we see that $k \subset K$ is a colimit of étale ring extensions. An étale ring map is formally étale (Lemma Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7). Hence this case follows from Lemma Formal étaleness in a filtered colimit and the trivial observation that a formally étale ring map is formally smooth.

In case (3), write $K = \mathop{\operatorname{colim}} K_i$ as the filtered colimit of its finitely generated $k$-subextensions. By Definition Separable field extensions each $K_i$ is separable algebraic over a purely transcendental extension of $k$. Hence $K_i/k$ is formally smooth by cases (1) and (2) and Lemma Composition of formally smooth maps. Thus $H_1(L_{K_i/k}) = 0$ by Lemma Formal smoothness of field extensions. Hence $H_1(L_{K/k}) = 0$ by Lemma Filtered colimits of naive cotangent complexes. Hence $K/k$ is formally smooth by Lemma Formal smoothness of field extensions again. $\square$

Lemma. Descent of flatness

Let $R$ be a ring. Let $S \to S'$ be a flat map of $R$-algebras. Let $M$ be a module over $S$, and set $M' = S' \otimes_S M$.

  1. If $M$ is flat over $R$, then $M'$ is flat over $R$.

  2. If $S \to S'$ is faithfully flat, then $M$ is flat over $R$ if and only if $M'$ is flat over $R$.

Proof. Let \(N \to N'\) be an injection of \(R\)-modules. By the flatness of \(S \to S'\) we have

\[ \operatorname{Ker}(N \otimes_R M \to N' \otimes_R M) \otimes_S S' = \operatorname{Ker}(N \otimes_R M' \to N' \otimes_R M') \]

If \(M\) is flat over \(R\), then the left hand side is zero and we find that \(M'\) is flat over \(R\) by the second characterization of flatness in Lemma Flatness. If \(M'\) is flat over \(R\) then we have the vanishing of the right hand side and if in addition \(S \to S'\) is faithfully flat, this implies that \(\operatorname{Ker}(N \otimes_R M \to N' \otimes_R M)\) is zero which in turn shows that \(M\) is flat over \(R\). \(\square\)

Lemma. Henselianity in local dimension zero

Local rings of dimension zero are henselian.

Let $(R, \mathfrak m)$ be a local ring of dimension $0$. Then $R$ is henselian.

Proof. Let $R \to S$ be a finite ring map. By Lemma Characterizations of henselian local rings it suffices to show that $S$ is a product of local rings. By Lemma Fibres of a finite ring map $S$ has finitely many primes $\mathfrak m_1, \ldots, \mathfrak m_r$ which all lie over $\mathfrak m$. There are no inclusions among these primes, see Lemma Incomparability for an integral ring map, hence they are all maximal. Every element of $\mathfrak m_1 \cap \ldots \cap \mathfrak m_r$ is nilpotent by Lemma The Zariski topology on an affine spectrum. It follows $S$ is the product of the localizations of $S$ at the primes $\mathfrak m_i$ by Lemma Local factors of a product ring. $\square$

Lemma. Finite étale algebras over a henselian ring

Let $(R, \mathfrak m, \kappa)$ be a henselian local ring. The category of finite étale ring extensions $R \to S$ is equivalent to the category of finite étale algebras $\kappa \to \overline{S}$ via the functor $S \mapsto S/\mathfrak mS$.

Proof. Denote $\mathcal{C} \to \mathcal{D}$ the functor of categories of the statement. Suppose that $R \to S$ is finite étale. Then we may write $$S = A_1 \times \ldots \times A_n$$ with $A_i$ local and finite étale over $S$, use either Lemma Completing the étale-local reduction or Lemma Characterizations of henselian local rings part (10). In particular $A_i/\mathfrak mA_i$ is a finite separable field extension of $\kappa$, see Lemma Étaleness at a prime ideal. Thus we see that every object of $\mathcal{C}$ and $\mathcal{D}$ decomposes canonically into irreducible pieces which correspond via the given functor. Next, suppose that $S_1$, $S_2$ are finite étale over $R$ such that $\kappa_1 = S_1/\mathfrak mS_1$ and $\kappa_2 = S_2/\mathfrak mS_2$ are fields (finite separable over $\kappa$). Then $S_1 \otimes_R S_2$ is finite étale over $R$ and we may write $$S_1 \otimes_R S_2 = A_1 \times \ldots \times A_n$$ as before. Then we see that $\operatorname{Hom}_R(S_1, S_2)$ is identified with the set of indices $i \in \{1, \ldots, n\}$ such that $S_2 \to A_i$ is an isomorphism. To see this use that given any $R$-algebra map $\varphi : S_1 \to S_2$ the map $\varphi \times 1 : S_1 \otimes_R S_2 \to S_2$ is surjective, and hence is equal to projection onto one of the factors $A_i$. But in exactly the same way we see that $\operatorname{Hom}_\kappa(\kappa_1, \kappa_2)$ is identified with the set of indices $i \in \{1, \ldots, n\}$ such that $\kappa_2 \to A_i/\mathfrak mA_i$ is an isomorphism. By the discussion above these sets of indices match, and we conclude that our functor is fully faithful. Finally, let $\kappa'/\kappa$ be a finite separable field extension. By Lemma An étale map with a prescribed residue extension there exists an étale ring map $R \to S$ and a prime $\mathfrak q$ of $S$ lying over $\mathfrak m$ such that $\kappa \subset \kappa(\mathfrak q)$ is isomorphic to the given extension. By Lemma Completing the étale-local reduction we may write $S = A_1 \times \ldots \times A_n \times B$. Since $R \to S$ is quasi-finite we see that there exists no prime of $B$ over $\mathfrak m$. Hence $S_{\mathfrak q}$ is equal to $A_i$ for some $i$. Hence $R \to A_i$ is finite étale and produces the given residue field extension. Thus the functor is essentially surjective and we win. $\square$

Lemma. Dimension of a flat family

Let $R \to S$ be a homomorphism of Noetherian rings. Let $\mathfrak q \subset S$ be a prime lying over the prime $\mathfrak p$. Assume the going down property holds for $R \to S$ (for example if $R \to S$ is flat, see Lemma Going down for flat ring maps). Then $$\dim(S_{\mathfrak q})

\dim(R_{\mathfrak p}) + \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}).$$

Proof. By Lemma Dimensions of a base, fibre and total space we have an inequality $\dim(S_{\mathfrak q}) \leq \dim(R_{\mathfrak p}) + \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q})$. To get equality, choose a chain of primes $\mathfrak pS \subset \mathfrak q_0 \subset \mathfrak q_1 \subset \ldots \subset \mathfrak q_d = \mathfrak q$ with $d = \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q})$. On the other hand, choose a chain of primes $\mathfrak p_0 \subset \mathfrak p_1 \subset \ldots \subset \mathfrak p_e = \mathfrak p$ with $e = \dim(R_{\mathfrak p})$. By the going down theorem we may choose $\mathfrak q_{-1} \subset \mathfrak q_0$ lying over $\mathfrak p_{e-1}$. And then we may choose $\mathfrak q_{-2} \subset \mathfrak q_{-1}$ lying over $\mathfrak p_{e-2}$. Inductively we keep going until we get a chain $\mathfrak q_{-e} \subset \ldots \subset \mathfrak q_d$ of length $e + d$. $\square$

Lemma. Universal injectivity of a faithfully flat ring map

Let $R \to S$ be a faithfully flat ring map. Then $R \to S$ is universally injective as a map of $R$-modules. In particular $R \cap IS = I$ for any ideal $I \subset R$.

Proof. Let $N$ be an $R$-module. We have to show that $N \to N \otimes_R S$ is injective. As $S$ is faithfully flat as an $R$-module, it suffices to prove this after tensoring with $S$. Hence it suffices to show that $N \otimes_R S \to N \otimes_R S \otimes_R S$, $n \otimes s \mapsto n \otimes 1 \otimes s$ is injective. This is true because there is a retraction, namely, $n \otimes s \otimes s' \mapsto n \otimes ss'$. $\square$

Lemma. Characterizations of henselian local rings

Characterizations of henselian local rings

Let $(R, \mathfrak m, \kappa)$ be a local ring. The following are equivalent

  1. $R$ is henselian,

  2. for every $f \in R[T]$ and every root $a_0 \in \kappa$ of $\overline{f}$ such that $\overline{f'}(a_0) \not = 0$ there exists an $a \in R$ such that $f(a) = 0$ and $a_0 = \overline{a}$,

  3. for any monic $f \in R[T]$ and any factorization $\overline{f} = g_0 h_0$ with $\gcd(g_0, h_0) = 1$ there exists a factorization $f = gh$ in $R[T]$ such that $g_0 = \overline{g}$ and $h_0 = \overline{h}$,

  4. for any monic $f \in R[T]$ and any factorization $\overline{f} = g_0 h_0$ with $\gcd(g_0, h_0) = 1$ there exists a factorization $f = gh$ in $R[T]$ such that $g_0 = \overline{g}$ and $h_0 = \overline{h}$ and moreover $\deg_T(g) = \deg_T(g_0)$,

  5. for any $f \in R[T]$ and any factorization $\overline{f} = g_0 h_0$ with $\gcd(g_0, h_0) = 1$ there exists a factorization $f = gh$ in $R[T]$ such that $g_0 = \overline{g}$ and $h_0 = \overline{h}$,

  6. for any $f \in R[T]$ and any factorization $\overline{f} = g_0 h_0$ with $\gcd(g_0, h_0) = 1$ there exists a factorization $f = gh$ in $R[T]$ such that $g_0 = \overline{g}$ and $h_0 = \overline{h}$ and moreover $\deg_T(g) = \deg_T(g_0)$ if $g_0 \ne 0$,

  7. for any étale ring map $R \to S$ and prime $\mathfrak q$ of $S$ lying over $\mathfrak m$ with $\kappa = \kappa(\mathfrak q)$ there exists a retraction $\tau : S \to R$ of $R \to S$,

  8. for any étale ring map $R \to S$ and prime $\mathfrak q$ of $S$ lying over $\mathfrak m$ with $\kappa = \kappa(\mathfrak q)$ there exists a unique retraction $\tau : S \to R$ of $R \to S$ such that $\mathfrak q = \tau^{-1}(\mathfrak m)$,

  9. any finite $R$-algebra is a product of local rings,

  10. any finite $R$-algebra is a finite product of local rings,

  11. any finite type $R$-algebra $S$ can be written as $A \times B$ with $R \to A$ finite and $R \to B$ not quasi-finite at any prime lying over $\mathfrak m$,

  12. any finite type $R$-algebra $S$ can be written as $A \times B$ with $R \to A$ finite such that each irreducible component of $\operatorname{Spec}(B \otimes_R \kappa)$ has dimension $\geq 1$, and

  13. any quasi-finite $R$-algebra $S$ can be written as $S = A \times B$ with $R \to A$ finite such that $B \otimes_R \kappa = 0$.

Proof. Here is a list of the easier implications:

  1. 2$\Rightarrow$``{=html}1 because in (2) we consider all polynomials and in (1) only monic ones,

  2. 5$\Rightarrow$``{=html}3 because in (5) we consider all polynomials and in (3) only monic ones,

  3. 6$\Rightarrow$``{=html}4 because in (6) we consider all polynomials and in (4) only monic ones,

  4. 4$\Rightarrow$``{=html}3 is obvious,

  5. 6$\Rightarrow$``{=html}5 is obvious,

  6. 8$\Rightarrow$``{=html}7 is obvious,

  7. 10$\Rightarrow$``{=html}9 is obvious,

  8. 11$\Leftrightarrow$``{=html}12 by definition of being quasi-finite at a prime,

  9. 11$\Rightarrow$``{=html}13 by definition of being quasi-finite,

Proof of 1$\Rightarrow$``{=html}8. Assume (1). Let $R \to S$ be étale, and let $\mathfrak q \subset S$ be a prime ideal such that $\kappa(\mathfrak q) \cong \kappa$. By Proposition Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7 we can find a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is standard étale. After replacing $S$ by $S_g$ we may assume that $S = R[t]_g/(f)$ is standard étale (details omitted). Since the prime $\mathfrak q$ has residue field $\kappa$ it corresponds to a root $a_0$ of $\overline{f}$ which is not a root of $\overline{g}$. By definition of a standard étale algebra this also means that $\overline{f'}(a_0) \not = 0$. Since also $f$ is monic by definition of a standard étale algebra again we may use that $R$ is henselian to conclude that there exists an $a \in R$ with $a_0 = \overline{a}$ such that $f(a) = 0$. This implies that $g(a)$ is a unit of $R$ and we obtain the desired map $\tau : S = R[t]_g/(f) \to R$ by the rule $t \mapsto a$. By construction $\tau^{-1}(\mathfrak m) = \mathfrak q$. By Lemma Uniqueness of an étale lifting the map $\tau$ is unique. This proves (8) holds.

Proof of 7$\Rightarrow$``{=html}8. (This is really unimportant and should be skipped.) Assume (7) holds and assume $R \to S$ is étale. Let $\mathfrak q_1, \ldots, \mathfrak q_r$ be the other primes of $S$ lying over $\mathfrak m$. Then we can find a $g \in S$, $g \not \in \mathfrak q$ and $g \in \mathfrak q_i$ for $i = 1, \ldots, r$. Namely, we can argue that $\bigcap_{i=1}^{r} \mathfrak{q}_{i} \not\subset \mathfrak{q}$ since otherwise $\mathfrak{q}_{i} \subset \mathfrak{q}$ for some $i$, but this cannot happen as the fiber of an étale morphism is discrete (use Lemma Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7 for example). Apply (7) to the étale ring map $R \to S_g$ and the prime $\mathfrak qS_g$. This gives a retraction $\tau_g : S_g \to R$ such that the composition $\tau : S \to S_g \to R$ has the property $\tau^{-1}(\mathfrak m) = \mathfrak q$. Details omitted.

Proof of 8$\Rightarrow$``{=html}11. Assume (8) and let $R \to S$ be a finite type ring map. Apply Lemma Making a quasi-finite algebra finite étale locally. We find an étale ring map $R \to R'$ and a prime $\mathfrak m' \subset R'$ lying over $\mathfrak m$ with $\kappa = \kappa(\mathfrak m')$ such that $R' \otimes_R S = A' \times B'$ with $A'$ finite over $R'$ and $B'$ not quasi-finite over $R'$ at any prime lying over $\mathfrak m'$. Apply (8) to get a retraction $\tau : R' \to R$ with $\mathfrak m' = \tau^{-1}(\mathfrak m)$. Then use that $$S = (S \otimes_R R') \otimes_{R', \tau} R = (A' \times B') \otimes_{R', \tau} R = (A' \otimes_{R', \tau} R) \times (B' \otimes_{R', \tau} R)$$ which gives a decomposition as in (11).

Proof of 8$\Rightarrow$``{=html}10. Assume (8) and let $R \to S$ be a finite ring map. Apply Lemma Making a quasi-finite algebra finite étale locally. We find an étale ring map $R \to R'$ and a prime $\mathfrak m' \subset R'$ lying over $\mathfrak m$ with $\kappa = \kappa(\mathfrak m')$ such that $R' \otimes_R S = A'_1 \times \ldots \times A'_n \times B'$ with $A'_i$ finite over $R'$ having exactly one prime over $\mathfrak m'$ and $B'$ not quasi-finite over $R'$ at any prime lying over $\mathfrak m'$. Apply (8) to get a retraction $\tau : R' \to R$ with $\mathfrak m' = \tau^{-1}(\mathfrak m)$. Then we obtain $$\begin{aligned} S & = (S \otimes_R R') \otimes_{R', \tau} R \\ & = (A'_1 \times \ldots \times A'_n \times B') \otimes_{R', \tau} R \\ & = (A'_1 \otimes_{R', \tau} R) \times \ldots \times (A'_n \otimes_{R', \tau} R) \times (B' \otimes_{R', \tau} R) \\ & = A_1 \times \ldots \times A_n \times B \end{aligned}$$ The factor $B$ is finite over $R$ but $R \to B$ is not quasi-finite at any prime lying over $\mathfrak m$. Hence $B = 0$. The factors $A_i$ are finite $R$-algebras having exactly one prime lying over $\mathfrak m$, hence they are local rings. This proves that $S$ is a finite product of local rings.

Proof of 9$\Rightarrow$``{=html}10. This holds because if $S$ is finite over the local ring $R$, then it has at most finitely many maximal ideals. Namely, by going up for $R \to S$ the maximal ideals of $S$ all lie over $\mathfrak m$, and $S/\mathfrak mS$ is Artinian hence has finitely many primes.

Proof of 10$\Rightarrow$``{=html}1. Assume (10). Let $f \in R[T]$ be a monic polynomial and $a_0 \in \kappa$ a simple root of $\overline{f}$. Then $S = R[T]/(f)$ is a finite $R$-algebra. Applying (10) we get $S = A_1 \times \ldots \times A_r$ is a finite product of local $R$-algebras. In particular we see that $S/\mathfrak mS = \prod A_i/\mathfrak mA_i$ is the decomposition of $\kappa[T]/(\overline{f})$ as a product of local rings. This means that one of the factors, say $A_1/\mathfrak mA_1$ is the quotient $\kappa[T]/(\overline{f}) \to \kappa[T]/(T - a_0)$. Since $A_1$ is a summand of the finite free $R$-module $S$ it is a finite free $R$-module itself. As $A_1/\mathfrak mA_1$ is a $\kappa$-vector space of dimension 1 we see that $A_1 \cong R$ as an $R$-module. Clearly this means that $R \to A_1$ is an isomorphism. Let $a \in R$ be the image of $T$ under the map $R[T] \to S \to A_1 \to R$. Then $f(a) = 0$ and $\overline{a} = a_0$ as desired.

Proof of 13$\Rightarrow$``{=html}1. Assume (13). Let $f \in R[T]$ be a monic polynomial and $a_0 \in \kappa$ a simple root of $\overline{f}$. Then $S_1 = R[T]/(f)$ is a finite $R$-algebra. Let $g \in R[T]$ be any element such that $\overline{g} = \overline{f}/(T - a_0)$. Then $S = (S_1)_g$ is a quasi-finite $R$-algebra such that $S \otimes_R \kappa \cong \kappa[T]_{\overline{g}}/(\overline{f}) \cong \kappa[T]/(T - a_0) \cong \kappa$. Applying (13) to $S$ we get $S = A \times B$ with $A$ finite over $R$ and $B \otimes_R \kappa = 0$. In particular we see that $\kappa \cong S/\mathfrak mS = A/\mathfrak mA$. Since $A$ is a summand of the flat $R$-algebra $S$ we see that it is finite flat, hence free over $R$. As $A/\mathfrak mA$ is a $\kappa$-vector space of dimension 1 we see that $A \cong R$ as an $R$-module. Clearly this means that $R \to A$ is an isomorphism. Let $a \in R$ be the image of $T$ under the map $R[T] \to S \to A \to R$. Then $f(a) = 0$ and $\overline{a} = a_0$ as desired.

Proof of 8$\Rightarrow$``{=html}2. Assume (8). Let $f \in R[T]$ be any polynomial and let $a_0 \in \kappa$ be a simple root of $\overline{f}$. Then the algebra $S = R[T]_{f'}/(f)$ is étale over $R$. Let $\mathfrak q \subset S$ be the prime generated by $\mathfrak m$ and $T - b$ where $b \in R$ is any element such that $\overline{b} = a_0$. Apply (8) to $S$ and $\mathfrak q$ to get $\tau : S \to R$. Then the image $\tau(T) = a \in R$ works in (2).

At this point we see that (1), (2), (7), (8), (9), (10), (11), (12), (13) are all equivalent. The weakest assertion of (3), (4), (5) and (6) is (3) and the strongest is (6). Hence we still have to prove that (3) implies (1) and (1) implies (6).

Proof of 3$\Rightarrow$``{=html}1. Assume (3). Let $f \in R[T]$ be monic and let $a_0 \in \kappa$ be a simple root of $\overline{f}$. This gives a factorization $\overline{f} = (T - a_0)h_0$ with $h_0(a_0) \not = 0$, so $\gcd(T - a_0, h_0) = 1$. Apply (3) to get a factorization $f = gh$ with $\overline{g} = T - a_0$ and $\overline{h} = h_0$. Set $S = R[T]/(f)$ which is a finite free $R$-algebra. We will write $g$, $h$ also for the images of $g$ and $h$ in $S$. Then $gS + hS = S$ by Nakayama's Lemma Nakayama's lemma as the equality holds modulo $\mathfrak m$. Since $gh = f = 0$ in $S$ this also implies that $gS \cap hS = 0$. Hence by the Chinese Remainder theorem we obtain $S = S/(g) \times S/(h)$. This implies that $A = S/(g)$ is a summand of a finite free $R$-module, hence finite free. Moreover, the rank of $A$ is $1$ as $A/\mathfrak mA = \kappa[T]/(T - a_0)$. Thus the map $R \to A$ is an isomorphism. Setting $a \in R$ equal to the image of $T$ under the maps $R[T] \to S \to A \to R$ gives an element of $R$ with $f(a) = 0$ and $\overline{a} = a_0$.

Proof of 1$\Rightarrow$``{=html}6. Assume (1) or equivalently all of (1), (2), (7), (8), (9), (10), (11), (12), (13). Let $f \in R[T]$ be a polynomial. Suppose that $\overline{f} = g_0h_0$ is a factorization with $\gcd(g_0, h_0) = 1$. If $g_0 = 0$, then $h_0$ is a nonzero constant; lift it to a unit $h \in R$ and set $g = h^{-1}f$. If $h_0 = 0$, lift the nonzero constant $g_0$ to a unit $g \in R$ and set $h = g^{-1}f$. Thus we may assume that both residue factors are nonzero. We may and do assume that $g_0$ is monic. Consider $S = R[T]/(f)$. Because we have the factorization we see that the coefficients of $f$ generate the unit ideal in $R$. This implies that $S$ has finite fibres over $R$, hence is quasi-finite over $R$. It also implies that $S$ is flat over $R$ by Lemma Grothendieck's fibrewise nonzerodivisor criterion. Combining (13) and (10) we may write $S = A_1 \times \ldots \times A_n \times B$ where each $A_i$ is local and finite over $R$, and $B \otimes_R \kappa = 0$. After reordering the factors $A_1, \ldots, A_n$ we may assume that $$\kappa[T]/(g_0) = A_1/\mathfrak m A_1 \times \ldots \times A_r/\mathfrak mA_r, \ \kappa[T]/(h_0) = A_{r + 1}/\mathfrak mA_{r + 1} \times \ldots \times A_n/\mathfrak mA_n$$ as quotients of $\kappa[T]$. The finite flat $R$-algebra $A = A_1 \times \ldots \times A_r$ is free as an $R$-module, see Lemma Finite flat modules over a local ring. Its rank is $\deg_T(g_0)$. Let $g \in R[T]$ be the characteristic polynomial of the $R$-linear operator $T : A \to A$. Then $g$ is a monic polynomial of degree $\deg_T(g) = \deg_T(g_0)$ and moreover $\overline{g} = g_0$. By Cayley-Hamilton (Lemma The characteristic polynomial) we see that $g(T_A) = 0$ where $T_A$ indicates the image of $T$ in $A$. Hence we obtain a well defined surjective map $R[T]/(g) \to A$ which is an isomorphism by Nakayama's Lemma Nakayama's lemma. The map $R[T] \to A$ factors through $R[T]/(f)$ by construction hence we may write $f = gh$ for some $h$. This finishes the proof. $\square$

Lemma. Extending a henselian lifting problem to a finite algebra

Let $R \to S$ be a local map of local rings. Let $S \to S^h$ be the henselization. Let $R \to A$ be an étale ring map and let $\mathfrak q$ be a prime of $A$ lying over $\mathfrak m_R$ such that $R/\mathfrak m_R \cong \kappa(\mathfrak q)$. Then there exists a unique morphism of rings $f : A \to S^h$ fitting into the commutative diagram $$\begin{gathered}\begin{matrix}A & S^h \\ R & S\end{matrix} \\[6pt] \begin{aligned}A & \xrightarrow{f} S^h \\ R & \longrightarrow A \\ R & \longrightarrow S \\ S & \longrightarrow S^h\end{aligned}\end{gathered}$$ such that $f^{-1}(\mathfrak m_{S^h}) = \mathfrak q$.

Proof. This is a special case of Lemma Maps into a henselian local ring. $\square$

Lemma. Étale morphisms

Results on étale ring maps.

  1. The ring map $R \to R_f$ is étale for any ring $R$ and any $f \in R$.

  2. Compositions of étale ring maps are étale.

  3. A base change of an étale ring map is étale.

  4. The property of being étale is local: Given a ring map $R \to S$ and elements $g_1, \ldots, g_m \in S$ which generate the unit ideal such that $R \to S_{g_j}$ is étale for $j = 1, \ldots, m$ then $R \to S$ is étale.

  5. Given $R \to S$ of finite presentation, and a flat ring map $R \to R'$, set $S' = R' \otimes_R S$. The set of primes where $R' \to S'$ is étale is the inverse image via $\operatorname{Spec}(S') \to \operatorname{Spec}(S)$ of the set of primes where $R \to S$ is étale.

  6. An étale ring map is syntomic, in particular flat.

  7. If $S$ is finite type over a field $k$, then $S$ is étale over $k$ if and only if $\Omega_{S/k} = 0$.

  8. Any étale ring map $R \to S$ is the base change of an étale ring map $R_0 \to S_0$ with $R_0$ of finite type over $\mathbf{Z}$.

  9. Let $A = \mathop{\operatorname{colim}} A_i$ be a filtered colimit of rings. Let $A \to B$ be an étale ring map. Then there exists an étale ring map $A_i \to B_i$ for some $i$ such that $B \cong A \otimes_{A_i} B_i$.

  10. Let $A$ be a ring. Let $S$ be a multiplicative subset of $A$. Let $S^{-1}A \to B'$ be étale. Then there exists an étale ring map $A \to B$ such that $B' \cong S^{-1}B$.

  11. Let $A$ be a ring. Let $B = B' \times B''$ be a product of $A$-algebras. Then $B$ is étale over $A$ if and only if both $B'$ and $B''$ are étale over $A$.

Proof. In each case we use the corresponding result for smooth ring maps with a small argument added to show that $\Omega_{S/R}$ is zero.

Proof of (1). The ring map $R \to R_f$ is smooth and $\Omega_{R_f/R} = 0$.

Proof of (2). The composition $A \to C$ of smooth maps $A \to B$ and $B \to C$ is smooth, see Lemma Composition of smooth ring maps. By Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 we see that $\Omega_{C/A}$ is zero as both $\Omega_{C/B}$ and $\Omega_{B/A}$ are zero.

Proof of (3). Let $R \to S$ be étale and $R \to R'$ be arbitrary. Then $R' \to S' = R' \otimes_R S$ is smooth, see Lemma Base change of smooth ring maps. Since $\Omega_{S'/R'} = S' \otimes_S \Omega_{S/R}$ by Lemma Base change of Kähler differentials we conclude that $\Omega_{S'/R'} = 0$. Hence $R' \to S'$ is étale.

Proof of (4). Assume the hypotheses of (4). By Lemma Smooth morphisms and local algebra we see that $R \to S$ is smooth. We are also given that $\Omega_{S_{g_i}/R} = (\Omega_{S/R})_{g_i} = 0$ for all $i$. Then $\Omega_{S/R} = 0$, see Lemma A finite cover by affine localizations.

Proof of (5). The result for smooth maps is Lemma The smooth locus under flat base change. In the proof of that lemma we used that $\mathrm{NL}_{S/R} \otimes_S S'$ is homotopy equivalent to $\mathrm{NL}_{S'/R'}$. This reduces us to showing that if $M$ is a finitely presented $S$-module the set of primes $\mathfrak q'$ of $S'$ such that $(M \otimes_S S')_{\mathfrak q'} = 0$ is the inverse image of the set of primes $\mathfrak q$ of $S$ such that $M_{\mathfrak q} = 0$. This follows from Lemma Support under base change.

Proof of (6). Follows directly from the corresponding result for smooth ring maps (Lemma Smooth algebras are syntomic).

Proof of (7). Follows from Lemma Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3 and the definitions.

Proof of (8). Lemma Finite presentation and formal smoothness over a Noetherian ring gives the result for smooth ring maps. The resulting smooth ring map $R_0 \to S_0$ satisfies the hypotheses of Lemma Relative dimension in a Cohen–Macaulay family, and hence we may replace $S_0$ by the factor of relative dimension $0$ over $R_0$.

Proof of (9). Follows from (8) since $R_0 \to A$ will factor through $A_i$ for some $i$ by Lemma Characterizations of finite presentation.

Proof of (10). Follows from (9), (1), and (2) since $S^{-1}A$ is a filtered colimit of principal localizations of $A$.

Proof of (11). Use Lemma Products of smooth algebras to see the result for smoothness and then use that $\Omega_{B/A}$ is zero if and only if both $\Omega_{B'/A}$ and $\Omega_{B''/A}$ are zero. $\square$

Definition. Étale ring maps

Let $R \to S$ be a ring map. We say $R \to S$ is étale if it is of finite presentation and the naive cotangent complex $\mathrm{NL}_{S/R}$ is quasi-isomorphic to zero: this means that $H_1(\mathrm{NL}_{S/R}) = 0$ and $\Omega_{S/R} = 0$. Given a prime $\mathfrak q$ of $S$ we say that $R \to S$ is étale at $\mathfrak q$ if there exists a $g \in S$, $g \not \in \mathfrak q$ such that $R \to S_g$ is étale.

Lemma. The Zariski topology on an affine spectrum

Let $R$ be a ring.

  1. The spectrum of a ring $R$ is empty if and only if $R$ is the zero ring.

  2. Every nonzero ring has a maximal ideal.

  3. Every nonzero ring has a minimal prime ideal.

  4. Given an ideal $I \subset R$ and a prime ideal $I \subset \mathfrak p$ there exists a prime $I \subset \mathfrak q \subset \mathfrak p$ such that $\mathfrak q$ is minimal over $I$.

  5. If $T \subset R$, and if $(T)$ is the ideal generated by $T$ in $R$, then $V((T)) = V(T)$.

  6. If $I$ is an ideal and $\sqrt{I}$ is its radical, see basic notion (Commutative algebra), then $V(I) = V(\sqrt{I})$.

  7. Given an ideal $I$ of $R$ we have $\sqrt{I} = \bigcap_{I \subset \mathfrak p} \mathfrak p$.

  8. If $I$ is an ideal then $V(I) = \emptyset$ if and only if $I$ is the unit ideal.

  9. If $I$, $J$ are ideals of $R$ then $V(I) \cup V(J) = V(I \cap J)$.

  10. If $(I_a)_{a\in A}$ is a set of ideals of $R$ then $\bigcap_{a\in A} V(I_a) = V(\bigcup_{a\in A} I_a)$.

  11. If $f \in R$, then $D(f) \amalg V(f) = \operatorname{Spec}(R)$.

  12. If $f \in R$ then $D(f) = \emptyset$ if and only if $f$ is nilpotent.

  13. If $f = u f'$ for some unit $u \in R$, then $D(f) = D(f')$.

  14. If $I \subset R$ is an ideal, and $\mathfrak p$ is a prime of $R$ with $\mathfrak p \not\in V(I)$, then there exists an $f \in R$ such that $\mathfrak p \in D(f)$, and $D(f) \cap V(I) = \emptyset$.

  15. If $f, g \in R$, then $D(fg) = D(f) \cap D(g)$.

  16. If $f_i \in R$ for $i \in I$, then $\bigcup_{i\in I} D(f_i)$ is the complement of $V(\{f_i \}_{i\in I})$ in $\operatorname{Spec}(R)$.

  17. If $f \in R$ and $D(f) = \operatorname{Spec}(R)$, then $f$ is a unit.

Proof. We address each part in the corresponding item below.

  1. This is a direct consequence of (2) or (3).

  2. Let $\mathfrak{A}$ be the set of all proper ideals of $R$. This set is ordered by inclusion and is non-empty, since $(0) \in \mathfrak{A}$ is a proper ideal. Let $A$ be a totally ordered subset of $\mathfrak A$. Then $\bigcup_{I \in A} I$ is in fact an ideal. Since $1 \notin I$ for all $I \in A$, the union does not contain $1$ and thus is proper. Hence $\bigcup_{I \in A} I$ is in $\mathfrak{A}$ and is an upper bound for the set $A$. Thus by Zorn's lemma $\mathfrak{A}$ has a maximal element, which is the sought-after maximal ideal.

  3. Since $R$ is nonzero, it contains a maximal ideal which is a prime ideal. Thus the set $\mathfrak{A}$ of all prime ideals of $R$ is nonempty. $\mathfrak{A}$ is ordered by reverse-inclusion. Let $A$ be a totally ordered subset of $\mathfrak{A}$. It's pretty clear that $J = \bigcap_{I \in A} I$ is in fact an ideal. Not so clear, however, is that it is prime. Let $xy \in J$. Then $xy \in I$ for all $I \in A$. Now let $B = \{I \in A | y \in I\}$. Let $K = \bigcap_{I \in B} I$. Since $A$ is totally ordered, either $K = J$ (and we're done, since then $y \in J$) or $K \supset J$ and for all $I \in A$ such that $I$ is properly contained in $K$, we have $y \notin I$. But that means that for all those $I, x \in I$, since they are prime. Hence $x \in J$. In either case, $J$ is prime as desired. Hence by Zorn's lemma we get a maximal element which in this case is a minimal prime ideal.

  4. This is the same exact argument as (3) except you only consider prime ideals contained in $\mathfrak{p}$ and containing $I$.

  5. $(T)$ is the smallest ideal containing $T$. Hence if $T \subset I$, some ideal, then $(T) \subset I$ as well. Hence if $I \in V(T)$, then $I \in V((T))$ as well. The other inclusion is obvious.

  6. Since $I \subset \sqrt{I}, V(\sqrt{I}) \subset V(I)$. Now let $\mathfrak{p} \in V(I)$. Let $x \in \sqrt{I}$. Then $x^n \in I$ for some $n$. Hence $x^n \in \mathfrak{p}$. But since $\mathfrak{p}$ is prime, a boring induction argument gets you that $x \in \mathfrak{p}$. Hence $\sqrt{I} \subset \mathfrak{p}$ and $\mathfrak{p} \in V(\sqrt{I})$.

  7. Let $f \in R \setminus \sqrt{I}$. Then $f^n \notin I$ for all $n$. Hence $S = \{1, f, f^2, \ldots\}$ is a multiplicative subset, not containing $0$. Take a prime ideal $\bar{\mathfrak{p}} \subset S^{-1}R$ containing $S^{-1}I$. Then the pull-back $\mathfrak{p}$ in $R$ of $\bar{\mathfrak{p}}$ is a prime ideal containing $I$ that does not intersect $S$. This shows that $\bigcap_{I \subset \mathfrak p} \mathfrak p \subset \sqrt{I}$. Now if $a \in \sqrt{I}$, then $a^n \in I$ for some $n$. Hence if $I \subset \mathfrak{p}$, then $a^n \in \mathfrak{p}$. But since $\mathfrak{p}$ is prime, we have $a \in \mathfrak{p}$. Thus the equality is shown.

  8. $I$ is not the unit ideal if and only if $I$ is contained in some maximal ideal (to see this, apply (2) to the ring $R/I$) which is therefore prime.

  9. If $\mathfrak{p} \in V(I) \cup V(J)$, then $I \subset \mathfrak{p}$ or $J \subset \mathfrak{p}$ which means that $I \cap J \subset \mathfrak{p}$. Now if $I \cap J \subset \mathfrak{p}$, then $IJ \subset \mathfrak{p}$ and hence either $I \subset \mathfrak{p}$ or $J \subset \mathfrak{p}$, since $\mathfrak{p}$ is prime.

  10. $\mathfrak{p} \in \bigcap_{a \in A} V(I_a) \Leftrightarrow I_a \subset \mathfrak{p}, \forall a \in A \Leftrightarrow \mathfrak{p} \in V(\bigcup_{a\in A} I_a)$

  11. If $\mathfrak{p}$ is a prime ideal and $f \in R$, then either $f \in \mathfrak{p}$ or $f \notin \mathfrak{p}$ (strictly) which is what the disjoint union says.

  12. If $a \in R$ is nilpotent, then $a^n = 0$ for some $n$. Hence $a^n \in \mathfrak{p}$ for any prime ideal. Thus $a \in \mathfrak{p}$ as can be shown by induction and $D(a) = \emptyset$. Now, as shown in (7), if $a \in R$ is not nilpotent, then there is a prime ideal that does not contain it.

  13. $f \in \mathfrak{p} \Leftrightarrow uf \in \mathfrak{p}$, since $u$ is invertible.

  14. If $\mathfrak{p} \notin V(I)$, then $\exists f \in I \setminus \mathfrak{p}$. Then $f \notin \mathfrak{p}$ so $\mathfrak{p} \in D(f)$. Also if $\mathfrak{q} \in D(f)$, then $f \notin \mathfrak{q}$ and thus $I$ is not contained in $\mathfrak{q}$. Thus $D(f) \cap V(I) = \emptyset$.

  15. If $fg \in \mathfrak{p}$, then $f \in \mathfrak{p}$ or $g \in \mathfrak{p}$. Hence if $f \notin \mathfrak{p}$ and $g \notin \mathfrak{p}$, then $fg \notin \mathfrak{p}$. Since $\mathfrak{p}$ is an ideal, if $fg \notin \mathfrak{p}$, then $f \notin \mathfrak{p}$ and $g \notin \mathfrak{p}$.

  16. $\mathfrak{p} \in \bigcup_{i \in I} D(f_i) \Leftrightarrow \exists i \in I, f_i \notin \mathfrak{p} \Leftrightarrow \mathfrak{p} \in \operatorname{Spec}(R) \setminus V(\{f_i\}_{i \in I})$

  17. If $D(f) = \operatorname{Spec}(R)$, then $V(f) = \emptyset$ and hence $fR = R$, so $f$ is a unit.

$\square$

Example. Étale algebras from polynomial factorizations

Let $n , m \geq 1$ be integers. Consider the ring map $$\begin{eqnarray*} R = \mathbf{Z}[a_1, \ldots, a_{n + m}] & \longrightarrow & S = \mathbf{Z}[b_1, \ldots, b_n, c_1, \ldots, c_m] \\ a_1 & \longmapsto & b_1 + c_1 \\ a_2 & \longmapsto & b_2 + b_1 c_1 + c_2 \\ \ldots & \ldots & \ldots \\ a_{n + m} & \longmapsto & b_n c_m \end{eqnarray*}$$ of Example Factorization of polynomials. Write symbolically $$S = R[b_1, \ldots, c_m]/(\{a_k(b_i, c_j) - a_k\}_{k = 1, \ldots, n + m})$$ where for example $a_1(b_i, c_j) = b_1 + c_1$. The matrix of partial derivatives is $$\left( \begin{matrix} 1 & c_1 & \ldots & c_m & 0 & \ldots & \ldots & 0 \\ 0 & 1 & c_1 & \ldots & c_m & 0 & \ldots & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & \ldots & 0 & 1 & c_1 & c_2 & \ldots & c_m \\ 1 & b_1 & \ldots & b_{n - 1} & b_n & 0 & \ldots & 0 \\ 0 & 1 & b_1 & \ldots & b_{n - 1} & b_n & \ldots & 0 \\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & \ldots & \ldots & 0 & 1 & b_1 & \ldots & b_n \end{matrix} \right)$$ The determinant $\Delta$ of this matrix is better known as the resultant of the polynomials $g = x^n + b_1 x^{n - 1} + \ldots + b_n$ and $h = x^m + c_1 x^{m - 1} + \ldots + c_m$, and the matrix above is known as the Sylvester matrix associated to $g, h$. In a formula $\Delta = \text{Res}_x(g, h)$. The Sylvester matrix is the transpose of the matrix of the linear map $$\begin{eqnarray*} S[x]_{< m} \oplus S[x]_{< n} & \longrightarrow & S[x]_{< n + m} \\ a \oplus b & \longmapsto & ag + bh \end{eqnarray*}$$ Let $\mathfrak q \subset S$ be any prime. By the above the following are equivalent:

  1. $R \to S$ is étale at $\mathfrak q$,

  2. $\Delta = \text{Res}_x(g, h) \not \in \mathfrak q$,

  3. the images $\overline{g}, \overline{h} \in \kappa(\mathfrak q)[x]$ of the polynomials $g, h$ are relatively prime in $\kappa(\mathfrak q)[x]$.

The equivalence of (2) and (3) holds because the image of the Sylvester matrix in $\text{Mat}(n + m, \kappa(\mathfrak q))$ has a kernel if and only if the polynomials $\overline{g}, \overline{h}$ have a factor in common. We conclude that the ring map $$R \longrightarrow S[\frac{1}{\Delta}] = S[\frac{1}{\text{Res}_x(g, h)}]$$ is étale.

Lemma. Morphisms between étale algebras

Let $R \to S$ and $R \to S'$ be étale. Then any $R$-algebra map $S' \to S$ is étale.

Proof. First of all we note that $S' \to S$ is of finite presentation by Lemma Composition of finite-type ring maps. Let $\mathfrak q \subset S$ be a prime ideal lying over the primes $\mathfrak q' \subset S'$ and $\mathfrak p \subset R$. By Lemma Étaleness at a prime ideal the ring map $S'_{\mathfrak q'}/\mathfrak p S'_{\mathfrak q'} \to S_{\mathfrak q}/\mathfrak p S_{\mathfrak q}$ is a map of finite separable extensions of $\kappa(\mathfrak p)$. In particular it is flat. Hence by Lemma The fibrewise criterion for flatness we see that $S'_{\mathfrak q'} \to S_{\mathfrak q}$ is flat. Thus $S' \to S$ is flat. Moreover, the above also shows that $\mathfrak q'S_{\mathfrak q}$ is the maximal ideal of $S_{\mathfrak q}$ and that the residue field extension of $S'_{\mathfrak q'} \to S_{\mathfrak q}$ is finite separable. Hence from Lemma Characterizations of étale algebras we conclude that $S' \to S$ is étale at $\mathfrak q$. Since being étale is local (see Lemma Étale morphisms) we win. $\square$

Lemma. Finite presentation and flatness

Let $\varphi : R \to S$ be a ring map. If $R \to S$ is surjective, flat and finitely presented then there exists an idempotent $e \in R$ such that $S = R_e$.

First proof. Let $I$ be the kernel of $\varphi$. We have that $I$ is finitely generated by Lemma Finite presentation and finite algebras since $\varphi$ is of finite presentation. Moreover, since $S$ is flat over $R$, tensoring the exact sequence $0 \to I \to R \to S \to 0$ over $R$ with $S$ gives $I/I^2 = 0$. Now we conclude by Lemma Idempotent ideals and connected components. $\square$

Second proof. Since $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ is a homeomorphism onto a closed subset (see Lemma Closed subsets of an affine spectrum) and is open (see Proposition Openness of flat finitely presented maps) we see that the image is $D(e)$ for some idempotent $e \in R$ (see Lemma Product decompositions from disjoint closed subsets). Thus $R_e \to S$ induces a bijection on spectra. Now this map induces an isomorphism on all local rings for example by Lemmas Finite flat modules over a local ring and Nakayama's lemma. Then it follows that $R_e \to S$ is also injective, for example see Lemma Detecting a zero module by localization. $\square$

Lemma. Integral extensions

Suppose $\varphi : R \to S$ is integral. Suppose $I \subset R$ is an ideal. Then every element of $IS$ is integral over $I$.

Proof. Immediate from Lemma Elements integral over an ideal form a submodule. $\square$

Lemma. Going up for integral ring maps

Let $R \to S$ be a ring map such that $S$ is integral over $R$. Let $\mathfrak p \subset \mathfrak p' \subset R$ be primes. Let $\mathfrak q$ be a prime of $S$ mapping to $\mathfrak p$. Then there exists a prime $\mathfrak q'$ with $\mathfrak q \subset \mathfrak q'$ mapping to $\mathfrak p'$.

Proof. We may replace $R$ by $R/\mathfrak p$ and $S$ by $S/\mathfrak q$. This reduces us to the situation of having an integral extension of domains $R \subset S$ and a prime $\mathfrak p' \subset R$. By Lemma Surjectivity on spectra of an integral overring we win. $\square$

Lemma. Going up and closed maps of spectra

Let $R \to S$ be a ring map. The following are equivalent:

  1. Going up holds for $R \to S$, and

  2. the map $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ is closed.

Proof. It is a general fact that specializations lift along a closed map of topological spaces, see Topology, Lemma The geometric construction (programme binding). Hence the second condition implies the first.

Assume that going up holds for $R \to S$. Let $V(I) \subset \operatorname{Spec}(S)$ be a closed set. We want to show that the image of $V(I)$ in $\operatorname{Spec}(R)$ is closed. The ring map $S \to S/I$ obviously satisfies going up. Hence $R \to S \to S/I$ satisfies going up, by Lemma Composition of going-up and going-down maps. Replacing $S$ by $S/I$ it suffices to show the image $T$ of $\operatorname{Spec}(S)$ in $\operatorname{Spec}(R)$ is closed. By Topology, Lemmas The geometric construction (programme binding) and Lifting the geometric construction (uncovered prerequisite) this image is stable under specialization. Thus the result follows from Lemma Closed images stable under specialization. $\square$

Lemma. Product decompositions from disjoint closed subsets

Let $R$ be a ring. For each $U \subset \operatorname{Spec}(R)$ which is open and closed there exists a unique idempotent $e \in R$ such that $U = D(e)$. This induces a 1-1 correspondence between open and closed subsets $U \subset \operatorname{Spec}(R)$ and idempotents $e \in R$.

Proof. Let $U \subset \operatorname{Spec}(R)$ be open and closed. Since $U$ is closed it is quasi-compact by Lemma Quasi-compactness of an affine spectrum, and similarly for its complement. Write $U = \bigcup_{i = 1}^n D(f_i)$ as a finite union of standard opens. Similarly, write $\operatorname{Spec}(R) \setminus U = \bigcup_{j = 1}^m D(g_j)$ as a finite union of standard opens. Since $\emptyset = D(f_i) \cap D(g_j) = D(f_i g_j)$ we see that $f_i g_j$ is nilpotent by Lemma The Zariski topology on an affine spectrum. Let $I = (f_1, \ldots, f_n) \subset R$ and let $J = (g_1, \ldots, g_m) \subset R$. Note that $V(J)$ equals $U$, that $V(I)$ equals the complement of $U$, so $\operatorname{Spec}(R) = V(I) \amalg V(J)$. By the remark on nilpotency above, we see that $(IJ)^N = (0)$ for some sufficiently large integer $N$. Since $\bigcup D(f_i) \cup \bigcup D(g_j) = \operatorname{Spec}(R)$ we see that $I + J = R$, see Lemma The Zariski topology on an affine spectrum. By raising this equation to the $2N$th power we conclude that $I^N + J^N = R$. Write $1 = x + y$ with $x \in I^N$ and $y \in J^N$. Then $0 = xy = x(1 - x)$ as $I^N J^N = (0)$. Thus $x = x^2$ is idempotent and contained in $I^N \subset I$. The idempotent $y = 1 - x$ is contained in $J^N \subset J$. This shows that the idempotent $x$ maps to $1$ in every residue field $\kappa(\mathfrak p)$ for $\mathfrak p \in V(J)$ and that $x$ maps to $0$ in $\kappa(\mathfrak p)$ for every $\mathfrak p \in V(I)$.

To see uniqueness suppose that $e_1, e_2$ are distinct idempotents in $R$. We have to show there exists a prime $\mathfrak p$ such that $e_1 \in \mathfrak p$ and $e_2 \not \in \mathfrak p$, or conversely. Write $e_i' = 1 - e_i$. If $e_1 \not = e_2$, then $0 \not = e_1 - e_2 = e_1(e_2 + e_2') - (e_1 + e_1')e_2 = e_1 e_2' - e_1' e_2$. Hence either the idempotent $e_1 e_2' \not = 0$ or $e_1' e_2 \not = 0$. A nonzero idempotent is not nilpotent, and hence we find a prime $\mathfrak p$ such that either $e_1e_2' \not \in \mathfrak p$ or $e_1'e_2 \not \in \mathfrak p$, by Lemma The Zariski topology on an affine spectrum. It is easy to see this gives the desired prime. $\square$

Lemma. The characteristic polynomial

Let $R$ be a ring. Let $A = (a_{ij})$ be an $n \times n$ matrix with coefficients in $R$. Let $P(x) \in R[x]$ be the characteristic polynomial of $A$ (defined as $\det(x\text{id}_{n \times n} - A)$). Then $P(A) = 0$ in $\text{Mat}(n \times n, R)$.

Proof. We reduce the question to the well-known Cayley-Hamilton theorem from linear algebra in several steps:

  1. If $\phi :S \rightarrow R$ is a ring morphism and $b_{ij}$ are inverse images of the $a_{ij}$ under this map, then it suffices to show the statement for $S$ and $(b_{ij})$ since $\phi$ is a ring morphism.

  2. If $\psi :R \hookrightarrow S$ is an injective ring morphism, it clearly suffices to show the result for $S$ and the $a_{ij}$ considered as elements of $S$.

  3. Thus we may first reduce to the case $R = \mathbf{Z}[X_{ij}]$, $a_{ij} = X_{ij}$ of a polynomial ring and then further to the case $R = \mathbf{Q}(X_{ij})$ where we may finally apply Cayley-Hamilton.

$\square$

Lemma. Presentations of symmetric and exterior powers

Let $R$ be a ring. Let $M_2 \to M_1 \to M \to 0$ be an exact sequence of $R$-modules. There are exact sequences $$M_2 \otimes_R \text{Sym}^{n - 1}(M_1) \to \text{Sym}^n(M_1) \to \text{Sym}^n(M) \to 0$$ and similarly $$M_2 \otimes_R \wedge^{n - 1}(M_1) \to \wedge^n(M_1) \to \wedge^n(M) \to 0$$

Proof. Omitted. $\square$

Lemma. Sections of smooth ring maps

If $R$ is a summand of $S$ and $S$ is smooth over $R$, then the $I$-adic completion of $S$ is often a power series ring over $R$ where $I$ is the kernel of the projection map from $S$ to $R$.

Let $\varphi : R \to S$ be a smooth ring map. Let $\sigma : S \to R$ be a left inverse to $\varphi$. Set $I = \operatorname{Ker}(\sigma)$. Then

  1. $I/I^2$ is a finite locally free $R$-module, and

  2. if $I/I^2$ is free, then $S^\wedge \cong R[[t_1, \ldots, t_d]]$ as $R$-algebras, where $S^\wedge$ is the $I$-adic completion of $S$.

Proof. By Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 applied to $R \to S \to R$ we see that $I/I^2 = \Omega_{S/R} \otimes_{S, \sigma} R$. Since by definition of a smooth morphism the module $\Omega_{S/R}$ is finite locally free over $S$ we deduce that (1) holds. If $I/I^2$ is free, then choose $f_1, \ldots, f_d \in I$ whose images in $I/I^2$ form an $R$-basis. Consider the $R$-algebra map defined by $$\Psi : R[[x_1, \ldots, x_d]] \longrightarrow S^\wedge, \quad x_i \longmapsto f_i.$$ Let $P = R[[x_1, \ldots, x_d]]$ and $J = (x_1, \ldots, x_d) \subset P$. We write $\Psi_n : P/J^n \to S/I^n$ for the induced map of quotient rings. Note that $S/I^2 = \varphi(R) \oplus I/I^2$. Thus $\Psi_2$ is an isomorphism. Denote by $\sigma_2 : S/I^2 \to P/J^2$ the inverse of $\Psi_2$. We will prove by induction on $n$ that for all $n > 2$ there exists an inverse $\sigma_n : S/I^n \to P/J^n$ of $\Psi_n$. Namely, as $S$ is formally smooth over $R$ (by Proposition Formal smoothness of smooth algebras) we see that in the solid diagram $$\begin{gathered}\begin{matrix}S & P/J^n \\ \phantom{X} & P/J^{n - 1}\end{matrix} \\[6pt] \begin{aligned}S & \cdots\!\!\rightarrow P/J^n \\ S & \xrightarrow{\sigma_{n - 1}} P/J^{n - 1} \\ P/J^n & \longrightarrow P/J^{n - 1}\end{aligned}\end{gathered}$$ of $R$-algebras we can fill in the dotted arrow by some $R$-algebra map $\tau : S \to P/J^n$ making the diagram commute. This induces an $R$-algebra map $\overline{\tau} : S/I^n \to P/J^n$ which is equal to $\sigma_{n - 1}$ modulo $J^{n - 1}$. By construction the map $\Psi_n$ is surjective and now $\overline{\tau} \circ \Psi_n$ is an $R$-algebra endomorphism of $P/J^n$ which maps $x_i$ to $x_i + \delta_{i, n}$ with $\delta_{i, n} \in J^{n - 1}/J^n$. It follows that $\Psi_n$ is an isomorphism and hence it has an inverse $\sigma_n$. This proves the lemma. $\square$

Lemma. Smoothness and the naive cotangent complex

Let $A \to B \to C$ be ring maps. Assume $A \to C$ is surjective (so also $B \to C$ is) and $A \to B$ smooth. Let $I = \operatorname{Ker}(A \to C)$ and $J = \operatorname{Ker}(B \to C)$. Then the sequence $$0 \to I/I^2 \to J/J^2 \to \Omega_{B/A} \otimes_B B/J \to 0$$ of Lemma Cotangent complexes and differentials is exact.

Proof. This follows from the more general Lemma Cotangent complexes, differentials and formal smoothness because a smooth ring map is formally smooth, see Proposition Formal smoothness of smooth algebras. $\square$

Lemma. Base change of smooth ring maps

Smoothness is preserved under base change

Let $R \to S$ be a smooth ring map. Let $R \to R'$ be any ring map. Then the base change $R' \to S' = R' \otimes_R S$ is smooth.

Proof. Let $\alpha : R[x_1, \ldots, x_n] \to S$ be a presentation with kernel $I$. Let $\alpha' : R'[x_1, \ldots, x_n] \to R' \otimes_R S$ be the induced presentation. Let $I' = \operatorname{Ker}(\alpha')$. Since $0 \to I \to R[x_1, \ldots, x_n] \to S \to 0$ is exact, the sequence $R' \otimes_R I \to R'[x_1, \ldots, x_n] \to R' \otimes_R S \to 0$ is exact. Thus $R' \otimes_R I \to I'$ is surjective. By Definition Smooth ring maps there is a short exact sequence $$0 \to I/I^2 \to \Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S \to \Omega_{S/R} \to 0$$ and the $S$-module $\Omega_{S/R}$ is finite projective. In particular $I/I^2$ is a direct summand of $\Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S$. Consider the commutative diagram $$\begin{gathered}\begin{matrix}R' \otimes_R (I/I^2) & R' \otimes_R (\Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S) \\ I'/(I')^2 & \Omega_{R'[x_1, \ldots, x_n]/R'} \otimes_{R'[x_1, \ldots, x_n]} (R' \otimes_R S)\end{matrix} \\[6pt] \begin{aligned}R' \otimes_R (I/I^2) & \longrightarrow R' \otimes_R (\Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S) \\ R' \otimes_R (I/I^2) & \longrightarrow I'/(I')^2 \\ R' \otimes_R (\Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S) & \longrightarrow \Omega_{R'[x_1, \ldots, x_n]/R'} \otimes_{R'[x_1, \ldots, x_n]} (R' \otimes_R S) \\ I'/(I')^2 & \longrightarrow \Omega_{R'[x_1, \ldots, x_n]/R'} \otimes_{R'[x_1, \ldots, x_n]} (R' \otimes_R S)\end{aligned}\end{gathered}$$ Since the right vertical map is an isomorphism we see that the left vertical map is injective and surjective by what was said above. Thus we conclude that $\mathrm{NL}(\alpha')$ is quasi-isomorphic to $\Omega_{S'/R'} \cong S' \otimes_S \Omega_{S/R}$ placed in degree $0$. This module is finite projective since it is the base change of a finite projective module. $\square$

Lemma. Smooth morphisms and local algebra

A ring map is smooth if and only if it is smooth at all primes of the target

Let $R \to S$ be a ring map. Then $R \to S$ is smooth if and only if $R \to S$ is smooth at every prime $\mathfrak q$ of $S$.

Proof. The direct implication is trivial. Suppose that $R \to S$ is smooth at every prime $\mathfrak q$ of $S$. Since $\operatorname{Spec}(S)$ is quasi-compact, see Lemma Quasi-compactness of an affine spectrum, there exists a finite covering $\operatorname{Spec}(S) = \bigcup D(g_i)$ such that each $S_{g_i}$ is smooth. By Lemma A cover of the target spectrum this implies that $S$ is of finite presentation over $R$. According to Lemma Localization of the naive cotangent complex we see that $\mathrm{NL}_{S/R} \otimes_S S_{g_i}$ is quasi-isomorphic to a finite projective $S_{g_i}$-module placed in degree $0$. By Lemma Characterizations of finite projective modules this implies that $\mathrm{NL}_{S/R}$ is quasi-isomorphic to a finite projective $S$-module placed in degree $0$. $\square$

Lemma. Characterizations of finite projective modules

Source credit: the original source citation FAC (Chapter II, §4, no. 50, Proposition 4 and final paragraph, pp. 242--243)

For a finite module over the coordinate ring of a classical affine variety, the cited proposition tests projectivity by freeness of the stalks at classical closed points. The equivalences below work over an arbitrary ring and test all prime ideals or all maximal ideals, with finite presentation made explicit. The source proof writes a local-to-global formula for projective dimension; this is homological dimension, not rank. Its final paragraph asks whether every finite projective module over a polynomial ring over a field is free. This question was later answered affirmatively by the Quillen--Suslin theorem, which is not developed in this chapter.

Let $R$ be a ring and let $M$ be an $R$-module. The following are equivalent

  1. $M$ is finitely presented and $R$-flat,

  2. $M$ is finite projective,

  3. $M$ is a direct summand of a finite free $R$-module,

  4. $M$ is finitely presented and for all $\mathfrak p \in \operatorname{Spec}(R)$ the localization $M_{\mathfrak p}$ is free,

  5. $M$ is finitely presented and for all maximal ideals $\mathfrak m \subset R$ the localization $M_{\mathfrak m}$ is free,

  6. $M$ is finite and locally free,

  7. $M$ is finite locally free, and

  8. $M$ is finite, for every prime $\mathfrak p$ the module $M_{\mathfrak p}$ is free, and the function $$\rho_M : \operatorname{Spec}(R) \to \mathbf{Z}, \quad \mathfrak p \longmapsto \dim_{\kappa(\mathfrak p)} M \otimes_R \kappa(\mathfrak p)$$ is locally constant in the Zariski topology.

Proof. First suppose $M$ is finite projective, i.e., (2) holds. Take a surjection $R^n \to M$ and let $K$ be the kernel. Since $M$ is projective, $0 \to K \to R^n \to M \to 0$ splits. Hence (2) $\Rightarrow$ (3). The implication (3) $\Rightarrow$ (2) follows from the fact that a direct summand of a projective is projective, see Lemma Characterizations of projective modules.

Assume (3), so we can write $K \oplus M \cong R^{\oplus n}$. So $K$ is a direct summand of $R^n$ and thus finitely generated. This shows $M = R^{\oplus n}/K$ is finitely presented. In other words, (3) $\Rightarrow$ (1).

Assume $M$ is finitely presented and flat, i.e., (1) holds. We will prove that (7) holds. Pick any prime $\mathfrak p$ and $x_1, \ldots, x_r \in M$ which map to a basis of $M \otimes_R \kappa(\mathfrak p)$. By Nakayama's lemma (in the form of Lemma Nakayama's lemma after localization) these elements generate $M_g$ for some $g \in R$, $g \not \in \mathfrak p$. The corresponding surjection $\varphi : R_g^{\oplus r} \to M_g$ has the following two properties: (a) $\operatorname{Ker}(\varphi)$ is a finite $R_g$-module (see Lemma Commutative algebra) and (b) $\operatorname{Ker}(\varphi) \otimes \kappa(\mathfrak p) = 0$ by flatness of $M_g$ over $R_g$ (see Lemma Tor vanishing for a flat module). Hence by Nakayama's lemma again there exists $g'=h/g^a\in R_g\setminus\mathfrak pR_g$, with $a\geq0$ and $h\in R\setminus\mathfrak p$, such that $\operatorname{Ker}(\varphi)_{g'}=0$. Thus $(M_g)_{g'}\cong M_{gh}$ is free on the neighbourhood $D(gh)$.

A finite locally free module is a finite module, see Lemma A finite cover by affine localizations, hence (7) $\Rightarrow$ (6). It is clear that (6) $\Rightarrow$ (7) and that (7) $\Rightarrow$ (8).

A finite locally free module is a finitely presented module, see Lemma A finite cover by affine localizations, hence (7) $\Rightarrow$ (4). Of course (4) implies (5). Since we may check flatness locally (see Lemma Localization of a flat module) we conclude that (5) implies (1). At this point we have $$\begin{gathered}\begin{matrix}(2) & (3) & (1) & (7) & (6) \\ \phantom{X} & \phantom{X} & (5) & (4) & (8)\end{matrix} \\[6pt] \begin{aligned}(2) & \Longleftrightarrow (3) \\ (3) & \Longrightarrow (1) \\ (1) & \Longrightarrow (7) \\ (7) & \Longleftrightarrow (6) \\ (7) & \Longrightarrow (8) \\ (7) & \Longrightarrow (4) \\ (5) & \Longrightarrow (1) \\ (4) & \Longrightarrow (5)\end{aligned}\end{gathered}$$

Suppose that $M$ satisfies (1), (4), (5), (6), and (7). We will prove that (3) holds. It suffices to show that $M$ is projective. We have to show that $\operatorname{Hom}_R(M, -)$ is exact. Let $0 \to N'' \to N \to N'\to 0$ be a short exact sequence of $R$-modules. We have to show that $0 \to \operatorname{Hom}_R(M, N'') \to \operatorname{Hom}_R(M, N) \to \operatorname{Hom}_R(M, N') \to 0$ is exact. As $M$ is finite locally free there exists a covering $\operatorname{Spec}(R) = \bigcup D(f_i)$ such that $M_{f_i}$ is finite free. By Lemma Hom from a finitely presented module we see that $$0 \to \operatorname{Hom}_R(M, N'')_{f_i} \to \operatorname{Hom}_R(M, N)_{f_i} \to \operatorname{Hom}_R(M, N')_{f_i} \to 0$$ is equal to $0 \to \operatorname{Hom}_{R_{f_i}}(M_{f_i}, N''_{f_i}) \to \operatorname{Hom}_{R_{f_i}}(M_{f_i}, N_{f_i}) \to \operatorname{Hom}_{R_{f_i}}(M_{f_i}, N'_{f_i}) \to 0$ which is exact as $M_{f_i}$ is free and as the localization $0 \to N''_{f_i} \to N_{f_i} \to N'_{f_i} \to 0$ is exact (as localization is exact). Whence we see that $0 \to \operatorname{Hom}_R(M, N'') \to \operatorname{Hom}_R(M, N) \to \operatorname{Hom}_R(M, N') \to 0$ is exact by Lemma A finite cover by affine localizations.

Finally, assume that (8) holds. Pick a maximal ideal $\mathfrak m \subset R$. Pick $x_1, \ldots, x_r \in M$ which map to a $\kappa(\mathfrak m)$-basis of $M \otimes_R \kappa(\mathfrak m) = M/\mathfrak mM$. In particular $\rho_M(\mathfrak m) = r$. By Nakayama's Lemma Nakayama's lemma there exists an $f \in R$, $f \not \in \mathfrak m$ such that $x_1, \ldots, x_r$ generate $M_f$ over $R_f$. By the assumption that $\rho_M$ is locally constant there exists a $g \in R$, $g \not \in \mathfrak m$ such that $\rho_M$ is constant equal to $r$ on $D(g)$. We claim that $$\Psi : R_{fg}^{\oplus r} \longrightarrow M_{fg}, \quad (a_1, \ldots, a_r) \longmapsto \sum a_i x_i$$ is an isomorphism. This claim will show that $M$ is finite locally free, i.e., that (7) holds. To see the claim it suffices to show that the induced map on localizations $\Psi_{\mathfrak p} : R_{\mathfrak p}^{\oplus r} \to M_{\mathfrak p}$ is an isomorphism for all $\mathfrak p \in D(fg)$, see Lemma Detecting a zero module by localization. By our choice of $f$ the map $\Psi_{\mathfrak p}$ is surjective. By assumption (8) we have $M_{\mathfrak p} \cong R_{\mathfrak p}^{\oplus \rho_M(\mathfrak p)}$ and by our choice of $g$ we have $\rho_M(\mathfrak p) = r$. Hence $\Psi_{\mathfrak p}$ determines a surjection $R_{\mathfrak p}^{\oplus r} \to M_{\mathfrak p} \cong R_{\mathfrak p}^{\oplus r}$ whence it is an isomorphism by Lemma Surjective endomorphisms of finite modules. (Of course this last fact follows from a simple matrix argument also.) $\square$

Lemma. Surjective endomorphisms of finite modules

Let $R$ be a ring. Let $M$ be a finite $R$-module. Let $\varphi : M \to M$ be a surjective $R$-module map. Then $\varphi$ is an isomorphism.

First proof. Write $R' = R[x]$ and think of $M$ as a finite $R'$-module with $x$ acting via $\varphi$. Set $I = (x) \subset R'$. By our assumption that $\varphi$ is surjective we have $IM = M$. Hence we may apply Lemma A characteristic polynomial with coefficients in an ideal to $M$ as an $R'$-module, the ideal $I$ and the endomorphism $\text{id}_M$. We conclude that $(1 + a_1 + \ldots + a_n)\text{id}_M = 0$ with $a_j \in I$. Write $a_j = b_j(x)x$ for some $b_j(x) \in R[x]$. Translating back into $\varphi$ we see that $\text{id}_M = -(\sum_{j = 1}^{n} b_j(\varphi)) \varphi$, and hence $\varphi$ is invertible. $\square$

Second proof. We perform induction on the number of generators of $M$ over $R$. If $M$ is generated by one element, then $M \cong R/I$ for some ideal $I \subset R$. In this case we may replace $R$ by $R/I$ so that $M = R$. In this case $\varphi : R \to R$ is given by multiplication on $M$ by an element $r \in R$. The surjectivity of $\varphi$ forces $r$ invertible, since $\varphi$ must hit $1$, which implies that $\varphi$ is invertible.

Now assume that we have proven the lemma in the case of modules generated by $n - 1$ elements, and are examining a module $M$ generated by $n$ elements. Let $A$ mean the ring $R[t]$, and regard the module $M$ as an $A$-module by letting $t$ act via $\varphi$; since $M$ is finite over $R$, it is finite over $R[t]$ as well, and since we're trying to prove $\varphi$ injective, a set-theoretic property, we might as well prove the endomorphism $t : M \to M$ over $A$ injective. We have reduced our problem to the case our endomorphism is multiplication by an element of the ground ring. Let $M' \subset M$ denote the sub-$A$-module generated by the first $n - 1$ of the generators of $M$, and consider the diagram $$\begin{gathered}\begin{matrix}0 & M' & M & M/M' & 0 \\ 0 & M' & M & M/M' & 0,\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow M' \\ M' & \longrightarrow M \\ M' & \xrightarrow{\varphi\mid_{M'}} M' \\ M & \xrightarrow{\varphi} M \\ M & \longrightarrow M/M' \\ M/M' & \xrightarrow{\varphi \bmod M'} M/M' \\ M/M' & \longrightarrow 0 \\ 0 & \longrightarrow M' \\ M' & \longrightarrow M \\ M & \longrightarrow M/M' \\ M/M' & \longrightarrow 0,\end{aligned}\end{gathered}$$ where the restriction of $\varphi$ to $M'$ and the map induced by $\varphi$ on the quotient $M/M'$ are well-defined since $\varphi$ is multiplication by an element in the base, and $M'$ and $M/M'$ are $A$-modules in their own right. By the case $n = 1$ the map $M/M' \to M/M'$ is an isomorphism. A diagram chase implies that $\varphi|_{M'}$ is surjective hence by induction $\varphi|_{M'}$ is an isomorphism. This forces the middle column to be an isomorphism by the snake lemma. $\square$

Lemma. Smoothness at a point

Let $R \to S$ be of finite presentation. Let $\mathfrak q$ be a prime of $S$. The following are equivalent

  1. $R \to S$ is smooth at $\mathfrak q$,

  2. $H_1(L_{S/R})_\mathfrak q = 0$ and $\Omega_{S/R, \mathfrak q}$ is a finite free $S_\mathfrak q$-module,

  3. $H_1(L_{S/R})_\mathfrak q = 0$ and $\Omega_{S/R, \mathfrak q}$ is a projective $S_\mathfrak q$-module, and

  4. $H_1(L_{S/R})_\mathfrak q = 0$ and $\Omega_{S/R, \mathfrak q}$ is a flat $S_\mathfrak q$-module.

Proof. We will use without further mention that formation of the naive cotangent complex commutes with localization, see Section The naive cotangent complex, especially Lemma Localization of the naive cotangent complex. Note that $\Omega_{S/R}$ is a finitely presented $S$-module, see Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1. Hence (2), (3), and (4) are equivalent by Lemma Characterizations of finite projective modules. It is clear that (1) implies the equivalent conditions (2), (3), and (4). Assume (2) holds. Writing $S_\mathfrak q$ as the colimit of principal localizations we see from Lemma Finite module presentations in a filtered colimit that we can find a $g \in S$, $g \not \in \mathfrak q$ such that $(\Omega_{S/R})_g$ is finite free. Choose a presentation $\alpha : R[x_1, \ldots, x_n] \to S$ with kernel $I$. We may work with $\mathrm{NL}(\alpha)$ instead of $\mathrm{NL}_{S/R}$, see Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1. The surjection $$\Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S \to \Omega_{S/R} \to 0$$ has a right inverse after inverting $g$ because $(\Omega_{S/R})_g$ is projective. Hence the image of $\text{d} : (I/I^2)_g \to \Omega_{R[x_1, \ldots, x_n]/R} \otimes_{R[x_1, \ldots, x_n]} S_g$ is a direct summand, so the surjection onto this image has a right inverse. We conclude that $H_1(L_{S/R})_g$ is a quotient of $(I/I^2)_g$. In particular $H_1(L_{S/R})_g$ is a finite $S_g$-module. Thus the vanishing of $H_1(L_{S/R})_{\mathfrak q}$ implies the vanishing of $H_1(L_{S/R})_{gg'}$ for some $g' \in S$, $g' \not \in \mathfrak q$. Then $R \to S_{gg'}$ is smooth by definition. $\square$

Definition. Local complete intersections

A ring map $R \to S$ is called syntomic, or we say $S$ is a flat local complete intersection over $R$ if it is flat, of finite presentation, and if all of its fibre rings $S \otimes_R \kappa(\mathfrak p)$ are local complete intersections, see Definition Complete intersections over a field.

Definition. Complete intersections over a field

Let $k$ be a field. Let $S$ be a finite type $k$-algebra.

  1. We say that $S$ is a global complete intersection over $k$ if there exists a presentation $S = k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ such that $\dim(S) = n - c$.

  2. We say that $S$ is a local complete intersection over $k$ if there exists a covering $\operatorname{Spec}(S) = \bigcup D(g_i)$ such that each of the rings $S_{g_i}$ is a global complete intersection over $k$.

We will also use the convention that the zero ring is a global complete intersection over $k$.

Lemma. Filtered colimits of naive cotangent complexes

Let $R_\lambda \to S_\lambda$ be a system of ring maps over the directed set $\Lambda$. Set $R = \mathop{\operatorname{colim}} R_\lambda$ and $S = \mathop{\operatorname{colim}} S_\lambda$. Then $\mathrm{NL}_{S/R} = \mathop{\operatorname{colim}} \mathrm{NL}_{S_\lambda/R_\lambda}$.

Proof. Recall that $\mathrm{NL}_{S/R}$ is the complex $I/I^2 \to \bigoplus_{s \in S} S\text{d}[s]$ where $I \subset R[S]$ is the kernel of the canonical presentation $R[S] \to S$. Now it is clear that $R[S] = \mathop{\operatorname{colim}} R_\lambda[S_\lambda]$ and similarly that $I = \mathop{\operatorname{colim}} I_\lambda$ where $I_\lambda = \operatorname{Ker}(R_\lambda[S_\lambda] \to S_\lambda)$. Hence the lemma is clear. $\square$

Lemma. Prime ideals and dimension in a polynomial ring

Let $k$ be a field. Let $S$ be a finite type $k$-algebra which is an integral domain. Let $K$ be the field of fractions of $S$. Let $r = \text{trdeg}(K/k)$ be the transcendence degree of $K$ over $k$. Then $\dim(S) = r$. Moreover, the local ring of $S$ at every maximal ideal has dimension $r$.

Proof. We may write $S = k[x_1, \ldots, x_n]/\mathfrak p$. By Lemma Height and dimension in a polynomial ring all local rings of $S$ at maximal ideals have the same dimension. Apply Lemma Noether normalization. We get a finite injective ring map $$k[y_1, \ldots, y_d] \to S$$ with $d = \dim(S)$. Clearly, $k(y_1, \ldots, y_d) \subset K$ is a finite extension and we win. $\square$

Lemma. Base change of Kähler differentials

Suppose that we have ring maps $R \to R'$ and $R \to S$. Set $S' = S \otimes_R R'$, so that we obtain a diagram (Commutative algebra). Then the canonical map defined above induces an isomorphism $\Omega_{S/R} \otimes_R R' = \Omega_{S'/R'}$.

Proof. Let $\text{d}' : S' = S \otimes_R R' \to \Omega_{S/R} \otimes_R R'$ denote the map $\text{d}'( \sum a_i \otimes x_i ) = \sum \text{d}(a_i) \otimes x_i$. It exists because the map $S \times R' \to \Omega_{S/R} \otimes_R R'$, $(a, x)\mapsto \text{d}a \otimes_R x$ is $R$-bilinear. This is an $R'$-derivation, as can be verified by a simple computation. We will show that $(\Omega_{S/R} \otimes_R R', \text{d}')$ satisfies the universal property. Let $D : S' \to M'$ be an $R'$-derivation into an $S'$-module. The composition $S \to S' \to M'$ is an $R$-derivation, hence we get an $S$-linear map $\varphi_D : \Omega_{S/R} \to M'$. We may tensor this with $R'$ and get the map $\varphi'_D : \Omega_{S/R} \otimes_R R' \to M'$, $\varphi'_D(\eta \otimes x) = x\varphi_D(\eta)$. It is clear that $D = \varphi'_D \circ \text{d}'$. $\square$

Lemma. Dimensions of a base, fibre and total space

Let $R \to S$ be a homomorphism of Noetherian rings. Let $\mathfrak q \subset S$ be a prime lying over the prime $\mathfrak p$. Then $$\dim(S_{\mathfrak q}) \leq \dim(R_{\mathfrak p}) + \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}).$$

Proof. We use the characterization of dimension of Proposition Dimension and codimension. Let $x_1, \ldots, x_d$ be elements of $\mathfrak p$ generating an ideal of definition of $R_{\mathfrak p}$ with $d = \dim(R_{\mathfrak p})$. Let $y_1, \ldots, y_e$ be elements of $\mathfrak q$ generating an ideal of definition of $S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}$ with $e = \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q})$. It is clear that $S_{\mathfrak q}/(x_1, \ldots, x_d, y_1, \ldots, y_e)$ has a nilpotent maximal ideal. Hence $x_1, \ldots, x_d, y_1, \ldots, y_e$ generate an ideal of definition of $S_{\mathfrak q}$. $\square$

Proposition. Characterizations of separable field extensions

Let $K/k$ be a field extension. If the characteristic of $k$ is zero then

  1. $K$ is separable over $k$,

  2. $K$ is geometrically reduced over $k$,

  3. $K$ is formally smooth over $k$,

  4. $H_1(L_{K/k}) = 0$, and

  5. the map $K \otimes_k \Omega_{k/\mathbf{Z}} \to \Omega_{K/\mathbf{Z}}$ is injective.

If the characteristic of $k$ is $p > 0$, then the following are equivalent:

  1. $K$ is separable over $k$,

  2. the ring $K \otimes_k k^{1/p}$ is reduced,

  3. $K$ is geometrically reduced over $k$,

  4. the map $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective,

  5. $H_1(L_{K/k}) = 0$, and

  6. $K$ is formally smooth over $k$.

Proof. This is a combination of Lemmas Criteria for a separable field extension, Formal smoothness over a prime field, Formal smoothness of field extensions, A formally smooth field extension is separable, and Differentials of a separable field extension. $\square$

Lemma. Degrees of extensions obtained by adjoining p-th roots

Let $k$ be a field of characteristic $p > 0$. Let $a_1, \ldots, a_n \in k$ be elements such that $\text{d}a_1, \ldots, \text{d}a_n$ are linearly independent in $\Omega_{k/\mathbf{F}_p}$. Then the field extension $k(a_1^{1/p}, \ldots, a_n^{1/p})$ has degree $p^n$ over $k$.

Proof. By induction on $n$. If $n = 1$ the result is Lemma Polynomials with zero derivative in characteristic p. For the induction step, suppose that $k(a_1^{1/p}, \ldots, a_{n - 1}^{1/p})$ has degree $p^{n - 1}$ over $k$. We have to show that $a_n$ does not map to a $p$th power in $k(a_1^{1/p}, \ldots, a_{n - 1}^{1/p})$. If it does then we can write $$\begin{aligned} a_n & = \left(\sum\nolimits_{I = (i_1, \ldots, i_{n - 1}),\ 0 \leq i_j \leq p - 1} \lambda_I a_1^{i_1/p} \ldots a_{n - 1}^{i_{n - 1}/p}\right)^p \\ & = \sum\nolimits_{I = (i_1, \ldots, i_{n - 1}),\ 0 \leq i_j \leq p - 1} \lambda_I^p a_1^{i_1} \ldots a_{n - 1}^{i_{n - 1}} \end{aligned}$$ Applying $\text{d}$ we see that $\text{d}a_n$ is linearly dependent on $\text{d}a_i$, $i < n$. This is a contradiction. $\square$

Lemma. Base change of the naive cotangent complex (Flat base change)

Let $R \to S$ be a ring map. Let $\alpha : P \to S$ be a presentation. Let $R \to R'$ be a flat ring map. Let $\alpha' : P \otimes_R R' \to S' = S \otimes_R R'$ be the induced presentation. Then $\mathrm{NL}(\alpha) \otimes_R R' = \mathrm{NL}(\alpha) \otimes_S S' = \mathrm{NL}(\alpha')$. In particular, the canonical map $$\mathrm{NL}_{S/R} \otimes_S S' \longrightarrow \mathrm{NL}_{S \otimes_R R'/R'}$$ is a homotopy equivalence if $R \to R'$ is flat.

Proof. This is true because $\operatorname{Ker}(\alpha') = R' \otimes_R \operatorname{Ker}(\alpha)$ since $R \to R'$ is flat. $\square$

Lemma. Base change of flat modules

Suppose that $M$ is (faithfully) flat over $R$, and that $R \to R'$ is a ring map. Then $M \otimes_R R'$ is (faithfully) flat over $R'$.

Proof. For any $R'$-module $N$ we have a canonical isomorphism $N \otimes_{R'} (R'\otimes_R M) = N \otimes_R M$. Hence the desired exactness properties of the functor $-\otimes_{R'}(R'\otimes_R M)$ follow from the corresponding exactness properties of the functor $-\otimes_R M$. $\square$

Lemma. Noetherianity under extension of the ground field

Let $k$ be a field and let $R$ be a Noetherian $k$-algebra. If $K/k$ is a finitely generated field extension then $K \otimes_k R$ is Noetherian.

Proof. Since $K/k$ is a finitely generated field extension, there exists a finitely generated $k$-algebra $B \subset K$ such that $K$ is the fraction field of $B$. In other words, $K = S^{-1}B$ with $S = B \setminus \{0\}$. Then $K \otimes_k R = S^{-1}(B \otimes_k R)$. Then $B \otimes_k R$ is Noetherian by Lemma Noetherianity under finite-type base change. Finally, $K \otimes_k R = S^{-1}(B \otimes_k R)$ is Noetherian by Lemma Permanence of Noetherian rings. $\square$

Lemma. Criteria for geometric regularity

Let $k$ be a field. Let $A$ be a $k$-algebra. Assume $A$ is Noetherian. The following properties of $A$ are equivalent:

  1. $k' \otimes_k A$ is regular for every finitely generated field extension $k'/k$, and

  2. $k' \otimes_k A$ is regular for every finite purely inseparable extension $k'/k$.

Here regular ring is as in Definition Regular Noetherian rings.

Proof. The lemma makes sense by the remarks preceding the lemma. It is clear that (1) $\Rightarrow$ (2).

Assume (2) and let $K/k$ be a finitely generated field extension. By Lemma Obtaining a separable extension we can find a diagram $$\begin{gathered}\begin{matrix}K & K' \\ k & k'\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow K' \\ k & \longrightarrow K \\ k & \longrightarrow k' \\ k' & \longrightarrow K'\end{aligned}\end{gathered}$$ where $k'/k$, $K'/K$ are finite purely inseparable field extensions such that $K'/k'$ is separable. By Lemma Smooth localizations of separable extensions there exists a smooth $k'$-algebra $B$ such that $K'$ is the fraction field of $B$. Now we can argue as follows: Step 1: $k' \otimes_k A$ is a regular ring because we assumed (2). Step 2: $B \otimes_{k'} k' \otimes_k A$ is a regular ring as $k' \otimes_k A \to B \otimes_{k'} k' \otimes_k A$ is smooth (Lemma Base change of smooth ring maps) and ascent of regularity along smooth maps (Lemma Regularity ascends along a regular ring map). Step 3. $K' \otimes_{k'} k' \otimes_k A = K' \otimes_k A$ is a regular ring as it is a localization of a regular ring (immediate from the definition). Step 4. Finally $K \otimes_k A$ is a regular ring by descent of regularity along the faithfully flat ring map $K \otimes_k A \to K' \otimes_k A$ (Lemma Descent of regularity). This proves the lemma. $\square$

Lemma. Regularity over a regular base with regular fibre

Let $R \to S$ be a local homomorphism of local Noetherian rings. Assume

  1. $R$ is regular,

  2. $S/\mathfrak m_RS$ is regular, and

  3. $R \to S$ is flat.

Then $S$ is regular.

Proof. By Lemma Dimension of a flat family we have $\dim(S) = \dim(R) + \dim(S/\mathfrak m_RS)$. Pick generators $x_1, \ldots, x_d \in \mathfrak m_R$ with $d = \dim(R)$, and pick $y_1, \ldots, y_e \in \mathfrak m_S$ which generate the maximal ideal of $S/\mathfrak m_RS$ with $e = \dim(S/\mathfrak m_RS)$. Then we see that $x_1, \ldots, x_d, y_1, \ldots, y_e$ are elements which generate the maximal ideal of $S$ and $e + d = \dim(S)$. $\square$

Lemma. Permanence of flat ring maps

Let $R \to S$ be a ring map. Let $M$ be an $S$-module. If $M$ is flat as an $R$-module and faithfully flat as an $S$-module, then $R \to S$ is flat.

Proof. Let $N_1 \to N_2 \to N_3$ be an exact sequence of $R$-modules. By assumption $N_1 \otimes_R M \to N_2 \otimes_R M \to N_3 \otimes_R M$ is exact. We may write this as $$N_1 \otimes_R S \otimes_S M \to N_2 \otimes_R S \otimes_S M \to N_3 \otimes_R S \otimes_S M.$$ By faithful flatness of $M$ over $S$ we conclude that $N_1 \otimes_R S \to N_2 \otimes_R S \to N_3 \otimes_R S$ is exact. Hence $R \to S$ is flat. $\square$

Lemma. Descent of geometric regularity

Geometric regularity descends through faithfully flat maps of algebras

Let $k$ be a field. Let $A \to B$ be a faithfully flat $k$-algebra map. If $B$ is geometrically regular over $k$, so is $A$.

Proof. Assume $B$ is geometrically regular over $k$. Let $k'/k$ be a finite, purely inseparable extension. Then $A \otimes_k k' \to B \otimes_k k'$ is faithfully flat as a base change of $A \to B$ (by Lemmas Radical ideals under a surjection of spectra and Base change of flat modules) and $B \otimes_k k'$ is regular by our assumption on $B$ over $k$. Then $A \otimes_k k'$ is regular by Lemma Descent of regularity. $\square$

Lemma. A variant of the local criterion for flatness

Let $R \to S$ be a local homomorphism of Noetherian local rings. Let $I \not = R$ be an ideal in $R$. Let $M$ be a finite $S$-module. If $\text{Tor}_1^R(M, R/I) = 0$ and $M/IM$ is flat over $R/I$, then $M$ is flat over $R$.

Proof. First proof: By Lemma A reformulation of the local algebraic condition we see that $\text{Tor}_1^R(\kappa, M)$ is zero where $\kappa$ is the residue field of $R$. Hence we see that $M$ is flat over $R$ by Lemma Faithful flatness and the local criterion for flatness, Theorems 2.1–3.1, 4.2, 5.2 and 5.4.

Second proof: Let $\mathfrak m$ be the maximal ideal of $R$. We will show that $\mathfrak m \otimes_R M \to M$ is injective, and then apply Lemma Faithful flatness and the local criterion for flatness, Theorems 2.1–3.1, 4.2, 5.2 and 5.4. Suppose that $\sum f_i \otimes x_i \in \mathfrak m \otimes_R M$ and that $\sum f_i x_i = 0$ in $M$. By the equational criterion for flatness Lemma The equational criterion for flatness applied to $M/IM$ over $R/I$ we see there exist $\overline{a}_{ij} \in R/I$ and $\overline{y}_j \in M/IM$ such that $x_i \bmod IM = \sum_j \overline{a}_{ij} \overline{y}_j$ and $0 = \sum_i (f_i \bmod I) \overline{a}_{ij}$. Let $a_{ij} \in R$ be a lift of $\overline{a}_{ij}$ and similarly let $y_j \in M$ be a lift of $\overline{y}_j$. Then we see that $$\begin{eqnarray*} \sum f_i \otimes x_i & = & \sum f_i \otimes x_i + \sum f_ia_{ij} \otimes y_j - \sum f_i \otimes a_{ij} y_j \\ & = & \sum f_i \otimes (x_i - \sum a_{ij} y_j) + \sum (\sum f_i a_{ij}) \otimes y_j \end{eqnarray*}$$ Since $x_i - \sum a_{ij} y_j \in IM$ and $\sum f_i a_{ij} \in I$ we see that there exists an element in $I \otimes_R M$ which maps to our given element $\sum f_i \otimes x_i$ in $\mathfrak m \otimes_R M$. But $I \otimes_R M \to M$ is injective by assumption (see Remark Tor for a quotient by an ideal) and we win. $\square$

Lemma. Transitivity of finite ring extensions

Suppose that $R \to S$ and $S \to T$ are finite ring maps. Then $R \to T$ is finite.

Proof. If $t_i$ generate $T$ as an $S$-module and $s_j$ generate $S$ as an $R$-module, then $t_i s_j$ generate $T$ as an $R$-module. (Also follows from Lemma Finite modules over a finite ring extension.) $\square$

Lemma. Finite length over an Artinian ring

A ring $R$ is Artinian if and only if it has finite length as a module over itself. Any such ring $R$ is both Artinian and Noetherian, any prime ideal of $R$ is a maximal ideal, and $R$ is equal to the (finite) product of its localizations at its maximal ideals.

Proof. If $R$ has finite length over itself then it satisfies both the ascending chain condition and the descending chain condition for ideals. Hence it is both Noetherian and Artinian. Any Artinian ring is equal to the product of its localizations at its maximal ideals by Lemmas Finitely many maximal ideals in an Artinian ring, Nilpotence of the radical of an Artinian ring, and Local factors of a product ring.

Suppose that $R$ is Artinian. We will show $R$ has finite length over itself. It suffices to exhibit a chain of submodules whose successive quotients have finite length. By what we said above we may assume that $R$ is local, with maximal ideal $\mathfrak m$. By Lemma Nilpotence of the radical of an Artinian ring we have $\mathfrak m^n =0$ for some $n$. Consider the sequence $0 = \mathfrak m^n \subset \mathfrak m^{n-1} \subset \ldots \subset \mathfrak m \subset R$. By Lemma Vector-space dimension and module length the length of each subquotient $\mathfrak m^j/\mathfrak m^{j + 1}$ is the dimension of this as a vector space over $\kappa(\mathfrak m)$. This has to be finite since otherwise we would have an infinite descending chain of vector subspaces which would correspond to an infinite descending chain of ideals in $R$. $\square$

Lemma. Commutative algebra

Let $R$ be a ring. Let $$0 \to M_1 \to M_2 \to M_3 \to 0$$ be a short exact sequence of $R$-modules.

  1. If $M_1$ and $M_3$ are finite $R$-modules, then $M_2$ is a finite $R$-module.

  2. If $M_1$ and $M_3$ are finitely presented $R$-modules, then $M_2$ is a finitely presented $R$-module.

  3. If $M_2$ is a finite $R$-module, then $M_3$ is a finite $R$-module.

  4. If $M_2$ is a finitely presented $R$-module and $M_1$ is a finite $R$-module, then $M_3$ is a finitely presented $R$-module.

  5. If $M_3$ is a finitely presented $R$-module and $M_2$ is a finite $R$-module, then $M_1$ is a finite $R$-module.

Proof. Proof of (1). If $x_1, \ldots, x_n$ are generators of $M_1$ and $y_1, \ldots, y_m \in M_2$ are elements whose images in $M_3$ are generators of $M_3$, then $x_1, \ldots, x_n, y_1, \ldots, y_m$ generate $M_2$.

Part (3) is immediate from the definition.

Proof of (5). Assume $M_3$ is finitely presented and $M_2$ finite. Choose a presentation $$R^{\oplus m} \to R^{\oplus n} \to M_3 \to 0$$ By Lemma Extending a morphism after finite denominators are cleared there exists a map $R^{\oplus n} \to M_2$ such that the solid diagram $$\begin{gathered}\begin{matrix}\phantom{X} & R^{\oplus m} & R^{\oplus n} & M_3 & 0 \\ 0 & M_1 & M_2 & M_3 & 0\end{matrix} \\[6pt] \begin{aligned}R^{\oplus m} & \longrightarrow R^{\oplus n} \\ R^{\oplus m} & \cdots\!\!\rightarrow M_1 \\ R^{\oplus n} & \longrightarrow M_3 \\ R^{\oplus n} & \longrightarrow M_2 \\ M_3 & \longrightarrow 0 \\ M_3 & \xrightarrow{\text{id}} M_3 \\ 0 & \longrightarrow M_1 \\ M_1 & \longrightarrow M_2 \\ M_2 & \longrightarrow M_3 \\ M_3 & \longrightarrow 0\end{aligned}\end{gathered}$$ commutes. This produces the dotted arrow. By the snake lemma (Lemma The snake lemma) we see that we get an isomorphism $$\operatorname{Coker}(R^{\oplus m} \to M_1) \cong \operatorname{Coker}(R^{\oplus n} \to M_2)$$ In particular we conclude that $\operatorname{Coker}(R^{\oplus m} \to M_1)$ is a finite $R$-module. Since $\operatorname{Im}(R^{\oplus m} \to M_1)$ is finite by (3), we see that $M_1$ is finite by part (1).

Proof of (4). Assume $M_2$ is finitely presented and $M_1$ is finite. Choose a presentation $R^{\oplus m} \to R^{\oplus n} \to M_2 \to 0$. Choose a surjection $R^{\oplus k} \to M_1$. By Lemma Extending a morphism after finite denominators are cleared there exists a factorization $R^{\oplus k} \to R^{\oplus n} \to M_2$ of the composition $R^{\oplus k} \to M_1 \to M_2$. Then $R^{\oplus k + m} \to R^{\oplus n} \to M_3 \to 0$ is a presentation.

Proof of (2). Assume that $M_1$ and $M_3$ are finitely presented. The argument in the proof of part (1) produces a commutative diagram $$\begin{gathered}\begin{matrix}0 & R^{\oplus n} & R^{\oplus n + m} & R^{\oplus m} & 0 \\ 0 & M_1 & M_2 & M_3 & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow R^{\oplus n} \\ R^{\oplus n} & \longrightarrow M_1 \\ R^{\oplus n} & \longrightarrow R^{\oplus n + m} \\ R^{\oplus n + m} & \longrightarrow M_2 \\ R^{\oplus n + m} & \longrightarrow R^{\oplus m} \\ R^{\oplus m} & \longrightarrow M_3 \\ R^{\oplus m} & \longrightarrow 0 \\ 0 & \longrightarrow M_1 \\ M_1 & \longrightarrow M_2 \\ M_2 & \longrightarrow M_3 \\ M_3 & \longrightarrow 0\end{aligned}\end{gathered}$$ with surjective vertical arrows. By the snake lemma we obtain a short exact sequence $$0 \to \operatorname{Ker}(R^{\oplus n} \to M_1) \to \operatorname{Ker}(R^{\oplus n + m} \to M_2) \to \operatorname{Ker}(R^{\oplus m} \to M_3) \to 0$$ By part (5) we see that the outer two modules are finite. Hence the middle one is finite too. By (4) we see that $M_2$ is of finite presentation. $\square$

Lemma. Composition of finite-type ring maps

The notions finite type and finite presentation have the following permanence properties.

  1. A composition of ring maps of finite type is of finite type.

  2. A composition of ring maps of finite presentation is of finite presentation.

  3. Given $R \to S' \to S$ with $R \to S$ of finite type, then $S' \to S$ is of finite type.

  4. Given $R \to S' \to S$, with $R \to S$ of finite presentation, and $R \to S'$ of finite type, then $S' \to S$ is of finite presentation.

Proof. We only prove the last assertion. Write $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and $S' = R[y_1, \ldots, y_a]/I$. Say that the class $\bar y_i$ of $y_i$ maps to $h_i \bmod (f_1, \ldots, f_m)$ in $S$. Then it is clear that $S = S'[x_1, \ldots, x_n]/(f_1, \ldots, f_m, h_1 - \bar y_1, \ldots, h_a - \bar y_a)$. $\square$

Lemma. Composition of essentially finite-type ring maps

The class of ring maps which are essentially of finite type is preserved under composition. Similarly for essentially of finite presentation.

Proof. Omitted. $\square$

Lemma. Smooth localizations of separable extensions

Let $K/k$ be a finitely generated field extension. Then $K$ is separable over $k$ if and only if $K$ is the localization of a smooth $k$-algebra.

Proof. Choose a finite type $k$-algebra $R$ which is a domain whose fraction field is $K$. Lemma Smoothness at a generic point says that $k \to R$ is smooth at $(0)$ if and only if $K/k$ is separable. This proves the lemma. $\square$

Lemma. Completion at a quasi-finite prime

Let $R \to S$ be a ring map, $\mathfrak q$ a prime of $S$ lying over $\mathfrak p$ in $R$. If

  1. $R$ is Noetherian,

  2. $R \to S$ is of finite type, and

  3. $R \to S$ is quasi-finite at $\mathfrak q$,

then $R_\mathfrak p^\wedge \otimes_R S = S_\mathfrak q^\wedge \times B$ for some $R_\mathfrak p^\wedge$-algebra $B$.

Proof. There exists a finite $R$-algebra $S' \subset S$ and an element $g \in S'$, $g \not \in \mathfrak q' = S' \cap \mathfrak q$ such that $S'_g = S_g$ and in particular $S'_{\mathfrak q'} = S_\mathfrak q$, see Lemma The quasi-finite open in an integral closure. We have $$R_\mathfrak p^\wedge \otimes_R S' = (S'_{\mathfrak q'})^\wedge \times B'$$ by Lemma Completion of a finite ring extension. Observe that under this product decomposition $g$ maps to a pair $(u, b')$ with $u \in (S'_{\mathfrak q'})^\wedge$ a unit because $g \not \in \mathfrak q'$. The product decomposition for $R_\mathfrak p^\wedge \otimes_R S'$ induces a product decomposition $$R_\mathfrak p^\wedge \otimes_R S = A \times B.$$ Since $S'_g = S_g$ we also have $(R_\mathfrak p^\wedge \otimes_R S')_g = (R_\mathfrak p^\wedge \otimes_R S)_g$ and since $g \mapsto (u, b')$ where $u$ is a unit we see that $(S'_{\mathfrak q'})^\wedge = A$. Since the isomorphism $S'_{\mathfrak q'} = S_\mathfrak q$ determines an isomorphism on completions this also tells us that $A = S_\mathfrak q^\wedge$. This finishes the proof, except that we should perform the sanity check that the induced map $\phi : R_\mathfrak p^\wedge \otimes_R S \to A = S_\mathfrak q^\wedge$ is the natural one. For elements of the form $x \otimes 1$ with $x \in R_\mathfrak p^\wedge$ this is clear as the natural map $R_\mathfrak p^\wedge \to S_\mathfrak q^\wedge$ factors through $(S'_{\mathfrak q'})^\wedge$. For elements of the form $1 \otimes y$ with $y \in S$ we can argue that for some $n \geq 1$ the element $g^ny$ is the image of some $y' \in S'$. Thus $\phi(1 \otimes g^ny)$ is the image of $y'$ under the composition $S' \to (S'_{\mathfrak q'})^\wedge \to S_\mathfrak q^\wedge$ which is equal to the image of $g^ny$ by the map $S \to S_\mathfrak q^\wedge$. Since $g$ maps to a unit this also implies that $\phi(1 \otimes y)$ has the correct value, i.e., the image of $y$ by $S \to S_\mathfrak q^\wedge$. $\square$

Lemma. Finite free algebras with a prescribed residue extension

Let $R$ be a ring. Let $\mathfrak p \subset R$ be a prime and let $L/\kappa(\mathfrak p)$ be a finite extension of fields. Then there exists a finite free ring map $R \to S$ such that $\mathfrak q = \mathfrak pS$ is prime and $\kappa(\mathfrak q)/\kappa(\mathfrak p)$ is isomorphic to the given extension $L/\kappa(\mathfrak p)$.

Proof. By induction on the degree of $\kappa(\mathfrak p) \subset L$. If the degree is $1$, then we take $R = S$. In general, if there exists a sub extension $\kappa(\mathfrak p) \subset L' \subset L$ with both inclusions strict, then we win by induction on the degree (by first constructing $R \subset S'$ corresponding to $L'/\kappa(\mathfrak p)$ and then constructing $S' \subset S$ corresponding to $L/L'$). Thus we may assume that $L \supset \kappa(\mathfrak p)$ is generated by a single element $\alpha \in L$. Let $X^d + \sum_{i < d} a_iX^i$ be the minimal polynomial of $\alpha$ over $\kappa(\mathfrak p)$, so $a_i \in \kappa(\mathfrak p)$. We may write $a_i$ as the image of $f_i/g$ for some $f_i, g \in R$ and $g \not \in \mathfrak p$. After replacing $\alpha$ by $g\alpha$ (and correspondingly replacing $a_i$ by $g^{d - i}a_i$) we may assume that $a_i$ is the image of some $f_i \in R$. Then we simply take $S = R[x]/(x^d + \sum f_ix^i)$. $\square$

Lemma. Completion of a finite ring extension

Let $R$ be a Noetherian ring. Let $R \to S$ be a finite ring map. Let $\mathfrak p \subset R$ be a prime and let $\mathfrak q_1, \ldots, \mathfrak q_m$ be the primes of $S$ lying over $\mathfrak p$ (Lemma Fibres of a finite ring map). Then $$R_\mathfrak p^\wedge \otimes_R S = (S_\mathfrak p)^\wedge = S_{\mathfrak q_1}^\wedge \times \ldots \times S_{\mathfrak q_m}^\wedge$$ where the $(S_\mathfrak p)^\wedge$ is the completion with respect to $\mathfrak p$ and the local rings $R_\mathfrak p$ and $S_{\mathfrak q_i}$ are completed with respect to their maximal ideals.

Proof. We may replace $R$ by the localization $R_\mathfrak p$ and $S$ by $S_\mathfrak p = S \otimes_R R_\mathfrak p$. Hence we may assume that $R$ is a local Noetherian ring and that $\mathfrak p = \mathfrak m$ is its maximal ideal. The $\mathfrak q_iS_{\mathfrak q_i}$-adic completion $S_{\mathfrak q_i}^\wedge$ is equal to the $\mathfrak m$-adic completion by Lemma Finiteness after completion. For every $n \geq 1$ prime ideals of $S/\mathfrak m^nS$ are in 1-to-1 correspondence with the maximal ideals $\mathfrak q_1, \ldots, \mathfrak q_m$ of $S$ (by going up for $S$ over $R$, see Lemma Going up for integral ring maps). Hence $S/\mathfrak m^nS = \prod S_{\mathfrak q_i}/\mathfrak m^nS_{\mathfrak q_i}$ by Lemma Finite length over an Artinian ring (using for example Proposition Rings of dimension zero to see that $S/\mathfrak m^nS$ is Artinian). Hence the $\mathfrak m$-adic completion $S^\wedge$ of $S$ is equal to $\prod S_{\mathfrak q_i}^\wedge$. Finally, we have $R^\wedge \otimes_R S = S^\wedge$ by Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1. $\square$

Lemma. A complete local domain finite over a regular ring

Let $(R, \mathfrak m)$ be a Noetherian complete local domain. Then there exists a subring $R_0 \subset R$ with the following properties

  1. $R_0$ is a regular complete local ring,

  2. $R_0 \subset R$ is finite and induces an isomorphism on residue fields,

  3. $R_0$ is either isomorphic to $k[[X_1, \ldots, X_d]]$ where $k$ is a field or $\Lambda[[X_1, \ldots, X_d]]$ where $\Lambda$ is a Cohen ring.

Proof. Let $\Lambda$ be a coefficient ring of $R$. Since $R$ is a domain we see that either $\Lambda$ is a field or $\Lambda$ is a Cohen ring.

Case I: $\Lambda = k$ is a field. Let $d = \dim(R)$. Choose $x_1, \ldots, x_d \in \mathfrak m$ which generate an ideal of definition $I \subset R$. (See Section Dimension and codimension.) By Lemma Changing the ideal of completion we see that $R$ is $I$-adically complete as well. Consider the map $R_0 = k[[X_1, \ldots, X_d]] \to R$ which maps $X_i$ to $x_i$. Note that $R_0$ is complete with respect to the ideal $I_0 = (X_1, \ldots, X_d)$, and that $R/I_0R \cong R/IR$ is finite over $k = R_0/I_0$ (because $\dim(R/I) = 0$, see Section Dimension and codimension.) Hence we conclude that $R_0 \to R$ is finite by Lemma Finite algebras over a complete ring. Since $\dim(R) = \dim(R_0)$ this implies that $R_0 \to R$ is injective (see Lemma Dimension under an integral extension). This proves Case I.

Case II: $\Lambda$ is a Cohen ring. Let $d + 1 = \dim(R)$. Let $p > 0$ be the characteristic of the residue field $k$. As $R$ is a domain we see that $p$ is a nonzerodivisor in $R$. Hence $\dim(R/pR) = d$, see Lemma A single polynomial equation. Choose $x_1, \ldots, x_d \in R$ which generate an ideal of definition in $R/pR$. Then $I = (p, x_1, \ldots, x_d)$ is an ideal of definition of $R$. By Lemma Changing the ideal of completion we see that $R$ is $I$-adically complete as well. Consider the map $R_0 = \Lambda[[X_1, \ldots, X_d]] \to R$ which maps $X_i$ to $x_i$. Note that $R_0$ is complete with respect to the ideal $I_0 = (p, X_1, \ldots, X_d)$, and that $R/I_0R \cong R/IR$ is finite over $k = R_0/I_0$ (because $\dim(R/I) = 0$, see Section Dimension and codimension.) Hence we conclude that $R_0 \to R$ is finite by Lemma Finite algebras over a complete ring. Since $\dim(R) = \dim(R_0)$ this implies that $R_0 \to R$ is injective (see Lemma Dimension under an integral extension), and the lemma is proved. $\square$

Definition. Regular Noetherian rings

A Noetherian ring $R$ is said to be regular if all the localizations $R_{\mathfrak p}$ at primes are regular local rings.

Lemma. Geometric regularity under separable algebraic extensions

Let $k'/k$ be a separable algebraic field extension. Let $A$ be an algebra over $k'$. Then $A$ is geometrically regular over $k$ if and only if it is geometrically regular over $k'$.

Proof. Let $L/k$ be a finite purely inseparable field extension. Then $L' = k' \otimes_k L$ is a field (see material in Fields, Section The geometric construction) and $A \otimes_k L = A \otimes_{k'} L'$. Hence if $A$ is geometrically regular over $k'$, then $A$ is geometrically regular over $k$.

Assume $A$ is geometrically regular over $k$. Since $k'$ is the filtered colimit of finite extensions of $k$ we may assume by Lemma Geometric regularity over a subfield that $k'/k$ is finite separable. Consider the ring maps $$k' \to A \otimes_k k' \to A.$$ Note that $A \otimes_k k'$ is geometrically regular over $k'$ as a base change of $A$ to $k'$. Note that $A \otimes_k k' \to A$ is the base change of $k' \otimes_k k' \to k'$ by the map $k' \to A$. Since $k'/k$ is an étale extension of rings, we see that $k' \otimes_k k' \to k'$ is étale (Lemma Étale morphisms). Hence $A$ is geometrically regular over $k'$ by Lemma Ascent of geometric regularity. $\square$

Lemma. Regularity ascends along a regular ring map

Regularity ascends along smooth maps of rings.

Let $\varphi : R \to S$ be a ring map. Assume

  1. $\varphi$ is smooth,

  2. $R$ is a regular ring.

Then $S$ is regular.

Proof. This follows by applying Lemma Commutative algebra for every $k \geq 0$ using Lemma Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3 to see that the hypotheses are satisfied. $\square$

Lemma. Filtered limits and finite presentation

Let $R \to A$ be a ring map. There exists a directed system $A_\lambda$ of $R$-algebras of finite presentation such that $A = \mathop{\operatorname{colim}}_\lambda A_\lambda$. If $A$ is of finite type over $R$ we may arrange it so that all the transition maps in the system of $A_\lambda$ are surjective.

Proof. The first proof is that this follows from Lemma The filtered category of finite ring presentations and Categories, Lemma The geometric construction (programme binding).

Second proof. Compare with the proof of Lemma Filtered limits and finite presentation and modules. Consider any finite subset $S \subset A$, and any finite collection of polynomial relations $E$ among the elements of $S$. So each $s \in S$ corresponds to $x_s \in A$ and each $e \in E$ consists of a polynomial $f_e \in R[X_s; s\in S]$ such that $f_e(x_s) = 0$. Let $A_{S, E} = R[X_s; s\in S]/(f_e; e\in E)$ which is a finitely presented $R$-algebra. There are canonical maps $A_{S, E} \to A$. If $S \subset S'$ and if the elements of $E$ correspond, via the map $R[X_s; s \in S] \to R[X_s; s\in S']$, to a subset of $E'$, then there is an obvious map $A_{S, E} \to A_{S', E'}$ commuting with the maps to $A$. Thus, setting $\Lambda$ equal to the set of pairs $(S, E)$ with ordering by inclusion as above, we get a directed partially ordered set. It is clear that the colimit of this directed system is $A$.

For the last statement, suppose $A = R[x_1, \ldots, x_n]/I$. In this case, consider the subset $\Lambda' \subset \Lambda$ consisting of those systems $(S, E)$ above with $S = \{x_1, \ldots, x_n\}$. It is easy to see that still $A = \mathop{\operatorname{colim}}_{\lambda' \in \Lambda'} A_{\lambda'}$. Moreover, the transition maps are clearly surjective. $\square$

Lemma. Localization as a filtered colimit

Let $R$ be a ring. Let $S \subset R$ be a multiplicative subset. Let $M$ be an $R$-module. Then $$S^{-1}M = \mathop{\operatorname{colim}}_{f \in S} M_f$$ where the preorder on $S$ is given by $f \geq f' \Leftrightarrow f = f'f''$ for some $f'' \in R$ in which case the map $M_{f'} \to M_f$ is given by $m/(f')^e \mapsto m(f'')^e/f^e$.

Proof. Omitted. Hint: Use the universal property of Lemma Proper morphisms and modules. $\square$

Lemma. The cotangent complex of a principal localization

The formation of the naive cotangent complex commutes with localization at an element.

Let $A \to B$ be a ring map. Let $g \in B$. Suppose $\alpha : P \to B$ is a presentation with kernel $I$. Then a presentation of $B_g$ over $A$ is the map $$\beta : P[x] \longrightarrow B_g$$ extending $\alpha$ and sending $x$ to $1/g$. The kernel $J$ of $\beta$ is generated by $I$ and the element $f x - 1$ where $f \in P$ is an element mapped to $g \in B$ by $\alpha$. In this situation we have

  1. $J/J^2 = (I/I^2)_g \oplus B_g (f x - 1)$,

  2. $\Omega_{P[x]/A} \otimes_{P[x]} B_g = \Omega_{P/A} \otimes_P B_g \oplus B_g \text{d}x$,

  3. $\mathrm{NL}(\beta) \cong \mathrm{NL}(\alpha) \otimes_B B_g \oplus (B_g \xrightarrow{g} B_g).$

Hence the canonical map $\mathrm{NL}_{B/A} \otimes_B B_g \to \mathrm{NL}_{B_g/A}$ is a homotopy equivalence.

Proof. Since $P[x]/(I, fx - 1) = B[x]/(gx - 1) = B_g$ we get the statement about $I$ and $fx - 1$ generating $J$. Consider the commutative diagram $$\begin{gathered}\begin{matrix}0 & \Omega_{P/A} \otimes_P B_g & \Omega_{P[x]/A} \otimes_{P[x]} B_g & \Omega_{B[x]/B} \otimes_{B[x]} B_g & 0 \\ \phantom{X} & (I/I^2)_g & J/J^2 & (gx - 1)/(gx - 1)^2 & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow \Omega_{P/A} \otimes_P B_g \\ \Omega_{P/A} \otimes_P B_g & \longrightarrow \Omega_{P[x]/A} \otimes_{P[x]} B_g \\ \Omega_{P[x]/A} \otimes_{P[x]} B_g & \longrightarrow \Omega_{B[x]/B} \otimes_{B[x]} B_g \\ \Omega_{B[x]/B} \otimes_{B[x]} B_g & \longrightarrow 0 \\ (I/I^2)_g & \longrightarrow J/J^2 \\ (I/I^2)_g & \longrightarrow \Omega_{P/A} \otimes_P B_g \\ J/J^2 & \longrightarrow (gx - 1)/(gx - 1)^2 \\ J/J^2 & \longrightarrow \Omega_{P[x]/A} \otimes_{P[x]} B_g \\ (gx - 1)/(gx - 1)^2 & \longrightarrow 0 \\ (gx - 1)/(gx - 1)^2 & \longrightarrow \Omega_{B[x]/B} \otimes_{B[x]} B_g\end{aligned}\end{gathered}$$ with exact rows of Lemma The transitivity sequence for the naive cotangent complex. The $B_g$-module $\Omega_{B[x]/B} \otimes_{B[x]} B_g$ is free of rank $1$ on $\text{d}x$. The element $\text{d}x$ in the $B_g$-module $\Omega_{P[x]/A} \otimes_{P[x]} B_g$ provides a splitting for the top row. The element $gx - 1 \in (gx - 1)/(gx - 1)^2$ is mapped to $g\text{d}x$ in $\Omega_{B[x]/B} \otimes_{B[x]} B_g$ and hence $(gx - 1)/(gx - 1)^2$ is free of rank $1$ over $B_g$. (This can also be seen by arguing that $gx - 1$ is a nonzerodivisor in $B[x]$ because it is a polynomial with invertible constant term and any nonzerodivisor gives a quasi-regular sequence of length $1$ by Lemma Regular sequences are quasi-regular.)

Let us prove $(I/I^2)_g \to J/J^2$ is injective. Consider the $P$-algebra map $$\pi : P[x] \to (P/I^2)_f = P_f/I_f^2$$ sending $x$ to $1/f$. Since $J$ is generated by $I$ and $fx - 1$ we see that $\pi(J) \subset (I/I^2)_f = (I/I^2)_g$. Since this is an ideal of square zero we see that $\pi(J^2) = 0$. If $a \in I$ maps to an element of $J^2$ in $J$, then $\pi(a) = 0$, which implies that $a$ maps to zero in $I_f/I_f^2$. This proves the desired injectivity.

Thus we have a short exact sequence of two term complexes $$0 \to \mathrm{NL}(\alpha) \otimes_B B_g \to \mathrm{NL}(\beta) \to (B_g \xrightarrow{g} B_g) \to 0$$ Such a short exact sequence can always be split in the category of complexes. In our particular case we can take as splittings $$J/J^2 = (I/I^2)_g \oplus B_g (fx - 1)\quad\text{and}\quad \Omega_{P[x]/A} \otimes B_g = \Omega_{P/A} \otimes B_g \oplus B_g (g^{-2}\text{d}f + \text{d}x).$$ This works because $\text{d}(fx - 1) = x\text{d}f + f \text{d}x = g(g^{-2}\text{d}f + \text{d}x)$ in $\Omega_{P[x]/A} \otimes B_g$. $\square$

Lemma. Localization of a conormal module

Let $R \to S$ be a ring map of finite type. Let $g \in S$. For any presentations $\alpha : R[x_1, \ldots, x_n] \to S$ and $\beta : R[y_1, \ldots, y_m] \to S_g$ we have $$(I/I^2)_g \oplus S^{\oplus m}_g \cong J/J^2 \oplus S_g^{\oplus n}$$ as $S_g$-modules, where $I = \operatorname{Ker}(\alpha)$ and $J = \operatorname{Ker}(\beta)$.

Proof. Let $\beta' : R[x_1, \ldots, x_n, x] \to S_g$ be the presentation of Lemma The cotangent complex of a principal localization constructed starting with $\alpha$. Then we know that $\mathrm{NL}(\alpha) \otimes_S S_g$ is homotopy equivalent to $\mathrm{NL}(\beta')$. We know that $\mathrm{NL}(\beta)$ and $\mathrm{NL}(\beta')$ are homotopy equivalent by Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1. We conclude that $\mathrm{NL}(\alpha) \otimes_S S_g$ is homotopy equivalent to $\mathrm{NL}(\beta)$. Finally, we apply Lemma Tensor products and direct sums. $\square$

Lemma. The conormal module of a global complete intersection

Let $R$ be a ring. Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ be a relative global complete intersection (Definition Relative global complete intersections). For every prime $\mathfrak q$ of $S$, let $\mathfrak q'$ denote the corresponding prime of $R[x_1, \ldots, x_n]$. Then

  1. $f_1, \ldots, f_c$ is a regular sequence in the local ring $R[x_1, \ldots, x_n]_{\mathfrak q'}$,

  2. each of the rings $R[x_1, \ldots, x_n]_{\mathfrak q'}/(f_1, \ldots, f_i)$ is flat over $R$, and

  3. the $S$-module $(f_1, \ldots, f_c)/(f_1, \ldots, f_c)^2$ is free with basis given by the elements $f_i \bmod (f_1, \ldots, f_c)^2$.

Proof. Assume $R$ is Noetherian. Let $\mathfrak p = R \cap \mathfrak q'$. By Lemma Local criteria for complete intersections for example we see that $f_1, \ldots, f_c$ form a regular sequence in the local ring $R[x_1, \ldots, x_n]_{\mathfrak q'} \otimes_R \kappa(\mathfrak p)$. Moreover, the local ring $R[x_1, \ldots, x_n]_{\mathfrak q'}$ is flat over $R_{\mathfrak p}$. Since $R$, and hence $R[x_1, \ldots, x_n]_{\mathfrak q'}$ is Noetherian we see from Lemma Koszul complexes, regular sequences and regular rings that (1) and (2) hold.

Let \(R\) be general. Write \(R = \mathop{\operatorname{colim}}_{\lambda \in \Lambda} R_\lambda\) as the filtered colimit of finite type \(\mathbf{Z}\)-subalgebras (compare with Section Filtered limits and flatness). We may assume that \(f_1, \ldots, f_c \in R_\lambda[x_1, \ldots, x_n]\) for all \(\lambda\). Let \(R_0 \subset R\) be as in Lemma Complete rings, formal power series and Noetherian rings. Then we may assume \(R_0 \subset R_\lambda\) for all \(\lambda\). It follows that \(S_\lambda = R_\lambda[x_1, \ldots, x_n]/(f_1, \ldots, f_c)\) is a relative global complete intersection (as base change of \(S_0\) via \(R_0 \to R_\lambda\), see Lemma Base change of a global complete intersection). Denote by \(\mathfrak p_\lambda\), \(\mathfrak q_\lambda\), \(\mathfrak q'_\lambda\) the primes of \(R_\lambda\), \(S_\lambda\), \(R_\lambda[x_1, \ldots, x_n]\) induced by \(\mathfrak p\), \(\mathfrak q\), \(\mathfrak q'\). With this notation, we have (1) and (2) for each \(\lambda\). Since

\[ R[x_1, \ldots, x_n]_{\mathfrak q'}/(f_1, \ldots, f_i) = \mathop{\operatorname{colim}} R_\lambda[x_1, \ldots, x_n]_{\mathfrak q_\lambda'}/(f_1, \ldots, f_i) \]

we deduce flatness in (2) over \(R\) from Lemma Flatness in a filtered ring colimit. Since we have

\[ \begin{aligned} R[x_1, \ldots, x_n]_{\mathfrak q'}/(f_1, \ldots, f_i) \xrightarrow{f_{i + 1}} R[x_1, \ldots, x_n]_{\mathfrak q'}/(f_1, \ldots, f_i) \\ = \mathop{\operatorname{colim}} \left( R_\lambda[x_1, \ldots, x_n]_{\mathfrak q_\lambda'}/(f_1, \ldots, f_i) \xrightarrow{f_{i + 1}} R_\lambda[x_1, \ldots, x_n]_{\mathfrak q_\lambda'}/(f_1, \ldots, f_i) \right) \end{aligned} \]

and since filtered colimits are exact (Lemma Filtered limits and commutative algebra) we conclude that we have (1).

Proof of (3). Denote by $N$ the $S$-module $(f_1, \ldots, f_c)/(f_1, \ldots, f_c)^2$ and $e_i \in N$ the image of $f_i$. By Lemma Regular sequences are quasi-regular and (1) we know that $e_1, \ldots, e_c$ is a basis of $N_\mathfrak q$ for all primes $\mathfrak q$ of $S$. By Lemma Detecting a zero module by localization we conclude that (3) is true. $\square$

Definition. Relative global complete intersections

Let $R \to S$ be a ring map. We say that $R \to S$ is a relative global complete intersection if there exists a presentation $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ and every nonempty fibre of $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ has dimension $n - c$. We will say "let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ be a relative global complete intersection" to indicate this situation.

Lemma. An open neighbourhood with bounded fibre dimension

Let $R \to S$ be a finite type ring map. Let $\mathfrak q \subset S$ be a prime. Suppose that $\dim_{\mathfrak q}(S/R) = n$. There exists an open neighbourhood $V$ of $\mathfrak q$ in $\operatorname{Spec}(S)$ such that $\dim_{\mathfrak q'}(S/R) \leq n$ for all $\mathfrak q' \in V$.

Proof. By Lemma Finite algebras we see that we may assume that $S$ is quasi-finite over a polynomial algebra $R[t_1, \ldots, t_n]$. Considering the fibres, we reduce to Lemma Dimension, codimension and finite algebras. $\square$

Lemma. Base change of a global complete intersection

Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ be a relative global complete intersection (Definition Relative global complete intersections)

  1. For any $R \to R'$ the base change $R' \otimes_R S = R'[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a relative global complete intersection.

  2. For any $g \in S$ which is the image of $h \in R[x_1, \ldots, x_n]$ the ring $S_g = R[x_1, \ldots, x_n, x_{n + 1}]/(f_1, \ldots, f_c, hx_{n + 1} - 1)$ is a relative global complete intersection.

  3. If $R \to S$ factors as $R \to R_f \to S$ for some $f \in R$, then the ring $S = R_f[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a relative global complete intersection over $R_f$.

Proof. By Lemma Dimension, codimension and field extensions the fibres of a base change have the same dimension as the fibres of the original map. Moreover $R' \otimes_R R[x_1, \ldots, x_n]/(f_1, \ldots, f_c) = R'[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. Thus (1) follows. The proof of (2) is that the localization at one element can be described as $S_g \cong S[x_{n + 1}]/(gx_{n + 1} - 1)$. Assertion (3) follows from (1) since under the assumptions of (3) we have $R_f \otimes_R S \cong S$. $\square$

Lemma. Locality of syntomic ring maps

Let $R \to S$ be a ring map. Suppose we have $g_1, \ldots, g_m \in S$ which generate the unit ideal such that each $R \to S_{g_i}$ is syntomic. Then $R \to S$ is syntomic.

Proof. This is true for being flat and for being of finite presentation by Lemmas Localization of a flat module and A cover of the target spectrum. The property of having fibre rings which are local complete intersections is local on $S$ by its very definition, see Definition Complete intersections over a field. $\square$

Lemma. Quasi-compactness of an affine spectrum

The spectrum of a ring is quasi-compact

Let $R$ be a ring. The space $\operatorname{Spec}(R)$ is quasi-compact.

Proof. It suffices to prove that any covering of $\operatorname{Spec}(R)$ by standard opens can be refined by a finite covering. Thus suppose that $\operatorname{Spec}(R) = \cup D(f_i)$ for a set of elements $\{f_i\}_{i\in I}$ of $R$. This means that $\cap V(f_i) = \emptyset$. According to Lemma The Zariski topology on an affine spectrum this means that $V(\{f_i \}) = \emptyset$. According to the same lemma this means that the ideal generated by the $f_i$ is the unit ideal of $R$. This means that we can write $1$ as a finite sum: $1 = \sum_{i \in J} r_i f_i$ with $J \subset I$ finite. And then it follows that $\operatorname{Spec}(R) = \cup_{i \in J} D(f_i)$. $\square$

Lemma. Flatness of a cokernel

Let $R$ be a ring. Let $\varphi : P_1 \to P_2$ be a map of finite projective modules. Then

  1. The set $U$ of primes $\mathfrak p \in \operatorname{Spec}(R)$ such that $\varphi \otimes \kappa(\mathfrak p)$ is injective is open and for any $f\in R$ such that $D(f) \subset U$ we have

    1. $P_{1, f} \to P_{2, f}$ is injective, and

    2. the module $\operatorname{Coker}(\varphi)_f$ is finite projective over $R_f$.

  2. The set $W$ of primes $\mathfrak p \in \operatorname{Spec}(R)$ such that $\varphi \otimes \kappa(\mathfrak p)$ is surjective is open and for any $f\in R$ such that $D(f) \subset W$ we have

    1. $P_{1, f} \to P_{2, f}$ is surjective, and

    2. the module $\operatorname{Ker}(\varphi)_f$ is finite projective over $R_f$.

  3. The set $V$ of primes $\mathfrak p \in \operatorname{Spec}(R)$ such that $\varphi \otimes \kappa(\mathfrak p)$ is an isomorphism is open and for any $f\in R$ such that $D(f) \subset V$ the map $\varphi : P_{1, f} \to P_{2, f}$ is an isomorphism of modules over $R_f$.

Proof. To prove the set $U$ is open we may work locally on $\operatorname{Spec}(R)$. Thus we may replace $R$ by a suitable localization and assume that $P_1 = R^{n_1}$ and $P_2 = R^{n_2}$, see Lemma Characterizations of finite projective modules. In this case injectivity of $\varphi \otimes \kappa(\mathfrak p)$ is equivalent to $n_1 \leq n_2$ and some $n_1 \times n_1$ minor $f$ of the matrix of $\varphi$ being invertible in $\kappa(\mathfrak p)$. Thus $D(f) \subset U$. This argument also shows that $P_{1, \mathfrak p} \to P_{2, \mathfrak p}$ is injective for $\mathfrak p \in U$.

Now suppose $D(f) \subset U$. By the remark in the previous paragraph and Lemma Detecting a zero module by localization we see that $P_{1, f} \to P_{2, f}$ is injective, i.e., (1)(a) holds. By Lemma Characterizations of finite projective modules to prove (1)(b) it suffices to prove that $\operatorname{Coker}(\varphi)$ is finite projective locally on $D(f)$. Thus, as we saw above, we may assume that $P_1 = R^{n_1}$ and $P_2 = R^{n_2}$ and that some minor of the matrix of $\varphi$ is invertible in $R$. If the minor in question corresponds to the first $n_1$ basis vectors of $R^{n_2}$, then using the last $n_2 - n_1$ basis vectors we get a map $R^{n_2 - n_1} \to R^{n_2} \to \operatorname{Coker}(\varphi)$ which is easily seen to be an isomorphism.

Openness of $W$ and (2)(a) for $D(f) \subset W$ follow from Lemma Finite algebras. Since $P_{2, f}$ is projective over $R_f$ we see that $\varphi_f : P_{1, f} \to P_{2, f}$ has a section and it follows that $\operatorname{Ker}(\varphi)_f$ is a direct summand of $P_{1, f}$. Therefore $\operatorname{Ker}(\varphi)_f$ is finite projective. Thus (2)(b) holds as well.

It is clear that $V = U \cap W$ is open and the other statement in (3) follows from (1)(a) and (2)(a). $\square$

Lemma. Criteria for global complete intersections

A relative global complete intersection is syntomic, i.e., flat.

Proof. Let $R \to S$ be a relative global complete intersection. The fibres are global complete intersections, and $S$ is of finite presentation over $R$. Thus the only thing to prove is that $R \to S$ is flat. This is true by (2) of Lemma The conormal module of a global complete intersection. $\square$

Definition. Complete-intersection local rings

Let $k$ be a field. Let $S$ be a local $k$-algebra essentially of finite type over $k$. We say $S$ is a complete intersection (over $k$) if there exists a local $k$-algebra $R$ and elements $f_1, \ldots, f_c \in \mathfrak m_R$ such that

  1. $R$ is essentially of finite type over $k$,

  2. $R$ is a regular local ring,

  3. $f_1, \ldots, f_c$ form a regular sequence in $R$, and

  4. $S \cong R/(f_1, \ldots, f_c)$ as $k$-algebras.

Lemma. Complete intersections at a prime ideal

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak q$ be a prime of $S$. The following are equivalent:

  1. The local ring $S_{\mathfrak q}$ is a complete intersection ring (Definition Complete-intersection local rings).

  2. There exists a $g \in S$, $g \not \in \mathfrak q$ such that $S_g$ is a local complete intersection over $k$.

  3. There exists a $g \in S$, $g \not \in \mathfrak q$ such that $S_g$ is a global complete intersection over $k$.

  4. For any presentation $S = k[x_1, \ldots, x_n]/I$ with $\mathfrak q' \subset k[x_1, \ldots, x_n]$ corresponding to $\mathfrak q$ any one of the equivalent conditions (1) -- (5) of Lemma Local criteria for complete intersections holds.

Proof. This is a combination of Lemmas Local criteria for complete intersections and Locality of the complete-intersection condition and the definitions. $\square$

Lemma. Tor vanishing for a flat module

Suppose that $R$ is a ring, that $0\to M''\to M'\to M\to0$ is a short exact sequence, and that $N$ is an $R$-module. If $M$ is flat then $N \otimes_R M'' \to N \otimes_R M'$ is injective, i.e., the sequence $$0 \to N \otimes_R M'' \to N \otimes_R M' \to N \otimes_R M \to 0$$ is a short exact sequence.

Proof. Let $R^{(I)} \to N$ be a surjection from a free module onto $N$ with kernel $K$. The result follows from the snake lemma applied to the following diagram $$\begin{matrix} & & 0 & & 0 & & 0 & & \\ & & \uparrow & & \uparrow & & \uparrow & & \\ & & M''\otimes_R N & \to & M' \otimes_R N & \to & M \otimes_R N & \to & 0 \\ & & \uparrow & & \uparrow & & \uparrow & & \\ 0 & \to & (M'')^{(I)} & \to & (M')^{(I)} & \to & M^{(I)} & \to & 0 \\ & & \uparrow & & \uparrow & & \uparrow & & \\ & & M''\otimes_R K & \to & M' \otimes_R K & \to & M \otimes_R K & \to & 0 \\ & & & & & & \uparrow & & \\ & & & & & & 0 & & \end{matrix}$$ with exact rows and columns. The middle row is exact because tensoring with the free module $R^{(I)}$ is exact. $\square$

Lemma. Smoothness of a global complete intersection

Let $R$ be a ring. Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ be a relative global complete intersection. Let $\mathfrak q \subset S$ be a prime. Then $R \to S$ is smooth at $\mathfrak q$ if and only if there exists a subset $I \subset \{1, \ldots, n\}$ of cardinality $c$ such that the polynomial $$g_I = \det (\partial f_j/\partial x_i)_{j = 1, \ldots, c, \ i \in I}$$ does not map to an element of $\mathfrak q$.

Proof. By Lemma The conormal module of a global complete intersection we see that the naive cotangent complex associated to the given presentation of $S$ is the complex $$\bigoplus\nolimits_{j = 1}^c S \cdot f_j \longrightarrow \bigoplus\nolimits_{i = 1}^n S \cdot \text{d}x_i, \quad f_j \longmapsto \sum \frac{\partial f_j}{\partial x_i} \text{d}x_i.$$ The maximal minors of the matrix giving the map are exactly the polynomials $g_I$.

Assume $g_I$ maps to $g \in S$, with $g \not \in \mathfrak q$. Then the algebra $S_g$ is smooth over $R$. Namely, its naive cotangent complex is quasi-isomorphic to the complex above localized at $g$, see Lemma Localization of the naive cotangent complex. And by construction it is quasi-isomorphic to a free rank $n - c$ module in degree $0$.

Conversely, suppose that all $g_I$ end up in $\mathfrak q$. In this case the complex above tensored with $\kappa(\mathfrak q)$ does not have maximal rank, and hence there is no localization by an element $g \in S$, $g \not \in \mathfrak q$ where this map becomes a split injection. By Lemma Localization of the naive cotangent complex again there is no such localization which is smooth over $R$. $\square$

Lemma. Dimension and codimension

Let $k$ be a field. Let $S' \to S$ be a surjection of finite type $k$-algebras. Let $\mathfrak p \subset S$ be a prime ideal, and let $\mathfrak p'$ be the corresponding prime ideal of $S'$. Let $X = \operatorname{Spec}(S)$, resp. $X' = \operatorname{Spec}(S')$, and let $x \in X$, resp. $x'\in X'$ be the point corresponding to $\mathfrak p$, resp. $\mathfrak p'$. Then $$\dim_{x'} X' - \dim_x X = \text{height}(\mathfrak p') - \text{height}(\mathfrak p).$$

Proof. Immediate from Lemma Dimension, codimension and field extensions. $\square$

Lemma. Complete intersections are Cohen--Macaulay

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. If $S$ is a local complete intersection, then $S$ is a Cohen-Macaulay ring.

Proof. Choose a maximal prime $\mathfrak m$ of $S$. We have to show that $S_\mathfrak m$ is Cohen-Macaulay. By assumption we may assume $S = k[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ with $\dim(S) = n - c$. Let $\mathfrak m' \subset k[x_1, \ldots, x_n]$ be the maximal ideal corresponding to $\mathfrak m$. According to Proposition Dimension, codimension and finite algebras the local ring $k[x_1, \ldots, x_n]_{\mathfrak m'}$ is regular local of dimension $n$. In particular it is Cohen-Macaulay by Lemma Regular rings are Cohen–Macaulay. By Lemma A single polynomial equation applied $c$ times the local ring $S_{\mathfrak m} = k[x_1, \ldots, x_n]_{\mathfrak m'}/(f_1, \ldots, f_c)$ has dimension $\geq n - c$. By assumption $\dim(S_{\mathfrak m}) \leq n - c$. Thus we get equality. This implies that $f_1, \ldots, f_c$ is a regular sequence in $k[x_1, \ldots, x_n]_{\mathfrak m'}$ and that $S_{\mathfrak m}$ is Cohen-Macaulay, see Proposition Characterizations of Cohen–Macaulay modules. $\square$

Proposition. Characterizations of Cohen--Macaulay modules

Let $R$ be a Noetherian local ring, with maximal ideal $\mathfrak m$. Let $M$ be a nonzero Cohen-Macaulay module over $R$ whose support has dimension $d$. Suppose that $g_1, \ldots, g_c$ are elements of $\mathfrak m$ such that $\dim(\text{Supp}(M/(g_1, \ldots, g_c)M)) = d - c$. Then $g_1, \ldots, g_c$ is an $M$-regular sequence, and can be extended to a maximal $M$-regular sequence.

Proof. Let $Z = \text{Supp}(M) \subset \operatorname{Spec}(R)$. By Lemma A single polynomial equation in the chain $Z \supset Z \cap V(g_1) \supset \ldots \supset Z \cap V(g_1, \ldots, g_c)$ each step decreases the dimension at most by $1$. Hence by assumption each step decreases the dimension by exactly $1$ each time. Thus we may successively apply Lemma Commutative algebra to the modules $M/(g_1, \ldots, g_i)M$ and the element $g_{i + 1}$.

To extend $g_1, \ldots, g_c$ by one element if $c < d$ we simply choose an element $g_{c + 1} \in \mathfrak m$ which is not in any of the finitely many minimal primes of $Z \cap V(g_1, \ldots, g_c)$, using Lemma An elementary algebraic comparison. $\square$

Lemma. Regular sequences are quasi-regular

Let $R$ be a ring.

  1. A regular sequence $f_1, \ldots, f_c$ of $R$ is a quasi-regular sequence.

  2. Suppose that $M$ is an $R$-module and that $f_1, \ldots, f_c$ is an $M$-regular sequence. Then $f_1, \ldots, f_c$ is an $M$-quasi-regular sequence.

Proof. Set $J = (f_1, \ldots, f_c)$. We prove the first assertion by induction on $c$. We have to show that given any relation $\sum_{|I| = n} a_I f^I \in J^{n + 1}$ with $a_I \in R$ we actually have $a_I \in J$ for all multi-indices $I$. Since any element of $J^{n + 1}$ is of the form $\sum_{|I| = n} b_I f^I$ with $b_I \in J$ we may assume, after replacing $a_I$ by $a_I - b_I$, the relation reads $\sum_{|I| = n} a_I f^I = 0$. We can rewrite this as $$\sum\nolimits_{e = 0}^n \left( \sum\nolimits_{|I'| = n - e} a_{I', e} f^{I'} \right) f_c^e

0$$ Here and below the "primed" multi-indices $I'$ are required to be of the form $I' = (i_1, \ldots, i_{c - 1}, 0)$. We will show by induction on $l \in \{0, \ldots, n\}$ that if we have a relation $$\sum\nolimits_{e = 0}^l \left( \sum\nolimits_{|I'| = n - e} a_{I', e} f^{I'} \right) f_c^e

0$$ then $a_{I', e} \in J$ for all $I', e$. Set $J' = (f_1, \ldots, f_{c-1})$. For $l = 0$, the induction hypothesis on $c$ gives $a_{I',0} \in J' \subset J$, which proves the assertion. Assume now $l \geq 1$; the sum from $0$ to $l-2$ below is empty when $l=1$. Observe that $\sum\nolimits_{|I'| = n - l} a_{I', l} f^{I'}$ is mapped into $(J')^{n - l + 1}$ by $f_c^{l}$. By induction hypothesis (for the induction on $c$) we see that $f_c^l a_{I', l} \in J'$. Because $f_c$ is not a zerodivisor on $R/J'$ (as $f_1, \ldots, f_c$ is a regular sequence) we conclude that $a_{I', l} \in J'$. This allows us to rewrite the term $(\sum\nolimits_{|I'| = n - l} a_{I', l} f^{I'})f_c^l$ in the form $(\sum\nolimits_{|I'| = n - l + 1} f_c b_{I', l - 1} f^{I'})f_c^{l-1}$. This gives a new relation of the form $$\left(\sum\nolimits_{|I'| = n - l + 1} (a_{I', l-1} + f_c b_{I', l - 1}) f^{I'}\right)f_c^{l-1} + \sum\nolimits_{e = 0}^{l - 2} \left( \sum\nolimits_{|I'| = n - e} a_{I', e} f^{I'} \right) f_c^e

0$$ Now by the induction hypothesis (on $l$ this time) we see that all $a_{I', l-1} + f_c b_{I', l - 1} \in J$ and all $a_{I', e} \in J$ for $e \leq l - 2$. This, combined with $a_{I', l} \in J' \subset J$ seen above, finishes the proof of the induction step.

The second assertion means that given any formal expression $F = \sum_{|I| = n} m_I X^I$, $m_I \in M$ with $\sum m_I f^I \in J^{n + 1}M$, then all the coefficients $m_I$ are in $JM$. This is proved in exactly the same way as we prove the corresponding result for the first assertion above. $\square$

Lemma. Maximal prime chains in a Cohen--Macaulay ring

Let $R$ be a Noetherian local ring. Suppose $R$ is Cohen-Macaulay of dimension $d$. Any maximal chain of prime ideals $\mathfrak p_0 \subset \mathfrak p_1 \subset \ldots \subset \mathfrak p_n$ has length $n = d$.

Proof. Special case of Lemma Commutative algebra. $\square$

Lemma. An elementary algebraic comparison (Prime avoidance)

1. In an affine scheme if a finite number of points are contained in an open subset then they are contained in a smaller principal open subset. 2. Affine opens are cofinal among the neighborhoods of a given finite set of an affine scheme

Let $R$ be a ring. Let $I_i \subset R$, $i = 1, \ldots, r$, and $J \subset R$ be ideals. Assume

  1. $J \not\subset I_i$ for $i = 1, \ldots, r$, and

  2. all but two of $I_i$ are prime ideals.

Then there exists an $x \in J$, $x\not\in I_i$ for all $i$.

Proof. The result is true for $r = 1$. If $r = 2$, then let $x, y \in J$ with $x \not \in I_1$ and $y \not \in I_2$. We are done unless $x \in I_2$ and $y \in I_1$. Then the element $x + y$ cannot be in $I_1$ (since that would mean $x + y - y \in I_1$) and it also cannot be in $I_2$.

For $r \geq 3$, assume the result holds for $r - 1$. After renumbering we may assume that $I_r$ is prime. We may also assume there are no inclusions among the $I_i$. Pick $x \in J$, $x \not \in I_i$ for all $i = 1, \ldots, r - 1$. If $x \not\in I_r$ we are done. So assume $x \in I_r$. If $J I_1 \ldots I_{r - 1} \subset I_r$ then $J \subset I_r$ (by Lemma Prime spectra, associated points and tensor products and direct sums) a contradiction. Pick $y \in J I_1 \ldots I_{r - 1}$, $y \not \in I_r$. Then $x + y$ works. $\square$

Lemma. Equivalent Cohen--Macaulay conditions

Regular sequences in Cohen-Macaulay local rings are characterized by cutting out something of the correct dimension.

Let $R$ be a Noetherian local Cohen-Macaulay ring with maximal ideal $\mathfrak m$. Let $x_1, \ldots, x_c \in \mathfrak m$ be elements. Then $$x_1, \ldots, x_c \text{ is a regular sequence } \Leftrightarrow \dim(R/(x_1, \ldots, x_c)) = \dim(R) - c$$ If so $x_1, \ldots, x_c$ can be extended to a regular sequence of length $\dim(R)$ and each quotient $R/(x_1, \ldots, x_i)$ is a Cohen-Macaulay ring of dimension $\dim(R) - i$.

Proof. Special case of Proposition Characterizations of Cohen–Macaulay modules. $\square$

Lemma. The rank of Kähler differentials

Let $k$ be an algebraically closed field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak m \subset S$ be a maximal ideal. Then $$\dim_{\kappa(\mathfrak m)} \Omega_{S/k} \otimes_S \kappa(\mathfrak m)

\dim_{\kappa(\mathfrak m)} \mathfrak m/\mathfrak m^2.$$

Proof. Consider the exact sequence $$\mathfrak m/\mathfrak m^2 \to \Omega_{S/k} \otimes_S \kappa(\mathfrak m) \to \Omega_{\kappa(\mathfrak m)/k} \to 0$$ of Lemma Cotangent complexes and differentials. We would like to show that the first map is an isomorphism. Since $k$ is algebraically closed the composition $k \to \kappa(\mathfrak m)$ is an isomorphism by Theorem The Nullstellensatz. So the surjection $S \to \kappa(\mathfrak m)$ splits as a map of $k$-algebras, and Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 shows that the sequence above is exact on the left. Since $\Omega_{\kappa(\mathfrak m)/k} = 0$, we win. $\square$

Definition. Regular local rings

Let $(R, \mathfrak m)$ be a Noetherian local ring of dimension $d$.

  1. A system of parameters of $R$ is a sequence of elements $x_1, \ldots, x_d \in \mathfrak m$ which generates an ideal of definition of $R$,

  2. if there exist $x_1, \ldots, x_d \in \mathfrak m$ such that $\mathfrak m = (x_1, \ldots, x_d)$ then we call $R$ a regular local ring and $x_1, \ldots, x_d$ a regular system of parameters.

Lemma. Essentially finite presentations in a filtered limit

Suppose $R \to S$ is a local homomorphism of local rings. Assume that $S$ is essentially of finite presentation over $R$. Then there exists a directed set $(\Lambda, \leq)$, and a system of local homomorphisms $R_\lambda \to S_\lambda$ of local rings such that

  1. The colimit of the system $R_\lambda \to S_\lambda$ is equal to $R \to S$.

  2. Each $R_\lambda$ is essentially of finite type over $\mathbf{Z}$.

  3. Each $S_\lambda$ is essentially of finite type over $R_\lambda$.

  4. For each $\lambda \leq \mu$ the map $S_\lambda \otimes_{R_\lambda} R_\mu \to S_\mu$ presents $S_\mu$ as the localization of $S_\lambda \otimes_{R_\lambda} R_\mu$ at a prime ideal.

Proof. By assumption we may choose an isomorphism $\Phi : (R[x_1, \ldots, x_n]/I)_{\mathfrak q} \to S$ where $I \subset R[x_1, \ldots, x_n]$ is a finitely generated ideal, and $\mathfrak q \subset R[x_1, \ldots, x_n]/I$ is a prime. (Note that $R \cap \mathfrak q$ is equal to the maximal ideal $\mathfrak m$ of $R$.) We also choose generators $f_1, \ldots, f_m \in I$ for the ideal $I$. Write $R$ in any way as a colimit $R = \mathop{\operatorname{colim}} R_\lambda$ over a directed set $(\Lambda, \leq )$, with each $R_\lambda$ local and essentially of finite type over $\mathbf{Z}$, and with local transition maps. There exists some $\lambda_0 \in \Lambda$ such that $f_j$ is the image of some $f_{j, \lambda_0} \in R_{\lambda_0}[x_1, \ldots, x_n]$. For all $\lambda \geq \lambda_0$ denote by $f_{j, \lambda} \in R_{\lambda}[x_1, \ldots, x_n]$ the image of $f_{j, \lambda_0}$. Thus we obtain a system of ring maps $$R_\lambda[x_1, \ldots, x_n]/(f_{1, \lambda}, \ldots, f_{m, \lambda}) \to R[x_1, \ldots, x_n]/(f_1, \ldots, f_m) \to S$$ Set $\mathfrak q_\lambda$ to be the inverse image of $\mathfrak q$. Set $S_\lambda = (R_\lambda[x_1, \ldots, x_n]/ (f_{1, \lambda}, \ldots, f_{m, \lambda}))_{\mathfrak q_\lambda}$. We leave it to the reader to see that this works. $\square$

Lemma. Eventual flatness in a filtered colimit

Let $R \to S$, $M$, $\Lambda$, $R_\lambda \to S_\lambda$, $M_\lambda$ be as in Lemma Essentially finitely presented module models. Assume that $M$ is flat over $R$. Then for some $\lambda \in \Lambda$ the module $M_\lambda$ is flat over $R_\lambda$.

Proof. Pick some \(\lambda \in \Lambda\) and consider

\[ \text{Tor}_1^{R_\lambda}(M_\lambda, R_\lambda/\mathfrak m_\lambda) = \operatorname{Ker}(\mathfrak m_\lambda \otimes_{R_\lambda} M_\lambda \to M_\lambda). \]

See Remark Tor for a quotient by an ideal. The right hand side shows that this is a finitely generated \(S_\lambda\)-module (because \(S_\lambda\) is Noetherian and the modules in question are finite). Let \(\xi_1, \ldots, \xi_n\) be generators. Because \(M\) is flat over \(R\) we have that \(0 = \operatorname{Ker}(\mathfrak m_\lambda R \otimes_R M \to M)\). Since \(\otimes\) commutes with colimits we see there exists a \(\lambda' \geq \lambda\) such that each \(\xi_i\) maps to zero in \(\mathfrak m_{\lambda}R_{\lambda'} \otimes_{R_{\lambda'}} M_{\lambda'}\). Hence we see that

\[ \text{Tor}_1^{R_\lambda}(M_\lambda, R_\lambda/\mathfrak m_\lambda) \longrightarrow \text{Tor}_1^{R_{\lambda'}}(M_{\lambda'}, R_{\lambda'}/\mathfrak m_{\lambda}R_{\lambda'}) \]

is zero. Note that \(M_\lambda \otimes_{R_\lambda} R_\lambda/\mathfrak m_\lambda\) is flat over \(R_\lambda/\mathfrak m_\lambda\) because this last ring is a field. Hence we may apply Lemma Flatness and local algebra to get that \(M_{\lambda'}\) is flat over \(R_{\lambda'}\). \(\square\)

Lemma. Essentially finitely presented module models

Suppose $R \to S$ is a local homomorphism of local rings. Assume that $S$ is essentially of finite presentation over $R$. Let $M$ be a finitely presented $S$-module. Then there exists a directed set $(\Lambda, \leq)$, and a system of local homomorphisms $R_\lambda \to S_\lambda$ of local rings together with $S_\lambda$-modules $M_\lambda$, such that

  1. The colimit of the system $R_\lambda \to S_\lambda$ is equal to $R \to S$. The colimit of the system $M_\lambda$ is $M$.

  2. Each $R_\lambda$ is essentially of finite type over $\mathbf{Z}$.

  3. Each $S_\lambda$ is essentially of finite type over $R_\lambda$.

  4. Each $M_\lambda$ is finite over $S_\lambda$.

  5. For each $\lambda \leq \mu$ the map $S_\lambda \otimes_{R_\lambda} R_\mu \to S_\mu$ presents $S_\mu$ as the localization of $S_\lambda \otimes_{R_\lambda} R_\mu$ at a prime ideal.

  6. For each $\lambda \leq \mu$ the map $M_\lambda \otimes_{S_\lambda} S_\mu \to M_\mu$ is an isomorphism.

Proof. As in the proof of Lemma Essentially finite presentations in a filtered limit we may first write $R = \mathop{\operatorname{colim}} R_\lambda$ as a directed colimit of local $\mathbf{Z}$-algebras which are essentially of finite type. Next, we may assume that for some $\lambda_1 \in \Lambda$ there exist $f_{j, \lambda_1} \in R_{\lambda_1}[x_1, \ldots, x_n]$ such that $$S = \mathop{\operatorname{colim}}_{\lambda \geq \lambda_1} S_\lambda, \text{ with } S_\lambda = (R_\lambda[x_1, \ldots, x_n]/ (f_{1, \lambda}, \ldots, f_{m, \lambda}))_{\mathfrak q_\lambda}$$ Choose a presentation $$S^{\oplus s} \to S^{\oplus t} \to M \to 0$$ of $M$ over $S$. Let $A \in \text{Mat}(t \times s, S)$ be the matrix of the presentation. For some $\lambda_2 \in \Lambda$, $\lambda_2 \geq \lambda_1$ we can find a matrix $A_{\lambda_2} \in \text{Mat}(t \times s, S_{\lambda_2})$ which maps to $A$. For all $\lambda \geq \lambda_2$ we let $M_\lambda = \operatorname{Coker}(S_\lambda^{\oplus s} \xrightarrow{A_\lambda} S_\lambda^{\oplus t})$. We leave it to the reader to see that this works. $\square$

Lemma. The Noetherian fibrewise criterion for flatness (Critère de platitude par fibres; Noetherian case)

Let $R$, $S$, $S'$ be Noetherian local rings and let $R \to S \to S'$ be local ring homomorphisms. Let $\mathfrak m \subset R$ be the maximal ideal. Let $M$ be an $S'$-module. Assume

  1. The module $M$ is finite over $S'$.

  2. The module $M$ is not zero.

  3. The module $M/\mathfrak m M$ is a flat $S/\mathfrak m S$-module.

  4. The module $M$ is a flat $R$-module.

Then $S$ is flat over $R$ and $M$ is a flat $S$-module.

Proof. Set $I = \mathfrak mS \subset S$. Then we see that $M/IM$ is a flat $S/I$-module because of (3). Since $\mathfrak m \otimes_R S' \to I \otimes_S S'$ is surjective we see that also $\mathfrak m \otimes_R M \to I \otimes_S M$ is surjective. Consider $$\mathfrak m \otimes_R M \to I \otimes_S M \to M.$$ As $M$ is flat over $R$ the composition is injective and so both arrows are injective. In particular $\text{Tor}_1^S(S/I, M) = 0$ see Remark Tor for a quotient by an ideal. By Lemma A variant of the local criterion for flatness we conclude that $M$ is flat over $S$. Note that since $M/\mathfrak m_{S'}M$ is not zero by Nakayama's Lemma Nakayama's lemma we see that actually $M$ is faithfully flat over $S$ by Lemma Faithfully flat modules (since it forces $M/\mathfrak m_SM \not = 0$).

Consider the exact sequence $0 \to \mathfrak m \to R \to \kappa \to 0$. This gives an exact sequence $0 \to \text{Tor}_1^R(\kappa, S) \to \mathfrak m \otimes_R S \to I \to 0$. Since $M$ is flat over $S$ this gives an exact sequence $0 \to \text{Tor}_1^R(\kappa, S)\otimes_S M \to \mathfrak m \otimes_R M \to I \otimes_S M \to 0$. By the above this implies that $\text{Tor}_1^R(\kappa, S)\otimes_S M = 0$. Since $M$ is faithfully flat over $S$ this implies that $\text{Tor}_1^R(\kappa, S) = 0$ and we conclude that $S$ is flat over $R$ by Lemma Faithful flatness and the local criterion for flatness, Theorems 2.1–3.1, 4.2, 5.2 and 5.4. $\square$

Lemma. An isolated point of a fibre

Equivalent conditions for isolated points in fibres

Let $R \to S$ be a ring map of finite type. Let $\mathfrak q \subset S$ be a prime lying over $\mathfrak p \subset R$. Let $F = \operatorname{Spec}(S \otimes_R \kappa(\mathfrak p))$ be the fibre of $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$, see Remark Commutative algebra. Denote by $\overline{\mathfrak q} \in F$ the point corresponding to $\mathfrak q$. The following are equivalent:

  1. $\overline{\mathfrak q}$ is an isolated point of $F$,

  2. $S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}$ is finite over $\kappa(\mathfrak p)$,

  3. there exists a $g \in S$, $g \not \in \mathfrak q$ such that the only prime of $D(g)$ mapping to $\mathfrak p$ is $\mathfrak q$,

  4. $\dim_{\overline{\mathfrak q}}(F) = 0$,

  5. $\overline{\mathfrak q}$ is a closed point of $F$ and $\dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}) = 0$, and

  6. the field extension $\kappa(\mathfrak q)/\kappa(\mathfrak p)$ is finite and $\dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}) = 0$.

Proof. Note that $S_{\mathfrak q}/\mathfrak pS_{\mathfrak q} = (S \otimes_R \kappa(\mathfrak p))_{\overline{\mathfrak q}}$. Moreover $S \otimes_R \kappa(\mathfrak p)$ is of finite type over $\kappa(\mathfrak p)$. The conditions correspond exactly to the conditions of Lemma An isolated point of an affine spectrum for the $\kappa(\mathfrak p)$-algebra $S \otimes_R \kappa(\mathfrak p)$ and the prime $\overline{\mathfrak q}$, hence they are equivalent. $\square$

Lemma. Characterizations of finite presentation

Let $\varphi : R \to S$ be a ring map. The following are equivalent

  1. $\varphi$ is of finite presentation,

  2. for every directed system $A_\lambda$ of $R$-algebras the map $$\mathop{\operatorname{colim}}_\lambda \operatorname{Hom}_R(S, A_\lambda) \longrightarrow \operatorname{Hom}_R(S, \mathop{\operatorname{colim}}_\lambda A_\lambda)$$ is bijective, and

  3. for every directed system $A_\lambda$ of $R$-algebras the map $$\mathop{\operatorname{colim}}_\lambda \operatorname{Hom}_R(S, A_\lambda) \longrightarrow \operatorname{Hom}_R(S, \mathop{\operatorname{colim}}_\lambda A_\lambda)$$ is surjective.

Proof. Assume (1) and write $S = R[x_1, \ldots, x_n] / (f_1, \ldots, f_m)$. Let $A = \mathop{\operatorname{colim}} A_\lambda$. Observe that an $R$-algebra homomorphism $S \to A$ or $S \to A_\lambda$ is determined by the images of $x_1, \ldots, x_n$. Hence it is clear that $\mathop{\operatorname{colim}}_\lambda \operatorname{Hom}_R(S, A_\lambda) \to \operatorname{Hom}_R(S, A)$ is injective. To see that it is surjective, let $\chi : S \to A$ be an $R$-algebra homomorphism. Then each $x_i$ maps to some element in the image of some $A_{\lambda_i}$. We may pick $\mu \geq \lambda_i$, $i = 1, \ldots, n$ and assume $\chi(x_i)$ is the image of $y_i \in A_\mu$ for $i = 1, \ldots, n$. Consider $z_j = f_j(y_1, \ldots, y_n) \in A_\mu$. Since $\chi$ is a homomorphism the image of $z_j$ in $A = \mathop{\operatorname{colim}}_\lambda A_\lambda$ is zero. Hence there exists a $\mu_j \geq \mu$ such that $z_j$ maps to zero in $A_{\mu_j}$. Pick $\nu \geq \mu_j$, $j = 1, \ldots, m$. Then the images of $z_1, \ldots, z_m$ are zero in $A_\nu$. This exactly means that the $y_i$ map to elements $y'_i \in A_\nu$ which satisfy the relations $f_j(y'_1, \ldots, y'_n) = 0$. Thus we obtain a ring map $S \to A_\nu$. This shows that (1) implies (2).

It is clear that (2) implies (3). Assume (3). By Lemma Filtered limits and finite presentation we may write $S = \mathop{\operatorname{colim}}_\lambda S_\lambda$ with $S_\lambda$ of finite presentation over $R$. Then the identity map factors as $$S \to S_\lambda \to S$$ for some $\lambda$. This implies that $S$ is finitely presented over $S_\lambda$ by Lemma Composition of finite-type ring maps part (4) applied to $S \to S_\lambda \to S$. Applying part (2) of the same lemma to $R \to S_\lambda \to S$ we conclude that $S$ is of finite presentation over $R$. $\square$

Lemma. The filtered category of finite ring presentations

Let $R \to A$ be a ring map. Consider the category $\mathcal{I}$ of all diagrams of $R$-algebra maps $A' \to A$ with $A'$ finitely presented over $R$. Then $\mathcal{I}$ is filtered, and the colimit of the $A'$ over $\mathcal{I}$ is isomorphic to $A$.

Proof. The category[^1] $\mathcal{I}$ is nonempty as $R \to A$ is an object of it. Consider a pair of objects $A' \to A$, $A'' \to A$ of $\mathcal{I}$. Then $A' \otimes_R A'' \to A$ is in $\mathcal{I}$ (use Lemmas Composition of finite-type ring maps and Base change for finite algebras). The ring maps $A' \to A' \otimes_R A''$ and $A'' \to A' \otimes_R A''$ define arrows in $\mathcal{I}$ thereby proving the second defining property of a filtered category, see Categories, Definition The geometric construction. Finally, suppose that we have two morphisms $\sigma, \tau : A' \to A''$ in $\mathcal{I}$. If $x_1, \ldots, x_r \in A'$ are generators of $A'$ as an $R$-algebra, then we can consider $A''' = A''/(\sigma(x_i) - \tau(x_i))$. This is a finitely presented $R$-algebra and the given $R$-algebra map $A'' \to A$ factors through the surjection $\nu : A'' \to A'''$. Thus $\nu$ is a morphism in $\mathcal{I}$ equalizing $\sigma$ and $\tau$ as desired.

The fact that our index category is filtered means that we may compute the value of $B = \mathop{\operatorname{colim}}_{A' \to A} A'$ in the category of sets (some details omitted; compare with the discussion in Categories, Section The geometric construction). To see that $B \to A$ is surjective, for every $a \in A$ we can use $R[x] \to A$, $x \mapsto a$ to see that $a$ is in the image of $B \to A$. Conversely, if $b \in B$ is mapped to zero in $A$, then we can find $A' \to A$ in $\mathcal{I}$ and $a' \in A'$ which maps to $b$. Then $A'/(a') \to A$ is in $\mathcal{I}$ as well and the map $A' \to B$ factors as $A' \to A'/(a') \to B$ which shows that $b = 0$ as desired. $\square$

Definition. Standard smooth presentations

Let $R$ be a ring. Given integers $n \geq c \geq 0$ and $f_1, \ldots, f_c \in R[x_1, \ldots, x_n]$, we say $$R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$$ is a standard smooth algebra over $R$ if the polynomial $$g = \det \left( \begin{matrix} \partial f_1/\partial x_1 & \partial f_2/\partial x_1 & \ldots & \partial f_c/\partial x_1 \\ \partial f_1/\partial x_2 & \partial f_2/\partial x_2 & \ldots & \partial f_c/\partial x_2 \\ \ldots & \ldots & \ldots & \ldots \\ \partial f_1/\partial x_c & \partial f_2/\partial x_c & \ldots & \partial f_c/\partial x_c \end{matrix} \right)$$ maps to an invertible element in $R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. We say an $R$-algebra $S$ is standard smooth or that the ring map $R \to S$ is standard smooth if there exist $n \geq c \geq 0$ and $f_1, \ldots, f_c \in R[x_1, \ldots, x_n]$ such that $R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a standard smooth algebra over $R$ and $S$ is isomorphic to $R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ as an $R$-algebra.

Proposition. Characterizations of formal smoothness

Let $R \to S$ be a ring map. Consider a formally smooth $R$-algebra $P$ and a surjection $P \to S$ with kernel $J$. The following are equivalent

  1. $S$ is formally smooth over $R$,

  2. for some $P \to S$ as above there exists a section to $P/J^2 \to S$,

  3. for all $P \to S$ as above there exists a section to $P/J^2 \to S$,

  4. for some $P \to S$ as above the sequence $0 \to J/J^2 \to \Omega_{P/R} \otimes S \to \Omega_{S/R} \to 0$ is split exact,

  5. for all $P \to S$ as above the sequence $0 \to J/J^2 \to \Omega_{P/R} \otimes S \to \Omega_{S/R} \to 0$ is split exact, and

  6. the naive cotangent complex $\mathrm{NL}_{S/R}$ is quasi-isomorphic to a projective $S$-module placed in degree $0$: this means that $H_1(\mathrm{NL}_{S/R}) = 0$ and that $\Omega_{S/R}$ is a projective $S$-module.

Proof. It is clear that (1) implies (3) implies (2), see first part of the proof of Lemma Criteria for formal smoothness and smooth morphisms. It is also true that (3) implies (5) implies (4) and that (2) implies (4), see first part of the proof of Lemma Criteria for formal smoothness and smooth morphisms. Finally, Lemma Criteria for formal smoothness and smooth morphisms applied to the canonical surjection $R[S] \to S$ (Commutative algebra) shows that (1) implies (6).

Assume (4) and let's prove (6). Consider the sequence of Lemma The transitivity sequence for the naive cotangent complex associated to the ring maps $R \to P \to S$. By the implication (1) $\Rightarrow$ (6) proved above we see that $\mathrm{NL}_{P/R} \otimes_P S$ is quasi-isomorphic to $\Omega_{P/R} \otimes_P S$ placed in degree $0$. Hence $H_1(\mathrm{NL}_{P/R} \otimes_P S) = 0$. Since $P \to S$ is surjective we see that $\mathrm{NL}_{S/P}$ is homotopy equivalent to $J/J^2$ placed in degree $1$ (Lemma Cotangent complexes and differentials). Thus we obtain the exact sequence $0 \to H_1(L_{S/R}) \to J/J^2 \to \Omega_{P/R} \otimes_P S \to \Omega_{S/R} \to 0$. By assumption we see that $H_1(L_{S/R}) = 0$ and that $\Omega_{S/R}$ is a projective $S$-module. Thus (6) follows.

Finally, let's prove that (6) implies (1). The assumption means that the complex $J/J^2 \to \Omega_{P/R} \otimes S$ where $P = R[S]$ and $P \to S$ is the canonical surjection (Commutative algebra) is quasi-isomorphic to a projective $S$-module placed in degree $0$. Hence Lemma Criteria for formal smoothness and smooth morphisms shows that $S$ is formally smooth over $R$. $\square$

Lemma. Containment in the Jacobson radical

Let $R$ be a ring with Jacobson radical $\text{rad}(R)$. Let $I \subset R$ be an ideal. The following are equivalent

  1. $I \subset \text{rad}(R)$, and

  2. every element of $1 + I$ is a unit in $R$.

In this case every element of $R$ which maps to a unit of $R/I$ is a unit.

Proof. If $f \in \text{rad}(R)$, then $f \in \mathfrak m$ for all maximal ideals $\mathfrak m$ of $R$. Hence $1 + f \not \in \mathfrak m$ for all maximal ideals $\mathfrak m$ of $R$. Thus the closed subset $V(1 + f)$ of $\operatorname{Spec}(R)$ is empty. This implies that $1 + f$ is a unit, see Lemma The Zariski topology on an affine spectrum.

Conversely, assume that $1 + f$ is a unit for all $f \in I$. If $\mathfrak m$ is a maximal ideal and $I \not \subset \mathfrak m$, then $I + \mathfrak m = R$. Hence $1 = f + g$ for some $g \in \mathfrak m$ and $f \in I$. Then $g = 1 + (-f)$ is not a unit, contradiction.

For the final statement let $f \in R$ map to a unit in $R/I$. Then we can find $g \in R$ mapping to the multiplicative inverse of $f \bmod I$. Then $fg = 1 \bmod I$. Hence $fg$ is a unit of $R$ by (2) which implies that $f$ is a unit. $\square$

Lemma. The Artin--Rees lemma (Artin-Rees)

Suppose that $R$ is Noetherian. Let $I \subset R$ be an ideal. Let $N \subset M$ be finite $R$-modules. There exists a constant $c > 0$ such that $I^n M \cap N = I^{n-c}(I^cM \cap N)$ for all $n \geq c$.

Proof. Consider the ring $S = R \oplus I \oplus I^2 \oplus \ldots = \bigoplus_{n \geq 0} I^n$. Convention: $I^0 = R$. Multiplication maps $I^n \times I^m$ into $I^{n + m}$ by multiplication in $R$. Note that if $I = (f_1, \ldots, f_t)$ then $S$ is a quotient of the Noetherian ring $R[X_1, \ldots, X_t]$. The map just sends the monomial $X_1^{e_1}\ldots X_t^{e_t}$ to $f_1^{e_1}\ldots f_t^{e_t}$. Thus $S$ is Noetherian. Similarly, consider the module $M \oplus IM \oplus I^2M \oplus \ldots = \bigoplus_{n \geq 0} I^nM$. This is a finitely generated $S$-module. Namely, if $x_1, \ldots, x_r$ generate $M$ over $R$, then they also generate $\bigoplus_{n \geq 0} I^nM$ over $S$. Next, consider the submodule $\bigoplus_{n \geq 0} I^nM \cap N$. This is an $S$-submodule, as is easily verified. By Lemma Noetherian rings it is finitely generated as an $S$-module, say by $\xi_j \in \bigoplus_{n \geq 0} I^nM \cap N$, $j = 1, \ldots, s$. We may assume by decomposing each $\xi_j$ into its homogeneous pieces that each $\xi_j \in I^{d_j}M \cap N$ for some $d_j$. Set $c = \max\{d_j\}$. Then for all $n \geq c$ every element in $I^nM \cap N$ is of the form $\sum h_j \xi_j$ with $h_j \in I^{n - d_j}$. The lemma now follows from this and the trivial observation that $I^{n-d_j}(I^{d_j}M \cap N) \subset I^{n-c}(I^cM \cap N)$. $\square$

Lemma. The snake lemma

Source credit: the original source citation Cartan-Eilenberg (III, Lemma 3.3)

Given a commutative diagram $$\begin{gathered}\begin{matrix}\phantom{X} & X & Y & Z & 0 \\ 0 & U & V & W\end{matrix} \\[6pt] \begin{aligned}X & \longrightarrow Y \\ X & \xrightarrow{\alpha} U \\ Y & \longrightarrow Z \\ Y & \xrightarrow{\beta} V \\ Z & \longrightarrow 0 \\ Z & \xrightarrow{\gamma} W \\ 0 & \longrightarrow U \\ U & \longrightarrow V \\ V & \longrightarrow W\end{aligned}\end{gathered}$$ of abelian groups with exact rows, there is a canonical exact sequence $$\operatorname{Ker}(\alpha) \to \operatorname{Ker}(\beta) \to \operatorname{Ker}(\gamma) \to \operatorname{Coker}(\alpha) \to \operatorname{Coker}(\beta) \to \operatorname{Coker}(\gamma)$$ Moreover: if $X \to Y$ is injective, then the first map is injective; if $V \to W$ is surjective, then the last map is surjective.

Proof. The map $\partial : \operatorname{Ker}(\gamma) \to \operatorname{Coker}(\alpha)$ is defined as follows. Take $z \in \operatorname{Ker}(\gamma)$. Choose $y \in Y$ mapping to $z$. Then $\beta(y) \in V$ maps to zero in $W$. Hence $\beta(y)$ is the image of some $u \in U$. Set $\partial z = \overline{u}$, the class of $u$ in the cokernel of $\alpha$. Proof of exactness is omitted. $\square$

Lemma. Characterizations of projective modules

Let $R$ be a ring. Let $P$ be an $R$-module. The following are equivalent

  1. $P$ is projective,

  2. $P$ is a direct summand of a free $R$-module, and

  3. $\operatorname{Ext}^1_R(P, M) = 0$ for every $R$-module $M$.

Proof. Assume $P$ is projective. Choose a surjection $\pi : F \to P$ where $F$ is a free $R$-module. As $P$ is projective there exists a $i \in \operatorname{Hom}_R(P, F)$ such that $\pi \circ i = \text{id}_P$. In other words $F \cong \operatorname{Ker}(\pi) \oplus i(P)$ and we see that $P$ is a direct summand of $F$.

Conversely, assume that $P \oplus Q = F$ is a free $R$-module. Note that the free module $F = \bigoplus_{i \in I} R$ is projective as $\operatorname{Hom}_R(F, M) = \prod_{i \in I} M$ and the functor $M \mapsto \prod_{i \in I} M$ is exact. Then $\operatorname{Hom}_R(F, -) = \operatorname{Hom}_R(P, -) \times \operatorname{Hom}_R(Q, -)$ as functors, hence both $P$ and $Q$ are projective.

Assume $P \oplus Q = F$ is a free $R$-module. Then we have a free resolution $F_\bullet$ of the form $$\ldots \to F \xrightarrow{a} F \xrightarrow{b} F \to P \to 0$$ where the maps $a, b$ alternate and are equal to the projectors onto $P$ and $Q$, respectively. Hence the complex $\operatorname{Hom}_R(F_\bullet, M)$ is split exact in degrees $\geq 1$, whence we see the vanishing in (3).

Assume $\operatorname{Ext}^1_R(P, M) = 0$ for every $R$-module $M$. Pick a free resolution $F_\bullet \to P$. Set $M = \operatorname{Im}(F_1 \to F_0) = \operatorname{Ker}(F_0 \to P)$. Consider the element $\xi \in \operatorname{Ext}^1_R(P, M)$ given by the class of the quotient map $\pi : F_1 \to M$. Since $\xi$ is zero there exists a map $s : F_0 \to M$ such that $\pi = s \circ (F_1 \to F_0)$. Clearly, this means that $$F_0 = \operatorname{Ker}(s) \oplus \operatorname{Ker}(F_0 \to P) = P \oplus \operatorname{Ker}(F_0 \to P)$$ and we win. $\square$

Lemma. Composition of standard smooth presentations

A composition of standard smooth ring maps is standard smooth.

Proof. Suppose that $R \to S$ and $S \to S'$ are standard smooth. We choose presentations $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ and $S' = S[y_1, \ldots, y_m]/(g_1, \ldots, g_d)$. Choose elements $g_j' \in R[x_1, \ldots, x_n, y_1, \ldots, y_m]$ mapping to the $g_j$. In this way we see $S' = R[x_1, \ldots, x_n, y_1, \ldots, y_m]/ (f_1, \ldots, f_c, g'_1, \ldots, g'_d)$. To show that $S'$ is standard smooth it suffices to verify that the determinant $$\det \left( \begin{matrix} \partial f_1/\partial x_1 & \ldots & \partial f_c/\partial x_1 & \partial g'_1/\partial x_1 & \ldots & \partial g'_d/\partial x_1 \\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots \\ \partial f_1/\partial x_c & \ldots & \partial f_c/\partial x_c & \partial g'_1/\partial x_c & \ldots & \partial g'_d/\partial x_c \\ 0 & \ldots & 0 & \partial g_1/\partial y_1 & \ldots & \partial g_d/\partial y_1 \\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots \\ 0 & \ldots & 0 & \partial g_1/\partial y_d & \ldots & \partial g_d/\partial y_d \end{matrix} \right)$$ is invertible in $S'$. This is clear since it is the product of the two determinants which were assumed to be invertible by hypothesis. $\square$

Lemma. The spectrum of a localization

Let $R$ be a ring. Let $S \subset R$ be a multiplicative subset. The map $R \to S^{-1}R$ induces via the functoriality of $\operatorname{Spec}$ a homeomorphism $$\operatorname{Spec}(S^{-1}R) \longrightarrow \{\mathfrak p \in \operatorname{Spec}(R) \mid S \cap \mathfrak p = \emptyset \}$$ where the topology on the right hand side is that induced from the Zariski topology on $\operatorname{Spec}(R)$. The inverse map is given by $\mathfrak p \mapsto S^{-1}\mathfrak p = \mathfrak p(S^{-1}R)$.

Proof. Denote the right hand side of the arrow of the lemma by $D$. Choose a prime $\mathfrak p' \subset S^{-1}R$ and let $\mathfrak p$ be the inverse image of $\mathfrak p'$ in $R$. Since $\mathfrak p'$ does not contain $1$ we see that $\mathfrak p$ does not contain any element of $S$. Hence $\mathfrak p \in D$ and we see that the image is contained in $D$. Let $\mathfrak p \in D$. By assumption the image $\overline{S}$ does not contain $0$. By basic notion (Localization of local algebra) $\overline{S}^{-1}(R/\mathfrak p)$ is not the zero ring. By basic notion (Localization of local algebra) we see $S^{-1}R / S^{-1}\mathfrak p = \overline{S}^{-1}(R/\mathfrak p)$ is a domain, and hence $S^{-1}\mathfrak p$ is a prime. The equality of rings also shows that the inverse image of $S^{-1}\mathfrak p$ in $R$ is equal to $\mathfrak p$, because $R/\mathfrak p \to \overline{S}^{-1}(R/\mathfrak p)$ is injective by basic notion (Localization of local algebra). This proves that the map $\operatorname{Spec}(S^{-1}R) \to \operatorname{Spec}(R)$ is bijective onto $D$ with inverse as given. Every element of $S^{-1}R$ is a unit times the image of an element of $R$. Hence the map is a homeomorphism onto its image by Lemma Prime spectra and associated points. $\square$

Lemma. A disjoint spectrum and a product of rings

Let $R$ be a ring. If $\operatorname{Spec}(R) = U \amalg V$ with both $U$ and $V$ open then $R \cong R_1 \times R_2$ with $U \cong \operatorname{Spec}(R_1)$ and $V \cong \operatorname{Spec}(R_2)$ via the maps in Lemma The spectrum of a product of rings. Moreover, both $R_1$ and $R_2$ are localizations as well as quotients of the ring $R$.

Proof. By Lemma Product decompositions from disjoint closed subsets we have $U = D(e)$ and $V = D(1-e)$ for some idempotent $e$. By Lemma Standard affine covers of a spectrum we see that $R \cong R_e \times R_{1 - e}$ (since clearly $R_{e(1-e)} = 0$ so the glueing condition is trivial; of course it is trivial to prove the product decomposition directly in this case). The lemma follows. $\square$

Lemma. The topology of a Noetherian spectrum

If $R$ is a Noetherian ring then $\operatorname{Spec}(R)$ is a Noetherian topological space, see Topology, Definition Noetherian algebraic spaces.

Proof. This is because any closed subset of $\operatorname{Spec}(R)$ is uniquely of the form $V(I)$ with $I$ a radical ideal, see Lemma The Zariski topology on an affine spectrum. And this correspondence is inclusion reversing. Thus the result follows from the definitions. $\square$

Lemma. Irreducibility of an affine spectrum

Let $R$ be a ring.

  1. For a prime $\mathfrak p \subset R$ the closure of $\{\mathfrak p\}$ in the Zariski topology is $V(\mathfrak p)$. In a formula $\overline{\{\mathfrak p\}} = V(\mathfrak p)$.

  2. The irreducible closed subsets of $\operatorname{Spec}(R)$ are exactly the subsets $V(\mathfrak p)$, with $\mathfrak p \subset R$ a prime.

  3. The irreducible components (see Topology, Definition The geometric construction) of $\operatorname{Spec}(R)$ are exactly the subsets $V(\mathfrak p)$, with $\mathfrak p \subset R$ a minimal prime.

Proof. Note that if $\mathfrak p \in V(I)$, then $I \subset \mathfrak p$. Hence, clearly $\overline{\{\mathfrak p\}} = V(\mathfrak p)$. In particular $V(\mathfrak p)$ is the closure of a singleton and hence irreducible. The second assertion implies the third. To show the second, let $V(I) \subset \operatorname{Spec}(R)$ with $I$ a radical ideal. If $I$ is not prime, then choose $a, b\in R$, $a, b\not \in I$ with $ab\in I$. In this case $V(I, a) \cup V(I, b) = V(I)$, but neither $V(I, b) = V(I)$ nor $V(I, a) = V(I)$, by Lemma The Zariski topology on an affine spectrum. Hence $V(I)$ is not irreducible. $\square$

Lemma. A single polynomial equation

Suppose that $R$ is a Noetherian local ring and $x\in \mathfrak m$ an element of its maximal ideal. Then $\dim R \leq \dim R/xR + 1$. If $x$ is not contained in any of the minimal primes of $R$ then equality holds. (For example if $x$ is a nonzerodivisor.)

Proof. If $x_1, \ldots, x_{\dim R/xR} \in R$ map to elements of $R/xR$ which generate an ideal of definition for $R/xR$, then $x, x_1, \ldots, x_{\dim R/xR}$ generate an ideal of definition for $R$. Hence the inequality by Proposition Dimension and codimension. On the other hand, if $x$ is not contained in any minimal prime of $R$, then the chains of primes in $R/xR$ all give rise to chains in $R$ which are at least one step away from being maximal. $\square$

Lemma. Formal étaleness in a filtered colimit

Let $R$ be a ring. Let $I$ be a directed set. Let $(S_i, \varphi_{ii'})$ be a system of $R$-algebras over $I$. If each $R \to S_i$ is formally étale, then $S = \mathop{\operatorname{colim}}_{i \in I} S_i$ is formally étale over $R$.

Proof. Consider a diagram as in Definition Formally étale ring maps. By assumption we get unique $R$-algebra maps $S_i \to A$ lifting the compositions $S_i \to S \to A/I$. Hence these are compatible with the transition maps $\varphi_{ii'}$ and define a lift $S \to A$. This proves existence. The uniqueness is clear by restricting to each $S_i$. $\square$

Definition. Separable field extensions

Let $K/k$ be a field extension.

  1. We say $K$ is separably generated over $k$ if there exists a transcendence basis $\{x_i; i \in I\}$ of $K/k$ such that the extension $K/k(x_i; i \in I)$ is a separable algebraic extension.

  2. We say $K$ is separable over $k$ if for every subextension $k \subset K' \subset K$ with $K'$ finitely generated over $k$, the extension $K'/k$ is separably generated.

Lemma. Composition of formally smooth maps

A composition of formally smooth ring maps is formally smooth.

Proof. Omitted. (Hint: This is completely formal, and follows from considering a suitable diagram.) $\square$

Lemma. Formal smoothness of field extensions

Let $K/k$ be an extension of fields. Then $K$ is formally smooth over $k$ if and only if $H_1(L_{K/k}) = 0$.

Proof. This follows from Proposition Characterizations of formal smoothness and the fact that a vector space is free (hence projective). $\square$

Lemma. Flatness

Let $M$ be an $R$-module. The following are equivalent:

$M$ is flat over $R$.
  1. for every injection of $R$-modules $N \subset N'$ the map $N \otimes_R M \to N'\otimes_R M$ is injective.

for every ideal $I \subset R$ the map $I \otimes_R M \to R \otimes_R M = M$ is injective.
for every finitely generated ideal $I \subset R$ the map $I \otimes_R M \to R \otimes_R M = M$ is injective.

Proof. The implications (the indicated step) implies (the indicated step) implies (the indicated step) implies (the indicated step) are all trivial. Thus we prove (the indicated step) implies (the indicated step). Suppose that $N_1 \to N_2 \to N_3$ is exact. Let $K = \operatorname{Ker}(N_2 \to N_3)$ and $Q = \operatorname{Im}(N_2 \to N_3)$. Then we get maps $$N_1 \otimes_R M \to K \otimes_R M \to N_2 \otimes_R M \to Q \otimes_R M \to N_3 \otimes_R M$$ Observe that the first and third arrows are surjective. Thus if we show that the second and fourth arrows are injective, then we are done[^2]. Hence it suffices to show that $- \otimes_R M$ transforms injective $R$-module maps into injective $R$-module maps.

Assume $K \to N$ is an injective $R$-module map and let $x \in \operatorname{Ker}(K \otimes_R M \to N \otimes_R M)$. We have to show that $x$ is zero. The $R$-module $K$ is the union of its finite $R$-submodules; hence, $K \otimes_R M$ is the colimit of $R$-modules of the form $K_i \otimes_R M$ where $K_i$ runs over all finite $R$-submodules of $K$ (because tensor product commutes with colimits). Thus, for some $i$ our $x$ comes from an element $x_i \in K_i \otimes_R M$. Thus we may assume that $K$ is a finite $R$-module. Assume this. We regard the injection $K \to N$ as an inclusion, so that $K \subset N$.

The $R$-module $N$ is the union of its finite $R$-submodules that contain $K$. Hence, $N \otimes_R M$ is the colimit of $R$-modules of the form $N_i \otimes_R M$ where $N_i$ runs over all finite $R$-submodules of $N$ that contain $K$ (again since tensor product commutes with colimits). Notice that this is a colimit over a directed system (since the sum of two finite submodules of $N$ is again finite). Hence, (by Lemma Commutative algebra) the element $x \in K \otimes_R M$ maps to zero in at least one of these $R$-modules $N_i \otimes_R M$ (since $x$ maps to zero in $N \otimes_R M$). Thus we may assume $N$ is a finite $R$-module.

Assume $N$ is a finite $R$-module. Write $N = R^{\oplus n}/L$ and $K = L'/L$ for some $L \subset L' \subset R^{\oplus n}$. For any $R$-submodule $G \subset R^{\oplus n}$, we have a canonical map $G \otimes_R M \to M^{\oplus n}$ obtained by composing $G \otimes_R M \to R^n \otimes_R M = M^{\oplus n}$. It suffices to prove that $L \otimes_R M \to M^{\oplus n}$ and $L' \otimes_R M \to M^{\oplus n}$ are injective. Namely, if so, then we see that $K \otimes_R M = L' \otimes_R M/L \otimes_R M \to M^{\oplus n}/L \otimes_R M$ is injective too[^3].

Thus it suffices to show that $L \otimes_R M \to M^{\oplus n}$ is injective when $L \subset R^{\oplus n}$ is an $R$-submodule. We do this by induction on $n$. The base case $n = 1$ we handle below. For the induction step assume $n > 1$ and set $L' = L \cap R \oplus 0^{\oplus n - 1}$. Then $L'' = L/L'$ is a submodule of $R^{\oplus n - 1}$. We obtain a diagram $$\begin{gathered}\begin{matrix}\phantom{X} & L' \otimes_R M & L \otimes_R M & L'' \otimes_R M & 0 \\ 0 & M & M^{\oplus n} & M^{\oplus n - 1} & 0\end{matrix} \\[6pt] \begin{aligned}L' \otimes_R M & \longrightarrow L \otimes_R M \\ L' \otimes_R M & \longrightarrow M \\ L \otimes_R M & \longrightarrow L'' \otimes_R M \\ L \otimes_R M & \longrightarrow M^{\oplus n} \\ L'' \otimes_R M & \longrightarrow 0 \\ L'' \otimes_R M & \longrightarrow M^{\oplus n - 1} \\ 0 & \longrightarrow M \\ M & \longrightarrow M^{\oplus n} \\ M^{\oplus n} & \longrightarrow M^{\oplus n - 1} \\ M^{\oplus n - 1} & \longrightarrow 0\end{aligned}\end{gathered}$$ By induction hypothesis and the base case the left and right vertical arrows are injective. The rows are exact. It follows that the middle vertical arrow is injective too.

The base case of the induction above is when $L \subset R$ is an ideal. In other words, we have to show that $I \otimes_R M \to M$ is injective for any ideal $I$ of $R$. We know this is true when $I$ is finitely generated. However, $I = \bigcup I_\alpha$ is the union of the finitely generated ideals $I_\alpha$ contained in it. In other words, $I = \mathop{\operatorname{colim}} I_\alpha$. Since $\otimes$ commutes with colimits we see that $I \otimes_R M = \mathop{\operatorname{colim}} I_\alpha \otimes_R M$ and since all the morphisms $I_\alpha \otimes_R M \to M$ are injective by assumption, the same is true for $I \otimes_R M \to M$. $\square$

Lemma. Fibres of a finite ring map

Suppose $R \to S$ is finite. Then the fibres of $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ are finite.

Proof. By the discussion in Remark Commutative algebra the fibres are the spectra of the rings $S \otimes_R \kappa(\mathfrak p)$. As $R \to S$ is finite, these fibre rings are finite over $\kappa(\mathfrak p)$ hence Noetherian by Lemma Permanence of Noetherian rings. By Lemma Incomparability for an integral ring map every prime of $S \otimes_R \kappa(\mathfrak p)$ is a minimal prime. Hence by Lemma Irreducible components of a Noetherian spectrum there are at most finitely many. $\square$

Lemma. Incomparability for an integral ring map

Suppose $R \to S$ is integral. Let $\mathfrak q, \mathfrak q' \in \operatorname{Spec}(S)$ be distinct primes having the same image in $\operatorname{Spec}(R)$. Then neither $\mathfrak q \subset \mathfrak q'$ nor $\mathfrak q' \subset \mathfrak q$.

Proof. Let $\mathfrak p \subset R$ be the image. By Remark Commutative algebra the primes $\mathfrak q, \mathfrak q'$ correspond to ideals in $S \otimes_R \kappa(\mathfrak p)$. Thus the lemma follows from Lemma Integral extensions and field extensions. $\square$

Lemma. Local factors of a product ring

Any ring with finitely many maximal ideals and locally nilpotent Jacobson radical is the product of its localizations at its maximal ideals. Also, all primes are maximal.

Proof. Let $R$ be a ring with finitely many maximal ideals $\mathfrak m_1, \ldots, \mathfrak m_n$. Let $I = \bigcap_{i = 1}^n \mathfrak m_i$ be the Jacobson radical of $R$. Assume $I$ is locally nilpotent. Let $\mathfrak p$ be a prime ideal of $R$. Since every prime contains every nilpotent element of $R$ we see $\mathfrak p \supset \mathfrak m_1 \cap \ldots \cap \mathfrak m_n$. Since $\mathfrak m_1 \cap \ldots \cap \mathfrak m_n \supset \mathfrak m_1 \ldots \mathfrak m_n$ we conclude $\mathfrak p \supset \mathfrak m_1 \ldots \mathfrak m_n$. Hence $\mathfrak p \supset \mathfrak m_i$ for some $i$, and so $\mathfrak p = \mathfrak m_i$. Thus the spectrum of $R$ is the discrete topological space $\{\mathfrak m_1, \ldots, \mathfrak m_n\}$. By Lemma A disjoint spectrum and a product of rings applied $n - 1$ times we find that $R = R_1 \times \ldots \times R_n$ where the spectrum of $R_i$ is a singleton for each $i$. Thus $R_i$ is a local ring and since it is a localization of $R$ (by the lemma), it is one of the local rings of $R$ as desired. $\square$

Lemma. Completing the étale-local reduction

Let $(R, \mathfrak m, \kappa)$ be a henselian local ring. Any finite type $R$-algebra $S$ can be written as $S = A_1 \times \ldots \times A_n \times B$ with $A_i$ local and finite over $R$ and $R \to B$ not quasi-finite at any prime of $B$ lying over $\mathfrak m$.

Proof. This is a combination of parts (11) and (10) of Lemma Characterizations of henselian local rings. $\square$

Lemma. Étaleness at a prime ideal

Let $R \to S$ be a ring map. Let $\mathfrak q \subset S$ be a prime lying over $\mathfrak p$ in $R$. If $S/R$ is étale at $\mathfrak q$ then

  1. $\mathfrak p S_{\mathfrak q} = \mathfrak qS_{\mathfrak q}$ is the maximal ideal of the local ring $S_{\mathfrak q}$, and

  2. the field extension $\kappa(\mathfrak q)/\kappa(\mathfrak p)$ is finite separable.

Proof. First we may replace $S$ by $S_g$ for some $g \in S$, $g \not \in \mathfrak q$ and assume that $R \to S$ is étale. Then the lemma follows from Lemma Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7 by unwinding the fact that $S \otimes_R \kappa(\mathfrak p)$ is étale over $\kappa(\mathfrak p)$. $\square$

Lemma. An étale map with a prescribed residue extension

Let $R$ be a ring. Let $\mathfrak p$ be a prime of $R$. Let $L/\kappa(\mathfrak p)$ be a finite separable field extension. There exists an étale ring map $R \to R'$ together with a prime $\mathfrak p'$ lying over $\mathfrak p$ such that the field extension $\kappa(\mathfrak p')/\kappa(\mathfrak p)$ is isomorphic to $\kappa(\mathfrak p) \subset L$.

Proof. By the theorem of the primitive element we may write $L = \kappa(\mathfrak p)[\alpha]$. Let $\overline{f} \in \kappa(\mathfrak p)[x]$ denote the minimal polynomial for $\alpha$ (in particular this is monic). After replacing $\alpha$ by $c\alpha$ for some $c \in R$, $c\not \in \mathfrak p$ we may assume all the coefficients of $\overline{f}$ are in the image of $R \to \kappa(\mathfrak p)$ (verification omitted). Thus we can find a monic polynomial $f \in R[x]$ which maps to $\overline{f}$ in $\kappa(\mathfrak p)[x]$. Since $\kappa(\mathfrak p) \subset L$ is separable, we see that $\gcd(\overline{f}, \overline{f}') = 1$. Hence there is an element $\gamma \in L$ such that $\overline{f}'(\alpha) \gamma = 1$. Thus we get a $R$-algebra map $$\begin{eqnarray*} R[x, 1/f']/(f) & \longrightarrow & L \\ x & \longmapsto & \alpha \\ 1/f' & \longmapsto & \gamma \end{eqnarray*}$$ The left hand side is a standard étale algebra $R'$ over $R$ and the kernel of the ring map gives the desired prime. $\square$

Lemma. Going down for flat ring maps

Let $R \to S$ be flat. Let $\mathfrak p \subset \mathfrak p'$ be primes of $R$. Let $\mathfrak q' \subset S$ be a prime of $S$ mapping to $\mathfrak p'$. Then there exists a prime $\mathfrak q \subset \mathfrak q'$ mapping to $\mathfrak p$.

Proof. By Lemma Localization of a flat module the local ring map $R_{\mathfrak p'} \to S_{\mathfrak q'}$ is flat. By Lemma Flatness and local algebra this local ring map is faithfully flat. By Lemma Faithfully flat ring maps there is a prime mapping to $\mathfrak p R_{\mathfrak p'}$. The inverse image of this prime in $S$ does the job. $\square$

Lemma. Uniqueness of an étale lifting

Let $(R, \mathfrak m, \kappa)$ be a local ring. Let $f \in R[T]$. Let $a, b \in R$ such that $f(a) = f(b) = 0$, $a = b \bmod \mathfrak m$, and $f'(a) \not \in \mathfrak m$. Then $a = b$.

Proof. Write $f(x + y) - f(x) = f'(x)y + g(x, y) y^2$ in $R[x, y]$ (this is possible as one sees by expanding $f(x + y)$; details omitted). Then we see that $0 = f(b) - f(a) = f(a + (b - a)) - f(a) = f'(a)(b - a) + c (b - a)^2$ for some $c \in R$. By assumption $f'(a)$ is a unit in $R$. Hence $(b - a)(1 + f'(a)^{-1}c(b - a)) = 0$. By assumption $b - a \in \mathfrak m$, hence $1 + f'(a)^{-1}c(b - a)$ is a unit in $R$. Hence $b - a = 0$ in $R$. $\square$

Lemma. Making a quasi-finite algebra finite étale locally

Let $R \to S$ be a ring map. Let $\mathfrak p \subset R$ be a prime. Assume $R \to S$ is finite type. Then there exists

  1. an étale ring map $R \to R'$,

  2. a prime $\mathfrak p' \subset R'$ lying over $\mathfrak p$,

  3. a product decomposition $$R' \otimes_R S = A_1 \times \ldots \times A_n \times B$$

with the following properties

  1. we have $\kappa(\mathfrak p) = \kappa(\mathfrak p')$,

  2. each $A_i$ is finite over $R'$,

  3. each $A_i$ has exactly one prime $\mathfrak r_i$ lying over $\mathfrak p'$, and

  4. $R' \to B$ is not quasi-finite at any prime lying over $\mathfrak p'$.

Proof. Denote by $F = S \otimes_R \kappa(\mathfrak p)$ the fibre ring of $S/R$ at the prime $\mathfrak p$. As $F$ is of finite type over $\kappa(\mathfrak p)$ it is Noetherian and hence $\operatorname{Spec}(F)$ has finitely many isolated closed points. If there are no isolated closed points, i.e., no primes $\mathfrak q$ of $S$ over $\mathfrak p$ such that $S/R$ is quasi-finite at $\mathfrak q$, then the lemma holds. If there exists at least one such prime $\mathfrak q$, then we may apply Lemma Étale morphisms and prime spectra and associated points. This gives a diagram $$\begin{gathered}\begin{matrix}S & R'\otimes_R S & A_1 \times B' \\ R & R'\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow R'\otimes_R S \\ R'\otimes_R S & \mathrel{=} A_1 \times B' \\ R & \longrightarrow R' \\ R & \longrightarrow S \\ R' & \longrightarrow R'\otimes_R S \\ R' & \longrightarrow A_1 \times B'\end{aligned}\end{gathered}$$ as in said lemma. Since the residue fields at $\mathfrak p$ and $\mathfrak p'$ are the same, the fibre rings of $S/R$ and $(A_1 \times B')/R'$ are the same. Hence, by induction on the number of isolated closed points of the fibre we may assume that the lemma holds for $R' \to B'$ and $\mathfrak p'$. Thus we get an étale ring map $R' \to R''$, a prime $\mathfrak p'' \subset R''$ and a decomposition $$R'' \otimes_{R'} B' = A_2 \times \ldots \times A_n \times B.$$ We omit the verification that the ring map $R \to R''$, the prime $\mathfrak p''$ and the resulting decomposition $$R'' \otimes_R S = (R'' \otimes_{R'} A_1) \times A_2 \times \ldots \times A_n \times B$$ is a solution to the problem posed in the lemma. $\square$

Lemma. Grothendieck's fibrewise nonzerodivisor criterion

Suppose that $R \to S$ is a local ring homomorphism of local rings. Denote by $\mathfrak m$ the maximal ideal of $R$. Suppose

  1. $S$ is essentially of finite presentation over $R$,

  2. $S$ is flat over $R$, and

  3. $f \in S$ is a nonzerodivisor in $S/{\mathfrak m}S$.

Then $S/fS$ is flat over $R$, and $f$ is a nonzerodivisor in $S$.

Proof. Follows directly from Lemma The general fibrewise injectivity criterion for module maps. $\square$

Lemma. Finite flat modules over a local ring

(Warning: see Remark Finite generation and finite presentation over a general ring.) Suppose $R$ is a local ring, and $M$ is a finite flat $R$-module. Then $M$ is finite free.

Proof. Follows from the equational criterion of flatness, see Lemma The equational criterion for flatness. Namely, suppose that $x_1, \ldots, x_r \in M$ map to a basis of $M/\mathfrak mM$. By Nakayama's Lemma Nakayama's lemma these elements generate $M$. We want to show there is no relation among the $x_i$. Instead, we will show by induction on $n$ that if $x_1, \ldots, x_n \in M$ are linearly independent in the vector space $M/\mathfrak mM$ then they are independent over $R$.

The base case of the induction is where we have $x \in M$, $x \not\in \mathfrak mM$ and a relation $fx = 0$. By the equational criterion there exist $y_j \in M$ and $a_j \in R$ such that $x = \sum a_j y_j$ and $fa_j = 0$ for all $j$. Since $x \not\in \mathfrak mM$ we see that at least one $a_j$ is a unit and hence $f = 0$.

Suppose that $\sum f_i x_i$ is a relation among $x_1, \ldots, x_n$. By our choice of $x_i$ we have $f_i \in \mathfrak m$. According to the equational criterion of flatness there exist $a_{ij} \in R$ and $y_j \in M$ such that $x_i = \sum a_{ij} y_j$ and $\sum f_i a_{ij} = 0$. Since $x_n \not \in \mathfrak mM$ we see that $a_{nj}\not\in \mathfrak m$ for at least one $j$. Since $\sum f_i a_{ij} = 0$ we get $f_n = \sum_{i = 1}^{n-1} (-a_{ij}/a_{nj}) f_i$. The relation $\sum f_i x_i = 0$ now can be rewritten as $\sum_{i = 1}^{n-1} f_i( x_i + (-a_{ij}/a_{nj}) x_n) = 0$. Note that the elements $x_i + (-a_{ij}/a_{nj}) x_n$ map to $n-1$ linearly independent elements of $M/\mathfrak mM$. By induction assumption we get that all the $f_i$, $i \leq n-1$ have to be zero, and also $f_n = \sum_{i = 1}^{n-1} (-a_{ij}/a_{nj}) f_i$. This proves the induction step. $\square$

Lemma. Maps into a henselian local ring

Let $R \to S$ be a ring map with $S$ henselian local. Given

  1. an étale ring map $R \to A$,

  2. a prime $\mathfrak q$ of $A$ lying over $\mathfrak p = R \cap \mathfrak m_S$,

  3. a $\kappa(\mathfrak p)$-algebra map $\tau : \kappa(\mathfrak q) \to S/\mathfrak m_S$,

then there exists a unique homomorphism of $R$-algebras $f : A \to S$ such that $\mathfrak q = f^{-1}(\mathfrak m_S)$ and $f$ induces the map $\tau$ on residue fields.

Proof. Consider $A \otimes_R S$. This is an étale algebra over $S$, see Lemma Étale morphisms. Moreover, the kernel $$\mathfrak q' = \operatorname{Ker}(A \otimes_R S \to \kappa(\mathfrak q) \otimes_{\kappa(\mathfrak p)} \kappa(\mathfrak m_S) \xrightarrow{\tau \otimes 1} \kappa(\mathfrak m_S))$$ is a prime ideal lying over $\mathfrak m_S$ with residue field equal to the residue field of $S$. Hence by Lemma Characterizations of henselian local rings there exists a unique retraction $\sigma : A \otimes_R S \to S$ with $\sigma^{-1}(\mathfrak m_S) = \mathfrak q'$. Set $f$ equal to the composition $A \to A \otimes_R S \to S$. We omit the verification of the properties of $f$; the uniqueness of $f$ comes from the uniqueness of $\sigma$ (details omitted). $\square$

Lemma. Descent of Noetherianity

Let $R \to S$ be a ring map. Assume that

  1. $R \to S$ is faithfully flat, and

  2. $S$ is Noetherian.

Then $R$ is Noetherian.

Proof. Let $I_0 \subset I_1 \subset I_2 \subset \ldots$ be a growing sequence of ideals of $R$. By assumption we have $I_nS = I_{n+1}S = I_{n+2}S = \ldots$ for some $n$. By faithful flatness, extending and contracting gives the same ideal, meaning that $I = R \cap IS$ for each ideal $I$ in $R$ (Lemma Universal injectivity of a faithfully flat ring map). So $I_n = I_{n+1} = I_{n+2} = \ldots$ as desired. $\square$

Lemma. Flatness in a filtered ring colimit

Let $\{R_i, \varphi_{ii'}\}$ be a system of rings over the directed set $I$. Let $R = \mathop{\operatorname{colim}}_i R_i$.

  1. If $M$ is an $R$-module such that $M$ is flat as an $R_i$-module for all $i$, then $M$ is flat as an $R$-module.

  2. For $i \in I$ let $M_i$ be a flat $R_i$-module and for $i' \geq i$ let $f_{ii'} : M_i \to M_{i'}$ be a $\varphi_{ii'}$-linear map such that $f_{i' i''} \circ f_{i i'} = f_{i i''}$. Then $M = \mathop{\operatorname{colim}}_{i \in I} M_i$ is a flat $R$-module.

Proof. Part (1) is a special case of part (2) with $M_i = M$ for all $i$ and $f_{i i'} = \text{id}_M$. Proof of (2). Let $\mathfrak a \subset R$ be a finitely generated ideal. By Lemma Flatness it suffices to show that $\mathfrak a \otimes_R M \to M$ is injective. We can find an $i \in I$ and a finitely generated ideal $\mathfrak a' \subset R_i$ such that $\mathfrak a = \mathfrak a'R$. Then $\mathfrak a = \mathop{\operatorname{colim}}_{i' \geq i} \mathfrak a'R_{i'}$. Since $\otimes$ commutes with colimits the map $\mathfrak a \otimes_R M \to M$ is the colimit of the maps $$\mathfrak a'R_{i'} \otimes_{R_{i'}} M_{i'} \longrightarrow M_{i'}$$ These maps are all injective by assumption. Since colimits over $I$ are exact by Lemma Filtered limits and commutative algebra we win. $\square$

Lemma. A strict henselization map extending a henselization map

Let $R \to S$ be a ring map. Let $\mathfrak q \subset S$ be a prime lying over $\mathfrak p \subset R$ such that $\kappa(\mathfrak p) \to \kappa(\mathfrak q)$ is an isomorphism. Choose a separable algebraic closure $\kappa^{sep}$ of $\kappa(\mathfrak p) = \kappa(\mathfrak q)$. Then $$(S_\mathfrak q)^{sh} = (S_\mathfrak q)^h \otimes_{(R_\mathfrak p)^h} (R_\mathfrak p)^{sh}$$

Proof. This follows from the alternative construction of the strict henselization of a local ring in Remark Derived Hom and Ext and the fact that the residue fields are equal. Some details omitted. $\square$

Lemma. Functoriality of strict henselization

Let $R \to S$ be a local map of local rings. Choose separable algebraic closures $R/\mathfrak m_R \subset \kappa_1^{sep}$ and $S/\mathfrak m_S \subset \kappa_2^{sep}$. Let $R \to R^{sh}$ and $S \to S^{sh}$ be the corresponding strict henselizations. Given any commutative diagram $$\begin{gathered}\begin{matrix}\kappa_1^{sep} & \kappa_2^{sep} \\ R/\mathfrak m_R & S/\mathfrak m_S\end{matrix} \\[6pt] \begin{aligned}\kappa_1^{sep} & \xrightarrow{\phi} \kappa_2^{sep} \\ R/\mathfrak m_R & \xrightarrow{\varphi} S/\mathfrak m_S \\ R/\mathfrak m_R & \longrightarrow \kappa_1^{sep} \\ S/\mathfrak m_S & \longrightarrow \kappa_2^{sep}\end{aligned}\end{gathered},$$ there exists a unique local ring map $R^{sh} \to S^{sh}$ fitting into the commutative diagram $$\begin{gathered}\begin{matrix}R^{sh} & S^{sh} \\ R & S\end{matrix} \\[6pt] \begin{aligned}R^{sh} & \xrightarrow{f} S^{sh} \\ R & \longrightarrow R^{sh} \\ R & \longrightarrow S \\ S & \longrightarrow S^{sh}\end{aligned}\end{gathered}$$ and inducing $\phi$ on the residue fields of $R^{sh}$ and $S^{sh}$.

Proof. Follows immediately from Lemma Filtered limits and henselian rings. $\square$

Lemma. A finite cover by affine localizations

Zariski-local properties of modules and algebras

Let $R$ be a ring. Let $M$ be an $R$-module. Let $S$ be an $R$-algebra. Suppose that $f_1, \ldots, f_n$ is a finite list of elements of $R$ such that $\bigcup D(f_i) = \operatorname{Spec}(R)$, in other words $(f_1, \ldots, f_n) = R$.

  1. If each $M_{f_i} = 0$ then $M = 0$.

  2. If each $M_{f_i}$ is a finite $R_{f_i}$-module, then $M$ is a finite $R$-module.

  3. If each $M_{f_i}$ is a finitely presented $R_{f_i}$-module, then $M$ is a finitely presented $R$-module.

  4. Let $M \to N$ be a map of $R$-modules. If $M_{f_i} \to N_{f_i}$ is an isomorphism for each $i$ then $M \to N$ is an isomorphism.

  5. Let $0 \to M'' \to M \to M' \to 0$ be a complex of $R$-modules. If $0 \to M''_{f_i} \to M_{f_i} \to M'_{f_i} \to 0$ is exact for each $i$, then $0 \to M'' \to M \to M' \to 0$ is exact.

  6. If each $R_{f_i}$ is Noetherian, then $R$ is Noetherian.

  7. If each $S_{f_i}$ is a finite type $R_{f_i}$-algebra, then $S$ is a finite type $R$-algebra.

  8. If each $S_{f_i}$ is of finite presentation over $R_{f_i}$, then $S$ is a finitely presented $R$-algebra.

Proof. We prove each of the parts in turn.

  1. By Proposition Successive localizations this implies $M_\mathfrak p = 0$ for all $\mathfrak p \in \operatorname{Spec}(R)$, so we conclude by Lemma Detecting a zero module by localization.

  2. For each $i$ take a finite generating set $X_i$ of $M_{f_i}$. Without loss of generality, we may assume that the elements of $X_i$ are in the image of the localization map $M \rightarrow M_{f_i}$, so we take a finite set $Y_i$ of preimages of the elements of $X_i$ in $M$. Let $Y$ be the union of these sets. This is still a finite set. Consider the obvious $R$-linear map $R^Y \rightarrow M$ sending the basis element $e_y$ to $y$. By assumption this map is surjective after localizing at an arbitrary prime ideal $\mathfrak p$ of $R$, so it is surjective by Lemma Detecting a zero module by localization and $M$ is finitely generated.

  3. By (2) we have a short exact sequence $$0 \rightarrow K \rightarrow R^m \rightarrow M \rightarrow 0$$ Since localization is an exact functor and $M_{f_i}$ is finitely presented we see that $K_{f_i}$ is finitely generated for all $1 \leq i \leq n$ by Lemma Commutative algebra. By (2) this implies that $K$ is a finite $R$-module and therefore $M$ is finitely presented.

  4. By Proposition Successive localizations the assumption implies that the induced morphism on localizations at all prime ideals is an isomorphism, so we conclude by Lemma Detecting a zero module by localization.

  5. By Proposition Successive localizations the assumption implies that the induced sequence of localizations at all prime ideals is short exact, so we conclude by Lemma Detecting a zero module by localization.

  6. We will show that every ideal of $R$ has a finite generating set: For this, let $I \subset R$ be an arbitrary ideal. By Proposition Exactness of localization each $I_{f_i} \subset R_{f_i}$ is an ideal. These are all finitely generated by assumption, so we conclude by (2).

  7. For each $i$ take a finite generating set $X_i$ of $S_{f_i}$. Without loss of generality, we may assume that the elements of $X_i$ are in the image of the localization map $S \rightarrow S_{f_i}$, so we take a finite set $Y_i$ of preimages of the elements of $X_i$ in $S$. Let $Y$ be the union of these sets. This is still a finite set. Consider the algebra homomorphism $R[X_y]_{y \in Y} \rightarrow S$ induced by $Y$. Since it is an algebra homomorphism, the image $T$ is an $R$-submodule of the $R$-module $S$, so we can consider the quotient module $S/T$. By assumption, this is zero if we localize at the $f_i$, so it is zero by (1) and therefore $S$ is an $R$-algebra of finite type.

  8. By the previous item, there exists a surjective $R$-algebra homomorphism $R[X_1, \ldots, X_n] \rightarrow S$. Let $K$ be the kernel of this map. This is an ideal in $R[X_1, \ldots, X_n]$, finitely generated in each localization at $f_i$. Since the $f_i$ generate the unit ideal in $R$, they also generate the unit ideal in $R[X_1, \ldots, X_n]$, so an application of (2) finishes the proof.

$\square$

Lemma. The smooth locus under flat base change

Let $R \to S$ be a ring map of finite presentation. Let $R \to R'$ be a flat ring map. Let $S' = R' \otimes_R S$ be the base change. Let $U \subset \operatorname{Spec}(S)$ be the set of primes at which $R \to S$ is smooth. Let $V \subset \operatorname{Spec}(S')$ be the set of primes at which $R' \to S'$ is smooth. Then $V$ is the inverse image of $U$ under the map $f : \operatorname{Spec}(S') \to \operatorname{Spec}(S)$.

Proof. By Lemma Base change of the naive cotangent complex we see that $\mathrm{NL}_{S/R} \otimes_S S'$ is homotopy equivalent to $\mathrm{NL}_{S'/R'}$. This already implies that $f^{-1}(U) \subset V$.

Let $\mathfrak q' \subset S'$ be a prime lying over $\mathfrak q \subset S$. Assume $\mathfrak q' \in V$. We have to show that $\mathfrak q \in U$. Since $S \to S'$ is flat, we see that $S_{\mathfrak q} \to S'_{\mathfrak q'}$ is faithfully flat (Lemma Flatness and local algebra). Thus the vanishing of $H_1(L_{S'/R'})_{\mathfrak q'}$ implies the vanishing of $H_1(L_{S/R})_{\mathfrak q}$. By Lemma Projective, locally free modules and finite algebras applied to the $S_{\mathfrak q}$-module $(\Omega_{S/R})_{\mathfrak q}$ and the map $S_{\mathfrak q} \to S'_{\mathfrak q'}$ we see that $(\Omega_{S/R})_{\mathfrak q}$ is projective. Hence $R \to S$ is smooth at $\mathfrak q$ by Lemma Smoothness at a point. $\square$

Lemma. Support under base change

Let $R \to R'$ be a ring map and let $M$ be a finite $R$-module. Then $\text{Supp}(M \otimes_R R')$ is the inverse image of $\text{Supp}(M)$.

Proof. Let $\mathfrak p \in \text{Supp}(M)$. By Nakayama's lemma (Lemma Nakayama's lemma) we see that $$M \otimes_R \kappa(\mathfrak p) = M_\mathfrak p/\mathfrak p M_\mathfrak p$$ is a nonzero $\kappa(\mathfrak p)$ vector space. Hence for every prime $\mathfrak p' \subset R'$ lying over $\mathfrak p$ we see that $$(M \otimes_R R')_{\mathfrak p'}/\mathfrak p' (M \otimes_R R')_{\mathfrak p'} = (M \otimes_R R') \otimes_{R'} \kappa(\mathfrak p') = M \otimes_R \kappa(\mathfrak p) \otimes_{\kappa(\mathfrak p)} \kappa(\mathfrak p')$$ is nonzero. This implies $\mathfrak p' \in \text{Supp}(M \otimes_R R')$. For the converse, if $\mathfrak p' \subset R'$ is a prime lying over an arbitrary prime $\mathfrak p \subset R$, then $$(M \otimes_R R')_{\mathfrak p'} = M_\mathfrak p \otimes_{R_\mathfrak p} R'_{\mathfrak p'}.$$ Hence if $\mathfrak p' \in \text{Supp}(M \otimes_R R')$ lies over the prime $\mathfrak p \subset R$, then $\mathfrak p \in \text{Supp}(M)$. $\square$

Lemma. Finite presentation and formal smoothness over a Noetherian ring

Let $R \to S$ be a smooth ring map. Then there exists a subring $R_0 \subset R$ of finite type over $\mathbf{Z}$ and a smooth ring map $R_0 \to S_0$ such that $S \cong R \otimes_{R_0} S_0$.

Proof. We are going to use that smooth is equivalent to finite presentation and formally smooth, see Proposition Formal smoothness of smooth algebras. Write $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$ and denote $I = (f_1, \ldots, f_m)$. Choose a right inverse $\sigma : S \to R[x_1, \ldots, x_n]/I^2$ to the projection to $S$ as in Lemma Criteria for formal smoothness and smooth morphisms. Choose $h_i \in R[x_1, \ldots, x_n]$ such that $\sigma(x_i \bmod I) = h_i \bmod I^2$. Since $x_i - h_i \in I$, there exist $b_{ij} \in R[x_1, \ldots, x_n]$ such that $$x_i - h_i = \sum\nolimits_j b_{ij} f_j$$ The fact that $\sigma$ is an $R$-algebra homomorphism $R[x_1, \ldots, x_n]/I \to R[x_1, \ldots, x_n]/I^2$ is equivalent to the condition that $$f_j(h_1, \ldots, h_n) = \sum\nolimits_{j_1 j_2} a_{j_1 j_2} f_{j_1} f_{j_2}$$ for certain $a_{kl} \in R[x_1, \ldots, x_n]$. Let $R_0 \subset R$ be the subring generated over $\mathbf{Z}$ by all the coefficients of the polynomials $f_j, h_i, a_{kl}, b_{ij}$. Set $S_0 = R_0[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$, with $I_0 = (f_1, \ldots, f_m)$. Since the second displayed equation holds in $R_0[x_1, \ldots, x_n]$ we can let $\sigma_0 : S_0 \to R_0[x_1, \ldots, x_n]/I_0^2$ be the $R_0$-algebra map defined by the rule $x_i \mapsto h_i \bmod I_0^2$. Since the first displayed equation holds in $R_0[x_1, \ldots, x_n]$ we see that $\sigma_0$ is a right inverse to the projection $R_0[x_1, \ldots, x_n] / I_0^2 \to R_0[x_1, \ldots, x_n] / I_0 = S_0$. Thus by Lemma Criteria for formal smoothness and smooth morphisms the ring $S_0$ is formally smooth over $R_0$. $\square$

Lemma. Relative dimension in a Cohen--Macaulay family

Let $R$ be a ring. Let $R \to S$ be a ring map which (a) is flat, (b) is of finite presentation, and (c) has Cohen-Macaulay fibres. Then we can write $S = S_0 \times \ldots \times S_n$ as a product of $R$-algebras $S_d$ such that each $S_d$ satisfies (a), (b), (c) and has all nonempty fibres equidimensional of dimension $d$.

Proof. For each integer $d$ denote by $W_d \subset \operatorname{Spec}(S)$ the set defined in Lemma Finite presentation and flatness. Clearly we have $\operatorname{Spec}(S) = \coprod W_d$, and each $W_d$ is open by the lemma we just quoted. Hence the result follows from Lemma A disjoint spectrum and a product of rings. $\square$

Lemma. Products of smooth algebras

Let $R$ be a ring. Let $S = S' \times S''$ be a product of $R$-algebras. Then $S$ is smooth over $R$ if and only if both $S'$ and $S''$ are smooth over $R$.

Proof. Omitted. Hints: By Lemma Smooth morphisms and local algebra we can check smoothness one prime at a time. Since $\operatorname{Spec}(S)$ is the disjoint union of $\operatorname{Spec}(S')$ and $\operatorname{Spec}(S'')$ by Lemma The spectrum of a product of rings we find that smoothness of $R \to S$ at $\mathfrak q$ corresponds to either smoothness of $R \to S'$ at the corresponding prime or smoothness of $R \to S''$ at the corresponding prime. $\square$

Example. Factorization of polynomials

Let $n , m \geq 1$ be integers. Consider the ring map $$\begin{eqnarray*} R = \mathbf{Z}[a_1, \ldots, a_{n + m}] & \longrightarrow & S = \mathbf{Z}[b_1, \ldots, b_n, c_1, \ldots, c_m] \\ a_1 & \longmapsto & b_1 + c_1 \\ a_2 & \longmapsto & b_2 + b_1 c_1 + c_2 \\ \ldots & \ldots & \ldots \\ a_{n + m} & \longmapsto & b_n c_m \end{eqnarray*}$$ In other words, this is the unique ring map of polynomial rings as indicated such that the polynomial factorization $$x^{n + m} + a_1 x^{n + m - 1} + \ldots + a_{n + m}

(x^n + b_1 x^{n - 1} + \ldots + b_n) (x^m + c_1 x^{m - 1} + \ldots + c_m)$$ holds. Note that $S$ is generated by $n + m$ elements over $R$ (namely, $b_i, c_j$) and that there are $n + m$ equations (namely $a_k = a_k(b_i, c_j)$). In order to show that $S$ is a relative global complete intersection over $R$ it suffices to prove that all fibres have dimension $0$.

To prove this, let $R \to k$ be a ring map into a field $k$. Say $a_i$ maps to $\alpha_i \in k$. Consider the fibre ring $S_k = k \otimes_R S$. Let $k \to K$ be a field extension. A $k$-algebra map $S_k \to K$ is the same thing as finding $\beta_1, \ldots, \beta_n, \gamma_1, \ldots, \gamma_m \in K$ such that $$x^{n + m} + \alpha_1 x^{n + m - 1} + \ldots + \alpha_{n + m}

(x^n + \beta_1 x^{n - 1} + \ldots + \beta_n) (x^m + \gamma_1 x^{m - 1} + \ldots + \gamma_m).$$ Hence we see there are at most finitely many choices of such $n + m$-tuples in $K$. This proves that all fibres have finitely many closed points (use Hilbert's Nullstellensatz to see they all correspond to solutions in $\overline{k}$ for example) and hence that $R \to S$ is a relative global complete intersection.

Another way to argue this is to show $\mathbf{Z}[a_1, \ldots, a_{n + m}] \to \mathbf{Z}[b_1, \ldots, b_n, c_1, \ldots, c_m]$ is actually also a finite ring map. Namely, by Lemma Divisibility of polynomials each of $b_i, c_j$ is integral over $R$, and hence $R \to S$ is finite by Lemma Criteria for integral extensions.

Lemma. Idempotent ideals and connected components

Let $I \subset R$ be a finitely generated ideal of a ring $R$ such that $I = I^2$. Then

  1. there exists an idempotent $e \in R$ such that $I = (e)$,

  2. $R/I \cong R_{e'}$ for the idempotent $e' = 1 - e \in R$, and

  3. $V(I)$ is open and closed in $\operatorname{Spec}(R)$.

Proof. By Nakayama's Lemma Nakayama's lemma there exists an element $f = 1 + i$, $i \in I$ such that $fI = 0$. Then $f^2 = f + fi = f$ is an idempotent. Consider the idempotent $e = 1 - f = -i \in I$. For $j \in I$ we have $ej = j - fj = j$ hence $I = (e)$. This proves (1).

Parts (2) and (3) follow from (1). Namely, we have $V(I) = V(e) = \operatorname{Spec}(R) \setminus D(e)$ which is open and closed by either Lemma Idempotents and open-and-closed subsets of a spectrum or Lemma Product decompositions from disjoint closed subsets. This proves (3). For (2) observe that the map $R \to R_{e'}$ is surjective since $x/(e')^n = x/e' = xe'/(e')^2 = xe'/e' = x/1$ in $R_{e'}$. The kernel of the map $R \to R_{e'}$ is the set of elements of $R$ annihilated by a positive power of $e'$. Since $e'$ is idempotent this is the ideal of elements annihilated by $e'$ which is the ideal $I = (e)$ as $e + e' = 1$ is a pair of orthogonal idempotents. This proves (2). $\square$

Lemma. Closed subsets of an affine spectrum

Let $R$ be a ring. Let $I \subset R$ be an ideal. The map $R \to R/I$ induces via the functoriality of $\operatorname{Spec}$ a homeomorphism $$\operatorname{Spec}(R/I) \longrightarrow V(I) \subset \operatorname{Spec}(R).$$ The inverse is given by $\mathfrak p \mapsto \mathfrak p / I$.

Proof. It is immediate that the image is contained in $V(I)$. On the other hand, if $\mathfrak p \in V(I)$ then $\mathfrak p \supset I$ and we may consider the ideal $\mathfrak p /I \subset R/I$. Using basic notion (Commutative algebra) we see that $(R/I)/(\mathfrak p/I) = R/\mathfrak p$ is a domain and hence $\mathfrak p/I$ is a prime ideal. From this and Lemma Prime spectra and associated points, applied to the surjection $R \to R/I$, the result follows. $\square$

Proposition. Openness of flat finitely presented maps

Let $R \to S$ be flat and of finite presentation. Then $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ is open. More generally this holds for any ring map $R \to S$ of finite presentation which satisfies going down.

Proof. If $R \to S$ is flat, then $R \to S$ satisfies going down by Lemma Going down for flat ring maps. Thus to prove the lemma we may assume that $R \to S$ has finite presentation and satisfies going down.

Since the standard opens $D(g) \subset \operatorname{Spec}(S)$, $g \in S$ form a basis for the topology, it suffices to prove that the image of $D(g)$ is open. Recall that $\operatorname{Spec}(S_g) \to \operatorname{Spec}(S)$ is a homeomorphism of $\operatorname{Spec}(S_g)$ onto $D(g)$ (Lemma Principal open subsets of a spectrum). Since $S \to S_g$ satisfies going down (see above), we see that $R \to S_g$ satisfies going down by Lemma Composition of going-up and going-down maps. Thus after replacing $S$ by $S_g$ we see it suffices to prove the image is open. By Chevalley's theorem (Theorem Chevalley's constructibility theorem) the image is a constructible set $E$. And $E$ is stable under generalization because $R \to S$ satisfies going down, see Topology, Lemmas The geometric construction (programme binding) and Lifting the geometric construction (uncovered prerequisite). Hence $E$ is open by Lemma Commutative algebra. $\square$

Lemma. Detecting a zero module by localization

Let $R$ be a ring.

  1. For an element $x$ of an $R$-module $M$ the following are equivalent

    1. $x = 0$,

    2. $x$ maps to zero in $M_\mathfrak p$ for all $\mathfrak p \in \operatorname{Spec}(R)$,

    3. $x$ maps to zero in $M_{\mathfrak m}$ for all maximal ideals $\mathfrak m$ of $R$.

    In other words, the map $M \to \prod_{\mathfrak m} M_{\mathfrak m}$ is injective.

  2. Given an $R$-module $M$ the following are equivalent

    1. $M$ is zero,

    2. $M_{\mathfrak p}$ is zero for all $\mathfrak p \in \operatorname{Spec}(R)$,

    3. $M_{\mathfrak m}$ is zero for all maximal ideals $\mathfrak m$ of $R$.

  3. Given a complex $M_1 \to M_2 \to M_3$ of $R$-modules the following are equivalent

    1. $M_1 \to M_2 \to M_3$ is exact,

    2. for every prime $\mathfrak p$ of $R$ the localization $M_{1, \mathfrak p} \to M_{2, \mathfrak p} \to M_{3, \mathfrak p}$ is exact,

    3. for every maximal ideal $\mathfrak m$ of $R$ the localization $M_{1, \mathfrak m} \to M_{2, \mathfrak m} \to M_{3, \mathfrak m}$ is exact.

  4. Given a map $f : M \to M'$ of $R$-modules the following are equivalent

    1. $f$ is injective,

    2. $f_{\mathfrak p} : M_\mathfrak p \to M'_\mathfrak p$ is injective for all primes $\mathfrak p$ of $R$,

    3. $f_{\mathfrak m} : M_\mathfrak m \to M'_\mathfrak m$ is injective for all maximal ideals $\mathfrak m$ of $R$.

  5. Given a map $f : M \to M'$ of $R$-modules the following are equivalent

    1. $f$ is surjective,

    2. $f_{\mathfrak p} : M_\mathfrak p \to M'_\mathfrak p$ is surjective for all primes $\mathfrak p$ of $R$,

    3. $f_{\mathfrak m} : M_\mathfrak m \to M'_\mathfrak m$ is surjective for all maximal ideals $\mathfrak m$ of $R$.

  6. Given a map $f : M \to M'$ of $R$-modules the following are equivalent

    1. $f$ is bijective,

    2. $f_{\mathfrak p} : M_\mathfrak p \to M'_\mathfrak p$ is bijective for all primes $\mathfrak p$ of $R$,

    3. $f_{\mathfrak m} : M_\mathfrak m \to M'_\mathfrak m$ is bijective for all maximal ideals $\mathfrak m$ of $R$.

Proof. Let $x \in M$ as in (1). Let $I = \{f \in R \mid fx = 0\}$. It is easy to see that $I$ is an ideal (it is the annihilator of $x$). Condition (1)(c) means that for all maximal ideals $\mathfrak m$ there exists an $f \in R \setminus \mathfrak m$ such that $fx =0$. In other words, $V(I)$ does not contain a closed point. By Lemma The Zariski topology on an affine spectrum we see $I$ is the unit ideal. Hence $x$ is zero, i.e., (1)(a) holds. This proves (1).

Part (2) follows by applying (1) to all elements of $M$ simultaneously.

Proof of (3). Let $H$ be the homology of the sequence, i.e., $H = \operatorname{Ker}(M_2 \to M_3)/\operatorname{Im}(M_1 \to M_2)$. By Proposition Exactness of localization we have that $H_\mathfrak p$ is the homology of the sequence $M_{1, \mathfrak p} \to M_{2, \mathfrak p} \to M_{3, \mathfrak p}$. Hence (3) is a consequence of (2).

Parts (4) and (5) are special cases of (3). Part (6) follows formally on combining (4) and (5). $\square$

Lemma. Elements integral over an ideal form a submodule

Let $\varphi : R \to S$ be a ring map. Let $I \subset R$ be an ideal. The set of elements of $S$ which are integral over $I$ forms an $R$-submodule of $S$. Furthermore, if $s \in S$ is integral over $R$, and $s'$ is integral over $I$, then $ss'$ is integral over $I$.

Proof. We will use Lemma Integral extensions without further mention. Closure under addition is clear from the characterization of Lemma Criteria for integral extensions whose notation we adopt. Any element $s \in S$ which is integral over $R$ corresponds to the degree $0$ element $s$ of $S[t]$ which is integral over $A$ (because $R \subset A$). Hence we see that multiplication by $s$ on $S[t]$ preserves the property of being integral over $A$, $\square$

Lemma. Surjectivity on spectra of an integral overring

Suppose that $R \to S$ is an integral ring extension with $R \subset S$. Then $\varphi : \operatorname{Spec}(S) \to \operatorname{Spec}(R)$ is surjective.

Proof. Let $\mathfrak p \subset R$ be a prime ideal. We have to show $\mathfrak pS_{\mathfrak p} \not = S_{\mathfrak p}$, see Lemma A point in the image of a spectrum map. The localization $R_{\mathfrak p} \to S_{\mathfrak p}$ is injective (as localization is exact) and integral by Lemma Integral extensions and local algebra or Base change for integral extensions. Hence we may replace $R$, $S$ by $R_{\mathfrak p}$, $S_{\mathfrak p}$ and we may assume $R$ is local with maximal ideal $\mathfrak m$ and it suffices to show that $\mathfrak mS \not = S$. Suppose $1 = \sum f_i s_i$ with $f_i \in \mathfrak m$ and $s_i \in S$ in order to get a contradiction. Let $R \subset S' \subset S$ be such that $R \to S'$ is finite and $s_i \in S'$, see Lemma Criteria for integral extensions. The equation $1 = \sum f_i s_i$ implies that the finite $R$-module $S'$ satisfies $S' = \mathfrak m S'$. Hence by Nakayama's Lemma Nakayama's lemma we see $S' = 0$. Contradiction. $\square$

Lemma. Composition of going-up and going-down maps

Suppose $R \to S$ and $S \to T$ are ring maps satisfying going down. Then so does $R \to T$. Similarly for going up.

Proof. According to Lemma Commutative algebra this follows from Topology, Lemma Lifting the geometric construction (uncovered prerequisite) $\square$

Lemma. Closed images stable under specialization

Let $R \to S$ be a ring map. Let $T \subset \operatorname{Spec}(R)$ be the image of $\operatorname{Spec}(S)$. If $T$ is stable under specialization, then $T$ is closed.

Proof. We give two proofs.

First proof. Let $\mathfrak p \subset R$ be a prime ideal such that the corresponding point of $\operatorname{Spec}(R)$ is in the closure of $T$. This means that for every $f \in R$, $f \not \in \mathfrak p$ we have $D(f) \cap T \not = \emptyset$. Note that $D(f) \cap T$ is the image of $\operatorname{Spec}(S_f)$ in $\operatorname{Spec}(R)$. Hence we conclude that $S_f \not = 0$. In other words, $1 \not = 0$ in the ring $S_f$. Since $S_{\mathfrak p}$ is the directed colimit of the rings $S_f$ we conclude that $1 \not = 0$ in $S_{\mathfrak p}$. In other words, $S_{\mathfrak p} \not = 0$ and considering the image of $\operatorname{Spec}(S_{\mathfrak p}) \to \operatorname{Spec}(S) \to \operatorname{Spec}(R)$ we see there exists a $\mathfrak p' \in T$ with $\mathfrak p' \subset \mathfrak p$. As we assumed $T$ closed under specialization we conclude $\mathfrak p$ is a point of $T$ as desired.

Second proof. Let $I = \operatorname{Ker}(R \to S)$. We may replace $R$ by $R/I$. In this case the ring map $R \to S$ is injective. By Lemma Injective resolutions and prime spectra and associated points all the minimal primes of $R$ are contained in the image $T$. Hence if $T$ is stable under specialization then it contains all primes. $\square$

Lemma. Cotangent complexes and differentials

Let $A \to B \to C$ be ring maps. Assume $A \to C$ is surjective (so also $B \to C$ is). Denote $I = \operatorname{Ker}(A \to C)$ and $J = \operatorname{Ker}(B \to C)$. Then the sequence $$I/I^2 \to J/J^2 \to \Omega_{B/A} \otimes_B B/J \to 0$$ is exact.

Proof. Follows from Lemma The transitivity sequence for the naive cotangent complex and the description of the naive cotangent complexes $\mathrm{NL}_{C/B}$ and $\mathrm{NL}_{C/A}$ in Lemma Cotangent complexes and differentials. $\square$

Lemma. Cotangent complexes, differentials and formal smoothness

Let $A \to B \to C$ be ring maps. Assume $A \to C$ is surjective (so also $B \to C$ is) and $A \to B$ formally smooth. Let $I = \operatorname{Ker}(A \to C)$ and $J = \operatorname{Ker}(B \to C)$. Then the sequence $$0 \to I/I^2 \to J/J^2 \to \Omega_{B/A} \otimes_B B/J \to 0$$ of Lemma Cotangent complexes and differentials is split exact.

Proof. Since $A \to B$ is formally smooth there exists a ring map $\sigma : B \to A/I^2$, lifting $B \to C$, whose composition with $A \to B$ equals the quotient map $A \to A/I^2$. Then $\sigma$ induces a map $J/J^2 \to I/I^2$ which is a left inverse to the map $I/I^2 \to J/J^2$. $\square$

Lemma. A cover of the target spectrum

Let $R \to S$ be a ring map. Suppose that $g_1, \ldots, g_n$ is a finite list of elements of $S$ such that $\bigcup D(g_i) = \operatorname{Spec}(S)$ in other words $(g_1, \ldots, g_n) = S$.

  1. If each $S_{g_i}$ is of finite type over $R$, then $S$ is of finite type over $R$.

  2. If each $S_{g_i}$ is of finite presentation over $R$, then $S$ is of finite presentation over $R$.

Proof. Choose $h_1, \ldots, h_n \in S$ such that $\sum h_i g_i = 1$.

Proof of (1). For each $i$ choose a finite list of elements $x_{i, j} \in S_{g_i}$, $j = 1, \ldots, m_i$ which generate $S_{g_i}$ as an $R$-algebra. Write $x_{i, j} = y_{i, j}/g_i^{n_{i, j}}$ for some $y_{i, j} \in S$ and some $n_{i, j} \ge 0$. Consider the $R$-subalgebra $S' \subset S$ generated by $g_1, \ldots, g_n$, $h_1, \ldots, h_n$ and $y_{i, j}$, $i = 1, \ldots, n$, $j = 1, \ldots, m_i$. Since localization is exact (Proposition Exactness of localization), we see that $S'_{g_i} \to S_{g_i}$ is injective. On the other hand, it is surjective by our choice of $y_{i, j}$. The elements $g_1, \ldots, g_n$ generate the unit ideal in $S'$ as $h_1, \ldots, h_n \in S'$. Thus $S' \to S$ viewed as an $S'$-module map is an isomorphism by Lemma A finite cover by affine localizations.

Proof of (2). We already know that $S$ is of finite type. Write $S = R[x_1, \ldots, x_m]/J$ for some ideal $J$. For each $i$ choose a lift $g'_i \in R[x_1, \ldots, x_m]$ of $g_i$ and we choose a lift $h'_i \in R[x_1, \ldots, x_m]$ of $h_i$. Then we see that $$S_{g_i} = R[x_1, \ldots, x_m, y_i]/(J_i + (1 - y_ig'_i))$$ where $J_i$ is the ideal of $R[x_1, \ldots, x_m, y_i]$ generated by $J$. Small detail omitted. By Lemma Finite presentation and finite algebras we may choose a finite list of elements $f_{i, j} \in J$, $j = 1, \ldots, m_i$ such that the images of $f_{i, j}$ in $J_i$ and $1 - y_ig'_i$ generate the ideal $J_i + (1 - y_ig'_i)$. Set $$S' = R[x_1, \ldots, x_m]/\left(\sum h'_ig'_i - 1, f_{i, j}; i = 1, \ldots, n, j = 1, \ldots, m_i\right)$$ There is a surjective $R$-algebra map $S' \to S$. The classes of the elements $g'_1, \ldots, g'_n$ in $S'$ generate the unit ideal and by construction the maps $S'_{g'_i} \to S_{g_i}$ are injective. Thus we conclude as in part (1). $\square$

Lemma. Nakayama's lemma after localization

Let $R$ be a ring, let $S \subset R$ be a multiplicative subset, let $I \subset R$ be an ideal, and let $M$ be a finite $R$-module. If $x_1, \ldots, x_r \in M$ generate $S^{-1}(M/IM)$ as an $S^{-1}(R/I)$-module, then there exists an $f \in S + I$ such that $x_1, \ldots, x_r$ generate $M_f$ as an $R_f$-module.[^4]

Proof. Special case $I = 0$. Let $y_1, \ldots, y_s$ be generators for $M$ over $R$. Since $S^{-1}M$ is generated by $x_1, \ldots, x_r$, for each $i$ we can write $y_i = \sum (a_{ij}/s_{ij})x_j$ in $S^{-1}M$ for some $a_{ij} \in R$ and $s_{ij} \in S$. Multiplying by the product $s \in S$ of the $s_{ij}$ we see that $sy_i = \sum a'_{ij}x_j$ in $S^{-1}M$ for some $a'_{ij} \in R$. This in turn means there exist $t_i \in S$ such that $t_isy_i = \sum t_ia'_{ij}x_j$ in $M$. Thus if $t \in S$ is the product of the $t_i$, then we see that $y_i$ is in the $R_{st}$-submodule generated by $x_1, \ldots, x_r$ of $M_{st}$. Hence $x_1, \ldots, x_r$ generate $M_{st}$.

General case. By the special case, we can find an $s \in S$ such that $x_1, \ldots, x_r$ generate $(M/IM)_s$ over $(R/I)_s$. By Lemma Nakayama's lemma we can find a $g \in 1 + I_s \subset R_s$ such that $x_1, \ldots, x_r$ generate $(M_s)_g$ over $(R_s)_g$. Write $g = 1 + i/s'$. Then $f = ss' + is$ works; details omitted. $\square$

Lemma. Localization of a flat module

Let $R$ be a ring. Let $S \subset R$ be a multiplicative subset.

  1. The localization $S^{-1}R$ is a flat $R$-algebra.

  2. If $M$ is an $S^{-1}R$-module, then $M$ is a flat $R$-module if and only if $M$ is a flat $S^{-1}R$-module.

  3. Suppose $M$ is an $R$-module. Then $M$ is a flat $R$-module if and only if $M_{\mathfrak p}$ is a flat $R_{\mathfrak p}$-module for all primes $\mathfrak p$ of $R$.

  4. Suppose $M$ is an $R$-module. Then $M$ is a flat $R$-module if and only if $M_{\mathfrak m}$ is a flat $R_{\mathfrak m}$-module for all maximal ideals $\mathfrak m$ of $R$.

  5. Suppose $R \to A$ is a ring map, $M$ is an $A$-module, and $g_1, \ldots, g_m \in A$ are elements generating the unit ideal of $A$. Then $M$ is flat over $R$ if and only if each localization $M_{g_i}$ is flat over $R$.

  6. Suppose $R \to A$ is a ring map, and $M$ is an $A$-module. Then $M$ is a flat $R$-module if and only if the localization $M_{\mathfrak q}$ is a flat $R_{\mathfrak p}$-module (with $\mathfrak p$ the prime of $R$ lying under $\mathfrak q$) for all primes $\mathfrak q$ of $A$.

  7. Suppose $R \to A$ is a ring map, and $M$ is an $A$-module. Then $M$ is a flat $R$-module if and only if the localization $M_{\mathfrak m}$ is a flat $R_{\mathfrak p}$-module (with $\mathfrak p = R \cap \mathfrak m$) for all maximal ideals $\mathfrak m$ of $A$.

Proof. Let us prove the last statement of the lemma. In the proof we will use repeatedly that localization is exact and commutes with tensor product, see Sections Localization of local algebra and Tensor products and direct sums.

Suppose $R \to A$ is a ring map, and $M$ is an $A$-module. Assume that $M_{\mathfrak m}$ is a flat $R_{\mathfrak p}$-module for all maximal ideals $\mathfrak m$ of $A$ (with $\mathfrak p = R \cap \mathfrak m$). Let $I \subset R$ be an ideal. We have to show the map $I \otimes_R M \to M$ is injective. We can think of this as a map of $A$-modules. By assumption the localization $(I \otimes_R M)_{\mathfrak m} \to M_{\mathfrak m}$ is injective because $(I \otimes_R M)_{\mathfrak m} = I_{\mathfrak p} \otimes_{R_{\mathfrak p}} M_{\mathfrak m}$. Hence the kernel of $I \otimes_R M \to M$ is zero by Lemma Detecting a zero module by localization. Hence $M$ is flat over $R$.

Conversely, assume $M$ is flat over $R$. Pick a prime $\mathfrak q$ of $A$ lying over the prime $\mathfrak p$ of $R$. Suppose that $I \subset R_{\mathfrak p}$ is an ideal. We have to show that $I \otimes_{R_{\mathfrak p}} M_{\mathfrak q} \to M_{\mathfrak q}$ is injective. We can write $I = J_{\mathfrak p}$ for some ideal $J \subset R$. Then the map $I \otimes_{R_{\mathfrak p}} M_{\mathfrak q} \to M_{\mathfrak q}$ is just the localization (at $\mathfrak q$) of the map $J \otimes_R M \to M$ which is injective. Since localization is exact we see that $M_{\mathfrak q}$ is a flat $R_{\mathfrak p}$-module.

This proves (7) and (6). The other statements follow in a straightforward way from the last statement (proofs omitted). $\square$

Lemma. Hom from a finitely presented module

Let $R$ be a ring. Let $M$ be a finitely presented $R$-module. Let $N$ be an $R$-module.

  1. For $f \in R$ we have $\operatorname{Hom}_R(M, N)_f = \operatorname{Hom}_{R_f}(M_f, N_f) = \operatorname{Hom}_R(M_f, N_f)$,

  2. for a multiplicative subset $S$ of $R$ we have $$S^{-1}\operatorname{Hom}_R(M, N) = \operatorname{Hom}_{S^{-1}R}(S^{-1}M, S^{-1}N) = \operatorname{Hom}_R(S^{-1}M, S^{-1}N).$$

Proof. Part (1) is a special case of part (2). The second equality in (2) follows from Lemma Localization of modules and local algebra. Choose a presentation $$\bigoplus\nolimits_{j = 1, \ldots, m} R \longrightarrow \bigoplus\nolimits_{i = 1, \ldots, n} R \to M \to 0.$$ By Lemma Exactness of Hom from a projective module this gives an exact sequence $$0 \to \operatorname{Hom}_R(M, N) \to \bigoplus\nolimits_{i = 1, \ldots, n} N \longrightarrow \bigoplus\nolimits_{j = 1, \ldots, m} N.$$ Inverting $S$ and using Proposition Exactness of localization we get an exact sequence $$0 \to S^{-1}\operatorname{Hom}_R(M, N) \to \bigoplus\nolimits_{i = 1, \ldots, n} S^{-1}N \longrightarrow \bigoplus\nolimits_{j = 1, \ldots, m} S^{-1}N$$ and the result follows since $S^{-1}M$ sits in an exact sequence $$\bigoplus\nolimits_{j = 1, \ldots, m} S^{-1}R \longrightarrow \bigoplus\nolimits_{i = 1, \ldots, n} S^{-1}R \to S^{-1}M \to 0$$ which induces (by Lemma Exactness of Hom from a projective module) the exact sequence $$0 \to \operatorname{Hom}_{S^{-1}R}(S^{-1}M, S^{-1}N) \to \bigoplus\nolimits_{i = 1, \ldots, n} S^{-1}N \longrightarrow \bigoplus\nolimits_{j = 1, \ldots, m} S^{-1}N$$ which is the same as the one above. $\square$

Lemma. A characteristic polynomial with coefficients in an ideal

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $M$ be a finite $R$-module. Let $\varphi : M \to M$ be an endomorphism such that $\varphi(M) \subset IM$. Then there exists a monic polynomial $P = T^n + a_1 T^{n - 1} + \ldots + a_n \in R[T]$ such that $a_j \in I^j$ and $P(\varphi) = 0$ as an endomorphism of $M$.

Proof. Choose a surjective $R$-module map $R^{\oplus n} \to M$, given by $(a_1, \ldots, a_n) \mapsto \sum a_ix_i$ for some generators $x_i \in M$. Choose $(a_{i1}, \ldots, a_{in}) \in I^{\oplus n}$ such that $\varphi(x_i) = \sum a_{ij} x_j$. In other words the diagram $$\begin{gathered}\begin{matrix}R^{\oplus n} & M \\ I^{\oplus n} & M\end{matrix} \\[6pt] \begin{aligned}R^{\oplus n} & \xrightarrow{A} I^{\oplus n} \\ R^{\oplus n} & \longrightarrow M \\ M & \xrightarrow{\varphi} M \\ I^{\oplus n} & \longrightarrow M\end{aligned}\end{gathered}$$ is commutative where $A = (a_{ij})$. By Lemma The characteristic polynomial the polynomial $P(t) = \det(t\text{id}_{n \times n} - A)$ has all the desired properties. $\square$

Lemma. Finite module presentations in a filtered colimit

Suppose that $R = \mathop{\operatorname{colim}}_{\lambda \in \Lambda} R_\lambda$ is a directed colimit of rings. Then the category of finitely presented $R$-modules is the colimit of the categories of finitely presented $R_\lambda$-modules. More precisely

  1. Given a finitely presented $R$-module $M$ there exists a $\lambda \in \Lambda$ and a finitely presented $R_\lambda$-module $M_\lambda$ such that $M \cong M_\lambda \otimes_{R_\lambda} R$.

  2. Given a $\lambda \in \Lambda$, finitely presented $R_\lambda$-modules $M_\lambda, N_\lambda$, and an $R$-module map $\varphi : M_\lambda \otimes_{R_\lambda} R \to N_\lambda \otimes_{R_\lambda} R$, then there exists a $\mu \geq \lambda$ and an $R_\mu$-module map $\varphi_\mu : M_\lambda \otimes_{R_\lambda} R_\mu \to N_\lambda \otimes_{R_\lambda} R_\mu$ such that $\varphi = \varphi_\mu \otimes 1_R$.

  3. Given a $\lambda \in \Lambda$, finitely presented $R_\lambda$-modules $M_\lambda, N_\lambda$, and $R_\lambda$-module maps $\varphi, \psi : M_\lambda \to N_\lambda$ such that $\varphi \otimes 1_R = \psi \otimes 1_R$, then $\varphi \otimes 1_{R_\mu} = \psi \otimes 1_{R_\mu}$ for some $\mu \geq \lambda$.

Proof. To prove (1) choose a presentation $R^{\oplus m} \to R^{\oplus n} \to M \to 0$. Suppose that the first map is given by the matrix $A = (a_{ij})$. We can choose a $\lambda \in \Lambda$ and a matrix $A_\lambda = (a_{\lambda, ij})$ with coefficients in $R_\lambda$ which maps to $A$ in $R$. Then we simply let $M_\lambda$ be the $R_\lambda$-module with presentation $R_\lambda^{\oplus m} \to R_\lambda^{\oplus n} \to M_\lambda \to 0$ where the first arrow is given by $A_\lambda$.

Parts (2) and (3) follow from Lemma Filtered limits and proper morphisms and modules. $\square$

Lemma. Flat modules in a short exact sequence

Suppose that $0 \to M' \to M \to M'' \to 0$ is a short exact sequence of $R$-modules. If $M'$ and $M''$ are flat so is $M$. If $M$ and $M''$ are flat so is $M'$.

Proof. We will use the criterion that a module $N$ is flat if for every ideal $I \subset R$ the map $N \otimes_R I \to N$ is injective, see Lemma Flatness. Consider an ideal $I \subset R$. Consider the diagram $$\begin{matrix} 0 & \to & M' & \to & M & \to & M'' & \to & 0 \\ & & \uparrow & & \uparrow & & \uparrow & & \\ & & M'\otimes_R I & \to & M \otimes_R I & \to & M''\otimes_R I & \to & 0 \end{matrix}$$ with exact rows. This immediately proves the first assertion. The second follows because if $M''$ is flat then the lower left horizontal arrow is injective by Lemma Tor vanishing for a flat module. $\square$

Lemma. Quasi-regular and regular ideals in a Noetherian ring

Let $(R, \mathfrak m)$ be a local Noetherian ring. Let $M$ be a nonzero finite $R$-module. Let $f_1, \ldots, f_c \in \mathfrak m$ be an $M$-quasi-regular sequence. Then $f_1, \ldots, f_c$ is an $M$-regular sequence.

Proof. Set $J = (f_1, \ldots, f_c)$. Let us show that $f_1$ is a nonzerodivisor on $M$. Suppose $x \in M$ is not zero. By Krull's intersection theorem there exists an integer $r$ such that $x \in J^rM$ but $x \not \in J^{r + 1}M$, see Lemma Krull's intersection theorem. Then $f_1 x \in J^{r + 1}M$ is an element whose class in $J^{r + 1}M/J^{r + 2}M$ is nonzero by the assumed structure of $\bigoplus J^nM/J^{n + 1}M$. Whence $f_1x \not = 0$.

Now we can finish the proof by induction on $c$ using Lemma Regular rings. $\square$

Lemma. Height and dimension in a polynomial ring

Let $k$ be a field. Let $\mathfrak p \subset \mathfrak q \subset k[x_1, \ldots, x_n]$ be a pair of primes. Any maximal chain of primes between $\mathfrak p$ and $\mathfrak q$ has length $\text{height}(\mathfrak q) - \text{height}(\mathfrak p)$.

Proof. By Proposition Dimension, codimension and finite algebras any local ring of $k[x_1, \ldots, x_n]$ is regular. Hence all local rings are Cohen-Macaulay, see Lemma Regular rings are Cohen–Macaulay. The local rings at maximal ideals have dimension $n$ hence every maximal chain of primes in $k[x_1, \ldots, x_n]$ has length $n$, see Lemma Maximal prime chains in a Cohen–Macaulay ring. Hence every maximal chain of primes between $(0)$ and $\mathfrak p$ has length $\text{height}(\mathfrak p)$, see Lemma Dimension and codimension for example. Putting these together leads to the assertion of the lemma. $\square$

Lemma. Noether normalization

Noether normalization

Let $k$ be a field. Let $S = k[x_1, \ldots, x_n]/I$ for some ideal $I$. If $I \neq (1)$, there exist $r\geq 0$, and $y_1, \ldots, y_r \in k[x_1, \ldots, x_n]$ such that (a) the map $k[y_1, \ldots, y_r] \to S$ is injective where the source is the polynomial ring on $y_1, \ldots, y_r$, and (b) the map $k[y_1, \ldots, y_r] \to S$ is finite. In this case the integer $r$ is the dimension of $S$. Moreover we may choose $y_i$ to be in the $\mathbf{Z}$-subalgebra of $k[x_1, \ldots, x_n]$ generated by $x_1, \ldots, x_n$.

Proof. By induction on $n$, with $n = 0$ being trivial. If $I = 0$, then take $r = n$ and $y_i = x_i$. If $I \not = 0$, then choose $y_1, \ldots, y_{n-1}$ as in Lemma The equational criterion for a single module relation. Let $S' \subset S$ be the subring generated by the images of the $y_i$. By induction we can choose $r$ and $z_1, \ldots, z_r \in k[y_1, \ldots, y_{n-1}]$ such that (a), (b) hold for $k[z_1, \ldots, z_r] \to S'$. Since $S' \to S$ is injective and finite we see (a), (b) hold for $k[z_1, \ldots, z_r] \to S$. The assertion that $r = \dim(S)$ follows from Lemma Dimension, codimension and integral extensions. $\square$

Proposition. Dimension and codimension

Let $R$ be a local Noetherian ring. Let $d \geq 0$ be an integer. The following are equivalent:

  1. $\dim(R) = d$,

  2. $d(R) = d$,

  3. there exists an ideal of definition generated by $d$ elements, and no ideal of definition is generated by fewer than $d$ elements.

Proof. This proof is really just the same as the proof of Lemma Dimension and codimension. We will prove the proposition by induction on $d$. By Lemmas Dimension and codimension and Dimension and codimension we may assume that $d > 1$. Denote the minimal number of generators for an ideal of definition of $R$ by $d'(R)$. We will prove the inequalities $\dim(R) \geq d'(R) \geq d(R) \geq \dim(R)$, and hence they are all equal.

First, assume that $\dim(R) = d$. Let $\mathfrak p_i$ be the minimal primes of $R$. According to Lemma Irreducible components of a Noetherian spectrum there are finitely many. Hence we can find $x \in \mathfrak m$, $x \not \in \mathfrak p_i$, see Lemma An elementary algebraic comparison. Note that every maximal chain of primes starts with some $\mathfrak p_i$, hence the dimension of $R/xR$ is at most $d-1$. By induction there are $x_2, \ldots, x_d$ which generate an ideal of definition in $R/xR$. Hence $R$ has an ideal of definition generated by (at most) $d$ elements.

Assume $d'(R) = d$. Let $I = (x_1, \ldots, x_d)$ be an ideal of definition. Note that $I^n/I^{n + 1}$ is a quotient of a direct sum of $\binom{d + n - 1}{d - 1}$ copies $R/I$ via multiplication by all degree $n$ monomials in $x_1, \ldots, x_d$. Hence $\text{length}_R(I^n/I^{n + 1})$ is bounded by a polynomial of degree $d-1$. Thus $d(R) \leq d$.

Assume $d(R) = d$. Consider a chain of primes $\mathfrak p \subset \mathfrak q \subset \mathfrak q_2 \subset \ldots \subset \mathfrak q_e = \mathfrak m$, with all inclusions strict, and $e \geq 2$. Pick some ideal of definition $I \subset R$. We will repeatedly use Lemma Commutative algebra. First of all it implies, via the exact sequence $0 \to \mathfrak p \to R \to R/\mathfrak p \to 0$, that $d(R/\mathfrak p) \leq d$. But it clearly cannot be zero. Pick $x\in \mathfrak q$, $x\not \in \mathfrak p$. Consider the short exact sequence $$0 \to R/\mathfrak p \xrightarrow{x} R/\mathfrak p \to R/(xR + \mathfrak p) \to 0.$$ This implies that $\chi_{I, R/\mathfrak p} - \chi_{I, R/\mathfrak p}

Reading back the reader will see we proved the circular inequalities as desired. $\square$

Lemma. Criteria for a separable field extension

Let $k$ be a field of characteristic $p > 0$. Let $K/k$ be a field extension. The following are equivalent:

  1. $K$ is separable over $k$,

  2. for every $k$-linearly independent subset $\{a_1, \ldots, a_m\}$ of $K$ the set $\{a^p_1, \ldots, a_m^p\}$ is $k$-linearly independent,

  3. the ring $K \otimes_k k^{1/p}$ is reduced, and

  4. $K$ is geometrically reduced over $k$.

Proof. The implication (1) $\Rightarrow$ (4) follows from Lemma Field extensions. The implication (4) $\Rightarrow$ (3) is immediate.

Assume (3). Consider the ring homomorphism $m : K \otimes_k k^{1/p} \rightarrow K$ given by $$\lambda \otimes \mu \rightarrow \lambda^p \mu^p$$ Note that $x^p = m(x) \otimes 1$ for all $x \in K \otimes_k k^{1/p}$. Since $K \otimes_k k^{1/p}$ is reduced we see $m$ is injective. If $\{a_1, \ldots, a_m\} \subset K$ is $k$-linearly independent, then $\{a_1 \otimes 1, \ldots, a_m \otimes 1\}$ is $k^{1/p}$-linearly independent. By injectivity of $m$ we deduce that no nontrivial $k$-linear combination of $a_1^p, \ldots, a_m^p$ is is zero. Hence (3) implies (2).

Assume (2). To prove (1) we may assume that $K$ is finitely generated over $k$ and we have to prove that $K$ is separably generated over $k$. Let $\{x_1, \ldots, x_d\}$ be a transcendence base of $K/k$. By Fields, Lemma Finite algebras (programme binding) we have $[K : K'] < \infty$ where $K' = k(x_1, \ldots, x_d)$. Choose the transcendence base such that the degree of inseparability $[K : K']_i$ is minimal. If $K / K'$ is separable then we win. Assume this is not the case to get a contradiction. Then there exists $x_{d + 1} \in K$ which is not separable over $K'$, and in particular $[K'(x_{d+1}) : K']_i > 1$. Then by Lemma An elementary separability criterion there is $1 \leq j \leq n + 1$ such that $K'' = k(x_1, \ldots, \widehat{x}_j, \ldots, x_{d+1})$ satisfies $[K'(x_{d+1}) : K'']_i = 1$. By multiplicativity $[K : K'']_i < [K : K']_i$ and we obtain the contradiction. $\square$

Lemma. Formal smoothness over a prime field

Formally smooth equals separable for field extensions.

Let $k$ be a field.

  1. If the characteristic of $k$ is zero, then any extension field of $k$ is formally smooth over $k$.

  2. If the characteristic of $k$ is $p > 0$, then $K/k$ is formally smooth if and only if it is a separable field extension.

Proof. Combine Lemmas A formally smooth field extension is separable and Elementary formally smooth extensions. $\square$

Lemma. A formally smooth field extension is separable

Let $K/k$ be an extension of fields. If $K$ is formally smooth over $k$, then $K$ is a separable extension of $k$.

Proof. Assume $K$ is formally smooth over $k$. If $k$ has characteristic zero, then $K/k$ is separable. Thus we may assume that $k$ has characteristic $p > 0$. By Lemma Formal smoothness and smooth morphisms we see that $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective. Hence $K$ is separable over $k$ by Lemma Differentials of a separable field extension. $\square$

Lemma. Differentials of a separable field extension

Let $k$ be a field of characteristic $p > 0$. Let $K/k$ be a field extension. The following are equivalent:

  1. the field extension $K/k$ is separable (see Definition Separable field extensions), and

  2. the map $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective.

Proof. Write $K$ as a directed colimit $K = \mathop{\operatorname{colim}}_i K_i$ of finitely generated field extensions $K_i/k$. By definition $K$ is separable if and only if each $K_i$ is separable over $k$, and by Lemma Filtered limits and cotangent complexes and differentials we see that $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective if and only if each $K_i \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K_i/\mathbf{F}_p}$ is injective. Hence we may assume that $K/k$ is a finitely generated field extension.

Assume \(K/k\) is a finitely generated field extension which is separable. Choose \(x_1, \ldots, x_{r + 1} \in K\) as in Lemma Field extensions and finite algebras. In this case there exists an irreducible polynomial \(G(X_1, \ldots, X_{r + 1}) \in k[X_1, \ldots, X_{r + 1}]\) such that \(G(x_1, \ldots, x_{r + 1}) = 0\) and such that \(\partial G/\partial X_{r + 1}\) is not identically zero. Moreover \(K\) is the field of fractions of the domain \(S = k[X_1, \ldots, X_{r + 1}]/(G)\). Write

\[ G = \sum a_I X^I, \quad X^I = X_1^{i_1}\ldots X_{r + 1}^{i_{r + 1}}. \]

Using the presentation of \(S\) above we see that

\[ \Omega_{S/\mathbf{F}_p} = \frac{ S \otimes_k \Omega_{k/\mathbf{F}_p} \oplus \bigoplus\nolimits_{i = 1, \ldots, r + 1} S\text{d}X_i }{ \langle \sum X^I \text{d}a_I + \sum \partial G/\partial X_i \text{d}X_i \rangle } \]

Since \(\Omega_{K/\mathbf{F}_p}\) is the localization of the \(S\)-module \(\Omega_{S/\mathbf{F}_p}\) (see Lemma Cotangent complexes, differentials and local algebra) we conclude that

\[ \Omega_{K/\mathbf{F}_p} = \frac{ K \otimes_k \Omega_{k/\mathbf{F}_p} \oplus \bigoplus\nolimits_{i = 1, \ldots, r + 1} K\text{d}X_i }{ \langle \sum X^I \text{d}a_I + \sum \partial G/\partial X_i \text{d}X_i \rangle } \]

Now, since the polynomial \(\partial G/\partial X_{r + 1}\) is not identically zero we conclude that the map \(K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}\) is injective as desired.

Assume $K/k$ is a finitely generated field extension and that $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective. (This part of the proof is the same as the argument proving Lemma Criteria for a separable field extension.) Let $x_1, \ldots, x_r$ be a transcendence basis of $K$ over $k$ such that the degree of inseparability of the finite extension $k(x_1, \ldots, x_r) \subset K$ is minimal. If $K$ is separable over $k(x_1, \ldots, x_r)$ then we win. Assume this is not the case to get a contradiction. Then there exists an element $\alpha \in K$ which is not separable over $k(x_1, \ldots, x_r)$. Let $P(T) \in k(x_1, \ldots, x_r)[T]$ be its minimal polynomial. Because $\alpha$ is not separable actually $P$ is a polynomial in $T^p$. Clear denominators to get an irreducible polynomial $$G(X_1, \ldots, X_r, T) = \sum a_{I, i} X^I T^i \in k[X_1, \ldots, X_r, T]$$ such that $G(x_1, \ldots, x_r, \alpha) = 0$ in $K$. Note that this means $k[X_1, \ldots, X_r, T]/(G) \subset K$. We may assume that for some pair $(I_0, i_0)$ the coefficient $a_{I_0, i_0} = 1$. We claim that $\text{d}G/\text{d}X_i$ is not identically zero for at least one $i$. Namely, if this is not the case, then $G$ is actually a polynomial in $X_1^p, \ldots, X_r^p, T^p$. Then this means that $$\sum\nolimits_{(I, i) \not = (I_0, i_0)} x^I\alpha^i \text{d}a_{I, i}$$ is zero in $\Omega_{K/\mathbf{F}_p}$. Note that there is no $k$-linear relation among the elements $$\{x^I\alpha^i \mid a_{I, i} \not = 0 \text{ and } (I, i) \not = (I_0, i_0)\}$$ of $K$. Hence the assumption that $K \otimes_k \Omega_{k/\mathbf{F}_p} \to \Omega_{K/\mathbf{F}_p}$ is injective implies that $\text{d}a_{I, i} = 0$ in $\Omega_{k/\mathbf{F}_p}$ for all $(I, i)$. By Lemma Polynomials with zero derivative in characteristic p we see that each $a_{I, i}$ is a $p$th power, which implies that $G$ is a $p$th power contradicting the irreducibility of $G$. Thus, after renumbering, we may assume that $\text{d}G/\text{d}X_1$ is not zero. Then we see that $x_1$ is separably algebraic over $k(x_2, \ldots, x_r, \alpha)$, and that $x_2, \ldots, x_r, \alpha$ is a transcendence basis of $K$ over $k$. This means that the degree of inseparability of the finite extension $k(x_2, \ldots, x_r, \alpha) \subset K$ is less than the degree of inseparability of the finite extension $k(x_1, \ldots, x_r) \subset K$, which is a contradiction. $\square$

Lemma. Polynomials with zero derivative in characteristic p

Let $k$ be a perfect field of characteristic $p > 0$. Let $K/k$ be an extension. Let $a \in K$. Then $\text{d}a = 0$ in $\Omega_{K/k}$ if and only if $a$ is a $p$th power.

Proof. By Lemma Filtered limits and cotangent complexes and differentials we see that there exists a subfield $k \subset L \subset K$ such that $L/k$ is a finitely generated field extension and such that $\text{d}a$ is zero in $\Omega_{L/k}$. Hence we may assume that $K$ is a finitely generated field extension of $k$.

Choose a transcendence basis $x_1, \ldots, x_r \in K$ such that $K$ is finite separable over $k(x_1, \ldots, x_r)$. This is possible by the definitions, see Definitions Perfect complexes and Separable field extensions. We remark that the result holds for the purely transcendental subfield $k(x_1, \ldots, x_r) \subset K$. Namely, $$\Omega_{k(x_1, \ldots, x_r)/k} = \bigoplus\nolimits_{i = 1}^r k(x_1, \ldots, x_r) \text{d}x_i$$ and any rational function all of whose partial derivatives are zero is a $p$th power. Moreover, we also have $$\Omega_{K/k} = \bigoplus\nolimits_{i = 1}^r K\text{d}x_i$$ since $k(x_1, \ldots, x_r) \subset K$ is finite separable (computation omitted). Suppose $a \in K$ is an element such that $\text{d}a = 0$ in the module of differentials. By our choice of $x_i$ we see that the minimal polynomial $P(T) \in k(x_1, \ldots, x_r)[T]$ of $a$ is separable. Write $$P(T) = T^d + \sum\nolimits_{i = 1}^d a_i T^{d - i}$$ and hence $$0 = \text{d}P(a) = \sum\nolimits_{i = 1}^d a^{d - i}\text{d}a_i$$ in $\Omega_{K/k}$. By the description of $\Omega_{K/k}$ above and the fact that $P$ was the minimal polynomial of $a$, we see that this implies $\text{d}a_i = 0$. Hence $a_i = b_i^p$ for each $i$. Therefore by Fields, Lemma Field extensions (programme binding) we see that $a$ is a $p$th power. $\square$

Lemma. Noetherianity under finite-type base change

Let $R \to S$ be a ring map. Let $R \to R'$ be of finite type. If $S$ is Noetherian, then the base change $S' = R' \otimes_R S$ is Noetherian.

Proof. By Lemma Base change for finite algebras finite type is stable under base change. Thus $S \to S'$ is of finite type. Since $S$ is Noetherian we can apply Lemma Permanence of Noetherian rings. $\square$

Lemma. Permanence of Noetherian rings

Noetherian property is stable by passage to finite type extension and localization.

Any finitely generated ring over a Noetherian ring is Noetherian. Any localization of a Noetherian ring is Noetherian.

Proof. The statement on localizations follows from the fact that any ideal $J \subset S^{-1}R$ is of the form $I \cdot S^{-1}R$. Any quotient $R/I$ of a Noetherian ring $R$ is Noetherian because any ideal $\overline{J} \subset R/I$ is of the form $J/I$ for some ideal $I \subset J \subset R$. Thus it suffices to show that if $R$ is Noetherian so is $R[X]$. Suppose $J_1 \subset J_2 \subset \ldots$ is an ascending chain of ideals in $R[X]$. Consider the ideals $I_{i, d}$ defined as the ideal of elements of $R$ which occur as leading coefficients of degree $d$ polynomials in $J_i$. Clearly $I_{i, d} \subset I_{i', d'}$ whenever $i \leq i'$ and $d \leq d'$. By the ascending chain condition in $R$ there are at most finitely many distinct ideals among all of the $I_{i, d}$. (Hint: Any infinite set of elements of $\mathbf{N} \times \mathbf{N}$ contains an increasing infinite sequence.) Take $i_0$ so large that $I_{i, d} = I_{i_0, d}$ for all $i \geq i_0$ and all $d$. Suppose $f \in J_i$ for some $i \geq i_0$. By induction on the degree $d = \deg(f)$ we show that $f \in J_{i_0}$. Namely, there exists a $g\in J_{i_0}$ whose degree is $d$ and which has the same leading coefficient as $f$. By induction $f - g \in J_{i_0}$ and we win. $\square$

Lemma. Obtaining a separable extension

Let $K/k$ be a finitely generated field extension. There exists a diagram $$\begin{gathered}\begin{matrix}K & K' \\ k & k'\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow K' \\ k & \longrightarrow K \\ k & \longrightarrow k' \\ k' & \longrightarrow K'\end{aligned}\end{gathered}$$ where $k'/k$, $K'/K$ are finite purely inseparable field extensions such that $K'/k'$ is a separable field extension. In this situation we can assume that $K' = k'K$ is the compositum, and also that $K' = (k' \otimes_k K)_{red}$.

Proof. By Lemma Commutative algebra we can find such a diagram with $K'/k'$ separably generated. By Lemma Field extensions this implies that $K'$ is separable over $k'$. The compositum $k'K$ is a subextension of $K'/k'$ and hence $k' \subset k'K$ is separable by Lemma Field extensions. The ring $(k' \otimes_k K)_{red}$ is a domain as for some $n \gg 0$ the map $x \mapsto x^{p^n}$ maps it into $K$. Hence it is a field by Lemma Integral extensions and field extensions. Thus $(k' \otimes_k K)_{red} \to K'$ maps it isomorphically onto $k'K$. $\square$

Lemma. Descent of regularity

Let $R \to S$ be a ring map. Assume that

  1. $R \to S$ is faithfully flat, and

  2. $S$ is a regular ring.

Then $R$ is a regular ring.

Proof. We see that $R$ is Noetherian by Lemma Descent of Noetherianity. Let $\mathfrak p \subset R$ be a prime. Choose a prime $\mathfrak q \subset S$ lying over $\mathfrak p$. Then Lemma Flatness and regular ring maps applies to $R_\mathfrak p \to S_\mathfrak q$ and we conclude that $R_\mathfrak p$ is regular. Since $\mathfrak p$ was arbitrary we see $R$ is regular. $\square$

Lemma. Radical ideals under a surjection of spectra

Let $\varphi : R \to S$ be a ring map. The following are equivalent:

  1. The map $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ is surjective.

  2. For any ideal $I \subset R$ the inverse image of $\sqrt{IS}$ in $R$ is equal to $\sqrt{I}$.

  3. For any radical ideal $I \subset R$ the inverse image of $IS$ in $R$ is equal to $I$.

  4. For every prime $\mathfrak p$ of $R$ the inverse image of $\mathfrak p S$ in $R$ is $\mathfrak p$.

In this case the same is true after any base change: Given a ring map $R \to R'$ the ring map $R' \to R' \otimes_R S$ has the equivalent properties (1), (2), (3) as well.

Proof. If $J \subset S$ is an ideal, then $\sqrt{\varphi^{-1}(J)} = \varphi^{-1}(\sqrt{J})$. This shows that (2) and (3) are equivalent. The implication (3) $\Rightarrow$ (4) is immediate. If $I \subset R$ is a radical ideal, then Lemma The Zariski topology on an affine spectrum guarantees that $I = \bigcap_{I \subset \mathfrak p} \mathfrak p$. Hence (4) $\Rightarrow$ (2). By Lemma A point in the image of a spectrum map we have $\mathfrak p = \varphi^{-1}(\mathfrak p S)$ if and only if $\mathfrak p$ is in the image. Hence (1) $\Leftrightarrow$ (4). Thus (1), (2), (3), and (4) are equivalent.

Assume (1) holds. Let $R \to R'$ be a ring map. Let $\mathfrak p' \subset R'$ be a prime ideal lying over the prime $\mathfrak p$ of $R$. To see that $\mathfrak p'$ is in the image of $\operatorname{Spec}(R' \otimes_R S) \to \operatorname{Spec}(R')$ we have to show that $(R' \otimes_R S) \otimes_{R'} \kappa(\mathfrak p')$ is not zero, see Lemma A point in the image of a spectrum map. But we have $$(R' \otimes_R S) \otimes_{R'} \kappa(\mathfrak p') = S \otimes_R \kappa(\mathfrak p) \otimes_{\kappa(\mathfrak p)} \kappa(\mathfrak p')$$ which is not zero as $S \otimes_R \kappa(\mathfrak p)$ is not zero by assumption and $\kappa(\mathfrak p) \to \kappa(\mathfrak p')$ is an extension of fields. $\square$

Lemma. A reformulation of the local algebraic condition

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $M$ be an $R$-module. If $M/IM$ is flat over $R/I$ and $\text{Tor}_1^R(R/I, M) = 0$ then

  1. $M/I^nM$ is flat over $R/I^n$ for all $n \geq 1$, and

  2. for any module $N$ which is annihilated by $I^m$ for some $m \geq 0$ we have $\text{Tor}_1^R(N, M) = 0$.

In particular, if $I$ is nilpotent, then $M$ is flat over $R$.

Proof. Assume $M/IM$ is flat over $R/I$ and $\text{Tor}_1^R(R/I, M) = 0$. Let $N$ be an $R/I$-module. Choose a set $\Lambda$ and a short exact sequence $$0 \to K \to \bigoplus\nolimits_{\lambda \in \Lambda} R/I \to N \to 0$$ By the long exact sequence of $\text{Tor}$ and the vanishing of $\text{Tor}_1^R(R/I, M)$ we get $$0 \to \text{Tor}_1^R(N, M) \to K \otimes_R M \to (\bigoplus\nolimits_{\lambda \in \Lambda} R/I) \otimes_R M \to N \otimes_R M \to 0$$ But since $K$, $\bigoplus_{\lambda \in \Lambda} R/I$, and $N$ are all annihilated by $I$ we see that $$\begin{aligned} K \otimes_R M & = K \otimes_{R/I} M/IM, \\ (\bigoplus\nolimits_{\lambda \in \Lambda} R/I) \otimes_R M & = (\bigoplus\nolimits_{\lambda \in \Lambda} R/I) \otimes_{R/I} M/IM, \\ N \otimes_R M & = N \otimes_{R/I} M/IM. \end{aligned}$$ As $M/IM$ is flat over $R/I$ we conclude that $$0 \to K \otimes_{R/I} M/IM \to (\bigoplus\nolimits_{\lambda \in \Lambda} R/I) \otimes_{R/I} M/IM \to N \otimes_{R/I} M/IM \to 0$$ is exact. Combining this with the above we conclude that $\text{Tor}_1^R(N, M) = 0$ for any $R$-module $N$ annihilated by $I$.

Let us prove (2) by induction on $m$. The case $m = 1$ was done in the previous paragraph. For $N$ annihilated by $I^m$ for $m > 1$ we may choose an exact sequence $0 \to N' \to N \to N'' \to 0$ with $N'$ and $N''$ annihilated by $I^{m - 1}$. For example one can take $N' = IN$ and $N'' = N/IN$. Then the exact sequence $$\text{Tor}_1^R(N', M) \to \text{Tor}_1^R(N, M) \to \text{Tor}_1^R(N'', M)$$ and induction prove the vanishing we want.

Finally, we prove (1). Given $n \geq 1$ we have to show that $M/I^nM$ is flat over $R/I^n$. In other words, we have to show that the functor $N \mapsto N \otimes_{R/I^n} M/I^nM$ is exact on the category of $R$-modules $N$ annihilated by $I^n$. However, for such $N$ we have $N \otimes_{R/I^n} M/I^nM = N \otimes_R M$. By the vanishing of $\text{Tor}_1$ in (2) we see that the functor $N \mapsto N \otimes_R M$ is exact on the category of $N$ annihilated by some power of $I$ and we conclude. $\square$

Remark. Tor for a quotient by an ideal

The proof of Lemma Criteria for flatness actually shows that $$\text{Tor}_1^R(M, R/I)

\operatorname{Ker}(I \otimes_R M \to M).$$

Lemma. Finite modules over a finite ring extension

Let $R \to S$ be a finite ring map. Let $M$ be an $S$-module. Then $M$ is finite as an $R$-module if and only if $M$ is finite as an $S$-module.

Proof. One of the implications follows from Lemma Finite algebras. To see the other assume that $M$ is finite as an $S$-module. Pick $x_1, \ldots, x_n \in S$ which generate $S$ as an $R$-module. Pick $y_1, \ldots, y_m \in M$ which generate $M$ as an $S$-module. Then $x_i y_j$ generate $M$ as an $R$-module. $\square$

Lemma. Finitely many maximal ideals in an Artinian ring

If $R$ is Artinian then $R$ has only finitely many maximal ideals.

Proof. Suppose that $\mathfrak m_i$, $i = 1, 2, 3, \ldots$ are pairwise distinct maximal ideals. Then $\mathfrak m_1 \supset \mathfrak m_1\cap \mathfrak m_2 \supset \mathfrak m_1 \cap \mathfrak m_2 \cap \mathfrak m_3 \supset \ldots$ is an infinite descending sequence (because by the Chinese remainder theorem all the maps $R \to \oplus_{i = 1}^n R/\mathfrak m_i$ are surjective). $\square$

Lemma. Nilpotence of the radical of an Artinian ring

Let $R$ be Artinian. The Jacobson radical of $R$ is a nilpotent ideal.

Proof. Let $I \subset R$ be the Jacobson radical. Note that $I \supset I^2 \supset I^3 \supset \ldots$ is a descending sequence. Thus $I^n = I^{n + 1}$ for some $n$. Set $J = \{ x\in R \mid xI^n = 0\}$. We have to show $J = R$. If not, choose an ideal $J' \not = J$, $J \subset J'$ minimal (possible by the Artinian property). Then $J'/J$ is a simple $R$-module, hence isomorphic to $R/\mathfrak m$ for some maximal ideal $\mathfrak m$, see Lemma Criteria for commutative algebra. Then $\mathfrak m I^n$ kills $J'$. Since $I \subset \mathfrak m$ we conclude that $I^{n + 1} = I^n$ kills $J'$. Hence $J' = J$ which is a contradiction. $\square$

Lemma. Vector-space dimension and module length

Let $R$ be a ring with maximal ideal $\mathfrak m$. Suppose that $M$ is an $R$-module with $\mathfrak m M = 0$. Then the length of $M$ as an $R$-module agrees with the dimension of $M$ as a $R/\mathfrak m$ vector space. The length is finite if and only if $M$ is a finite $R$-module.

Proof. The first part is a special case of Lemma Independence of a composition series. Thus the length is finite if and only if $M$ has a finite basis as a $R/\mathfrak m$-vector space if and only if $M$ has a finite set of generators as an $R$-module. $\square$

Lemma. Extending a morphism after finite denominators are cleared

Let $R$ be a ring. Let $\alpha : R^{\oplus n} \to M$ and $\beta : N \to M$ be module maps. If $\operatorname{Im}(\alpha) \subset \operatorname{Im}(\beta)$, then there exists an $R$-module map $\gamma : R^{\oplus n} \to N$ such that $\alpha = \beta \circ \gamma$.

Proof. Let $e_i = (0, \ldots, 0, 1, 0, \ldots, 0)$ be the $i$th basis vector of $R^{\oplus n}$. Let $x_i \in N$ be an element with $\alpha(e_i) = \beta(x_i)$ which exists by assumption. Set $\gamma(a_1, \ldots, a_n) = \sum a_i x_i$. By construction $\alpha = \beta \circ \gamma$. $\square$

Lemma. Smoothness at a generic point

Let $R \to S$ be an injective finite type ring map with $R$ and $S$ domains. Then $R \to S$ is smooth at $\mathfrak q = (0)$ if and only if the induced extension $L/K$ of fraction fields is separable.

Proof. Assume $R \to S$ is smooth at $(0)$. We may replace $S$ by $S_g$ for some nonzero $g \in S$ and assume that $R \to S$ is smooth. Then $K \to S \otimes_R K$ is smooth (Lemma Base change of smooth ring maps). Moreover, for any field extension $K'/K$ the ring map $K' \to S \otimes_R K'$ is smooth as well. Hence $S \otimes_R K'$ is a regular ring by Lemma Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3, in particular reduced. It follows that $S \otimes_R K$ is geometrically reduced over $K$. Hence $L$ is geometrically reduced over $K$, see Lemma Commutative algebra. Hence $L/K$ is separable by Lemma Criteria for a separable field extension.

Conversely, assume that $L/K$ is separable. We may assume $R \to S$ is of finite presentation, see Lemma Finite presentation and finite algebras. It suffices to prove that $K \to S \otimes_R K$ is smooth at $(0)$, see Lemma The smooth locus under flat base change. This follows from Lemma Smooth morphisms and field extensions, the fact that a field is a regular ring, and the assumption that $L/K$ is separable. $\square$

Lemma. The quasi-finite open in an integral closure

Let $R \to S$ be a finite type ring map. Suppose that $S$ is quasi-finite over $R$. Let $S' \subset S$ be the integral closure of $R$ in $S$. Then

  1. $\operatorname{Spec}(S) \to \operatorname{Spec}(S')$ is a homeomorphism onto an open subset,

  2. if $g \in S'$ and $D(g)$ is contained in the image of the map, then $S'_g \cong S_g$, and

  3. there exists a finite $R$-algebra $S'' \subset S'$ such that (1) and (2) hold for the ring map $S'' \to S$.

Proof. Because $S/R$ is quasi-finite we may apply Theorem Zariski's main theorem in affine algebra to each point $\mathfrak q$ of $\operatorname{Spec}(S)$. Since $\operatorname{Spec}(S)$ is quasi-compact, see Lemma Quasi-compactness of an affine spectrum, we may choose a finite number of $g_i \in S'$, $i = 1, \ldots, n$ such that $S'_{g_i} = S_{g_i}$, and such that $g_1, \ldots, g_n$ generate the unit ideal in $S$ (in other words the standard opens of $\operatorname{Spec}(S)$ associated to $g_1, \ldots, g_n$ cover all of $\operatorname{Spec}(S)$).

Suppose that $D(g) \subset \operatorname{Spec}(S')$ is contained in the image. Then $D(g) \subset \bigcup D(g_i)$. In other words, $g_1, \ldots, g_n$ generate the unit ideal of $S'_g$. Note that $S'_{gg_i} \cong S_{gg_i}$ by our choice of $g_i$. Hence $S'_g \cong S_g$ by Lemma A finite cover by affine localizations.

We construct a finite algebra $S'' \subset S'$ as in (3). To do this note that each $S'_{g_i} \cong S_{g_i}$ is a finite type $R$-algebra. For each $i$ pick some elements $y_{ij} \in S'$ such that each $S'_{g_i}$ is generated as $R$-algebra by $1/g_i$ and the elements $y_{ij}$. Then set $S''$ equal to the sub $R$-algebra of $S'$ generated by all $g_i$ and all the $y_{ij}$. Details omitted. $\square$

Lemma. Finiteness after completion

Let $R \to S$ be a local homomorphism of local rings $(R, \mathfrak m)$ and $(S, \mathfrak n)$. Let $R^\wedge$, resp. $S^\wedge$ be the completion of $R$, resp. $S$ with respect to $\mathfrak m$, resp. $\mathfrak n$. If $\mathfrak m$ and $\mathfrak n$ are finitely generated and $\dim_{\kappa(\mathfrak m)} S/\mathfrak mS < \infty$, then

  1. $S^\wedge$ is equal to the $\mathfrak m$-adic completion of $S$, and

  2. $S^\wedge$ is a finite $R^\wedge$-module.

Proof. We have $\mathfrak mS \subset \mathfrak n$ because $R \to S$ is a local ring map. The assumption $\dim_{\kappa(\mathfrak m)} S/\mathfrak mS < \infty$ implies that $S/\mathfrak mS$ is an Artinian ring, see Lemma Dimension, codimension and finite algebras. Hence it has dimension $0$, see Lemma Dimension, codimension and Noetherian rings, hence $\mathfrak n = \sqrt{\mathfrak mS}$. This and the fact that $\mathfrak n$ is finitely generated implies that $\mathfrak n^t \subset \mathfrak mS$ for some $t \geq 1$. By Lemma Changing the ideal of completion we see that $S^\wedge$ can be identified with the $\mathfrak m$-adic completion of $S$. As $\mathfrak m$ is finitely generated we see from Lemma Finite algebras that $S^\wedge$ and $R^\wedge$ are $\mathfrak m$-adically complete. At this point we may apply Lemma Finite algebras over a complete ring to $S^\wedge$ as an $R^\wedge$-module to conclude. $\square$

Proposition. Rings of dimension zero

Let $R$ be a ring. The following are equivalent:

  1. $R$ is Artinian,

  2. $R$ is Noetherian and $\dim(R) \leq 0$,

  3. $R$ has finite length as a module over itself,

  4. $R$ is a finite product of Artinian local rings,

  5. $R$ is Noetherian and $\operatorname{Spec}(R)$ is a finite discrete topological space,

  6. $R$ is a finite product of Noetherian local rings of dimension $0$,

  7. $R$ is a finite product of Noetherian local rings $R_i$ with $d(R_i) = 0$,

  8. $R$ is a finite product of Noetherian local rings $R_i$ whose maximal ideals are nilpotent,

  9. $R$ is Noetherian, has finitely many maximal ideals and its Jacobson radical ideal is nilpotent, and

  10. $R$ is Noetherian and there are no strict inclusions among its primes.

Proof. This is a combination of Lemmas Local factors of a product ring, Finite length over an Artinian ring, Dimension, codimension and Noetherian rings, and Dimension and codimension. $\square$

Lemma. Flatness and regular ring maps

Let $R \to S$ be a local homomorphism of local Noetherian rings. Assume that $R \to S$ is flat and that $S$ is regular. Then $R$ is regular.

Proof. Let $\mathfrak m \subset R$ be the maximal ideal and let $\kappa = R/\mathfrak m$ be the residue field. Let $d = \dim S$. Choose any resolution $F_\bullet \to \kappa$ with each $F_i$ a finite free $R$-module. Set $K_d = \operatorname{Ker}(F_{d - 1} \to F_{d - 2})$. By flatness of $R \to S$ the complex $0 \to K_d \otimes_R S \to F_{d - 1} \otimes_R S \to \ldots \to F_0 \otimes_R S \to \kappa \otimes_R S \to 0$ is still exact. Because the global dimension of $S$ is $d$, see Proposition Regular rings and dimension and codimension, we see that $K_d \otimes_R S$ is a finite free $S$-module (see also Lemma Independence of a projective resolution). By Lemma Projective, locally free modules and finite algebras we see that $K_d$ is a finite free $R$-module. Hence $\kappa$ has finite projective dimension and $R$ is regular by Proposition Regular rings and dimension and codimension. $\square$

Lemma. Noether normalization over a domain

Let $R \to S$ be an injective finite type ring map. Assume $R$ is a domain. Then there exists an integer $d$ and a factorization $$R \to R[y_1, \ldots, y_d] \to S' \to S$$ by injective maps such that $S'$ is finite over $R[y_1, \ldots, y_d]$ and such that $S'_f \cong S_f$ for some nonzero $f \in R$.

Proof. Pick $x_1, \ldots, x_n \in S$ which generate $S$ over $R$. Let $K$ be the fraction field of $R$ and $S_K = S \otimes_R K$. By Lemma Noether normalization we can find $y_1, \ldots, y_d \in S$ such that $K[y_1, \ldots, y_d] \to S_K$ is a finite injective map. Note that $y_i \in S$ because we may pick the $y_j$ in the $\mathbf{Z}$-algebra generated by $x_1, \ldots, x_n$. As a finite ring map is integral (see Lemma Integral extensions and finite algebras) we can find monic $P_i \in K[y_1, \ldots, y_d][T]$ such that $P_i(x_i) = 0$ in $S_K$. Let $f \in R$ be a nonzero element such that $fP_i \in R[y_1, \ldots, y_d][T]$ for all $i$. Then $fP_i(x_i)$ maps to zero in $S_K$. Hence after replacing $f$ by another nonzero element of $R$ we may also assume $fP_i(x_i)$ is zero in $S$. Set $x_i' = fx_i$ and let $S' \subset S$ be the $R$-subalgebra generated by $y_1, \ldots, y_d$ and $x'_1, \ldots, x'_n$. Note that $x'_i$ is integral over $R[y_1, \ldots, y_d]$ as we have $Q_i(x_i') = 0$ where $Q_i = f^{\deg_T(P_i)}P_i(T/f)$ which is a monic polynomial in $T$ with coefficients in $R[y_1, \ldots, y_d]$ by our choice of $f$. Hence $R[y_1, \ldots, y_d] \subset S'$ is finite by Lemma Criteria for integral extensions and finite algebras. Since $S' \subset S$ we have $S'_f \subset S_f$ (localization is exact). On the other hand, the elements $x_i = x'_i/f$ in $S'_f$ generate $S_f$ over $R_f$ and hence $S'_f \to S_f$ is surjective. Whence $S'_f \cong S_f$ and we win. $\square$

Lemma. Changing the ideal of completion

Let $R$ be a ring. Let $I$, $J$ be ideals of $R$. Assume there exist integers $c, d > 0$ such that $I^c \subset J$ and $J^d \subset I$. Then completion with respect to $I$ agrees with completion with respect to $J$ for any $R$-module. In particular an $R$-module $M$ is $I$-adically complete if and only if it is $J$-adically complete.

Proof. Consider the system of maps $M/I^nM \to M/J^{\lfloor n/c \rfloor}M$ and the system of maps $M/J^mM \to M/I^{\lfloor m/d \rfloor}M$ to get mutually inverse maps between the completions. $\square$

Lemma. Finite algebras over a complete ring

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $M$ be an $R$-module. Assume

  1. $R$ is $I$-adically complete,

  2. $\bigcap_{n \geq 1} I^nM = (0)$, and

  3. $M/IM$ is a finite $R/I$-module.

Then $M$ is a finite $R$-module.

Proof. Let $x_1, \ldots, x_n \in M$ be elements whose images in $M/IM$ generate $M/IM$ as an $R/I$-module. Denote by $M' \subset M$ the $R$-submodule generated by $x_1, \ldots, x_n$. By Lemma Complete rings and formal power series the map $(M')^\wedge \to M^\wedge$ is surjective. Since $\bigcap I^nM = 0$ we see in particular that $\bigcap I^nM' = (0)$. Hence by Lemma Complete rings, formal power series and modules we see that $M'$ is complete, and we conclude that $M' \to M^\wedge$ is surjective. Finally, the kernel of $M \to M^\wedge$ is zero since it is equal to $\bigcap I^nM = (0)$. Hence we conclude that $M \cong M' \cong M^\wedge$ is finitely generated. $\square$

Lemma. Dimension under an integral extension

Suppose that $R \to S$ is a ring map such that $S$ is integral over $R$. Then $\dim (R) \geq \dim(S)$, and every closed point of $\operatorname{Spec}(S)$ maps to a closed point of $\operatorname{Spec}(R)$.

Proof. Immediate from Lemmas Incomparability for an integral ring map and Commutative algebra and the definitions. $\square$

Lemma. Localizations at minimal primes of a reduced ring

Let $\mathfrak p$ be a minimal prime of a ring $R$. Every element of the maximal ideal of $R_{\mathfrak p}$ is nilpotent. If $R$ is reduced then $R_{\mathfrak p}$ is a field.

Proof. If some element $x$ of ${\mathfrak p}R_{\mathfrak p}$ is not nilpotent, then $D(x) \not = \emptyset$, see Lemma The Zariski topology on an affine spectrum. This contradicts the minimality of $\mathfrak p$. If $R$ is reduced, then ${\mathfrak p}R_{\mathfrak p} = 0$ and hence $R_{\mathfrak p}$ is a field. $\square$

Lemma. Geometric regularity over a subfield

Let $k$ be a field. Let $A$ be an algebra over $k$. Let $k = \mathop{\operatorname{colim}} k_i$ be a directed colimit of subfields. If $A$ is geometrically regular over each $k_i$, then $A$ is geometrically regular over $k$.

Proof. Let $k'/k$ be a finite purely inseparable field extension. We can get $k'$ by adjoining finitely many variables to $k$ and imposing finitely many polynomial relations. Hence we see that there exists an $i$ and a finite purely inseparable field extension $k_i'/k_i$ such that $k' = k \otimes_{k_i} k_i'$. Thus $A \otimes_k k' = A \otimes_{k_i} k_i'$ and the lemma is clear. $\square$

Lemma. Ascent of geometric regularity

Let $k$ be a field. Let $A \to B$ be a smooth ring map of $k$-algebras. If $A$ is geometrically regular over $k$, then $B$ is geometrically regular over $k$.

Proof. Let $k'/k$ be a finitely generated field extension. Then $A \otimes_k k' \to B \otimes_k k'$ is a smooth ring map (Lemma Base change of smooth ring maps) and $A \otimes_k k'$ is regular. Hence $B \otimes_k k'$ is regular by Lemma Regularity ascends along a regular ring map. $\square$

Definition. Formally smooth ring maps

Let $R \to S$ be a ring map. We say $S$ is formally smooth over $R$ if for every commutative solid diagram $$\begin{gathered}\begin{matrix}S & A/I \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow A/I \\ S & \dashrightarrow A \\ R & \longrightarrow A \\ R & \longrightarrow S \\ A & \longrightarrow A/I\end{aligned}\end{gathered}$$ where $I \subset A$ is an ideal of square zero, a dotted arrow exists which makes the diagram commute.

Lemma. Finite algebras

Source credit: the original source citation Matlis (Theorem 15). The slick proof given here is from an email of Bjorn Poonen dated Nov 5, 2016.

Let $R$ be a ring. Let $I$ be a finitely generated ideal of $R$. Let $M$ be an $R$-module. Then

  1. the completion $M^\wedge$ is $I$-adically complete, and

  2. $I^nM^\wedge = \operatorname{Ker}(M^\wedge \to M/I^nM) = (I^nM)^\wedge$ for all $n \geq 1$.

In particular $R^\wedge$ is $I$-adically complete, $I^nR^\wedge = (I^n)^\wedge$, and $R^\wedge/I^nR^\wedge = R/I^n$.

Proof. Since $I$ is finitely generated, $I^n$ is finitely generated, say by $f_1, \ldots, f_r$. Applying Lemma Complete rings and formal power series part (2) to the surjection $(f_1, \ldots, f_r) : M^{\oplus r} \to I^n M$ yields a surjection $$(M^\wedge)^{\oplus r} \xrightarrow{(f_1, \ldots, f_r)} (I^n M)^\wedge = \varprojlim_{m \geq n} I^n M/I^m M = \operatorname{Ker}(M^\wedge \to M/I^n M).$$ On the other hand, the image of $(f_1, \ldots, f_r) : (M^\wedge)^{\oplus r} \to M^\wedge$ is $I^n M^\wedge$. Thus $M^\wedge / I^n M^\wedge \simeq M/I^n M$. Taking inverse limits yields $(M^\wedge)^\wedge \simeq M^\wedge$; that is, $M^\wedge$ is $I$-adically complete. $\square$

Lemma. Commutative algebra

Let $\varphi : R \to S$ be a ring map. Assume

  1. $R$ is Noetherian,

  2. $S$ is Noetherian,

  3. $\varphi$ is flat,

  4. the fibre rings $S \otimes_R \kappa(\mathfrak p)$ have property $(R_k)$, and

  5. $R$ has property $(R_k)$.

Then $S$ has property $(R_k)$.

Proof. Let \(\mathfrak q\) be a prime of \(S\) lying over a prime \(\mathfrak p\) of \(R\). Assume that \(\dim(S_{\mathfrak q}) \leq k\). Since \(\dim(S_{\mathfrak q}) = \dim(R_{\mathfrak p}) + \dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q})\) by Lemma Dimension of a flat family we see that \(\dim(R_{\mathfrak p}) \leq k\) and \(\dim(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}) \leq k\). Hence \(R_{\mathfrak p}\) and \(S_{\mathfrak q}/\mathfrak pS_{\mathfrak q}\) are regular by assumption. It follows that \(S_{\mathfrak q}\) is regular by Lemma Regularity over a regular base with regular fibre. \(\square\)

Lemma. Filtered limits and finite presentation and modules

Let $R$ be a ring and let $M$ be an $R$-module. Then $M$ is the colimit of a directed system $(M_i, \mu_{ij})$ of $R$-modules with all $M_i$ finitely presented $R$-modules.

Proof. Consider any finite subset $S \subset M$ and any finite collection of relations $E$ among the elements of $S$. So each $s \in S$ corresponds to $x_s \in M$ and each $e \in E$ consists of a vector of elements $f_{e, s} \in R$ such that $\sum f_{e, s} x_s = 0$. Let $M_{S, E}$ be the cokernel of the map $$R^{\# E} \longrightarrow R^{\# S}, \quad (g_e)_{e\in E} \longmapsto (\sum g_e f_{e, s})_{s\in S}.$$ There are canonical maps $M_{S, E} \to M$. If $S \subset S'$ and if the elements of $E$ correspond, via this map, to relations in $E'$, then there is an obvious map $M_{S, E} \to M_{S', E'}$ commuting with the maps to $M$. Let $I$ be the set of pairs $(S, E)$ with ordering by inclusion as above. It is clear that the colimit of this directed system is $M$. $\square$

Lemma. Commutative algebra

Let $$0 \to A_i \xrightarrow{f_i} B_i \xrightarrow{g_i} C_i \to 0$$ be an exact sequence of directed inverse systems of abelian groups over $I$. Suppose $I$ is countable. If $(A_i)$ is Mittag-Leffler, then $$0 \to \varprojlim A_i \to \varprojlim B_i \to \varprojlim C_i\to 0$$ is exact.

Proof. Taking limits of directed inverse systems is left exact, hence we only need to prove surjectivity of $\varprojlim B_i \to \varprojlim C_i$. So let $(c_i) \in \varprojlim C_i$. For each $i \in I$, let $E_i = g_i^{-1}(c_i)$, which is nonempty since $g_i: B_i \to C_i$ is surjective. The system of maps $\varphi_{ji}: B_j \to B_i$ for $(B_i)$ restrict to maps $E_j \to E_i$ which make $(E_i)$ into an inverse system of nonempty sets. It is enough to show that $(E_i)$ is Mittag-Leffler. For then Lemma Commutative algebra would show $\varprojlim E_i$ is nonempty, and taking any element of $\varprojlim E_i$ would give an element of $\varprojlim B_i$ mapping to $(c_i)$.

By the injection $f_i: A_i \to B_i$ we will regard $A_i$ as a subset of $B_i$. Since $(A_i)$ is Mittag-Leffler, if $i \in I$ then there exists $j \geq i$ such that $\varphi_{ki}(A_k) = \varphi_{ji}(A_j)$ for $k \geq j$. We claim that also $\varphi_{ki}(E_k) = \varphi_{ji}(E_j)$ for $k \geq j$. Always $\varphi_{ki}(E_k) \subset \varphi_{ji}(E_j)$ for $k \geq j$. For the reverse inclusion let $e_j \in E_j$, and we need to find $x_k \in E_k$ such that $\varphi_{ki}(x_k) = \varphi_{ji}(e_j)$. Let $e'_k \in E_k$ be any element, and set $e'_j = \varphi_{kj}(e'_k)$. Then $g_j(e_j - e'_j) = c_j - c_j = 0$, hence $e_j - e'_j = a_j \in A_j$. Since $\varphi_{ki}(A_k) = \varphi_{ji}(A_j)$, there exists $a_k \in A_k$ such that $\varphi_{ki}(a_k) = \varphi_{ji}(a_j)$. Hence $$\varphi_{ki}(e'_k + a_k) = \varphi_{ji}(e'_j) + \varphi_{ji}(a_j) = \varphi_{ji}(e_j),$$ so we can take $x_k = e'_k + a_k$. $\square$

Lemma. Proper morphisms and modules

Let $R$ be a ring. Let $S \subset R$ be a multiplicative subset. Let $M$, $N$ be $R$-modules. Assume all the elements of $S$ act as automorphisms on $N$. Then the canonical map $$\operatorname{Hom}_R(S^{-1}M, N) \longrightarrow \operatorname{Hom}_R(M, N)$$ induced by the localization map, is an isomorphism.

Proof. It is clear that the map is well-defined and $R$-linear. Injectivity: Let $\alpha \in \operatorname{Hom}_R(S^{-1}M, N)$ and take an arbitrary element $m/s \in S^{-1}M$. Then, since $s \cdot \alpha(m/s) = \alpha(m/1)$, we have $\alpha(m/s) =s^{-1}(\alpha (m/1))$, so $\alpha$ is completely determined by what it does on the image of $M$ in $S^{-1}M$. Surjectivity: Let $\beta : M \rightarrow N$ be a given $R$-linear map. We need to show that it can be "extended" to $S^{-1}M$. Define a map of sets $$M \times S \rightarrow N,\quad (m,s) \mapsto s^{-1}\beta(m)$$ Clearly, this map respects the equivalence relation from above, so it descends to a well-defined map $\alpha : S^{-1}M \rightarrow N$. It remains to show that this map is $R$-linear, so take $r, r' \in R$ as well as $s, s' \in S$ and $m, m' \in M$. Then $$\begin{aligned} \alpha(r \cdot m/s + r' \cdot m' /s') & = \alpha((r \cdot s' \cdot m + r' \cdot s \cdot m') /(ss')) \\ & = (ss')^{-1}\beta(r \cdot s' \cdot m + r' \cdot s \cdot m') \\ & = (ss')^{-1} (r \cdot s' \beta (m) + r' \cdot s \beta (m')) \\ & = r \alpha (m/s) + r' \alpha (m' /s') \end{aligned}$$ and we win. $\square$

Lemma. Tensor products and direct sums

Let $R$ be a ring. Let $A_1 \to A_0$ and $B_1 \to B_0$ be two term complexes. Suppose that there exist morphisms of complexes $\varphi : A_\bullet \to B_\bullet$ and $\psi : B_\bullet \to A_\bullet$ such that $\varphi \circ \psi$ and $\psi \circ \varphi$ are homotopic to the identity maps. Then $A_1 \oplus B_0 \cong B_1 \oplus A_0$ as $R$-modules.

Proof. Choose a map $h : A_0 \to A_1$ such that $$\text{id}_{A_1} - \psi_1 \circ \varphi_1 = h \circ d_A \text{ and } \text{id}_{A_0} - \psi_0 \circ \varphi_0 = d_A \circ h.$$ Similarly, choose a map $h' : B_0 \to B_1$ such that $$\text{id}_{B_1} - \varphi_1 \circ \psi_1 = h' \circ d_B \text{ and } \text{id}_{B_0} - \varphi_0 \circ \psi_0 = d_B \circ h'.$$ A trivial computation shows that $$\left( \begin{matrix} \text{id}{A_1} & -\psi_1 \circ h' + h \circ \psi_0 \ 0 & \text{id}{B_0} \end{matrix} \right)

\left( \begin{matrix} \psi_1 & h \ -d_B & \varphi_0 \end{matrix} \right) \left( \begin{matrix} \varphi_1 & - h' \ d_A & \psi_0 \end{matrix} \right).$$ The product in the reverse order is also upper triangular with identity diagonal entries. Thus both products are invertible, so both factors are invertible and the lemma follows. $\square$

Lemma. Koszul complexes, regular sequences and regular rings

Suppose that $R \to S$ is a flat and local ring homomorphism of Noetherian local rings. Denote by $\mathfrak m$ the maximal ideal of $R$. Suppose $f_1, \ldots, f_c$ is a sequence of elements of $S$ such that the images $\overline{f}_1, \ldots, \overline{f}_c$ form a regular sequence in $S/{\mathfrak m}S$. Then $f_1, \ldots, f_c$ is a regular sequence in $S$ and each of the quotients $S/(f_1, \ldots, f_i)$ is flat over $R$.

Proof. Induction and Lemma Commutative algebra (programme binding). $\square$

Lemma. Complete rings, formal power series and Noetherian rings

Let $R$ be a ring. Let $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ be a relative global complete intersection (Definition Relative global complete intersections). There exists a finite type $\mathbf{Z}$-subalgebra $R_0 \subset R$ such that $f_i \in R_0[x_1, \ldots, x_n]$ and such that $$S_0 = R_0[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$$ is a relative global complete intersection.

Proof. Let $R_0 \subset R$ be the $\mathbf{Z}$-algebra of $R$ generated by all the coefficients of the polynomials $f_1, \ldots, f_c$. Let $S_0 = R_0[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$. Clearly, $S = R \otimes_{R_0} S_0$. Pick a prime $\mathfrak q \subset S$ and denote by $\mathfrak p \subset R$, $\mathfrak q_0 \subset S_0$, and $\mathfrak p_0 \subset R_0$ the primes it lies over. Because $\dim (S \otimes_R \kappa(\mathfrak p) ) = n - c$ we also have $\dim (S_0 \otimes_{R_0} \kappa(\mathfrak p_0)) = n - c$, see Lemma Dimension, codimension and field extensions. By Lemma An open neighbourhood with bounded fibre dimension there exists a $g \in S_0$, $g \not \in \mathfrak q_0$ such that all nonempty fibres of $R_0 \to (S_0)_g$ have dimension $\leq n - c$. As $\mathfrak q$ was arbitrary and $\operatorname{Spec}(S)$ quasi-compact, we can find finitely many $g_1, \ldots, g_m \in S_0$ such that (a) for $j = 1, \ldots, m$ the nonempty fibres of $R_0 \to (S_0)_{g_j}$ have dimension $\leq n - c$ and (b) the image of $\operatorname{Spec}(S) \to \operatorname{Spec}(S_0)$ is contained in $D(g_1) \cup \ldots \cup D(g_m)$. In other words, the images of $g_1, \ldots, g_m$ in $S = R \otimes_{R_0} S_0$ generate the unit ideal. After increasing $R_0$ we may assume that $g_1, \ldots, g_m$ generate the unit ideal in $S_0$. By (a) the nonempty fibres of $R_0 \to S_0$ all have dimension $\leq n - c$ and we conclude. $\square$

Lemma. Filtered limits and commutative algebra

Filtered colimits are exact. Directed colimits are exact.

Let $I$ be a directed set. Let $(L_i, \lambda_{ij})$, $(M_i, \mu_{ij})$, and $(N_i, \nu_{ij})$ be systems of $R$-modules over $I$. Let $\varphi_i : L_i \to M_i$ and $\psi_i : M_i \to N_i$ be morphisms of systems over $I$. Assume that for all $i \in I$ the sequence of $R$-modules $$\begin{gathered}\begin{matrix}L_i & M_i & N_i\end{matrix} \\[6pt] \begin{aligned}L_i & \xrightarrow{\varphi_i} M_i \\ M_i & \xrightarrow{\psi_i} N_i\end{aligned}\end{gathered}$$ is a complex with homology $H_i$. Then the $R$-modules $H_i$ form a system over $I$, the sequence of $R$-modules $$\begin{gathered}\begin{matrix}\mathop{\operatorname{colim}}_i L_i & \mathop{\operatorname{colim}}_i M_i & \mathop{\operatorname{colim}}_i N_i\end{matrix} \\[6pt] \begin{aligned}\mathop{\operatorname{colim}}_i L_i & \xrightarrow{\varphi} \mathop{\operatorname{colim}}_i M_i \\ \mathop{\operatorname{colim}}_i M_i & \xrightarrow{\psi} \mathop{\operatorname{colim}}_i N_i\end{aligned}\end{gathered}$$ is a complex as well, and denoting $H$ its homology we have $$H = \mathop{\operatorname{colim}}_i H_i.$$

Proof. It is clear that $\begin{gathered}\begin{matrix}\mathop{\operatorname{colim}}_i L_i & \mathop{\operatorname{colim}}_i M_i & \mathop{\operatorname{colim}}_i N_i\end{matrix} \\[6pt] \begin{aligned}\mathop{\operatorname{colim}}_i L_i & \xrightarrow{\varphi} \mathop{\operatorname{colim}}_i M_i \\ \mathop{\operatorname{colim}}_i M_i & \xrightarrow{\psi} \mathop{\operatorname{colim}}_i N_i\end{aligned}\end{gathered}$ is a complex. For each $i \in I$, there is a canonical $R$-module morphism $H_i \to H$ (sending each $[m] \in H_i = \operatorname{Ker}(\psi_i) / \operatorname{Im}(\varphi_i)$ to the residue class in $H = \operatorname{Ker}(\psi) / \operatorname{Im}(\varphi)$ of the image of $m$ in $\mathop{\operatorname{colim}}_i M_i$). These give rise to a morphism $\mathop{\operatorname{colim}}_i H_i \to H$. It remains to show that this morphism is surjective and injective.

We are going to repeatedly use the description of colimits over $I$ as in Lemma Filtered limits and commutative algebra (uncovered prerequisite) without further mention. Let $h \in H$. Since $H = \operatorname{Ker}(\psi)/\operatorname{Im}(\varphi)$ we see that $h$ is the class mod $\operatorname{Im}(\varphi)$ of an element $[m]$ in $\operatorname{Ker}(\psi) \subset \mathop{\operatorname{colim}}_i M_i$. Choose an $i$ such that $[m]$ comes from an element $m \in M_i$. Choose a $j \geq i$ such that $\nu_{ij}(\psi_i(m)) = 0$ which is possible since $[m] \in \operatorname{Ker}(\psi)$. After replacing $i$ by $j$ and $m$ by $\mu_{ij}(m)$ we see that we may assume $m \in \operatorname{Ker}(\psi_i)$. This shows that the map $\mathop{\operatorname{colim}}_i H_i \to H$ is surjective.

Suppose that $h_i \in H_i$ has image zero in $H$. Since $H_i = \operatorname{Ker}(\psi_i)/\operatorname{Im}(\varphi_i)$ we may represent $h_i$ by an element $m \in \operatorname{Ker}(\psi_i) \subset M_i$. The assumption on the vanishing of $h_i$ in $H$ means that the class of $m$ in $\mathop{\operatorname{colim}}_i M_i$ lies in the image of $\varphi$. Hence there exists a $j \geq i$ and an $l \in L_j$ such that $\varphi_j(l) = \mu_{ij}(m)$. Clearly this shows that the image of $h_i$ in $H_j$ is zero. This proves the injectivity of $\mathop{\operatorname{colim}}_i H_i \to H$. $\square$

Lemma. Finite algebras

Let $R \to S$ be a finite type ring map. Let $\mathfrak q \subset S$ be a prime. Let $\mathfrak p \subset R$ be the inverse image of $\mathfrak q$. Suppose that $\dim_{\mathfrak q}(S/R) = n$. There exists a $g \in S$, $g \not\in \mathfrak q$ such that $S_g$ is quasi-finite over a polynomial algebra $R[t_1, \ldots, t_n]$.

Proof. The ring $\overline{S} = S \otimes_R \kappa(\mathfrak p)$ is of finite type over $\kappa(\mathfrak p)$. Let $\overline{\mathfrak q}$ be the prime of $\overline{S}$ corresponding to $\mathfrak q$. By definition of the dimension of a topological space at a point there exists an open $U \subset \operatorname{Spec}(\overline{S})$ with $\overline{\mathfrak q} \in U$ and $\dim(U) = n$. Since the topology on $\operatorname{Spec}(\overline{S})$ is induced from the topology on $\operatorname{Spec}(S)$ (see Remark Commutative algebra), we can find a $g \in S$, $g \not \in \mathfrak q$ with image $\overline{g} \in \overline{S}$ such that $D(\overline{g}) \subset U$. Thus after replacing $S$ by $S_g$ we see that $\dim(\overline{S}) = n$.

Next, choose generators $x_1, \ldots, x_N$ for $S$ as an $R$-algebra. By Lemma Noether normalization there exist elements $y_1, \ldots, y_n$ in the $\mathbf{Z}$-subalgebra of $S$ generated by $x_1, \ldots, x_N$ such that the map $R[t_1, \ldots, t_n] \to S$, $t_i \mapsto y_i$ has the property that $\kappa(\mathfrak p)[t_1, \ldots, t_n] \to \overline{S}$ is finite. In particular, $S$ is quasi-finite over $R[t_1, \ldots, t_n]$ at $\mathfrak q$. Hence, by Lemma Finite algebras (programme binding) we may replace $S$ by $S_g$ for some $g\in S$, $g \not \in \mathfrak q$ such that $R[t_1, \ldots, t_n] \to S$ is quasi-finite. $\square$

Lemma. Dimension, codimension and finite algebras

A quasi-finite cover of affine n-space has dimension at most n.

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Suppose there is a quasi-finite $k$-algebra map $k[t_1, \ldots, t_n] \to S$. Then $\dim(S) \leq n$.

Proof. By Lemma Dimension, codimension and affine neighbourhoods (uncovered prerequisite) the dimension of any local ring of $k[t_1, \ldots, t_n]$ is at most $n$. Thus the result follows from Lemma Dimension, codimension and finite algebras (programme binding). $\square$

Lemma. Dimension, codimension and field extensions

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $K/k$ be a field extension. Then $\dim(S) = \dim(K \otimes_k S)$.

Proof. By Lemma Noether normalization there exists a finite injective map $k[y_1, \ldots, y_d] \to S$ with $d = \dim(S)$. Since $K$ is flat over $k$ we also get a finite injective map $K[y_1, \ldots, y_d] \to K \otimes_k S$. The result follows from Lemma Dimension, codimension and integral extensions. $\square$

Lemma. Finite algebras

Let $R$ be a ring. Let $\varphi : M \to N$ be a map of $R$-modules with $N$ a finite $R$-module. Then we have the equality $$\begin{aligned} U & = \{\mathfrak p \subset R \mid \varphi_{\mathfrak p} : M_{\mathfrak p} \to N_{\mathfrak p} \text{ is surjective}\} \\ & = \{\mathfrak p \subset R \mid \varphi \otimes \kappa(\mathfrak p) : M \otimes \kappa(\mathfrak p) \to N \otimes \kappa(\mathfrak p) \text{ is surjective}\} \end{aligned}$$ and $U$ is an open subset of $\operatorname{Spec}(R)$. Moreover, for any $f \in R$ such that $D(f) \subset U$ the map $M_f \to N_f$ is surjective.

Proof. The equality in the displayed formula follows from Nakayama's lemma. Nakayama's lemma also implies that $U$ is open. See Lemma Nakayama's lemma especially part (3). If $D(f) \subset U$, then $M_f \to N_f$ is surjective on all localizations at primes of $R_f$, and hence it is surjective by Lemma Detecting a zero module by localization. $\square$

Lemma. Locality of the complete-intersection condition

Let $k$ be a field. Let $S$ be a local $k$-algebra essentially of finite type over $k$. The following are equivalent:

  1. $S$ is a complete intersection over $k$,

  2. for any surjection $R \to S$ with $R$ a regular local ring essentially of finite presentation over $k$ the ideal $\operatorname{Ker}(R \to S)$ can be generated by a regular sequence,

  3. for some surjection $R \to S$ with $R$ a regular local ring essentially of finite presentation over $k$ the ideal $\operatorname{Ker}(R \to S)$ can be generated by $\dim(R) - \dim(S)$ elements,

  4. there exists a global complete intersection $A$ over $k$ and a prime $\mathfrak a$ of $A$ such that $S \cong A_{\mathfrak a}$, and

  5. there exists a local complete intersection $A$ over $k$ and a prime $\mathfrak a$ of $A$ such that $S \cong A_{\mathfrak a}$.

Proof. It is clear that (2) implies (1) and (1) implies (3). It is also clear that (4) implies (5). Let us show that (3) implies (4). Thus we assume there exists a surjection $R \to S$ with $R$ a regular local ring essentially of finite presentation over $k$ such that the ideal $\operatorname{Ker}(R \to S)$ can be generated by $\dim(R) - \dim(S)$ elements. We may write $R = (k[x_1, \ldots, x_n]/J)_{\mathfrak q}$ for some $J \subset k[x_1, \ldots, x_n]$ and some prime $\mathfrak q \subset k[x_1, \ldots, x_n]$ with $J \subset \mathfrak q$. Let $I \subset k[x_1, \ldots, x_n]$ be the kernel of the map $k[x_1, \ldots, x_n] \to S$ so that $S \cong (k[x_1, \ldots, x_n]/I)_{\mathfrak q}$. By assumption $(I/J)_{\mathfrak q}$ is generated by $\dim(R) - \dim(S)$ elements. We conclude that $I_{\mathfrak q}$ can be generated by $\dim(k[x_1, \ldots, x_n]_{\mathfrak q}) - \dim(S)$ elements by Lemma Commutative algebra (programme binding). From Lemma Local criteria for complete intersections we see that for some $g \in k[x_1, \ldots, x_n]$, $g \not \in \mathfrak q$ the algebra $(k[x_1, \ldots, x_n]/I)_g$ is a global complete intersection and $S$ is isomorphic to a local ring of it.

To finish the proof of the lemma we have to show that (5) implies (2). Assume (5) and let $\pi : R \to S$ be a surjection with $R$ a regular local $k$-algebra essentially of finite type over $k$. By assumption we have $S = A_{\mathfrak a}$ for some local complete intersection $A$ over $k$. Choose a presentation $R = (k[y_1, \ldots, y_m]/J)_{\mathfrak q}$ with $J \subset \mathfrak q \subset k[y_1, \ldots, y_m]$. We may and do assume that $J$ is the kernel of the map $k[y_1, \ldots, y_m] \to R$. Let $I \subset k[y_1, \ldots, y_m]$ be the kernel of the map $k[y_1, \ldots, y_m] \to S = A_{\mathfrak a}$. Then $J \subset I$ and $(I/J)_{\mathfrak q}$ is the kernel of the surjection $\pi : R \to S$. So $S = (k[y_1, \ldots, y_m]/I)_{\mathfrak q}$.

By Lemma Local algebra (uncovered prerequisite) we see that there exist $g \in A$, $g \not \in \mathfrak a$ and $g' \in k[y_1, \ldots, y_m]$, $g' \not \in \mathfrak q$ such that $A_g \cong (k[y_1, \ldots, y_m]/I)_{g'}$. After replacing $A$ by $A_g$ and $k[y_1, \ldots, y_m]$ by $k[y_1, \ldots, y_{m + 1}]$ we may assume that $A \cong k[y_1, \ldots, y_m]/I$. Consider the surjective maps of local rings $$k[y_1, \ldots, y_m]_{\mathfrak q} \to R \to S.$$ We have to show that the kernel of $R \to S$ is generated by a regular sequence. By Lemma Local criteria for complete intersections we know that $k[y_1, \ldots, y_m]_{\mathfrak q} \to A_{\mathfrak a} = S$ has this property (as $A$ is a local complete intersection over $k$). We win by Lemma Commutative algebra (programme binding). $\square$

Lemma. Dimension, codimension and field extensions

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $X = \operatorname{Spec}(S)$. Let $\mathfrak p \subset S$ be a prime ideal, and let $x \in X$ be the corresponding point. Then we have $$\dim_x(X) = \dim(S_{\mathfrak p}) + \text{trdeg}_k\ \kappa(\mathfrak p).$$

Proof. By Lemma Prime ideals and dimension in a polynomial ring we know that $r = \text{trdeg}_k\ \kappa(\mathfrak p)$ is equal to the dimension of $V(\mathfrak p)$. Pick any maximal chain of primes $\mathfrak p \subset \mathfrak p_1 \subset \ldots \subset \mathfrak p_r$ starting with $\mathfrak p$ in $S$. This has length $r$ by Lemma Dimension and codimension (programme binding). Let $\mathfrak q_j$, $j \in J$ be the minimal primes of $S$ which are contained in $\mathfrak p$. These correspond $1-1$ to minimal primes in $S_{\mathfrak p}$ via the rule $\mathfrak q_j \mapsto \mathfrak q_jS_{\mathfrak p}$. By Lemma Dimension, codimension and field extensions (programme binding) we know that $\dim_x(X)$ is equal to the maximum of the dimensions of the rings $S/\mathfrak q_j$. For each $j$ pick a maximal chain of primes $\mathfrak q_j \subset \mathfrak p'_1 \subset \ldots \subset \mathfrak p'_{s(j)} = \mathfrak p$. Then $\dim(S_{\mathfrak p}) = \max_{j \in J} s(j)$. Now, each chain $$\mathfrak q_j \subset \mathfrak p'_1 \subset \ldots \subset \mathfrak p'_{s(j)} = \mathfrak p \subset \mathfrak p_1 \subset \ldots \subset \mathfrak p_r$$ is a maximal chain in $S/\mathfrak q_j$, and by what was said before we have $\dim_x(X) = \max_{j \in J} r + s(j)$. The lemma follows. $\square$

Proposition. Dimension, codimension and finite algebras

Source credit: the original source citation FAC (Chapter III, §4, no. 68, Hilbert-syzygy vanishing of graded Ext, p. 261) the original source citation FAC (Chapter III, §5, no. 74, syzygy bound for the local rings of projective space, pp. 268--269)

The source uses Hilbert's syzygy theorem to conclude that for $S=K[t_0,\ldots,t_r]$ and finite $M$, its internal graded $\operatorname{Ext}^q_S(M,N)$ vanishes for $q>r+1$. The proposition below supplies the global-dimension statement; the internal-to-ordinary comparison is isolated in Lemma Derived Hom, Ext and proper morphisms (uncovered prerequisite).

No. 74 applies the corresponding local bound on projective $r$-space: every finite module over a stalk has projective dimension at most $r$. Each standard chart is affine $r$-space, so this follows from the global dimension statement below and localization.

A polynomial algebra in $n$ variables over a field is a regular ring. It has global dimension $n$. All localizations at maximal ideals are regular local rings of dimension $n$.

Proof. By Lemma Dimension, codimension and affine neighbourhoods (uncovered prerequisite) all localizations $k[x_1, \ldots, x_n]_{\mathfrak m}$ at maximal ideals are regular local rings of dimension $n$. Hence we conclude by Lemma Regular rings and dimension and codimension (programme binding). $\square$

Lemma. Commutative algebra

Let $R$ be a Noetherian local ring. Let $M$ be a Cohen-Macaulay module over $R$. Suppose $g \in \mathfrak m$ is such that $\dim(\text{Supp}(M) \cap V(g)) = \dim(\text{Supp}(M)) - 1$. Then (a) $g$ is a nonzerodivisor on $M$, and (b) $M/gM$ is Cohen-Macaulay of depth one less.

Proof. Choose an $M$-regular sequence $f_1, \ldots, f_d$ with $d = \dim(\text{Supp}(M))$. If $g$ is good with respect to $(M, f_1, \ldots, f_d)$ we win by Lemma Commutative algebra (programme binding). In particular the lemma holds if $d = 1$. (The case $d = 0$ does not occur.) Assume $d > 1$. Choose an element $h \in R$ such that (i) $h$ is good with respect to $(M, f_1, \ldots, f_d)$, and (ii) $\dim(\text{Supp}(M) \cap V(h, g)) = d - 2$. To see $h$ exists, let $\{\mathfrak q_j\}$ be the (finite) set of minimal primes of the closed sets $\text{Supp}(M)$, $\text{Supp}(M)\cap V(f_1, \ldots, f_i)$, $i = 1, \ldots, d - 1$, and $\text{Supp}(M) \cap V(g)$. None of these $\mathfrak q_j$ is equal to $\mathfrak m$ and hence we may find $h \in \mathfrak m$, $h \not \in \mathfrak q_j$ by Lemma An elementary algebraic comparison. It is clear that $h$ satisfies (i) and (ii). From Lemma Commutative algebra (programme binding) we conclude that $M/hM$ is Cohen-Macaulay. By (ii) we see that the pair $(M/hM, g)$ satisfies the induction hypothesis. Hence $M/(h, g)M$ is Cohen-Macaulay and $g : M/hM \to M/hM$ is injective. By Lemma Commutative algebra (programme binding) we see that $g : M \to M$ and $h : M/gM \to M/gM$ are injective. Combined with the fact that $M/(g, h)M$ is Cohen-Macaulay this finishes the proof. $\square$

Lemma. Commutative algebra

In a local Cohen-Macaulay ring, any maximal chain of prime ideals has length equal to the dimension.

Let $R$ be a Noetherian local ring. Assume there exists a Cohen-Macaulay module $M$ with $\operatorname{Spec}(R) = \text{Supp}(M)$. Then any maximal chain of prime ideals $\mathfrak p_0 \subset \mathfrak p_1 \subset \ldots \subset \mathfrak p_n$ has length $n = \dim(R)$.

Proof. We will prove this by induction on $\dim(R)$. If $\dim(R) = 0$, then the statement is clear. Assume $\dim(R) > 0$. Then $n > 0$. Choose an element $x \in \mathfrak p_1$, with $x$ not in any of the minimal primes of $R$, and in particular $x \not \in \mathfrak p_0$. (See Lemma An elementary algebraic comparison.) Then $\dim(R/xR) = \dim(R) - 1$ by Lemma A single polynomial equation. The module $M/xM$ is Cohen-Macaulay over $R/xR$ by Proposition Characterizations of Cohen–Macaulay modules and Lemma Commutative algebra (programme binding). The support of $M/xM$ is $\operatorname{Spec}(R/xR)$ by Lemma Closed support (programme binding). After replacing $x$ by $x^n$ for some $n$, we may assume that $\mathfrak p_1$ is an associated prime of $M/xM$, see Lemma Prime spectra and associated points (uncovered prerequisite). By Lemma Closed support (programme binding) we conclude that $\mathfrak p_1/(x)$ is a minimal prime of $R/xR$. It follows that the chain $\mathfrak p_1/(x) \subset \ldots \subset \mathfrak p_n/(x)$ is a maximal chain of primes in $R/xR$. By induction we find that this chain has length $\dim(R/xR) = \dim(R) - 1$ as desired. $\square$

Lemma. Prime spectra, associated points and tensor products and direct sums

Let $R$ be a ring, $I$ and $J$ two ideals and $\mathfrak p$ a prime ideal containing the product $IJ$. Then $\mathfrak{p}$ contains $I$ or $J$.

Proof. Assume the contrary and take $x \in I \setminus \mathfrak p$ and $y \in J \setminus \mathfrak p$. Their product is an element of $IJ \subset \mathfrak p$, which contradicts the assumption that $\mathfrak p$ was prime. $\square$

Lemma. Cotangent complexes and differentials

In diagram (Commutative algebra), suppose that $S \to S'$ is surjective with kernel $I \subset S$, and assume that $R' = R$. Then there is a canonical exact sequence of $S'$-modules $$I/I^2 \longrightarrow \Omega_{S/R} \otimes_S S' \longrightarrow \Omega_{S'/R} \longrightarrow 0.$$ The leftmost map is characterized by the rule that $f \in I$ maps to $\text{d}f \otimes 1$.

Proof. The middle term is $\Omega_{S/R} \otimes_S S/I$. For $f \in I$ denote by $\overline{f}$ the image of $f$ in $I/I^2$. To show that the map $\overline{f} \mapsto \text{d}f \otimes 1$ is well defined we just have to check that $\text{d} f_1f_2 \otimes 1 = 0$ if $f_1, f_2 \in I$. And this is clear from the Leibniz rule $\text{d} f_1f_2 \otimes 1 = (f_1 \text{d}f_2 + f_2 \text{d} f_1 )\otimes 1 = \text{d}f_2 \otimes f_1 + \text{d}f_1 \otimes f_2 = 0$. A similar computation shows this map is $S' = S/I$-linear.

The map $\Omega_{S/R} \otimes_S S' \to \Omega_{S'/R}$ is the canonical $S'$-linear map associated to the $S$-linear map $\Omega_{S/R} \to \Omega_{S'/R}$. It is surjective because $\Omega_{S/R} \to \Omega_{S'/R}$ is surjective by Lemma Cotangent complexes and differentials (programme binding).

The composite of the two maps is zero because $\text{d}f$ maps to zero in $\Omega_{S'/R}$ for $f \in I$. Note that exactness just says that the kernel of $\Omega_{S/R} \to \Omega_{S'/R}$ is generated as an $S$-submodule by the submodule $I\Omega_{S/R}$ together with the elements $\text{d}f$, with $f \in I$. We know by Lemma Cotangent complexes and differentials (programme binding) that this kernel is generated by the elements $\text{d}(a)$ where $\varphi(a) = \beta(r)$ for some $r \in R$. But then $a = \alpha(r) + a - \alpha(r)$, so $\text{d}(a) = \text{d}(a - \alpha(r))$. And $a - \alpha(r) \in I$ since $\varphi(a - \alpha(r)) = \varphi(a) - \varphi(\alpha(r)) = \beta(r) - \beta(r) = 0$. We conclude the elements $\text{d}f$ with $f \in I$ already generate the kernel as an $S$-module, as desired. $\square$

Theorem. The Nullstellensatz (Hilbert Nullstellensatz)

Let $k$ be a field.

  1. For any maximal ideal $\mathfrak m \subset k[x_1, \ldots, x_n]$ the field extension $\kappa(\mathfrak m)/k$ is finite.

  2. Any radical ideal $I \subset k[x_1, \ldots, x_n]$ is the intersection of maximal ideals containing it.

The same is true in any finite type $k$-algebra.

Proof. It is enough to prove part (the indicated step) of the theorem for the case of a polynomial algebra $k[x_1, \ldots, x_n]$, because any finitely generated $k$-algebra is a quotient of such a polynomial algebra. We prove this by induction on $n$. The case $n = 0$ is clear. Suppose that $\mathfrak m$ is a maximal ideal in $k[x_1, \ldots, x_n]$. Let $\mathfrak p \subset k[x_n]$ be the intersection of $\mathfrak m$ with $k[x_n]$.

If $\mathfrak p \not = (0)$, then $\mathfrak p$ is maximal and generated by an irreducible monic polynomial $P$ (because of the Euclidean algorithm in $k[x_n]$). Then $k' = k[x_n]/\mathfrak p$ is a finite field extension of $k$ and contained in $\kappa(\mathfrak m)$. In this case we get a surjection $$k'[x_1, \ldots, x_{n-1}] \to k'[x_1, \ldots, x_n] = k' \otimes_k k[x_1, \ldots, x_n] \longrightarrow \kappa(\mathfrak m)$$ and hence we see that $\kappa(\mathfrak m)$ is a finite extension of $k'$ by induction hypothesis. Thus $\kappa(\mathfrak m)$ is finite over $k$ as well.

If $\mathfrak p = (0)$ we consider the ring extension $k[x_n] \subset k[x_1, \ldots, x_n]/\mathfrak m$. This is a finitely generated ring extension, hence of finite presentation by Lemmas Noetherian rings (programme binding) and Finite presentation and Noetherian rings (programme binding). Thus the image of $\operatorname{Spec}(k[x_1, \ldots, x_n]/\mathfrak m)$ in $\operatorname{Spec}(k[x_n])$ is constructible by Theorem Chevalley's constructibility theorem. Since the image contains $(0)$ we conclude that it contains a standard open $D(f)$ for some $f\in k[x_n]$ nonzero. Since clearly $D(f)$ is infinite we get a contradiction with the assumption that $k[x_1, \ldots, x_n]/\mathfrak m$ is a field (and hence has a spectrum consisting of one point).

Proof of (the indicated step). Let $I \subset R$ be a radical ideal, with $R$ of finite type over $k$. Let $f \in R$, $f \not \in I$. We have to find a maximal ideal $\mathfrak m \subset R$ with $I \subset \mathfrak m$ and $f \not \in \mathfrak m$. The ring $(R/I)_f$ is nonzero, since $1 = 0$ in this ring would mean $f^n \in I$ and since $I$ is radical this would mean $f \in I$ contrary to our assumption on $f$. Thus we may choose a maximal ideal $\mathfrak m'$ in $(R/I)_f$, see Lemma The Zariski topology on an affine spectrum. Let $\mathfrak m \subset R$ be the inverse image of $\mathfrak m'$ in $R$. We see that $I \subset \mathfrak m$ and $f \not \in \mathfrak m$. If we show that $\mathfrak m$ is a maximal ideal of $R$, then we are done. We clearly have $$k \subset R/\mathfrak m \subset \kappa(\mathfrak m').$$ By part (the indicated step) the field extension $\kappa(\mathfrak m')/k$ is finite. Hence $R/\mathfrak m$ is a field by Fields, Lemma Field extensions (programme binding). Thus $\mathfrak m$ is maximal and the proof is complete. $\square$

Lemma. Flatness and local algebra

Let $$\begin{gathered}\begin{matrix}S & S' \\ R & R'\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow S' \\ R & \longrightarrow R' \\ R & \longrightarrow S \\ R' & \longrightarrow S'\end{aligned}\end{gathered}$$ be a commutative diagram of local homomorphisms of local Noetherian rings. Let $I \subset R$ be a proper ideal. Let $M$ be a finite $S$-module. Denote by $I' = IR'$ and $M' = M \otimes_S S'$. Assume that

  1. $S'$ is a localization of the tensor product $S \otimes_R R'$,

  2. $M/IM$ is flat over $R/I$,

  3. $\text{Tor}_1^R(M, R/I) \to \text{Tor}_1^{R'}(M', R'/I')$ is zero.

Then $M'$ is flat over $R'$.

Proof. Since $S'$ is a localization of $S \otimes_R R'$ we see that $M'$ is a localization of $M \otimes_R R'$. Note that by Lemma Base change of flat modules the module $M/IM \otimes_{R/I} R'/I' = M \otimes_R R' /I'(M \otimes_R R')$ is flat over $R'/I'$. Hence also $M'/I'M'$ is flat over $R'/I'$ as the localization of a flat module is flat. By Lemma A variant of the local criterion for flatness it suffices to show that $\text{Tor}_1^{R'}(M', R'/I')$ is zero. Since $M'$ is a localization of $M \otimes_R R'$, the last assumption implies that it suffices to show that $\text{Tor}_1^R(M, R/I) \otimes_R R' \to \text{Tor}_1^{R'}(M \otimes_R R', R'/I')$ is surjective.

By Lemma Derived tensor products and Tor amplitude (programme binding) we see that $\text{Tor}_1^R(M, R'/I') \to \text{Tor}_1^{R'}(M \otimes_R R', R'/I')$ is surjective. So now it suffices to show that $\text{Tor}_1^R(M, R/I) \otimes_R R' \to \text{Tor}_1^R(M, R'/I')$ is surjective. This follows from Lemma Derived tensor products and Tor amplitude (programme binding) by looking at the ring maps $R \to R/I \to R'/I'$ and the module $M$. $\square$

Lemma. Faithfully flat modules

A flat module is faithfully flat if and only if it has nonzero fibers.

Let $M$ be a flat $R$-module. The following are equivalent:

  1. $M$ is faithfully flat,

  2. for every nonzero $R$-module $N$, the tensor product $M \otimes_R N$ is nonzero,

  3. for all $\mathfrak p \in \operatorname{Spec}(R)$ the tensor product $M \otimes_R \kappa(\mathfrak p)$ is nonzero, and

  4. for all maximal ideals $\mathfrak m$ of $R$ the tensor product $M \otimes_R \kappa(\mathfrak m) = M/{\mathfrak m}M$ is nonzero.

Proof. Assume $M$ faithfully flat and $N \not = 0$. By Lemma Commutative algebra (programme binding) the nonzero map $1 : N \to N$ induces a nonzero map $M \otimes_R N \to M \otimes_R N$, so $M \otimes_R N \not = 0$. Thus (1) implies (2). The implications (2) $\Rightarrow$ (3) $\Rightarrow$ (4) are immediate.

Assume (4). Suppose that $N_1 \to N_2 \to N_3$ is a complex and suppose that $N_1 \otimes_R M \to N_2\otimes_R M \to N_3\otimes_R M$ is exact. Let $H$ be the cohomology of the complex, so $H = \operatorname{Ker}(N_2 \to N_3)/\operatorname{Im}(N_1 \to N_2)$. To finish the proof we will show $H = 0$. By flatness we see that $H \otimes_R M = 0$. Take $x \in H$ and let $I = \{f \in R \mid fx = 0 \}$ be its annihilator. Since $R/I \subset H$ we get $M/IM \subset H \otimes_R M = 0$ by flatness of $M$. If $I \not = R$ we may choose a maximal ideal $I \subset \mathfrak m \subset R$. This immediately gives a contradiction. $\square$

Remark. Commutative algebra

A fundamental commutative diagram associated to a ring map $\varphi : R \to S$ and a prime $\mathfrak p \subset R$ is the following $$\begin{gathered}\begin{matrix}\kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} & S_{\mathfrak p} & S & S/\mathfrak pS & (R \setminus \mathfrak p)^{-1}S/\mathfrak pS \\ \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} & R_{\mathfrak p} & R & R/\mathfrak p & \kappa(\mathfrak p)\end{matrix} \\[6pt] \begin{aligned}S_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} \\ S & \longrightarrow S/\mathfrak pS \\ S & \longrightarrow S_{\mathfrak p} \\ S/\mathfrak pS & \longrightarrow (R \setminus \mathfrak p)^{-1}S/\mathfrak pS \\ \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} \\ R_{\mathfrak p} & \longrightarrow S_{\mathfrak p} \\ R_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} \\ R & \longrightarrow S \\ R & \longrightarrow R/\mathfrak p \\ R & \longrightarrow R_{\mathfrak p} \\ R/\mathfrak p & \longrightarrow S/\mathfrak pS \\ R/\mathfrak p & \longrightarrow \kappa(\mathfrak p) \\ \kappa(\mathfrak p) & \longrightarrow (R \setminus \mathfrak p)^{-1}S/\mathfrak pS\end{aligned}\end{gathered}$$ In this diagram the outer left and outer right columns are identical. On spectra the horizontal maps induce homeomorphisms onto their images and the squares induce fibre squares of topological spaces (see Lemmas The spectrum of a localization and Closed subsets of an affine spectrum). This shows that $\mathfrak p$ is in the image of the map on Spec if and only if $S \otimes_R \kappa(\mathfrak p)$ is not the zero ring. If there does exist a prime $\mathfrak q \subset S$ lying over $\mathfrak p$, i.e., with $\mathfrak p = \varphi^{-1}(\mathfrak q)$ then we can extend the diagram to the following diagram $$\begin{gathered}\begin{matrix}\kappa(\mathfrak q) = S_{\mathfrak q}/{\mathfrak q}S_{\mathfrak q} & S_{\mathfrak q} & S & S/\mathfrak q & \kappa(\mathfrak q) \\ \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} & S_{\mathfrak p} & S & S/\mathfrak pS & (R \setminus \mathfrak p)^{-1}S/\mathfrak pS \\ \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} & R_{\mathfrak p} & R & R/\mathfrak p & \kappa(\mathfrak p)\end{matrix} \\[6pt] \begin{aligned}S_{\mathfrak q} & \longrightarrow \kappa(\mathfrak q) = S_{\mathfrak q}/{\mathfrak q}S_{\mathfrak q} \\ S & \longrightarrow S/\mathfrak q \\ S & \longrightarrow S_{\mathfrak q} \\ S/\mathfrak q & \longrightarrow \kappa(\mathfrak q) \\ \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} & \longrightarrow \kappa(\mathfrak q) = S_{\mathfrak q}/{\mathfrak q}S_{\mathfrak q} \\ S_{\mathfrak p} & \longrightarrow S_{\mathfrak q} \\ S_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} \\ S & \longrightarrow S \\ S & \longrightarrow S/\mathfrak pS \\ S & \longrightarrow S_{\mathfrak p} \\ S/\mathfrak pS & \longrightarrow S/\mathfrak q \\ S/\mathfrak pS & \longrightarrow (R \setminus \mathfrak p)^{-1}S/\mathfrak pS \\ (R \setminus \mathfrak p)^{-1}S/\mathfrak pS & \longrightarrow \kappa(\mathfrak q) \\ \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) \otimes_R S = S_{\mathfrak p}/{\mathfrak p}S_{\mathfrak p} \\ R_{\mathfrak p} & \longrightarrow S_{\mathfrak p} \\ R_{\mathfrak p} & \longrightarrow \kappa(\mathfrak p) = R_{\mathfrak p}/{\mathfrak p}R_{\mathfrak p} \\ R & \longrightarrow S \\ R & \longrightarrow R/\mathfrak p \\ R & \longrightarrow R_{\mathfrak p} \\ R/\mathfrak p & \longrightarrow S/\mathfrak pS \\ R/\mathfrak p & \longrightarrow \kappa(\mathfrak p) \\ \kappa(\mathfrak p) & \longrightarrow (R \setminus \mathfrak p)^{-1}S/\mathfrak pS\end{aligned}\end{gathered}$$ In this diagram it is still the case that the outer left and outer right columns are identical and that on spectra the horizontal maps induce homeomorphisms onto their image.

Lemma. An isolated point of an affine spectrum

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak q$ be a prime of $S$. The following are equivalent:

  1. $\mathfrak q$ is an isolated point of $\operatorname{Spec}(S)$,

  2. $S_{\mathfrak q}$ is finite over $k$,

  3. there exists a $g \in S$, $g \not\in \mathfrak q$ such that $D(g) = \{ \mathfrak q \}$,

  4. $\dim_{\mathfrak q} \operatorname{Spec}(S) = 0$,

  5. $\mathfrak q$ is a closed point of $\operatorname{Spec}(S)$ and $\dim(S_{\mathfrak q}) = 0$, and

  6. the field extension $\kappa(\mathfrak q)/k$ is finite and $\dim(S_{\mathfrak q}) = 0$.

In this case $S = S_{\mathfrak q} \times S'$ for some finite type $k$-algebra $S'$. Also, the element $g$ as in (3) has the property $S_{\mathfrak q} = S_g$.

Proof. Suppose $\mathfrak q$ is an isolated point of $\operatorname{Spec}(S)$, i.e., $\{\mathfrak q\}$ is open in $\operatorname{Spec}(S)$. Because $\operatorname{Spec}(S)$ is a Jacobson space (see Lemmas Field extensions and finite algebras (programme binding) and Commutative algebra (programme binding)) we see that $\mathfrak q$ is a closed point. Hence $\{\mathfrak q\}$ is open and closed in $\operatorname{Spec}(S)$. By Lemmas Product decompositions from disjoint closed subsets and A disjoint spectrum and a product of rings we may write $S = S_1 \times S_2$ with $\mathfrak q$ corresponding to the only point $\operatorname{Spec}(S_1)$. Hence $S_1 = S_{\mathfrak q}$ is a zero dimensional ring of finite type over $k$. Hence it is finite over $k$ for example by Lemma Noether normalization. We have proved (1) implies (2).

Suppose $S_{\mathfrak q}$ is finite over $k$. Then $S_{\mathfrak q}$ is Artinian local, see Lemma Dimension, codimension and finite algebras. So $\operatorname{Spec}(S_{\mathfrak q}) = \{\mathfrak qS_{\mathfrak q}\}$ by Lemma Finite length over an Artinian ring. Consider the exact sequence $0 \to K \to S \to S_{\mathfrak q} \to Q \to 0$. It is clear that $K_{\mathfrak q} = Q_{\mathfrak q} = 0$. Also, $K$ is a finite $S$-module as $S$ is Noetherian and $Q$ is a finite $S$-module since $S_{\mathfrak q}$ is finite over $k$. Hence there exists $g \in S$, $g \not \in \mathfrak q$ such that $K_g = Q_g = 0$. Thus $S_{\mathfrak q} = S_g$ and $D(g) = \{ \mathfrak q \}$. We have proved that (2) implies (3).

Suppose $D(g) = \{ \mathfrak q \}$. Since $D(g)$ is open by construction of the topology on $\operatorname{Spec}(S)$ we see that $\mathfrak q$ is an isolated point of $\operatorname{Spec}(S)$. We have proved that (3) implies (1). In other words (1), (2) and (3) are equivalent.

Assume $\dim_{\mathfrak q} \operatorname{Spec}(S) = 0$. This means that there is some open neighbourhood of $\mathfrak q$ in $\operatorname{Spec}(S)$ which has dimension zero. Then there is an open neighbourhood of the form $D(g)$ which has dimension zero. Since $S_g$ is Noetherian we conclude that $S_g$ is Artinian and $D(g) = \operatorname{Spec}(S_g)$ is a finite discrete set, see Proposition Rings of dimension zero. Thus $\mathfrak q$ is an isolated point of $D(g)$ and, by the equivalence of (1) and (2) above applied to $\mathfrak qS_g \subset S_g$, we see that $S_{\mathfrak q} = (S_g)_{\mathfrak qS_g}$ is finite over $k$. Hence (4) implies (2). It is clear that (1) implies (4). Thus (1) -- (4) are all equivalent.

Lemma Dimension, codimension and field extensions (programme binding) gives the implication (5) $\Rightarrow$ (4). The implication (4) $\Rightarrow$ (6) follows from Lemma Dimension, codimension and field extensions. The implication (6) $\Rightarrow$ (5) follows from Lemma Finite algebras (programme binding). At this point we know (1) -- (6) are equivalent.

The two statements at the end of the lemma we saw during the course of the proof of the equivalence of (1), (2) and (3) above. $\square$

Lemma. Base change for finite algebras

Let $R \to S$ be a ring map. Let $M$ be an $S$-module. Let $R \to R'$ be a ring map and let $S' = S \otimes_R R'$ and $M' = M \otimes_R R'$ be the base changes.

  1. If $M$ is a finite $S$-module, then the base change $M'$ is a finite $S'$-module.

  2. If $M$ is an $S$-module of finite presentation, then the base change $M'$ is an $S'$-module of finite presentation.

  3. If $R \to S$ is of finite type, then the base change $R' \to S'$ is of finite type.

  4. If $R \to S$ is of finite presentation, then the base change $R' \to S'$ is of finite presentation.

Proof. Proof of (1). Take a surjective, $S$-linear map $S^{\oplus n} \to M \to 0$. By Lemma Tensor products and direct sums (uncovered prerequisite) and Tensor products and direct sums the result after tensoring with $R^\prime$ is a surjection ${S^\prime}^{\oplus n} \to M^\prime \rightarrow 0$, so $M^\prime$ is a finitely generated $S^\prime$-module. Proof of (2). Take a presentation $S^{\oplus m} \to S^{\oplus n} \to M \to 0$. By Lemma Tensor products and direct sums (uncovered prerequisite) and Tensor products and direct sums the result after tensoring with $R^\prime$ gives a finite presentation ${S^\prime}^{\oplus m} \to {S^\prime}^{\oplus n} \to M^\prime \to 0$, of the $S^\prime$-module $M^\prime$. Proof of (3). This follows by the remark preceding the lemma as we can take $I$ to be finite by assumption. Proof of (4). This follows by the remark preceding the lemma as we can take $I$ and $J$ to be finite by assumption. $\square$

Lemma. Criteria for formal smoothness and smooth morphisms

Let $R \to S$ be a ring map. Let $P \to S$ be a surjective $R$-algebra map from a polynomial ring $P$ onto $S$. Denote by $J \subset P$ the kernel. Then $R \to S$ is formally smooth if and only if there exists an $R$-algebra map $\sigma : S \to P/J^2$ which is a right inverse to the surjection $P/J^2 \to S$.

Proof. Assume $R \to S$ is formally smooth. Consider the commutative diagram $$\begin{gathered}\begin{matrix}S & P/J \\ R & P/J^2\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow P/J \\ S & \dashrightarrow P/J^2 \\ R & \longrightarrow P/J^2 \\ R & \longrightarrow S \\ P/J^2 & \longrightarrow P/J\end{aligned}\end{gathered}$$ By assumption the dotted arrow exists. This proves that $\sigma$ exists.

Conversely, suppose we have a $\sigma$ as in the lemma. Let a solid diagram $$\begin{gathered}\begin{matrix}S & A/I \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow A/I \\ S & \dashrightarrow A \\ R & \longrightarrow A \\ R & \longrightarrow S \\ A & \longrightarrow A/I\end{aligned}\end{gathered}$$ as in Definition Formally smooth ring maps be given. Because $P$ is formally smooth by Lemma Formal smoothness and smooth morphisms (programme binding), there exists an $R$-algebra homomorphism $\psi : P \to A$ which lifts the map $P \to S \to A/I$. Clearly $\psi(J) \subset I$ and since $I^2 = 0$ we conclude that $\psi(J^2) = 0$. Hence $\psi$ factors as $\overline{\psi} : P/J^2 \to A$. The desired dotted arrow is the composition $\overline{\psi} \circ \sigma : S \to A$. $\square$

Lemma. Criteria for formal smoothness and smooth morphisms

Let $R \to S$ be a ring map. Let $P \to S$ be a surjective $R$-algebra map from a polynomial ring $P$ onto $S$. Denote by $J \subset P$ the kernel. Then $R \to S$ is formally smooth if and only if the sequence $$0 \to J/J^2 \to \Omega_{P/R} \otimes_P S \to \Omega_{S/R} \to 0$$ of Lemma Cotangent complexes and differentials is a split exact sequence.

Proof. Assume $S$ is formally smooth over $R$. By Lemma Criteria for formal smoothness and smooth morphisms this means there exists an $R$-algebra map $S \to P/J^2$ which is a right inverse to the canonical map $P/J^2 \to S$. By Lemma Cotangent complexes and differentials (programme binding) we have $\Omega_{P/R} \otimes_P S = \Omega_{(P/J^2)/R} \otimes_{P/J^2} S$. By Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 the sequence is split.

Assume the exact sequence of the lemma is split exact. Choose a splitting \(\sigma : \Omega_{S/R} \to \Omega_{P/R} \otimes_P S\). For each \(\lambda \in S\) choose \(x_\lambda \in P\) which maps to \(\lambda\). Next, for each \(\lambda \in S\) choose \(f_\lambda \in J\) such that

\[ \text{d}f_\lambda = \text{d}x_\lambda - \sigma(\text{d}\lambda) \]

in the middle term of the exact sequence. We claim that \(s : \lambda \mapsto x_\lambda - f_\lambda \mod J^2\) is an \(R\)-algebra homomorphism \(s : S \to P/J^2\). To prove this we will repeatedly use that if \(h \in J\) and \(\text{d}h = 0\) in \(\Omega_{P/R} \otimes_P S\), then \(h \in J^2\). Let \(\lambda, \mu \in S\). Then \(\sigma(\text{d}\lambda + \text{d}\mu - \text{d}(\lambda + \mu)) = 0\). This implies

\[ \text{d}(x_\lambda + x_\mu - x_{\lambda + \mu} - f_\lambda - f_\mu + f_{\lambda + \mu}) = 0 \]

which means that \(x_\lambda + x_\mu - x_{\lambda + \mu} - f_\lambda - f_\mu + f_{\lambda + \mu} \in J^2\), which in turn means that \(s(\lambda) + s(\mu) = s(\lambda + \mu)\). Similarly, we have \(\sigma(\lambda \text{d}\mu + \mu \text{d}\lambda - \text{d}(\lambda\mu)) = 0\) which implies that

\[ \mu(\text{d}x_\lambda - \text{d}f_\lambda) + \lambda(\text{d}x_\mu - \text{d}f_\mu) - \text{d}x_{\lambda\mu} + \text{d}f_{\lambda\mu} = 0 \]

in the middle term of the exact sequence. Moreover we have

\[ \text{d}(x_\lambda x_\mu) = x_\lambda \text{d}x_\mu + x_\mu \text{d}x_\lambda = \lambda \text{d}x_\mu + \mu \text{d} x_\lambda \]

in the middle term again. Combined these equations mean that \(x_\lambda x_\mu - x_{\lambda\mu} - x_\mu f_\lambda - x_\lambda f_\mu + f_{\lambda\mu} \in J^2\), hence \((x_\lambda - f_\lambda)(x_\mu - f_\mu) - (x_{\lambda\mu} - f_{\lambda\mu}) \in J^2\) as \(f_\lambda f_\mu \in J^2\), which means that \(s(\lambda)s(\mu) = s(\lambda\mu)\). If \(\lambda \in R\), then \(\text{d}\lambda = 0\) and we see that \(\text{d}f_\lambda = \text{d}x_\lambda\), hence \(\lambda - x_\lambda + f_\lambda \in J^2\) and hence \(s(\lambda) = \lambda\) as desired. At this point we can apply Lemma Criteria for formal smoothness and smooth morphisms to conclude that \(S/R\) is formally smooth. \(\square\)

Lemma. Cotangent complexes and differentials

Let $A \to B$ be a surjective ring map with kernel $I$. Then $\mathrm{NL}_{B/A}$ is homotopy equivalent to the chain complex $(I/I^2 \to 0)$ with $I/I^2$ in degree $1$. In particular $H_1(L_{B/A}) = I/I^2$.

Proof. Follows from Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 and the fact that $A \to B$ is a presentation of $B$ over $A$. $\square$

Lemma. Noetherian rings

Let $R$ be a Noetherian ring. Any finite $R$-module is of finite presentation. Any submodule of a finite $R$-module is finite. The ascending chain condition holds for $R$-submodules of a finite $R$-module.

Proof. We first show that any submodule $N$ of a finite $R$-module $M$ is finite. We do this by induction on the number of generators of $M$. If this number is $1$, then $N = J/I \subset M = R/I$ for some ideals $I \subset J \subset R$. Thus the definition of Noetherian implies the result. If the number of generators of $M$ is greater than $1$, then we can find a short exact sequence $0 \to M' \to M \to M'' \to 0$ where $M'$ and $M''$ have fewer generators. Note that setting $N' = M' \cap N$ and $N'' = \operatorname{Im}(N \to M'')$ gives a similar short exact sequence for $N$. Hence the result follows from the induction hypothesis since the number of generators of $N$ is at most the number of generators of $N'$ plus the number of generators of $N''$.

To show that $M$ is finitely presented just apply the previous result to the kernel of a presentation $R^n \to M$.

It is well known and easy to prove that the ascending chain condition for $R$-submodules of $M$ is equivalent to the condition that every submodule of $M$ is a finite $R$-module. We omit the proof. $\square$

Lemma. Prime spectra and associated points

Source credit: the original source citation EGA1 (Corollary 1.2.4)

Let $\varphi : R \to S$ be a ring map. Assume that every $g \in S$ can be written as $g = u\varphi(f)$ for some $f \in R$ and some unit $u \in S$. Then $$\operatorname{Spec}(S) \longrightarrow \operatorname{Spec}(R)$$ is a homeomorphism onto its image.

Proof. The map is continuous by Lemma Functoriality of affine spectra (programme binding). If $\mathfrak q$ and $\mathfrak q'$ have the same inverse image in $R$, then the assumption shows that every $g \in S$ is in $\mathfrak q$ if and only if it is in $\mathfrak q'$. Thus the map is injective. Finally, if $g = u\varphi(f)$ as in the statement, then $$D(g) = \operatorname{Spec}(\varphi)^{-1}(D(f)).$$ Since the standard opens form a basis, the map is a homeomorphism onto its image. $\square$

Lemma. The spectrum of a product of rings

Let $R_1$ and $R_2$ be rings. Let $R = R_1 \times R_2$. The maps $R \to R_1$, $(x, y) \mapsto x$ and $R \to R_2$, $(x, y) \mapsto y$ induce continuous maps $\operatorname{Spec}(R_1) \to \operatorname{Spec}(R)$ and $\operatorname{Spec}(R_2) \to \operatorname{Spec}(R)$. The induced map $$\operatorname{Spec}(R_1) \amalg \operatorname{Spec}(R_2) \longrightarrow \operatorname{Spec}(R)$$ is a homeomorphism. In other words, the spectrum of $R = R_1\times R_2$ is the disjoint union of the spectrum of $R_1$ and the spectrum of $R_2$.

Proof. Write $1 = e_1 + e_2$ with $e_1 = (1, 0)$ and $e_2 = (0, 1)$. Note that $e_1$ and $e_2 = 1 - e_1$ are idempotents. We leave it to the reader to show that $R_1 = R_{e_1}$ is the localization of $R$ at $e_1$. Similarly for $e_2$. Thus the statement of the lemma follows from Lemma Idempotents and open-and-closed subsets of a spectrum combined with Lemma Principal open subsets of a spectrum. $\square$

Lemma. Standard affine covers of a spectrum

Let $R$ be a ring, and let $f_1, f_2, \ldots, f_n \in R$ generate the unit ideal in $R$. Then the following sequence is exact: $$0 \longrightarrow R \longrightarrow \bigoplus\nolimits_i R_{f_i} \longrightarrow \bigoplus\nolimits_{i, j}R_{f_if_j}$$ where the maps $\alpha : R \longrightarrow \bigoplus_i R_{f_i}$ and $\beta : \bigoplus_i R_{f_i} \longrightarrow \bigoplus_{i, j} R_{f_if_j}$ are defined as $$\alpha(x) = \left(\frac{x}{1}, \ldots, \frac{x}{1}\right) \text{ and } \beta\left(\frac{x_1}{f_1^{r_1}}, \ldots, \frac{x_n}{f_n^{r_n}}\right)

\left(\frac{x_i}{f_i^{r_i}}-\frac{x_j}{f_j^{r_j}}~\text{in}~R_{f_if_j}\right).$$

Proof. Special case of Lemma Modules (programme binding). $\square$

Definition. Formally étale ring maps

Let $R \to S$ be a ring map. We say $S$ is formally étale over $R$ if for every commutative solid diagram $$\begin{gathered}\begin{matrix}S & A/I \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow A/I \\ S & \dashrightarrow A \\ R & \longrightarrow A \\ R & \longrightarrow S \\ A & \longrightarrow A/I\end{aligned}\end{gathered}$$ where $I \subset A$ is an ideal of square zero, there exists a unique dotted arrow making the diagram commute.

Lemma. Tensor products and direct sums

Let $$\begin{aligned} M_1\xrightarrow{f} M_2\xrightarrow{g} M_3 \to 0 \end{aligned}$$ be an exact sequence of $R$-modules and homomorphisms, and let $N$ be any $R$-module. Then the sequence

$$M_1\otimes N\xrightarrow{f \otimes 1} M_2\otimes N \xrightarrow{g \otimes 1} M_3\otimes N \to 0$$ is exact. In other words, the functor $- \otimes_R N$ is right exact, in the sense that tensoring each term in the original right exact sequence preserves the exactness.

Proof. For every $R$-module $P$ we apply the functor $\operatorname{Hom}(-, \operatorname{Hom}(N, P))$ to the first exact sequence. We obtain $$0 \to \operatorname{Hom}(M_3, \operatorname{Hom}(N, P)) \to \operatorname{Hom}(M_2, \operatorname{Hom}(N, P)) \to \operatorname{Hom}(M_1, \operatorname{Hom}(N, P))$$ which is exact by Lemma Exactness of Hom from a projective module (1). By Lemma Derived Hom, Ext and tensor products and direct sums (uncovered prerequisite) this becomes the sequence $$0 \to \operatorname{Hom}(M_3 \otimes N, P) \to \operatorname{Hom}(M_2 \otimes N, P) \to \operatorname{Hom}(M_1 \otimes N, P)$$ which is therefore also exact. Then using Lemma Exactness of Hom from a projective module (1) again, we arrive at the desired exact sequence. $\square$

Lemma. Commutative algebra

Let $(M_i, \mu_{ij})$ be a directed system. Let $M = \mathop{\operatorname{colim}} M_i$ with $\mu_i : M_i \to M$. Then, $\mu_i(x_i) = 0$ for $x_i \in M_i$ if and only if there exists $j \geq i$ such that $\mu_{ij}(x_i) = 0$.

Proof. This is clear from the description of the directed colimit in Lemma Filtered limits and commutative algebra (uncovered prerequisite). $\square$

Lemma. Integral extensions and field extensions

Let $k$ be a field. Let $S$ be a $k$-algebra over $k$.

  1. If $S$ is a domain and finite dimensional over $k$, then $S$ is a field.

  2. If $S$ is integral over $k$ and a domain, then $S$ is a field.

  3. If $S$ is integral over $k$ then every prime of $S$ is a maximal ideal (see Lemma Prime spectra and associated points (uncovered prerequisite) for more consequences).

Proof. The statement on primes follows from the statement "integral $+$ domain $\Rightarrow$ field". Let $S$ be integral over $k$ and assume $S$ is a domain. Take a nonzero $s\in S$. By Lemma Criteria for integral extensions we may find a finite dimensional $k$-subalgebra $k \subset S' \subset S$ containing $s$. Hence $S$ is a field if we can prove the first statement. Assume $S$ finite dimensional over $k$ and a domain. Pick $s\in S$. Since $S$ is a domain the multiplication map $s : S \to S$ is surjective by dimension reasons. Hence there exists an element $s_1 \in S$ such that $ss_1 = 1$. So $S$ is a field. $\square$

Lemma. Flatness and local algebra

A flat local ring homomorphism of local rings is faithfully flat.

Proof. Immediate from Lemma Faithfully flat ring maps. $\square$

Lemma. Faithfully flat ring maps

Let $R \to S$ be a flat ring map. The following are equivalent:

  1. $R \to S$ is faithfully flat,

  2. the induced map on $\operatorname{Spec}$ is surjective, and

  3. any closed point $x \in \operatorname{Spec}(R)$ is in the image of the map $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$.

Proof. This follows quickly from Lemma Faithfully flat modules, because we saw in Remark Commutative algebra that $\mathfrak p$ is in the image if and only if the ring $S \otimes_R \kappa(\mathfrak p)$ is nonzero. $\square$

Lemma. Étale morphisms and prime spectra and associated points

Let $R \to S$ be a ring map. Let $\mathfrak q \subset S$ be a prime lying over the prime $\mathfrak p \subset R$. Assume $R \to S$ is finite type and quasi-finite at $\mathfrak q$. Then there exists

  1. an étale ring map $R \to R'$,

  2. a prime $\mathfrak p' \subset R'$ lying over $\mathfrak p$,

  3. a product decomposition $$R' \otimes_R S = A \times B$$

with the following properties

  1. $\kappa(\mathfrak p) = \kappa(\mathfrak p')$,

  2. $R' \to A$ is finite,

  3. $A$ has exactly one prime $\mathfrak r$ lying over $\mathfrak p'$,

  4. $\mathfrak r$ lies over $\mathfrak q$, and

  5. $B$ does not have a prime lying over $\mathfrak q$ and $\mathfrak p'$.

Proof. Let $S' \subset S$ be the integral closure of $R$ in $S$. Let $\mathfrak q' = S' \cap \mathfrak q$. By Zariski's Main Theorem Zariski's main theorem in affine algebra there exists a $g \in S'$, $g \not \in \mathfrak q'$ such that $S'_g \cong S_g$. Consider the fibre rings $F = S \otimes_R \kappa(\mathfrak p)$ and $F' = S' \otimes_R \kappa(\mathfrak p)$. Denote by $\overline{\mathfrak q}'$ the prime of $F'$ corresponding to $\mathfrak q'$. Since $F'$ is integral over $\kappa(\mathfrak p)$ we see that $\overline{\mathfrak q}'$ is a closed point of $\operatorname{Spec}(F')$, see Lemma Integral extensions and field extensions. Note that $\mathfrak q$ defines an isolated closed point $\overline{\mathfrak q}$ of $\operatorname{Spec}(F)$ (see Definition Finite algebras). Since $S'_g \cong S_g$ we have $F'_g \cong F_g$, so $\overline{\mathfrak q}$ and $\overline{\mathfrak q}'$ have isomorphic open neighbourhoods in $\operatorname{Spec}(F)$ and $\operatorname{Spec}(F')$. We conclude the set $\{\overline{\mathfrak q}'\} \subset \operatorname{Spec}(F')$ is open. Combined with $\overline{\mathfrak q}'$ being closed (shown above) we conclude that $\overline{\mathfrak q}'$ defines an isolated closed point of $\operatorname{Spec}(F')$ as well.

An additional small remark is that under the map $\operatorname{Spec}(F) \to \operatorname{Spec}(F')$ the point $\overline{\mathfrak q}$ is the only point mapping to $\overline{\mathfrak q}'$. This follows from the discussion above.

By Lemma A disjoint spectrum and a product of rings we may write $F' = F'_1 \times F'_2$ with $\operatorname{Spec}(F'_1) = \{\overline{\mathfrak q}'\}$. Since $F' = S' \otimes_R \kappa(\mathfrak p)$, there exists an $s' \in S'$ which maps to the element $(r, 0) \in F'_1 \times F'_2 = F'$ for some $r \in R$, $r \not \in \mathfrak p$. In fact, what we will use about $s'$ is that it is an element of $S'$, not contained in $\mathfrak q'$, and contained in any other prime lying over $\mathfrak p$.

Let $f(x) \in R[x]$ be a monic polynomial such that $f(s') = 0$. Denote by $\overline{f} \in \kappa(\mathfrak p)[x]$ the image. We can factor it as $\overline{f} = x^e \overline{h}$ where $\overline{h}(0) \not = 0$. After replacing $f$ by $x f$ if necessary, we may assume $e \geq 1$. By Lemma Étale morphisms and derived tensor products and Tor amplitude (uncovered prerequisite) we can find an étale ring extension $R \to R'$, a prime $\mathfrak p'$ lying over $\mathfrak p$, and a factorization $f = h i$ in $R'[x]$ such that $\kappa(\mathfrak p) = \kappa(\mathfrak p')$, $\overline{h} = h \bmod \mathfrak p'$, $x^e = i \bmod \mathfrak p'$, and we can write $a h + b i = 1$ in $R'[x]$ (for suitable $a, b$).

Consider the elements $h(s'), i(s') \in R' \otimes_R S'$. By construction we have $h(s')i(s') = f(s') = 0$. On the other hand they generate the unit ideal since $a(s')h(s') + b(s')i(s') = 1$. Thus we see that $R' \otimes_R S'$ is the product of the localizations at these elements: $$R' \otimes_R S'

(R' \otimes_R S'){i(s')} \times (R' \otimes_R S'){h(s')}

S'_1 \times S'_2$$ Moreover this product decomposition is compatible with the product decomposition we found for the fibre ring $F'$; this comes from our choices of $s', i, h$ which guarantee that $\overline{\mathfrak q}'$ is the only prime of $F'$ which does not contain the image of $i(s')$ in $F'$. Here we use that the fibre ring of $R'\otimes_R S'$ over $R'$ at $\mathfrak p'$ is the same as $F'$ due to the fact that $\kappa(\mathfrak p) = \kappa(\mathfrak p')$. It follows that $S'_1$ has exactly one prime, say $\mathfrak r'$, lying over $\mathfrak p'$ and that this prime lies over $\mathfrak q'$. Hence the element $g \in S'$ maps to an element of $S'_1$ not contained in $\mathfrak r'$.

The base change $R'\otimes_R S$ inherits a similar product decomposition $$R' \otimes_R S

(R' \otimes_R S){i(s')} \times (R' \otimes_R S){h(s')}

S_1 \times S_2$$ It follows from the above that $S_1$ has exactly one prime, say $\mathfrak r$, lying over $\mathfrak p'$ (consider the fibre ring as above), and that this prime lies over $\mathfrak q$.

Now we may apply Lemma Finite algebras (programme binding) to the ring maps $R' \to S'_1 \to S_1$, the prime $\mathfrak p'$ and the element $g$ to see that after replacing $R'$ by a principal localization we can assume that $S_1$ is finite over $R'$ as desired. $\square$

Lemma. The general fibrewise injectivity criterion for module maps

Suppose that $R \to S$ is a local homomorphism of local rings. Denote by $\mathfrak m$ the maximal ideal of $R$. Let $u : M \to N$ be a map of $S$-modules. Assume

  1. $S$ is essentially of finite presentation over $R$,

  2. $M$, $N$ are finitely presented over $S$,

  3. $N$ is flat over $R$, and

  4. $\overline{u} : M/\mathfrak mM \to N/\mathfrak mN$ is injective.

Then $u$ is injective, and $N/u(M)$ is flat over $R$.

Proof. By Lemma Essentially finitely presented module models and its proof we can find a system $R_\lambda \to S_\lambda$ of local ring maps together with maps of $S_\lambda$-modules $u_\lambda : M_\lambda \to N_\lambda$ satisfying the conclusions (1) -- (6) for both $N$ and $M$ of that lemma and such that the colimit of the maps $u_\lambda$ is $u$. By Lemma Eventual flatness in a filtered colimit we may assume that $N_\lambda$ is flat over $R_\lambda$ for all sufficiently large $\lambda$. Denote by $\mathfrak m_\lambda \subset R_\lambda$ the maximal ideal and $\kappa_\lambda = R_\lambda / \mathfrak m_\lambda$, resp. $\kappa = R/\mathfrak m$ the residue fields.

Consider the map $$\Psi_\lambda : M_\lambda/\mathfrak m_\lambda M_\lambda \otimes_{\kappa_\lambda} \kappa \longrightarrow M/\mathfrak m M.$$ Since $S_\lambda/\mathfrak m_\lambda S_\lambda$ is essentially of finite type over the field $\kappa_\lambda$ we see that the tensor product $S_\lambda/\mathfrak m_\lambda S_\lambda \otimes_{\kappa_\lambda} \kappa$ is essentially of finite type over $\kappa$. Hence it is a Noetherian ring and we conclude the kernel of $\Psi_\lambda$ is finitely generated. Since $M/\mathfrak m M$ is the colimit of the system $M_\lambda/\mathfrak m_\lambda M_\lambda$ and $\kappa$ is the colimit of the fields $\kappa_\lambda$ there exists a $\lambda' \geq \lambda$ such that the kernel of $\Psi_\lambda$ is generated by the kernel of $$\Psi_{\lambda, \lambda'} : M_\lambda/\mathfrak m_\lambda M_\lambda \otimes_{\kappa_\lambda} \kappa_{\lambda'} \longrightarrow M_{\lambda'}/\mathfrak m_{\lambda'} M_{\lambda'}.$$ By construction there exists a multiplicative subset $W \subset S_\lambda \otimes_{R_\lambda} R_{\lambda'}$ such that $S_{\lambda'} = W^{-1}(S_\lambda \otimes_{R_\lambda} R_{\lambda'})$ and $$W^{-1}(M_\lambda/\mathfrak m_\lambda M_\lambda \otimes_{\kappa_\lambda} \kappa_{\lambda'})

M_{\lambda'}/\mathfrak m_{\lambda'} M_{\lambda'}.$$ Now suppose that $x$ is an element of the kernel of $$\Psi_{\lambda'} : M_{\lambda'}/\mathfrak m_{\lambda'} M_{\lambda'} \otimes_{\kappa_{\lambda'}} \kappa \longrightarrow M/\mathfrak m M.$$ Write $x = y/w$ for some $w \in W$ and $y \in M_\lambda/\mathfrak m_\lambda M_\lambda \otimes_{\kappa_\lambda} \kappa$. Hence $y \in \operatorname{Ker}(\Psi_\lambda)$. Hence $y$ is a linear combination of elements in the kernel of $\Psi_{\lambda, \lambda'}$. Hence the image of $y$ is zero in $M_{\lambda'}/\mathfrak m_{\lambda'} M_{\lambda'} \otimes_{\kappa_{\lambda'}} \kappa$, hence $x = 0$ because $w$ is invertible in $S_{\lambda'}$. We conclude that the kernel of $\Psi_{\lambda'}$ is zero for all sufficiently large $\lambda'$!

By the result of the preceding paragraph we may assume that the kernel of $\Psi_\lambda$ is zero for all $\lambda$ sufficiently large, which implies that the map $M_\lambda/\mathfrak m_\lambda M_\lambda \to M/\mathfrak m M$ is injective. Combined with $\overline{u}$ being injective this formally implies that also $\overline{u_\lambda} : M_\lambda/\mathfrak m_\lambda M_\lambda \to N_\lambda/\mathfrak m_\lambda N_\lambda$ is injective. By Lemma Injectivity from a fibrewise injectivity criterion we conclude that (for all sufficiently large $\lambda$) the map $u_\lambda$ is injective and that $N_\lambda/u_\lambda(M_\lambda)$ is flat over $R_\lambda$. The lemma follows. $\square$

Remark. Finite generation and finite presentation over a general ring

It is not true that a finite $R$-module which is $R$-flat is automatically projective. A counterexample is where $R = \mathcal{C}^\infty(\mathbf{R})$ is the ring of infinitely differentiable functions on $\mathbf{R}$, and $M = R_{\mathfrak m} = R/I$ where $\mathfrak m = \{f \in R \mid f(0) = 0\}$ and $I = \{f \in R \mid \exists \epsilon, \epsilon > 0 : f(x) = 0\ \forall x, |x| < \epsilon\}$.

Lemma. Complete rings, formal power series and flatness

Let $I$ be an ideal of a Noetherian ring $R$. Denote by ${}^\wedge$ completion with respect to $I$.

  1. The ring map $R \to R^\wedge$ is flat.

  2. The functor $M \mapsto M^\wedge$ is exact on the category of finitely generated $R$-modules.

Proof. Consider $J \otimes_R R^\wedge \to R \otimes_R R^\wedge = R^\wedge$ where $J$ is an arbitrary ideal of $R$. According to Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1 this is identified with $J^\wedge \to R^\wedge$ and $J^\wedge \to R^\wedge$ is injective. Part (1) follows from Lemma Flatness. Part (2) is a reformulation of Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1 part (2). $\square$

Lemma. Composition and flatness

A composition of (faithfully) flat ring maps is (faithfully) flat. If $R \to R'$ is (faithfully) flat, and $M'$ is a (faithfully) flat $R'$-module, then $M'$ is a (faithfully) flat $R$-module.

Proof. The first statement of the lemma is a particular case of the second, so it is clearly enough to prove the latter. Let $R \to R'$ be a flat ring map, and $M'$ a flat $R'$-module. We need to prove that $M'$ is a flat $R$-module. Let $N_1 \to N_2 \to N_3$ be an exact complex of $R$-modules. Then, the complex $R' \otimes_R N_1 \to R' \otimes_R N_2 \to R' \otimes_R N_3$ is exact (since $R'$ is flat as an $R$-module), and so the complex $M' \otimes_{R'} \left(R' \otimes_R N_1\right) \to M' \otimes_{R'} \left(R' \otimes_R N_2\right) \to M' \otimes_{R'} \left(R' \otimes_R N_3\right)$ is exact (since $M'$ is a flat $R'$-module). Since $M' \otimes_{R'} \left(R' \otimes_R N\right) \cong \left(M' \otimes_{R'} R'\right) \otimes_R N \cong M' \otimes_R N$ for any $R$-module $N$ functorially (by Lemmas Modules and tensor products and direct sums (uncovered prerequisite) and Tensor products and direct sums (uncovered prerequisite)), this complex is isomorphic to the complex $M' \otimes_R N_1 \to M' \otimes_R N_2 \to M' \otimes_R N_3$, which is therefore also exact. This shows that $M'$ is a flat $R$-module. Tracing this argument backwards, we can show that if $R \to R'$ is faithfully flat, and if $M'$ is faithfully flat as an $R'$-module, then $M'$ is faithfully flat as an $R$-module. $\square$

Lemma. Complete rings and formal power series

Let $R$ be a Noetherian ring. Let $I$ be an ideal of $R$. Let $M$ be an $R$-module. Then the completion $M^\wedge$ of $M$ with respect to $I$ is $I$-adically complete, $I^n M^\wedge = (I^nM)^\wedge$, and $M^\wedge/I^nM^\wedge = M/I^nM$.

Proof. This is a special case of Lemma Finite algebras because $I$ is a finitely generated ideal. $\square$

Lemma. Flatness

Let $0 \to M_1 \to M_2 \to M_3 \to 0$ be a universally exact sequence of $R$-modules, and suppose $M_2$ is flat. Then $M_1$ and $M_3$ are flat.

Proof. Let $0 \to N \to N' \to N'' \to 0$ be a short exact sequence of $R$-modules. Consider the commutative diagram $$\begin{gathered}\begin{matrix}M_1 \otimes_R N & M_2 \otimes_R N & M_3 \otimes_R N \\ M_1 \otimes_R N' & M_2 \otimes_R N' & M_3 \otimes_R N' \\ M_1 \otimes_R N'' & M_2 \otimes_R N'' & M_3 \otimes_R N''\end{matrix} \\[6pt] \begin{aligned}M_1 \otimes_R N & \longrightarrow M_2 \otimes_R N \\ M_1 \otimes_R N & \longrightarrow M_1 \otimes_R N' \\ M_2 \otimes_R N & \longrightarrow M_3 \otimes_R N \\ M_2 \otimes_R N & \longrightarrow M_2 \otimes_R N' \\ M_3 \otimes_R N & \longrightarrow M_3 \otimes_R N' \\ M_1 \otimes_R N' & \longrightarrow M_2 \otimes_R N' \\ M_1 \otimes_R N' & \longrightarrow M_1 \otimes_R N'' \\ M_2 \otimes_R N' & \longrightarrow M_3 \otimes_R N' \\ M_2 \otimes_R N' & \longrightarrow M_2 \otimes_R N'' \\ M_3 \otimes_R N' & \longrightarrow M_3 \otimes_R N'' \\ M_1 \otimes_R N'' & \longrightarrow M_2 \otimes_R N'' \\ M_2 \otimes_R N'' & \longrightarrow M_3 \otimes_R N''\end{aligned}\end{gathered}$$ (we have dropped the $0$'s on the boundary). By assumption the rows give short exact sequences and the arrow $M_2 \otimes N \to M_2 \otimes N'$ is injective. Clearly this implies that $M_1 \otimes N \to M_1 \otimes N'$ is injective and we see that $M_1$ is flat. In particular the left and middle columns give rise to short exact sequences. It follows from a diagram chase that the arrow $M_3 \otimes N \to M_3 \otimes N'$ is injective. Hence $M_3$ is flat. $\square$

Proposition. Criteria for coherent sheaves

Source credit: This is the original source citation Chase (Theorem 2.1).

Let $R$ be a ring. The following are equivalent

  1. $R$ is coherent,

  2. any product of flat $R$-modules is flat, and

  3. for every set $A$ the module $R^A$ is flat.

Proof. Assume $R$ coherent, and let $Q_\alpha$, $\alpha \in A$ be a set of flat $R$-modules. We have to show that $I \otimes_R \prod_\alpha Q_\alpha \to \prod Q_\alpha$ is injective for every finitely generated ideal $I$ of $R$, see Lemma Flatness. Since $R$ is coherent $I$ is an $R$-module of finite presentation. Hence $I \otimes_R \prod_\alpha Q_\alpha = \prod I \otimes_R Q_\alpha$ by Proposition Finite presentation and tensor products and direct sums (uncovered prerequisite). The desired injectivity follows as $I \otimes_R Q_\alpha \to Q_\alpha$ is injective by flatness of $Q_\alpha$.

The implication (2) $\Rightarrow$ (3) is trivial.

Assume that the $R$-module $R^A$ is flat for every set $A$. Let $I$ be a finitely generated ideal in $R$. Then $I \otimes_R R^A \to R^A$ is injective by assumption. By Proposition Tensor products and direct sums (uncovered prerequisite) and the finiteness of $I$ the image is equal to $I^A$. Hence $I \otimes_R R^A = I^A$ for every set $A$ and we conclude that $I$ is finitely presented by Proposition Finite presentation and tensor products and direct sums (uncovered prerequisite). $\square$

Lemma. Coherent sheaves and Noetherian rings

A Noetherian ring is a coherent ring.

Proof. By Lemma Finite presentation and Noetherian rings (programme binding) any finite $R$-module is finitely presented. In particular any ideal of $R$ is finitely presented. $\square$

Remark. Derived Hom and Ext

We can also construct $R^{sh}$ from $R^h$. Namely, for any finite separable subextension $\kappa^{sep}/\kappa'/\kappa$ there exists a unique (up to unique isomorphism) finite étale local ring extension $R^h \subset R^h(\kappa')$ whose residue field extension reproduces the given extension, see Lemma Finite étale algebras over a henselian ring. Hence we can set $$R^{sh} = \bigcup\nolimits_{\kappa \subset \kappa' \subset \kappa^{sep}} R^h(\kappa')$$ The arrows in this system, compatible with the arrows on the level of residue fields, exist by Lemma Finite étale algebras over a henselian ring. This will produce a henselian local ring by Lemma Filtered limits and henselian rings (programme binding) since each of the rings $R^h(\kappa')$ is henselian by Lemma Henselian rings and finite algebras (programme binding). By construction the residue field extension induced by $R^h \to R^{sh}$ is the field extension $\kappa^{sep}/\kappa$. Hence $R^{sh}$ so constructed is strictly henselian. By Lemma Composition and étale morphisms (uncovered prerequisite) the $R$-algebra $R^{sh}$ is a colimit of étale $R$-algebras. Hence the uniqueness of Lemma Henselian rings (uncovered prerequisite) shows that $R^{sh}$ is the strict henselization.

Lemma. Filtered limits and henselian rings

Let $R \to S$ be a ring map with $S$ henselian local. Given

  1. an $R$-algebra $A$ which is a filtered colimit of étale $R$-algebras,

  2. a prime $\mathfrak q$ of $A$ lying over $\mathfrak p = R \cap \mathfrak m_S$,

  3. a $\kappa(\mathfrak p)$-algebra map $\tau : \kappa(\mathfrak q) \to S/\mathfrak m_S$,

then there exists a unique homomorphism of $R$-algebras $f : A \to S$ such that $\mathfrak q = f^{-1}(\mathfrak m_S)$ and $f$ induces $\tau$ on residue fields.

Proof. Write $A = \mathop{\operatorname{colim}} A_i$ as a filtered colimit of étale $R$-algebras. Set $\mathfrak q_i = A_i \cap \mathfrak q$. We obtain $f_i : A_i \to S$ by applying Lemma Maps into a henselian local ring. Set $f = \mathop{\operatorname{colim}} f_i$. $\square$

Proposition. Successive localizations

Let $\overline{S}$ be the image of $S$ in $S'^{-1}A$, then $(SS')^{-1}A$ is isomorphic to $\overline{S}^{-1}(S'^{-1}A)$.

Proof. The map sending $x\in A$ to $x/1\in (SS')^{-1}A$ induces a map sending $x/s\in S'^{-1}A$ to $x/s \in (SS')^{-1}A$, by universal property. The image of the elements in $\overline{S}$ are invertible in $(SS')^{-1}A$. By the universal property we get a map $f : \overline{S}^{-1}(S'^{-1}A) \to (SS')^{-1}A$ which maps $(x/s')/(s/1)$ to $x/ss'$.

On the other hand, the map from $A$ to $\overline{S}^{-1}(S'^{-1}A)$ sending $x\in A$ to $(x/1)/(1/1)$ also induces a map $g : (SS')^{-1}A \to \overline{S}^{-1}(S'^{-1}A)$ which sends $x/ss'$ to $(x/s')/(s/1)$, by the universal property again. It is immediately checked that $f$ and $g$ are inverse to each other, hence they are both isomorphisms. $\square$

Proposition. Exactness of localization

Source credit: the original source citation FAC (Chapter II, §4, no. 48, Lemma 1, p. 241)

The cited proof constructs the localized module from fractions, identifies $S^{-1}A \otimes_A M$ with $S^{-1}M$, and checks exactness directly. It assumes $0 \notin S$; the formulation below also includes the zero-ring localization when $0 \in S$.

Localization is exact.

Let $L\xrightarrow{u} M\xrightarrow{v} N$ be an exact sequence of $A$-modules. Then $S^{-1}L \to S^{-1}M \to S^{-1}N$ is also exact.

Proof. First it is clear that $S^{-1}L \to S^{-1}M \to S^{-1}N$ is a complex since localization is a functor. Next suppose that $x/s$ maps to zero in $S^{-1}N$ for some $x/s \in S^{-1}M$. Then by definition there is a $t\in S$ such that $v(xt) = v(x)t = 0$ in $N$, which means $xt \in \operatorname{Ker}(v)$. By the exactness of $L \to M \to N$ we have $xt = u(y)$ for some $y$ in $L$. Then $x/s$ is the image of $y/st$. This proves the exactness. $\square$

Lemma. Projective, locally free modules and finite algebras

Let $R \to S$ be a flat local homomorphism of local rings. Let $M$ be a finite $R$-module. Then $M$ is finite projective over $R$ if and only if $M \otimes_R S$ is finite projective over $S$.

Proof. By Lemma Characterizations of finite projective modules being finite projective over a local ring is the same thing as being finite free. Suppose that $M \otimes_R S$ is a finite free $S$-module. Pick $x_1, \ldots, x_r \in M$ whose images in $M/\mathfrak m_RM$ form a basis over $\kappa(\mathfrak m_R)$. Then we see that $x_1 \otimes 1, \ldots, x_r \otimes 1$ are a basis for $M \otimes_R S$. This implies that the map $R^{\oplus r} \to M, (a_i) \mapsto \sum a_i x_i$ becomes an isomorphism after tensoring with $S$. By faithful flatness of $R \to S$, see Lemma Flatness and local algebra we see that it is an isomorphism. $\square$

Lemma. Finite presentation and flatness

Let $R$ be a ring. Let $R \to S$ be of finite presentation and flat. For any $d \geq 0$ the set $$\left\{ \begin{matrix} \mathfrak q \in \operatorname{Spec}(S) \text{ such that setting }\mathfrak p = R \cap \mathfrak q \text{ the fibre ring}\\ S_{\mathfrak q}/\mathfrak pS_{\mathfrak q} \text{ is Cohen-Macaulay} \text{ and } \dim_{\mathfrak q}(S/R) = d \end{matrix} \right\}$$ is open in $\operatorname{Spec}(S)$.

Proof. Let $\mathfrak q$ be an element of the set indicated, with $\mathfrak p$ the corresponding prime of $R$. We have to find a $g \in S$, $g \not \in \mathfrak q$ such that all fibre rings of $R \to S_g$ are Cohen-Macaulay and $\dim_{\mathfrak r}(S_g/R) = d$ for every prime $\mathfrak r \subset S_g$. During the course of the proof we may (finitely many times) replace $S$ by $S_g$ for a $g \in S$, $g \not \in \mathfrak q$. Thus by Lemma Finite algebras we may assume there is a quasi-finite ring map $R[t_1, \ldots, t_d] \to S$ with $d = \dim_{\mathfrak q}(S/R)$. Let $\mathfrak q' = R[t_1, \ldots, t_d] \cap \mathfrak q$. By Lemma Commutative algebra (programme binding) we see that the ring map $$R[t_1, \ldots, t_d]_{\mathfrak q'} / \mathfrak p R[t_1, \ldots, t_d]_{\mathfrak q'} \longrightarrow S_{\mathfrak q}/\mathfrak p S_{\mathfrak q}$$ is flat. Hence by the critère de platitude par fibres Lemma The fibrewise criterion for flatness we see that $R[t_1, \ldots, t_d]_{\mathfrak q'} \to S_{\mathfrak q}$ is flat. Hence by Theorem Openness of the flat locus (programme binding) we see that for some $g \in S$, $g \not \in \mathfrak q$, the ring map $R[t_1, \ldots, t_d] \to S_g$ is flat. Replacing $S$ by $S_g$ we see that for every prime $\mathfrak r \subset S$, setting $\mathfrak r' = R[t_1, \ldots, t_d] \cap \mathfrak r$ and $\mathfrak p' = R \cap \mathfrak r$ the local ring map $R[t_1, \ldots, t_d]_{\mathfrak r'} \to S_{\mathfrak r}$ is flat. Hence also the base change $$R[t_1, \ldots, t_d]_{\mathfrak r'} / \mathfrak p' R[t_1, \ldots, t_d]_{\mathfrak r'} \longrightarrow S_{\mathfrak r}/\mathfrak p' S_{\mathfrak r}$$ is flat. Hence by Lemma Commutative algebra (programme binding) applied with $k = \kappa(\mathfrak p')$ we see $\mathfrak r$ is in the set of the lemma as desired. $\square$

Lemma. Divisibility of polynomials

Let $K$ be a field. Let $n, m \in \mathbf{N}$ and $a_0, \ldots, a_{n - 1}, b_0, \ldots, b_{m - 1} \in K$. If the polynomial $x^n + a_{n - 1}x^{n - 1} + \ldots + a_0$ divides the polynomial $x^m + b_{m - 1} x^{m - 1} + \ldots + b_0$ in $K[x]$ then

  1. $a_0, \ldots, a_{n - 1}$ are integral over any subring $R_0$ of $K$ containing the elements $b_0, \ldots, b_{m - 1}$, and

  2. each $a_i$ lies in $\sqrt{(b_0, \ldots, b_{m-1})R}$ for any subring $R \subset K$ containing the elements $a_0, \ldots, a_{n - 1}, b_0, \ldots, b_{m - 1}$.

Proof. Let $L/K$ be a field extension such that we can write $x^m + b_{m - 1} x^{m - 1} + \ldots + b_0 = \prod_{i = 1}^m (x - \beta_i)$ with $\beta_i \in L$. See Fields, Section The geometric construction. Each $\beta_i$ is integral over $R_0$. Since each $a_i$ is a homogeneous polynomial in $\beta_1, \ldots, \beta_m$ we deduce the same for the $a_i$ (use Lemma Integral extensions). This proves (1).

Let $R$ be as in (2). Choose $c_0, \ldots, c_{m - n - 1} \in K$ such that $$\begin{matrix} x^m + b_{m - 1} x^{m - 1} + \ldots + b_0 = \\ (x^n + a_{n - 1}x^{n - 1} + \ldots + a_0) (x^{m - n} + c_{m - n - 1}x^{m - n - 1}+ \ldots + c_0). \end{matrix}$$ This equation implies $$\begin{aligned} c_{m - n - 1} & = b_{m - 1} - a_{n - 1}, \\ c_{m - n - 2} & = b_{m - 2} - a_{n - 2} - a_{n - 1}c_{m - n - 1}, \\ \ldots \end{aligned}$$ Thus $c_j \in R$ for all $j$. Dividing out the radical $\sqrt{(b_0, \ldots, b_{m - 1})}$ we get a reduced ring $\overline{R}$. We have to show that the images $\overline{a}_i \in \overline{R}$ are zero. And in $\overline{R}[x]$ we have the relation $$\begin{matrix} x^m = x^m + \overline{b}_{m - 1} x^{m - 1} + \ldots + \overline{b}_0 = \\ (x^n + \overline{a}_{n - 1}x^{n - 1} + \ldots + \overline{a}_0) (x^{m - n} + \overline{c}_{m - n - 1}x^{m - n - 1}+ \ldots + \overline{c}_0). \end{matrix}$$ It is easy to see that this implies $\overline{a}_i = 0$ for all $i$. Indeed by Lemma Localizations at minimal primes of a reduced ring the localization of $\overline{R}$ at a minimal prime $\mathfrak{p}$ is a field and $\overline{R}_{\mathfrak p}[x]$ a UFD. Thus $f = x^n + \sum \overline{a}_i x^i$ is associated to $x^n$ and since $f$ is monic $f = x^n$ in $\overline{R}_{\mathfrak p}[x]$. Then there exists an $s \in \overline{R}$, $s \not\in \mathfrak p$ such that $s(f - x^n) = 0$. Therefore all $\overline{a}_i$ lie in $\mathfrak p$ and we conclude by Lemma Field extensions and tensor products and direct sums (uncovered prerequisite). $\square$

Lemma. Criteria for integral extensions

Let $\varphi : R \to S$ be a ring map. Let $s_1, \ldots, s_n$ be a finite set of elements of $S$. In this case $s_i$ is integral over $R$ for all $i = 1, \ldots, n$ if and only if there exists an $R$-subalgebra $S' \subset S$ finite over $R$ containing all of the $s_i$.

Proof. If each $s_i$ is integral, then the subalgebra generated by $\varphi(R)$ and the $s_i$ is finite over $R$. Namely, if $s_i$ satisfies a monic equation of degree $d_i$ over $R$, then this subalgebra is generated as an $R$-module by the elements $s_1^{e_1} \ldots s_n^{e_n}$ with $0 \leq e_i \leq d_i - 1$. Conversely, suppose given a finite $R$-subalgebra $S'$ containing all the $s_i$. Then all of the $s_i$ are integral by Lemma Integral extensions and finite algebras. $\square$

Lemma. Idempotents and open-and-closed subsets of a spectrum

Let $R$ be a ring. Let $e \in R$ be an idempotent. In this case $$\operatorname{Spec}(R) = D(e) \amalg D(1-e).$$

Proof. Note that an idempotent $e$ of a domain is either $1$ or $0$. Hence we see that $$\begin{eqnarray*} D(e) & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid e \not\in \mathfrak p \} \\ & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid e \not = 0\text{ in }\kappa(\mathfrak p) \} \\ & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid e = 1\text{ in }\kappa(\mathfrak p) \} \end{eqnarray*}$$ Similarly we have $$\begin{eqnarray*} D(1-e) & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid 1 - e \not\in \mathfrak p \} \\ & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid e \not = 1\text{ in }\kappa(\mathfrak p) \} \\ & = & \{ \mathfrak p \in \operatorname{Spec}(R) \mid e = 0\text{ in }\kappa(\mathfrak p) \} \end{eqnarray*}$$ Since the image of $e$ in any residue field is either $1$ or $0$ we deduce that $D(e)$ and $D(1-e)$ cover all of $\operatorname{Spec}(R)$. $\square$

Lemma. Principal open subsets of a spectrum

Let $R$ be a ring. Let $f \in R$. The map $R \to R_f$ induces via the functoriality of $\operatorname{Spec}$ a homeomorphism $$\operatorname{Spec}(R_f) \longrightarrow D(f) \subset \operatorname{Spec}(R).$$ The inverse is given by $\mathfrak p \mapsto \mathfrak p \cdot R_f$.

Proof. This is a special case of Lemma The spectrum of a localization. $\square$

Theorem. Chevalley's constructibility theorem (Chevalley's Theorem)

Suppose that $R \to S$ is of finite presentation. The image of a constructible subset of $\operatorname{Spec}(S)$ in $\operatorname{Spec}(R)$ is constructible.

Proof. Write $S = R[x_1, \ldots, x_n]/(f_1, \ldots, f_m)$. We may factor $R \to S$ as $R \to R[x_1] \to R[x_1, x_2] \to \ldots \to R[x_1, \ldots, x_{n-1}] \to S$. Hence we may assume that $S = R[x]/(f_1, \ldots, f_m)$. In this case we factor the map as $R \to R[x] \to S$, and by Lemma Finite presentation (uncovered prerequisite) we reduce to the case $S = R[x]$. By Lemma Commutative algebra (programme binding) it suffices to show that if $T = (\bigcup_{i = 1\ldots n} D(f_i)) \cap V(g_1, \ldots, g_m)$ for $f_i , g_j \in R[x]$ then the image in $\operatorname{Spec}(R)$ is constructible. Since finite unions of constructible sets are constructible, it suffices to deal with the case $n = 1$, i.e., when $T = D(f) \cap V(g_1, \ldots, g_m)$.

Note that if $c \in R$, then we have $$\operatorname{Spec}(R) = V(c) \amalg D(c) = \operatorname{Spec}(R/(c)) \amalg \operatorname{Spec}(R_c),$$ and correspondingly $\operatorname{Spec}(R[x]) = V(c) \amalg D(c) = \operatorname{Spec}(R/(c)[x]) \amalg \operatorname{Spec}(R_c[x])$. The intersection of $T = D(f) \cap V(g_1, \ldots, g_m)$ with each part still has the same shape, with $f$, $g_i$ replaced by their images in $R/(c)[x]$, respectively $R_c[x]$. Note that the image of $T$ in $\operatorname{Spec}(R)$ is the union of the image of $T \cap V(c)$ and $T \cap D(c)$. Using Lemmas Finite presentation (uncovered prerequisite) and Finite presentation (uncovered prerequisite) it suffices to prove the images of both parts are constructible in $\operatorname{Spec}(R/(c))$, respectively $\operatorname{Spec}(R_c)$.

Let us assume we have $T = D(f) \cap V(g_1, \ldots, g_m)$ as above, with $\deg(g_1) \leq \deg(g_2) \leq \ldots \leq \deg(g_m)$. We are going to use induction on $m$, and on the degrees of the $g_i$. Let $d_1 = \deg(g_1)$, i.e., $g_1 = c x^{d_1} + l.o.t$ with $c \in R$ not zero. Cutting $R$ up into the pieces $R/(c)$ and $R_c$ we either lower the degree of $g_1$ (and this is covered by induction) or we reduce to the case where $c$ is invertible. If $c$ is invertible, and $m > 1$, then write $g_2 = c' x^{d_2} + l.o.t$. In this case consider $g_2' = g_2 - (c'/c) x^{d_2 - d_1} g_1$. Since the ideals $(g_1, g_2, \ldots, g_m)$ and $(g_1, g_2', g_3, \ldots, g_m)$ are equal we see that $T = D(f) \cap V(g_1, g_2', g_3\ldots, g_m)$. But here the degree of $g_2'$ is strictly less than the degree of $g_2$ and hence this case is covered by induction.

The bases case for the induction above are the cases (a) $T = D(f) \cap V(g)$ where the leading coefficient of $g$ is invertible, and (b) $T = D(f)$. These two cases are dealt with in Lemmas Affine neighbourhoods (uncovered prerequisite) and Affine neighbourhoods (uncovered prerequisite). $\square$

Lemma. Commutative algebra

Let $R$ be a ring. Let $E \subset \operatorname{Spec}(R)$ be a constructible subset.

  1. If $E$ is stable under specialization, then $E$ is closed.

  2. If $E$ is stable under generalization, then $E$ is open.

Proof. First proof. The first assertion follows from Lemma Closed images stable under specialization combined with Lemma Commutative algebra (programme binding). The second follows because the complement of a constructible set is constructible (see Topology, Lemma The geometric construction (programme binding)), the first part of the lemma and Topology, Lemma The geometric construction (programme binding).

Second proof. Since $\operatorname{Spec}(R)$ is a spectral space by Lemma Prime spectra and associated points (uncovered prerequisite) this is a special case of Topology, Lemma The geometric construction (programme binding). $\square$

Lemma. Integral extensions

Let $R \to S$ be a ring homomorphism. The set $$S' = \{s \in S \mid s\text{ is integral over }R\}$$ is an $R$-subalgebra of $S$.

Proof. This is clear from Lemmas Criteria for integral extensions and Integral extensions and finite algebras. $\square$

Lemma. Criteria for integral extensions

Let $\varphi : R \to S$ be a ring map. Let $I \subset R$ be an ideal. Let $A = \sum I^nt^n \subset R[t]$ be the subring of the polynomial ring generated by $R \oplus It \subset R[t]$. An element $s \in S$ is integral over $I$ if and only if the element $st \in S[t]$ is integral over $A$.

Proof. Suppose $st$ is integral over $A$. Let $P = x^d + \sum_{j < d} a_j x^j$ be a monic polynomial with coefficients in $A$ such that $P^\varphi(st) = 0$. Let $a_j' \in A$ be the degree $d-j$ part of $a_j$, in other words $a_j' = a_j'' t^{d-j}$ with $a_j'' \in I^{d-j}$. For degree reasons we still have $(st)^d + \sum_{j < d} \varphi(a_j'') t^{d-j} (st)^j = 0$. Hence $s^d + \sum_{j < d} \varphi(a_j'') s^j = 0$ and we see that $s$ is integral over $I$.

Suppose that $s$ is integral over $I$. Say $P = x^d + \sum_{j < d} a_j x^j$ with $a_j \in I^{d-j}$. Then we immediately find a polynomial $Q = x^d + \sum_{j < d} (a_j t^{d-j}) x^j$ with coefficients in $A$ which proves that $st$ is integral over $A$. $\square$

Lemma. A point in the image of a spectrum map

Let $\varphi : R \to S$ be a ring map. Let $\mathfrak p$ be a prime of $R$. The following are equivalent

  1. $\mathfrak p$ is in the image of $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$,

  2. $S \otimes_R \kappa(\mathfrak p) \not = 0$,

  3. $S_{\mathfrak p}/\mathfrak p S_{\mathfrak p} \not = 0$,

  4. $(S/\mathfrak pS)_{\mathfrak p} \not = 0$, and

  5. $\mathfrak p = \varphi^{-1}(\mathfrak pS)$.

Proof. We have already seen the equivalence of the first two in Remark Commutative algebra. The others are just reformulations of this. $\square$

Lemma. Integral extensions and local algebra

Integral closure commutes with localization: If $A \to B$ is a ring map, and $S \subset A$ is a multiplicative subset, then the integral closure of $S^{-1}A$ in $S^{-1}B$ is $S^{-1}B'$, where $B' \subset B$ is the integral closure of $A$ in $B$.

Proof. Since localization is exact we see that $S^{-1}B' \subset S^{-1}B$. Suppose $x \in B'$ and $f \in S$. Then $x^d + \sum_{i = 1, \ldots, d} a_i x^{d - i} = 0$ in $B$ for some $a_i \in A$. Hence also $$(x/f)^d + \sum\nolimits_{i = 1, \ldots, d} a_i/f^i (x/f)^{d - i} = 0$$ in $S^{-1}B$. In this way we see that $S^{-1}B'$ is contained in the integral closure of $S^{-1}A$ in $S^{-1}B$. Conversely, suppose that $x/f \in S^{-1}B$ is integral over $S^{-1}A$. Then we have $$(x/f)^d + \sum\nolimits_{i = 1, \ldots, d} (a_i/f_i) (x/f)^{d - i} = 0$$ in $S^{-1}B$ for some $a_i \in A$ and $f_i \in S$. This means that $$(f'f_1 \ldots f_d x)^d + \sum\nolimits_{i = 1, \ldots, d} f^i(f')^if_1^i \ldots f_i^{i - 1} \ldots f_d^i a_i (f'f_1 \ldots f_dx)^{d - i} = 0$$ for a suitable $f' \in S$. Hence $f'f_1\ldots f_dx \in B'$ and thus $x/f \in S^{-1}B'$ as desired. $\square$

Lemma. Base change for integral extensions

Integrality and finiteness are preserved under base change.

Let $R \to S$ and $R \to R'$ be ring maps. Set $S' = R' \otimes_R S$.

  1. If $R \to S$ is integral so is $R' \to S'$.

  2. If $R \to S$ is finite so is $R' \to S'$.

Proof. We prove (1). Let $s_i \in S$ be generators for $S$ over $R$. Each of these satisfies a monic polynomial equation $P_i$ over $R$. Hence the elements $1 \otimes s_i \in S'$ generate $S'$ over $R'$ and satisfy the corresponding polynomial $P_i'$ over $R'$. Since these elements generate $S'$ over $R'$ we see that $S'$ is integral over $R'$. Proof of (2) omitted. $\square$

Lemma. Commutative algebra

Let $R \to S$ be a ring map.

  1. $R \to S$ satisfies going down if and only if generalizations lift along the map $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$, see Topology, Definition Lifting the geometric construction.

  2. $R \to S$ satisfies going up if and only if specializations lift along the map $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$, see Topology, Definition Lifting the geometric construction.

Proof. Omitted. $\square$

Lemma. Injective resolutions and prime spectra and associated points

Let $R \subset S$ be an injective ring map. Then $\operatorname{Spec}(S) \to \operatorname{Spec}(R)$ hits all the minimal primes.

Proof. Let $\mathfrak p \subset R$ be a minimal prime. In this case $R_{\mathfrak p}$ has a unique prime ideal. Hence it suffices to show that $S_{\mathfrak p}$ is not zero. And this follows from the fact that localization is exact, see Proposition Exactness of localization. $\square$

Lemma. Localization of modules and local algebra

Let $R$ be a ring. Let $S \subset R$ be a multiplicative subset. The category of $S^{-1}R$-modules is equivalent to the category of $R$-modules $N$ with the property that every $s \in S$ acts as an automorphism on $N$.

Proof. The functor which defines the equivalence associates to an $S^{-1}R$-module $M$ the same module but now viewed as an $R$-module via the localization map $R \to S^{-1}R$. Conversely, if $N$ is an $R$-module, such that every $s \in S$ acts via an automorphism $s_N$, then we can think of $N$ as an $S^{-1}R$-module by letting $x/s$ act via $x_N \circ s_N^{-1}$. We omit the verification that these two functors are quasi-inverse to each other. $\square$

Lemma. Exactness of Hom from a projective module

Exactness and $\operatorname{Hom}_R$. Let $R$ be a ring. Let $M_1$, $M_2$, $M_3$ be $R$-modules. Let $M_1 \to M_2$ and $M_2 \to M_3$ be $R$-module maps.

  1. $M_1 \to M_2 \to M_3 \to 0$ is exact if and only if $0 \to \operatorname{Hom}_R(M_3, N) \to \operatorname{Hom}_R(M_2, N) \to \operatorname{Hom}_R(M_1, N)$ is exact for all $R$-modules $N$.

  2. $0 \to M_1 \to M_2 \to M_3$ is exact if and only if $0 \to \operatorname{Hom}_R(N, M_1) \to \operatorname{Hom}_R(N, M_2) \to \operatorname{Hom}_R(N, M_3)$ is exact for all $R$-modules $N$.

Proof. Omitted. $\square$

Lemma. Filtered limits and proper morphisms and modules

Let $A$ be a ring and let $M, N$ be $A$-modules. Suppose that $R = \mathop{\operatorname{colim}}_{i \in I} R_i$ is a directed colimit of $A$-algebras.

  1. If $M$ is a finite $A$-module, and $u, u' : M \to N$ are $A$-module maps such that $u \otimes 1 = u' \otimes 1 : M \otimes_A R \to N \otimes_A R$ then for some $i$ we have $u \otimes 1 = u' \otimes 1 : M \otimes_A R_i \to N \otimes_A R_i$.

  2. If $N$ is a finite $A$-module and $u : M \to N$ is an $A$-module map such that $u \otimes 1 : M \otimes_A R \to N \otimes_A R$ is surjective, then for some $i$ the map $u \otimes 1 : M \otimes_A R_i \to N \otimes_A R_i$ is surjective.

  3. If $N$ is a finitely presented $A$-module, and $v : N \otimes_A R \to M \otimes_A R$ is an $R$-module map, then there exists an $i$ and an $R_i$-module map $v_i : N \otimes_A R_i \to M \otimes_A R_i$ such that $v = v_i \otimes 1$.

  4. If $M$ is a finite $A$-module, $N$ is a finitely presented $A$-module, and $u : M \to N$ is an $A$-module map such that $u \otimes 1 : M \otimes_A R \to N \otimes_A R$ is an isomorphism, then for some $i$ the map $u \otimes 1 : M \otimes_A R_i \to N \otimes_A R_i$ is an isomorphism.

Proof. To prove (1) assume $u$ is as in (1) and let $x_1, \ldots, x_m \in M$ be generators. Since $N \otimes_A R = \mathop{\operatorname{colim}}_i N \otimes_A R_i$ we may pick an $i \in I$ such that $u(x_j) \otimes 1 = u'(x_j) \otimes 1$ in $N \otimes_A R_i$, $j = 1, \ldots, m$. For such an $i$ we have $u \otimes 1 = u' \otimes 1 : M \otimes_A R_i \to N \otimes_A R_i$.

To prove (2) assume $u \otimes 1$ surjective and let $y_1, \ldots, y_m \in N$ be generators. Since $N \otimes_A R = \mathop{\operatorname{colim}}_i N \otimes_A R_i$ we may pick an $i \in I$ and $z_j \in M \otimes_A R_i$, $j = 1, \ldots, m$ whose images in $N \otimes_A R$ equal $y_j \otimes 1$. For such an $i$ the map $u \otimes 1 : M \otimes_A R_i \to N \otimes_A R_i$ is surjective.

To prove (3) let $y_1, \ldots, y_m \in N$ be generators. Let $K = \operatorname{Ker}(A^{\oplus m} \to N)$ where the map is given by the rule $(a_1, \ldots, a_m) \mapsto \sum a_j y_j$. Let $k_1, \ldots, k_t$ be generators for $K$. Say $k_s = (k_{s1}, \ldots, k_{sm})$. Since $M \otimes_A R = \mathop{\operatorname{colim}}_i M \otimes_A R_i$ we may pick an $i \in I$ and $z_j \in M \otimes_A R_i$, $j = 1, \ldots, m$ whose images in $M \otimes_A R$ equal $v(y_j \otimes 1)$. We want to use the $z_j$ to define the map $v_i : N \otimes_A R_i \to M \otimes_A R_i$. Since $K \otimes_A R_i \to R_i^{\oplus m} \to N \otimes_A R_i \to 0$ is a presentation, it suffices to check that $\xi_s = \sum_j k_{sj}z_j$ is zero in $M \otimes_A R_i$ for each $s = 1, \ldots, t$. This may not be the case, but since the image of $\xi_s$ in $M \otimes_A R$ is zero we see that it will be the case after increasing $i$ a bit.

To prove (4) assume $u \otimes 1$ is an isomorphism, that $M$ is finite, and that $N$ is finitely presented. Let $v : N \otimes_A R \to M \otimes_A R$ be an inverse to $u \otimes 1$. Apply part (3) to get a map $v_i : N \otimes_A R_i \to M \otimes_A R_i$ for some $i$. Apply part (1) to see that, after increasing $i$ we have $v_i \circ (u \otimes 1) = \text{id}_{M \otimes_A R_i}$ and $(u \otimes 1) \circ v_i = \text{id}_{N \otimes_A R_i}$. $\square$

Lemma. Regular rings

Let $R$ be a ring. Let $M$ be an $R$-module. Let $f_1, \ldots, f_c \in R$ be an $M$-quasi-regular sequence. For any $i$ the sequence $\overline{f}_{i + 1}, \ldots, \overline{f}_c$ of $\overline{R} = R/(f_1, \ldots, f_i)$ is an $\overline{M} = M/(f_1, \ldots, f_i)M$-quasi-regular sequence.

Proof. It suffices to prove this for $i = 1$. Set $\overline{J} = (\overline{f}_2, \ldots, \overline{f}_c) \subset \overline{R}$. Then $$\begin{aligned} \overline{J}^n\overline{M}/\overline{J}^{n + 1}\overline{M} & = (J^nM + f_1M)/(J^{n + 1}M + f_1M) \\ & = J^nM / (J^{n + 1}M + J^nM \cap f_1M). \end{aligned}$$ For $n=0$, the displayed quotient is $M/JM$, as required. For $n \geq 1$, it suffices to show that $J^{n + 1}M + J^nM \cap f_1M = J^{n + 1}M + f_1J^{n - 1}M$ because that will show that $\bigoplus_{n \geq 0} \overline{J}^n\overline{M}/\overline{J}^{n + 1}\overline{M}$ is the quotient of $\bigoplus_{n \geq 0} J^nM/J^{n + 1}M \cong M/JM[X_1, \ldots, X_c]$ by $X_1$. Actually, for $n \geq 1$, we have $J^nM \cap f_1M = f_1J^{n - 1}M$. Namely, if $m \not \in J^{n - 1}M$, then $f_1m \not \in J^nM$ because $\bigoplus J^nM/J^{n + 1}M$ is the polynomial module $(M/JM) \otimes_{R/J} (R/J)[X_1, \ldots, X_c]$ by assumption. $\square$

Lemma. Dimension and codimension

Suppose $R$ is a Noetherian local Cohen-Macaulay ring of dimension $d$. For any prime $\mathfrak p \subset R$ we have $$\dim(R) = \dim(R_{\mathfrak p}) + \dim(R/\mathfrak p).$$

Proof. Follows immediately from Lemma Maximal prime chains in a Cohen–Macaulay ring. (Also, this is a special case of Lemma Dimension and codimension (programme binding).) $\square$

Lemma. The equational criterion for a single module relation

Let $k$ be a field. Let $S = k[x_1, \ldots, x_n]/I$ for some proper ideal $I$. If $I \not = 0$, then there exist $y_1, \ldots, y_{n-1} \in k[x_1, \ldots, x_n]$ such that $S$ is finite over $k[y_1, \ldots, y_{n-1}]$. Moreover we may choose $y_i$ to be in the $\mathbf{Z}$-subalgebra of $k[x_1, \ldots, x_n]$ generated by $x_1, \ldots, x_n$.

Proof. Pick $f \in I$, $f\not = 0$. It suffices to show the lemma for $k[x_1, \ldots, x_n]/(f)$ since $S$ is a quotient of that ring. We will take $y_i = x_i - x_n^{e_i}$, $i = 1, \ldots, n-1$ for suitable integers $e_i$. When does this work? It suffices to show that $\overline{x_n} \in k[x_1, \ldots, x_n]/(f)$ is integral over the ring $k[y_1, \ldots, y_{n-1}]$. The equation for $\overline{x_n}$ over this ring is $$f(y_1 + x_n^{e_1}, \ldots, y_{n-1} + x_n^{e_{n-1}}, x_n) = 0.$$ Hence we are done if we can show there exist integers $e_i$ such that the leading coefficient with respect to $x_n$ of the equation above is a nonzero element of $k$. This can be achieved for example by choosing $e_1 \gg e_2 \gg \ldots \gg e_{n-1}$, see Lemma Commutative algebra (programme binding). $\square$

Lemma. Dimension, codimension and integral extensions

Suppose $R \subset S$ and $S$ integral over $R$. Then $\dim(R) = \dim(S)$.

Proof. This is a combination of Lemmas Going up for integral ring maps, Surjectivity on spectra of an integral overring, Dimension and codimension (programme binding), and Dimension under an integral extension. $\square$

Lemma. Dimension and codimension

Let $R$ be a local Noetherian ring. The following are equivalent:

  1. $\dim(R) = 1$,

  2. $d(R) = 1$,

  3. there exists an $x \in \mathfrak m$, $x$ not nilpotent such that $V(x) = \{\mathfrak m\}$,

  4. there exists an $x \in \mathfrak m$, $x$ not nilpotent such that $\mathfrak m = \sqrt{(x)}$, and

there exists an ideal of definition generated by $1$ element, and no ideal of definition is generated by $0$ elements.

Proof. First, assume that $\dim(R) = 1$. Let $\mathfrak p_i$ be the minimal primes of $R$. Because the dimension is $1$ the only other prime of $R$ is $\mathfrak m$. According to Lemma Irreducible components of a Noetherian spectrum there are finitely many. Hence we can find $x \in \mathfrak m$, $x \not \in \mathfrak p_i$, see Lemma An elementary algebraic comparison. Thus the only prime containing $x$ is $\mathfrak m$ and hence (the indicated step).

If (the indicated step) then $\mathfrak m = \sqrt{(x)}$ by Lemma The Zariski topology on an affine spectrum, and hence (the indicated step). The converse is clear as well. The equivalence of (the indicated step) and (the indicated step) follows directly from the definitions.

Assume (the indicated step). Let $I = (x)$ be an ideal of definition. Note that $I^n/I^{n + 1}$ is a quotient of $R/I$ via multiplication by $x^n$ and hence $\text{length}_R(I^n/I^{n + 1})$ is bounded. Thus $d(R) = 0$ or $d(R) = 1$, but $d(R) = 0$ is excluded by the assumption that $0$ is not an ideal of definition.

Assume (the indicated step). To get a contradiction, assume there exist primes \(\mathfrak p \subset \mathfrak q \subset \mathfrak m\), with both inclusions strict. Pick some ideal of definition \(I \subset R\). We will repeatedly use Lemma Commutative algebra. First of all it implies, via the exact sequence \(0 \to \mathfrak p \to R \to R/\mathfrak p \to 0\), that \(d(R/\mathfrak p) \leq 1\). But it clearly cannot be zero. Pick \(x\in \mathfrak q\), \(x\not \in \mathfrak p\). Consider the short exact sequence

\[ 0 \to R/\mathfrak p \xrightarrow{x} R/\mathfrak p \to R/(xR + \mathfrak p) \to 0. \]

This implies that \(\chi_{I, R/\mathfrak p} - \chi_{I, R/\mathfrak p} - \chi_{I, R/(xR + \mathfrak p)} = - \chi_{I, R/(xR + \mathfrak p)}\) has degree \(< 1\). In other words, \(d(R/(xR + \mathfrak p)) = 0\), and hence \(\dim(R/(xR + \mathfrak p)) = 0\), by Lemma Dimension and codimension. But \(R/(xR + \mathfrak p)\) has the distinct primes \(\mathfrak q/(xR + \mathfrak p)\) and \(\mathfrak m/(xR + \mathfrak p)\) which gives the desired contradiction. \(\square\)

Lemma. Dimension and codimension

Let $R$ be a Noetherian local ring. Then $\dim(R) = 0 \Leftrightarrow d(R) = 0$.

Proof. This is because $d(R) = 0$ if and only if $R$ has finite length as an $R$-module. See Lemma Finite length over an Artinian ring. $\square$

Lemma. Commutative algebra

Let $R$ be a Noetherian local ring. Let $I \subset R$ be an ideal of definition. Let $0 \to M' \to M \to M'' \to 0$ be a short exact sequence of finite $R$-modules. Then

  1. if $M'$ does not have finite length, then $\chi_{I, M} - \chi_{I, M''} - \chi_{I, M'}$ is a numerical polynomial of degree $<$ the degree of $\chi_{I, M'}$,

  2. $\max\{ \deg(\chi_{I, M'}), \deg(\chi_{I, M''}) \} = \deg(\chi_{I, M})$, and

  3. $\max\{d(M'), d(M'')\} = d(M)$,

Proof. We first prove (1). Let $N \subset M'$ be as in Lemma Commutative algebra (programme binding). By Lemma Finite algebras (programme binding) the numerical polynomial $\chi_{I, M'} - \chi_{I, N}$ has degree $<$ the common degree of $\chi_{I, M'}$ and $\chi_{I, N}$. By Lemma Commutative algebra (programme binding) the difference $$\chi_{I, M}(n) - \chi_{I, M''}(n) - \chi_{I, N}(n - c)$$ is constant for $n \gg 0$. By elementary calculus the difference $\chi_{I, N}(n) - \chi_{I, N}(n - c)$ has degree $<$ the degree of $\chi_{I, N}$ which is bigger than zero (see above). Putting everything together we obtain (1).

Note that the leading coefficients of $\chi_{I, M'}$ and $\chi_{I, M''}$ are nonnegative. Thus the degree of $\chi_{I, M'} + \chi_{I, M''}$ is equal to the maximum of the degrees. Thus if $M'$ does not have finite length, then (2) follows from (1). If $M'$ does have finite length, then $I^nM \to I^nM''$ is an isomorphism for all $n \gg 0$ by Artin-Rees (Lemma The Artin–Rees lemma). Thus $M/I^nM \to M''/I^nM''$ is a surjection with kernel $M'$ for $n \gg 0$ and we see that $\chi_{I, M}(n) - \chi_{I, M''}(n) = \text{length}(M')$ for all $n \gg 0$. Thus (2) holds in this case also.

Proof of (3). This follows from (2) except if one of $M$, $M'$, or $M''$ is zero. We omit the proof in these special cases. $\square$

Lemma. Field extensions

Let $k$ be a field. Let $S$ be a reduced $k$-algebra. Let $K/k$ be either a separable field extension, or a separably generated field extension. Then $K \otimes_k S$ is reduced.

Proof. Assume $k \subset K$ is separable. By Lemma Filtered limits and commutative algebra (uncovered prerequisite) we may assume that $S$ is of finite type over $k$ and $K$ is finitely generated over $k$. Then $S$ embeds into a finite product of fields, namely its total ring of fractions (see Lemmas Localizations at minimal primes of a reduced ring and Total rings of fractions without embedded primes). Hence we may actually assume that $S$ is a domain. We choose $x_1, \ldots, x_{r + 1} \in K$ as in Lemma Field extensions and finite algebras. Let $P \in k(x_1, \ldots, x_r)[T]$ be the minimal polynomial of $x_{r + 1}$. It is a separable polynomial. It is easy to see that $k[x_1, \ldots, x_r] \otimes_k S = S[x_1, \ldots, x_r]$ is a domain. This implies $k(x_1, \ldots, x_r) \otimes_k S$ is a domain as it is a localization of $S[x_1, \ldots, x_r]$. The ring extension $k(x_1, \ldots, x_r) \otimes_k S \subset K \otimes_k S$ is generated by a single element $x_{r + 1}$ with a single equation, namely $P$. Hence $K \otimes_k S$ embeds into $F[T]/(P)$ where $F$ is the fraction field of $k(x_1, \ldots, x_r) \otimes_k S$. Since $P$ is separable this is a finite product of fields and we win.

At this point we do not yet know that a separably generated field extension is separable, so we have to prove the lemma in this case also. To do this suppose that $\{x_i\}_{i \in I}$ is a separating transcendence basis for $K$ over $k$. For any finite set of elements $\lambda_j \in K$ there exists a finite subset $T \subset I$ such that $k(\{x_i\}_{i\in T}) \subset k(\{x_i\}_{i \in T} \cup \{\lambda_j\})$ is finite separable. Hence we see that $K$ is a directed colimit of finitely generated and separably generated extensions of $k$. Thus the argument of the preceding paragraph applies to this case as well. $\square$

Lemma. An elementary separability criterion

Let $k$ be a field of characteristic $p > 1$. Let $K/k$ be a field extension generated by $x_1, \ldots, x_{n + 1} \in K$ such that

  1. $\{x_1, \ldots, x_n\}$ is a transcendence base of $K/k$,

  2. for every $k$-linearly independent subset $\{a_1, \ldots, a_m\}$ of $K$ the set $\{a^p_1, \ldots, a_m^p\}$ is $k$-linearly independent.

Then there is $1 \leq j \leq n+1$ such that $\{ x_1, \ldots, \widehat{x}_j, \ldots, x_{n+1}\}$ is a separating transcendence base for $K / k$.

Proof. By assumption $x_{n + 1}$ is algebraic over $k(x_1, \ldots, x_n)$ so there exists a non-zero polynomial $F \in k[X_1, \ldots, X_{n + 1}]$ such that $F(x_1, \ldots, x_{n+1}) = 0$. Choose $F$ of minimal total degree. Then $F$ is irreducible, because at least one irreducible factor must also have the same property.

We claim that, for some $i$, not all powers of $X_i$ appearing in $F$ are multiples of $p$. Suppose for a contradiction that all the exponents appearing in $F$ were multiples of $p$, then the set $$\{x_1^{\alpha_1} \ldots x^{\alpha_{n+1}}_{n+1} \mid \lambda_\alpha \neq 0\} \subset K$$ is $k$-linearly dependent where $\lambda_\alpha$ are the coefficients of $F$. By assumption (2) we conclude the set $$\{x_1^{\alpha_1 / p} \ldots x^{\alpha_{n+1} / p}_{n+1} \mid \lambda_\alpha \neq 0 \}$$ is also $k$-linearly dependent, contradicting minimality of $\deg(F)$.

Choose $i$ for which a non-$p$th power of $X_i$ appears in $F$. Then we see that $x_i$ is algebraic over $L = k(x_1, \ldots, x_{i - 1}, x_{i + 1}, \ldots, x_{n+1})$. By Fields, Lemma The geometric construction (programme binding) we see that $x_1, \ldots, x_{i - 1}, x_{i + 1}, \ldots, x_{n+1}$ is a transcendence base of $K/k$. Thus $L$ is the fraction field of the polynomial ring over $k$ in $x_1, \ldots, x_{i - 1}, x_{i + 1}, \ldots, x_{n + 1}$. By Gauss' Lemma we conclude that $$P(T) = F(x_1, \ldots, x_{i - 1}, T, x_{i + 1}, \ldots, x_{n + 1}) \in L[T]$$ is irreducible. By construction $P(T)$ is not contained in $L[T^p]$. Hence $K/L$ is separable as required. $\square$

Lemma. Formal smoothness and smooth morphisms

Let $A \to B \to C$ be ring maps. Assume $B \to C$ is formally smooth. Then the sequence $$0 \to \Omega_{B/A} \otimes_B C \to \Omega_{C/A} \to \Omega_{C/B} \to 0$$ of Lemma Kähler differentials, Theorems 3.1–3.3, Proposition 3.4 and Theorem 7.1 is a split short exact sequence.

Proof. Follows from Proposition Characterizations of formal smoothness and Lemma The transitivity sequence for the naive cotangent complex. $\square$

Lemma. Filtered limits and cotangent complexes and differentials

Let $I$ be a directed set. Let $(R_i \to S_i, \varphi_{ii'})$ be a system of ring maps over $I$, see Categories, Section The geometric construction. Then we have $$\Omega_{S/R} = \mathop{\operatorname{colim}}_i \Omega_{S_i/R_i},$$ where $R \to S = \mathop{\operatorname{colim}} (R_i \to S_i)$.

Proof. This is clear from the defining presentation of $\Omega_{S/R}$ and the functoriality of this described above. $\square$

Lemma. Field extensions and finite algebras

Let $K/k$ be a separably generated, and finitely generated field extension. Set $r = \text{trdeg}_k(K)$. Then there exist elements $x_1, \ldots, x_{r + 1}$ of $K$ such that

  1. $x_1, \ldots, x_r$ is a transcendence basis of $K$ over $k$,

  2. $K = k(x_1, \ldots, x_{r + 1})$, and

  3. $x_{r + 1}$ is separable over $k(x_1, \ldots, x_r)$.

Proof. Combine the definition with Fields, Lemma The geometric construction (programme binding). $\square$

Lemma. Cotangent complexes, differentials and local algebra

Let $\varphi : A \to B$ be a ring map.

  1. If $S \subset A$ is a multiplicative subset mapping to invertible elements of $B$, then $\Omega_{B/A} = \Omega_{B/S^{-1}A}$.

  2. If $S \subset B$ is a multiplicative subset then $S^{-1}\Omega_{B/A} = \Omega_{S^{-1}B/A}$.

Proof. To show the equality of (1) it is enough to show that any $A$-derivation $D : B \to M$ annihilates the elements $\varphi(s)^{-1}$. This is clear from the Leibniz rule applied to $1 = \varphi(s) \varphi(s)^{-1}$. To show (2), note that there is an obvious map $S^{-1}\Omega_{B/A} \to \Omega_{S^{-1}B/A}$. To show it is an isomorphism it is enough to show that there is an $A$-derivation $\text{d}'$ of $S^{-1}B$ into $S^{-1}\Omega_{B/A}$. To define it we simply set $\text{d}'(b/s) = (1/s)\text{d}b - (1/s^2)b\text{d}s$. Details omitted. $\square$

Definition. Perfect complexes

Let $k$ be a field. We say $k$ is perfect if every field extension of $k$ is separable over $k$.

Lemma. Commutative algebra

Let $K/k$ be a finitely generated field extension. There exists a diagram $$\begin{gathered}\begin{matrix}K & K' \\ k & k'\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow K' \\ k & \longrightarrow K \\ k & \longrightarrow k' \\ k' & \longrightarrow K'\end{aligned}\end{gathered}$$ where $k'/k$, $K'/K$ are finite purely inseparable field extensions such that $K'/k'$ is a separably generated field extension.

Proof. This lemma is only interesting when the characteristic of $k$ is $p > 0$. Choose $x_1, \ldots, x_r$ a transcendence basis of $K$ over $k$. As $K$ is finitely generated over $k$ the extension $k(x_1, \ldots, x_r) \subset K$ is finite. Let $K/K_{sep}/k(x_1, \ldots, x_r)$ be the subextension found in Fields, Lemma Field extensions (programme binding). If $K = K_{sep}$ then we are done. We will use induction on $d = [K : K_{sep}]$.

Assume that $d > 1$. Choose a $\beta \in K$ with $\alpha = \beta^p \in K_{sep}$ and $\beta \not \in K_{sep}$. Let $P = T^n + a_1T^{n - 1} + \ldots + a_n$ be the minimal polynomial of $\alpha$ over $k(x_1, \ldots, x_r)$. Let $k'/k$ be a finite purely inseparable extension obtained by adjoining $p$th roots such that each $a_i$ is a $p$th power in $k'(x_1^{1/p}, \ldots, x_r^{1/p})$. Such an extension exists; details omitted. Let $L$ be a field fitting into the diagram $$\begin{gathered}\begin{matrix}K & L \\ k(x_1, \ldots, x_r) & k'(x_1^{1/p}, \ldots, x_r^{1/p})\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow L \\ k(x_1, \ldots, x_r) & \longrightarrow K \\ k(x_1, \ldots, x_r) & \longrightarrow k'(x_1^{1/p}, \ldots, x_r^{1/p}) \\ k'(x_1^{1/p}, \ldots, x_r^{1/p}) & \longrightarrow L\end{aligned}\end{gathered}$$ We may and do assume $L$ is the compositum of $K$ and $k'(x_1^{1/p}, \ldots, x_r^{1/p})$. Let $L/L_{sep}/k'(x_1^{1/p}, \ldots, x_r^{1/p})$ be the subextension found in Fields, Lemma Field extensions (programme binding). Then $L_{sep}$ is the compositum of $K_{sep}$ and $k'(x_1^{1/p}, \ldots, x_r^{1/p})$. The element $\alpha \in L_{sep}$ is a zero of the polynomial $P$ all of whose coefficients are $p$th powers in $k'(x_1^{1/p}, \ldots, x_r^{1/p})$ and whose roots are pairwise distinct. By Fields, Lemma Field extensions (programme binding) we see that $\alpha = (\alpha')^p$ for some $\alpha' \in L_{sep}$. Clearly, this means that $\beta$ maps to $\alpha' \in L_{sep}$. In other words, we get the tower of fields $$\begin{gathered}\begin{matrix}K & L \\ K_{sep}(\beta) & L_{sep} \\ K_{sep} & L_{sep} \\ k(x_1, \ldots, x_r) & k'(x_1^{1/p}, \ldots, x_r^{1/p}) \\ k & k'\end{matrix} \\[6pt] \begin{aligned}K & \longrightarrow L \\ K_{sep}(\beta) & \longrightarrow L_{sep} \\ K_{sep}(\beta) & \longrightarrow K \\ L_{sep} & \longrightarrow L \\ K_{sep} & \longrightarrow L_{sep} \\ K_{sep} & \longrightarrow K_{sep}(\beta) \\ L_{sep} & \mathrel{=} L_{sep} \\ k(x_1, \ldots, x_r) & \longrightarrow K_{sep} \\ k(x_1, \ldots, x_r) & \longrightarrow k'(x_1^{1/p}, \ldots, x_r^{1/p}) \\ k'(x_1^{1/p}, \ldots, x_r^{1/p}) & \longrightarrow L_{sep} \\ k & \longrightarrow k' \\ k & \longrightarrow k(x_1, \ldots, x_r) \\ k' & \longrightarrow k'(x_1^{1/p}, \ldots, x_r^{1/p})\end{aligned}\end{gathered}$$ Thus this construction leads to a new situation with $[L : L_{sep}] < [K : K_{sep}]$. By induction we can find $k' \subset k''$ and $L \subset L'$ as in the lemma for the extension $L/k'$. Then the extensions $k''/k$ and $L'/K$ work for the extension $K/k$. This proves the lemma. $\square$

Lemma. Field extensions

A separably generated field extension is separable.

Proof. Combine Lemma Field extensions with Lemma Criteria for a separable field extension. $\square$

Lemma. Field extensions

Let $K/k$ be a separable field extension. For any subextension $K/K'/k$ the field extension $K'/k$ is separable.

Proof. This is direct from the definition. $\square$

Lemma. Criteria for flatness

Let $R$ be a ring. Let $M$ be an $R$-module. The following are equivalent:

  1. The module $M$ is flat over $R$.

  2. For all $i > 0$ the functor $\text{Tor}_i^R(M, -)$ is zero.

  3. The functor $\text{Tor}_1^R(M, -)$ is zero.

  4. For all ideals $I \subset R$ we have $\text{Tor}_1^R(M, R/I) = 0$.

  5. For all finitely generated ideals $I \subset R$ we have $\text{Tor}_1^R(M, R/I) = 0$.

Proof. Suppose $M$ is flat. Let $N$ be an $R$-module. Let $F_\bullet$ be a free resolution of $N$. Then $F_\bullet \otimes_R M$ is a resolution of $N \otimes_R M$, by flatness of $M$. Hence all higher Tor groups vanish.

It now suffices to show that the last condition implies that $M$ is flat. Let $I \subset R$ be an ideal. Consider the short exact sequence $0 \to I \to R \to R/I \to 0$. Apply Lemma Derived tensor products and Tor amplitude (programme binding). We get an exact sequence $$\text{Tor}_1^R(M, R/I) \to M \otimes_R I \to M \otimes_R R \to M \otimes_R R/I \to 0$$ Since obviously $M \otimes_R R = M$ we conclude that the last hypothesis implies that $M \otimes_R I \to M$ is injective for every finitely generated ideal $I$. Thus $M$ is flat by Lemma Flatness. $\square$

Lemma. Finite algebras

Let $R \to S$ be a ring map. Let $M$ be an $S$-module. If $M$ is finite as an $R$-module, then $M$ is finite as an $S$-module.

Proof. In fact, any $R$-generating set of $M$ is also an $S$-generating set of $M$, since the $R$-module structure is induced by the image of $R$ in $S$. $\square$

Lemma. Criteria for commutative algebra

Let $R$ be a ring. Let $M$ be an $R$-module. The following are equivalent:

  1. $M$ is simple,

  2. $\text{length}_R(M) = 1$, and

  3. $M \cong R/\mathfrak m$ for some maximal ideal $\mathfrak m \subset R$.

Proof. Let $\mathfrak m$ be a maximal ideal of $R$. By Lemma Vector-space dimension and module length the module $R/\mathfrak m$ has length $1$. The equivalence of the first two assertions is tautological. Suppose that $M$ is simple. Choose $x \in M$, $x \not = 0$. As $M$ is simple we have $M = R \cdot x$. Let $I \subset R$ be the annihilator of $x$, i.e., $I = \{f \in R \mid fx = 0\}$. The map $R/I \to M$, $f \bmod I \mapsto fx$ is an isomorphism, hence $R/I$ is a simple $R$-module. Since $R/I \not = 0$ we see $I \not = R$. Let $\mathfrak m$ be a maximal ideal containing $I$. If $I \not = \mathfrak m$, then $\mathfrak m /I \subset R/I$ is a nontrivial submodule contradicting the simplicity of $R/I$. Hence we see $I = \mathfrak m$ as desired. $\square$

Lemma. Independence of a composition series

Let $R \to S$ be a ring map. Let $M$ be an $S$-module. We always have $\text{length}_R(M) \geq \text{length}_S(M)$. If $R \to S$ is surjective then equality holds.

Proof. A filtration of $M$ by $S$-submodules gives rise a filtration of $M$ by $R$-submodules. This proves the inequality. And if $R \to S$ is surjective, then any $R$-submodule of $M$ is automatically an $S$-submodule. Hence equality in this case. $\square$

Lemma. Commutative algebra

Let $k$ be a field. If $R$ is geometrically reduced over $k$, and $S \subset R$ is a multiplicative subset, then the localization $S^{-1}R$ is geometrically reduced over $k$. If $R$ is geometrically reduced over $k$, then $R[x]$ is geometrically reduced over $k$.

Proof. Omitted. Hints: A localization of a reduced ring is reduced, and localization commutes with tensor products. $\square$

Lemma. Finite presentation and finite algebras

Let $R \subset S$ be an inclusion of domains. Assume that $R \to S$ is of finite type. There exists a nonzero $f \in R$, and a nonzero $g \in S$ such that $R_f \to S_{fg}$ is of finite presentation.

Proof. By induction on the number of generators of $S$ over $R$. During the proof we may replace $R$ by $R_f$ and $S$ by $S_f$ for some nonzero $f \in R$.

Suppose that $S$ is generated by a single element over $R$. Then $S = R[x]/\mathfrak q$ for some prime ideal $\mathfrak q \subset R[x]$. If $\mathfrak q = (0)$ there is nothing to prove. If $\mathfrak q \not = (0)$, then let $h \in \mathfrak q$ be a nonzero element with minimal degree in $x$. Write $h = f x^d + a_{d - 1} x^{d - 1} + \ldots + a_0$ with $a_i \in R$ and $f \not = 0$. After inverting $f$ in $R$ and $S$ we may assume that $h$ is monic. We obtain a surjective $R$-algebra map $R[x]/(h) \to S$. We have $R[x]/(h) = R \oplus Rx \oplus \ldots \oplus Rx^{d - 1}$ as an $R$-module and by minimality of $d$ we see that $R[x]/(h)$ maps injectively into $S$. Thus $R[x]/(h) \cong S$ is finitely presented over $R$.

Suppose that $S$ is generated by $n > 1$ elements over $R$. Say $x_1, \ldots, x_n \in S$ generate $S$. Denote $S' \subset S$ the $R$-subalgebra generated by $x_1, \ldots, x_{n-1}$. By induction hypothesis we see that there exist $f\in R$ and $g \in S'$ nonzero such that $R_f \to S'_{fg}$ is of finite presentation. Next we apply the induction hypothesis to $S'_{fg} \to S_{fg}$ to see that there exist $f' \in S'_{fg}$ and $g' \in S_{fg}$ such that $S'_{fgf'} \to S_{fgf'g'}$ is of finite presentation. We leave it to the reader to conclude. $\square$

Lemma. Smooth morphisms and field extensions

Let $k$ be a field. Let $S$ be a finite type $k$-algebra. Let $\mathfrak q \subset S$ be a prime. Assume $\kappa(\mathfrak q)$ is separable over $k$. The following are equivalent:

  1. The algebra $S$ is smooth at $\mathfrak q$ over $k$.

  2. The ring $S_{\mathfrak q}$ is regular.

Proof. Let \(R = S_{\mathfrak q}\) and denote its maximal ideal by \(\mathfrak m\) and its residue field by \(\kappa\). By Lemmas Cotangent complexes and differentials (programme binding) and Cotangent complexes and differentials we see that there is a short exact sequence

\[ 0 \to \mathfrak m/\mathfrak m^2 \to \Omega_{R/k} \otimes_R \kappa \to \Omega_{\kappa/k} \to 0 \]

Note that \(\Omega_{R/k} = \Omega_{S/k, \mathfrak q}\), see Lemma Cotangent complexes, differentials and local algebra. Moreover, since \(\kappa\) is separable over \(k\) we have \(\dim_{\kappa} \Omega_{\kappa/k} = \text{trdeg}_k(\kappa)\). Hence we get

\[ \dim_{\kappa} \Omega_{R/k} \otimes_R \kappa = \dim_\kappa \mathfrak m/\mathfrak m^2 + \text{trdeg}_k (\kappa) \geq \dim R + \text{trdeg}_k (\kappa) = \dim_{\mathfrak q} S \]

(see Lemma Dimension, codimension and field extensions for the last equality) with equality if and only if \(R\) is regular. Thus we win by applying Lemma Smooth algebras over a field and the Jacobian criterion, Theorems 5.1–6.1 and Sections 1–3. \(\square\)

Theorem. Zariski's main theorem in affine algebra

Let $R$ be a ring. Let $S$ be a finite type $R$-algebra. Let $S' \subset S$ be the integral closure of $R$ in $S$. Let $\mathfrak q \subset S$ be a prime of $S$. If $R \to S$ is quasi-finite at $\mathfrak q$ then there exists a $g \in S'$, $g \not \in \mathfrak q$ such that $S'_g \cong S_g$.

Proof. There exist finitely many elements $x_1, \ldots, x_n \in S$ such that $S$ is finite over the $R$-subalgebra generated by $x_1, \ldots, x_n$. (For example, generators of $S$ over $R$.) We prove the theorem by induction on the minimal such number $n$.

The case $n = 0$ is trivial, because in this case $S' = S$, see Lemma Integral extensions and finite algebras.

The case $n = 1$. We may replace $R$ by its integral closure in $S$ (Lemma Finite algebras (programme binding) guarantees that $R \to S$ is still quasi-finite at $\mathfrak q$). Thus we may assume $R \subset S$ is integrally closed in $S$, in other words $R = S'$. Consider the map $\varphi : R[x] \to S$, $x \mapsto x_1$. (We will see that $\varphi$ is not injective below.) By assumption $\varphi$ is finite. Hence we are in Situation Commutative algebra. Let $J \subset S$ be the "conductor ideal" defined in Situation Commutative algebra. Consider the diagram $$\begin{gathered}\begin{matrix}R[x] & S & S/\sqrt{J} & R/(R \cap \sqrt{J})[x] \\ \phantom{X} & R & R/(R \cap \sqrt{J}) & \phantom{X}\end{matrix} \\[6pt] \begin{aligned}R[x] & \longrightarrow S \\ S & \longrightarrow S/\sqrt{J} \\ R/(R \cap \sqrt{J})[x] & \longrightarrow S/\sqrt{J} \\ R & \longrightarrow R[x] \\ R & \longrightarrow R/(R \cap \sqrt{J}) \\ R & \longrightarrow S \\ R/(R \cap \sqrt{J}) & \longrightarrow S/\sqrt{J} \\ R/(R \cap \sqrt{J}) & \longrightarrow R/(R \cap \sqrt{J})[x]\end{aligned}\end{gathered}$$ According to Lemma Commutative algebra (programme binding) the image of $x$ in the quotient $S/\sqrt{J}$ is strongly transcendental over $R/ (R \cap \sqrt{J})$. Hence by Lemma Finite algebras (programme binding) the ring map $R/ (R \cap \sqrt{J}) \to S/\sqrt{J}$ is not quasi-finite at any prime of $S/\sqrt{J}$. By Lemma Commutative algebra (programme binding) we deduce that $\mathfrak q$ does not lie in $V(J) \subset \operatorname{Spec}(S)$. Thus there exists an element $s \in J$, $s \not\in \mathfrak q$. By definition of $J$ we may write $s = \varphi(f)$ for some polynomial $f \in R[x]$. Let $I = \operatorname{Ker}(\varphi : R[x] \to S)$. Since $\varphi(f) \in J$ we get $(R[x]/I)_f \cong S_{\varphi(f)}$. Also $s \not \in \mathfrak q$ means that $f \not \in \varphi^{-1}(\mathfrak q)$. Thus $\varphi^{-1}(\mathfrak q)/I$ is a prime of $R[x]/I$ at which $R \to R[x]/I$ is quasi-finite, see Lemma Finite algebras and local algebra (programme binding). Note that $R$ is integrally closed in $R[x]/I$ since $R$ is integrally closed in $S$. By Lemma Finite algebras (programme binding) there exists an element $h \in R$, $h \not \in R \cap \mathfrak q$ such that $R_h \cong (R[x]/I)_h$. Thus $(R[x]/I)_{fh} = S_{\varphi(fh)}$ is isomorphic to a principal localization $R_{h'}$ of $R$ for some $h' \in R$, $h' \not \in \mathfrak q$.

The case $n > 1$. Consider the subring $R' \subset S$ which is the integral closure of $R[x_1, \ldots, x_{n-1}]$ in $S$. By Lemma Finite algebras (programme binding) the extension $S/R'$ is quasi-finite at $\mathfrak q$. Also, note that $S$ is finite over $R'[x_n]$. By the case $n = 1$ above, there exists a $g' \in R'$, $g' \not \in \mathfrak q$ such that $(R')_{g'} \cong S_{g'}$. At this point we cannot apply induction to $R \to R'$ since $R'$ may not be finite type over $R$. Since $S$ is finitely generated over $R$ we deduce in particular that $(R')_{g'}$ is finitely generated over $R$. Say the elements $g'$, and $y_1/(g')^{n_1}, \ldots, y_N/(g')^{n_N}$ with $y_i \in R'$ generate $(R')_{g'}$ over $R$. Let $R''$ be the $R$-subalgebra of $R'$ generated by $x_1, \ldots, x_{n-1}, y_1, \ldots, y_N, g'$. This has the property $(R'')_{g'} \cong S_{g'}$. Surjectivity follows from the choice of the $y_i$; injectivity follows from $R'' \subset R'$ and the exactness of localization. Note that $R''$ is finite over $R[x_1, \ldots, x_{n-1}]$ because of our choice of $R'$, see Lemma Criteria for integral extensions. Let $\mathfrak q'' = R'' \cap \mathfrak q$. Since $(R'')_{\mathfrak q''} = S_{\mathfrak q}$ we see that $R \to R''$ is quasi-finite at $\mathfrak q''$, see Lemma An isolated point of a fibre. We apply our induction hypothesis to $R \to R''$, $\mathfrak q''$ and $x_1, \ldots, x_{n-1} \in R''$ and we find a subring $R''' \subset R''$ which is integral over $R$ and an element $g'' \in R'''$, $g'' \not \in \mathfrak q''$ such that $(R''')_{g''} \cong (R'')_{g''}$. Write the image of $g'$ in $(R'')_{g''}$ as $g'''/(g'')^n$ for some $g''' \in R'''$. Set $g = g''g''' \in R'''$. Then it is clear that $g \not\in \mathfrak q$ and $(R''')_g \cong S_g$. Since by construction we have $R''' \subset S'$ we also have $S'_g \cong S_g$ as desired. $\square$

Lemma. Dimension, codimension and finite algebras

Suppose $R$ is a finite dimensional algebra over a field. Then $R$ is Artinian.

Proof. The descending chain condition for ideals obviously holds. $\square$

Lemma. Dimension, codimension and Noetherian rings

A Noetherian ring of dimension $0$ is Artinian. Conversely, any Artinian ring is Noetherian of dimension at most zero.

Proof. Assume $R$ is a Noetherian ring of dimension $0$. By Lemma The topology of a Noetherian spectrum the space $\operatorname{Spec}(R)$ is Noetherian. By Topology, Lemma Noetherian topological spaces (programme binding) we see that $\operatorname{Spec}(R)$ has finitely many irreducible components, say $\operatorname{Spec}(R) = Z_1 \cup \ldots \cup Z_r$. According to Lemma Irreducibility of an affine spectrum each $Z_i = V(\mathfrak p_i)$ with $\mathfrak p_i$ a minimal prime ideal. Since the dimension is $0$ these $\mathfrak p_i$ are also maximal. Thus $\operatorname{Spec}(R)$ is the discrete topological space with elements $\mathfrak p_i$. All elements $f$ of the Jacobson radical $\bigcap \mathfrak p_i$ are nilpotent since otherwise $R_f$ would not be the zero ring and we would have another prime. By Lemma Local factors of a product ring $R$ is equal to $\prod R_{\mathfrak p_i}$. Since $R_{\mathfrak p_i}$ is also Noetherian and dimension $0$, the previous arguments show that its radical $\mathfrak p_iR_{\mathfrak p_i}$ is locally nilpotent. Lemma Noetherian rings (programme binding) gives $\mathfrak p_i^nR_{\mathfrak p_i} = 0$ for some $n \geq 1$. By Lemma Finite algebras (programme binding) we conclude that $R_{\mathfrak p_i}$ has finite length over $R$. Hence we conclude that $R$ is Artinian by Lemma Finite length over an Artinian ring.

If $R$ is an Artinian ring then by Lemma Finite length over an Artinian ring it is Noetherian. All of its primes are maximal by a combination of Lemmas Finitely many maximal ideals in an Artinian ring, Nilpotence of the radical of an Artinian ring and Local factors of a product ring. $\square$

Proposition. Regular rings and dimension and codimension

Let $(R, \mathfrak m, \kappa)$ be a Noetherian local ring. The following are equivalent

  1. $\kappa$ has finite projective dimension as an $R$-module,

  2. $R$ has finite global dimension,

  3. $R$ is a regular local ring.

Moreover, in this case the global dimension of $R$ equals $\dim(R) = \dim_\kappa(\mathfrak m/\mathfrak m^2)$.

Proof. We have (3) $\Rightarrow$ (2) by Proposition Regular rings and dimension and codimension (programme binding). The implication (2) $\Rightarrow$ (1) is trivial. Assume (1). By Lemmas Field extensions (programme binding) and Dimension and codimension (programme binding) we see that $\dim(R) \geq \dim_\kappa(\mathfrak m /\mathfrak m^2)$. Thus $R$ is regular, see Definition Regular local rings and the discussion preceding it. Assume the equivalent conditions (1) -- (3) hold. By Proposition Regular rings and dimension and codimension (programme binding) the global dimension of $R$ is at most $\dim(R)$ and by Lemma Field extensions (programme binding) it is at least $\dim_\kappa(\mathfrak m/\mathfrak m^2)$. Thus the stated equality holds. $\square$

Lemma. Independence of a projective resolution

Let $R$ be a ring. Suppose that $M$ is an $R$-module of projective dimension $d$. Suppose that $F_e \to F_{e-1} \to \ldots \to F_0 \to M \to 0$ is exact with $F_i$ projective and $e \geq d - 1$. Then the kernel of $F_e \to F_{e-1}$ is projective (or the kernel of $F_0 \to M$ is projective in case $e = 0$).

Proof. We prove this by induction on $d$. If $d = 0$, then $M$ is projective. In this case there is a splitting $F_0 = \operatorname{Ker}(F_0 \to M) \oplus M$, and hence $\operatorname{Ker}(F_0 \to M)$ is projective. This finishes the proof if $e = 0$, and if $e > 0$, then replacing $M$ by $\operatorname{Ker}(F_0 \to M)$ we decrease $e$.

Next assume $d > 0$. Let $0 \to P_d \to P_{d-1} \to \ldots \to P_0 \to M \to 0$ be a minimal length finite resolution with $P_i$ projective. According to Schanuel's Lemma Commutative algebra (programme binding) we have $P_0 \oplus \operatorname{Ker}(F_0 \to M) \cong F_0 \oplus \operatorname{Ker}(P_0 \to M)$. This proves the case $d = 1$, $e = 0$, because then the right hand side is $F_0 \oplus P_1$ which is projective. Hence now we may assume $e > 0$. The module $F_0 \oplus \operatorname{Ker}(P_0 \to M)$ has the finite projective resolution $$0 \to P_d \to P_{d-1} \to \ldots \to P_2 \to P_1 \oplus F_0 \to \operatorname{Ker}(P_0 \to M) \oplus F_0 \to 0$$ of length $d - 1$. By induction applied to the exact sequence $$F_e \to F_{e-1} \to \ldots \to F_2 \to P_0 \oplus F_1 \to P_0 \oplus \operatorname{Ker}(F_0 \to M) \to 0$$ of length $e - 1$ we conclude $\operatorname{Ker}(F_e \to F_{e - 1})$ is projective (if $e \geq 2$) or that $\operatorname{Ker}(F_1 \oplus P_0 \to F_0 \oplus P_0)$ is projective. This implies the lemma. $\square$

Lemma. Restriction of scalars for a finite module

Let $A$ be a local ring with maximal ideal $\mathfrak m$. Let $B$ be a semi-local ring with maximal ideals $\mathfrak m_i$, $i = 1, \ldots, n$. Suppose that $A \to B$ is a homomorphism such that each $\mathfrak m_i$ lies over $\mathfrak m$ and such that $$[\kappa(\mathfrak m_i) : \kappa(\mathfrak m)] < \infty.$$ Let $M$ be a $B$-module of finite length. Then $$\text{length}_A(M) = \sum\nolimits_{i = 1, \ldots, n} [\kappa(\mathfrak m_i) : \kappa(\mathfrak m)] \text{length}_{B_{\mathfrak m_i}}(M_{\mathfrak m_i}),$$ in particular $\text{length}_A(M) < \infty$.

Proof. Choose a maximal chain $$0 = M_0 \subset M_1 \subset M_2 \subset \ldots \subset M_m = M$$ by $B$-submodules as in Lemma Commutative algebra (programme binding). Then each quotient $M_j/M_{j - 1}$ is isomorphic to $\kappa(\mathfrak m_{i(j)})$ for some $i(j) \in \{1, \ldots, n\}$. Moreover $\text{length}_A(\kappa(\mathfrak m_i)) = [\kappa(\mathfrak m_i) : \kappa(\mathfrak m)]$ by Lemma Vector-space dimension and module length. The lemma follows by additivity of lengths (Lemma Commutative algebra (programme binding)). $\square$

Lemma. Integral extensions and finite algebras

A finite ring map is integral.

Proof. Let $R \to S$ be finite. Let $y \in S$. Apply Lemma Criteria for integral extensions (programme binding) to $M = S$ to see that $y$ is integral over $R$. $\square$

Lemma. Criteria for integral extensions and finite algebras

Let $R \to S$ be a ring map. The following are equivalent

  1. $R \to S$ is finite,

  2. $R \to S$ is integral and of finite type, and

  3. there exist $x_1, \ldots, x_n \in S$ which generate $S$ as an algebra over $R$ such that each $x_i$ is integral over $R$.

Proof. Clear from Lemma Criteria for integral extensions. $\square$

Lemma. Complete rings and formal power series

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $\varphi : M \to N$ be a map of $R$-modules.

  1. If $M/IM \to N/IN$ is surjective, then $M^\wedge \to N^\wedge$ is surjective.

  2. If $M \to N$ is surjective, then $M^\wedge \to N^\wedge$ is surjective.

  3. If $0 \to K \to M \to N \to 0$ is a short exact sequence of $R$-modules and $N$ is flat, then $0 \to K^\wedge \to M^\wedge \to N^\wedge \to 0$ is a short exact sequence.

  4. The map $M \otimes_R R^\wedge \to M^\wedge$ is surjective for any finite $R$-module $M$.

Proof. Assume $M/IM \to N/IN$ is surjective. Then the map $M/I^nM \to N/I^nN$ is surjective for each $n \geq 1$ by Nakayama's lemma. More precisely, apply Lemma Nakayama's lemma part (11) to the map $M/I^nM \to N/I^nN$ over the ring $R/I^n$ and the nilpotent ideal $I/I^n$ to see this. Set $K_n = \{x \in M \mid \varphi(x) \in I^nN\}$. Thus we get short exact sequences $$0 \to K_n/I^nM \to M/I^nM \to N/I^nN \to 0$$ We claim that the canonical map $K_{n + 1}/I^{n + 1}M \to K_n/I^nM$ is surjective. Namely, if $x \in K_n$ write $\varphi(x) = \sum z_j n_j$ with $z_j \in I^n$, $n_j \in N$. By assumption we can write $n_j = \varphi(m_j) + \sum z_{jk}n_{jk}$ with $m_j \in M$, $z_{jk} \in I$ and $n_{jk} \in N$. Hence $$\varphi(x - \sum z_j m_j) = \sum z_jz_{jk} n_{jk}.$$ This means that $x' = x - \sum z_j m_j \in K_{n + 1}$ maps to $x \bmod I^nM$ which proves the claim. Now we may apply Lemma Commutative algebra (programme binding) to the inverse system of short exact sequences above to see (1). Part (2) is a special case of (1). If the assumptions of (3) hold, then for each $n$ the sequence $$0 \to K/I^nK \to M/I^nM \to N/I^nN \to 0$$ is short exact by Lemma Tor vanishing for a flat module. Hence we can directly apply Lemma Commutative algebra (programme binding) to conclude (3) is true. To see (4) choose generators $x_i \in M$, $i = 1, \ldots, n$. Then the map $R^{\oplus n} \to M$, $(a_1, \ldots, a_n) \mapsto \sum a_ix_i$ is surjective. Hence by (2) we see $(R^\wedge)^{\oplus n} \to M^\wedge$, $(a_1, \ldots, a_n) \mapsto \sum a_ix_i$ is surjective. Assertion (4) follows from this. $\square$

Lemma. Complete rings, formal power series and modules

Let $R$ be a ring. Let $I$ be an ideal of $R$. Let $M$ be an $R$-module. If (a) $R$ is $I$-adically complete, (b) $M$ is a finite $R$-module, and (c) $\bigcap I^nM = (0)$, then $M$ is $I$-adically complete.

Proof. By Lemma Complete rings and formal power series the map $M = M \otimes_R R = M \otimes_R R^\wedge \to M^\wedge$ is surjective. The kernel of this map is $\bigcap I^nM$ hence zero by assumption. Hence $M \cong M^\wedge$ and $M$ is complete. $\square$

Lemma. Commutative algebra

Suppose that $R \to S$ is a ring map with the going up property, see Definition Commutative algebra. If $\mathfrak q \subset S$ is a maximal ideal, then the inverse image of $\mathfrak q$ in $R$ is a maximal ideal too.

Proof. Trivial. $\square$

Lemma. Descent of commutative algebra

Let $R \to S$ be a ring map. Assume that

  1. $R \to S$ is faithfully flat, and

  2. $S$ is reduced.

Then $R$ is reduced.

Proof. This is clear as $R \to S$ is injective, by Lemma Universal injectivity of a faithfully flat ring map. $\square$

Lemma. Commutative algebra

Let $\varphi : R \to S$ be a ring map. Assume

  1. $\varphi$ is smooth,

  2. $R$ is reduced.

Then $S$ is reduced.

Proof. Observe that $R \to S$ is flat with regular fibres (see the list of results on smooth ring maps in Section Smooth morphisms). In particular, the fibres are reduced. Thus if $R$ is Noetherian, then $S$ is Noetherian and we get the result from Lemma Noetherian rings (programme binding).

In the general case we may find a finitely generated $\mathbf{Z}$-subalgebra $R_0 \subset R$ and a smooth ring map $R_0 \to S_0$ such that $S \cong R \otimes_{R_0} S_0$, see remark (10) in Section Smooth morphisms. Now, if $x \in S$ is an element with $x^2 = 0$, then we can enlarge $R_0$ and assume that $x$ comes from an element $x_0 \in S_0$. After enlarging $R_0$ once more we may assume that $x_0^2 = 0$ in $S_0$. However, since the subring $R_0 \subset R$ is reduced, we see that $S_0$ is reduced and hence $x_0 = 0$ as desired. $\square$

Lemma. Regular rings

Source credit: the original source citation FAC (Chapter III, §5, no. 75, proof of Theorem 3, pp. 269--270)

For the local ring of projective space at a point of a nonsingular subvariety, the cited proof considers the kernel of the quotient onto the local ring of the subvariety. It uses that the kernel has exactly the codimension number of generators and records the successive colon equalities saying that those generators form a regular sequence.

The lemma below gives the intrinsic regular-local-ring mechanism used there. It chooses the generators as part of a minimal system of parameters; Lemma Regular rings are Cohen–Macaulay then makes every initial segment a regular sequence. Thus the colon equalities in the source are the nonzerodivisor conditions for this sequence.

Let $R$ be a regular local ring. Let $I \subset R$ be an ideal such that $R/I$ is a regular local ring as well. Then there exists a minimal set of generators $x_1, \ldots, x_d$ for the maximal ideal $\mathfrak m$ of $R$ such that $I = (x_1, \ldots, x_c)$ for some $0 \leq c \leq d$.

Proof. Say \(\dim(R) = d\) and \(\dim(R/I) = d - c\). Denote by \(\overline{\mathfrak m} = \mathfrak m/I\) the maximal ideal of \(R/I\). Let \(\kappa = R/\mathfrak m\). We have

\[ \dim_\kappa((I + \mathfrak m^2)/\mathfrak m^2) = \dim_\kappa(\mathfrak m/\mathfrak m^2) - \dim_\kappa(\overline{\mathfrak m}/\overline{\mathfrak m}^2) = d - (d - c) = c \]

by the definition of a regular local ring. Hence we can choose \(x_1, \ldots, x_c \in I\) whose images in \(\mathfrak m/\mathfrak m^2\) are linearly independent and supplement with \(x_{c + 1}, \ldots, x_d\) to get a minimal system of generators of \(\mathfrak m\). The induced map \(R/(x_1, \ldots, x_c) \to R/I\) is a surjection between regular local rings of the same dimension (Lemma Regular rings are Cohen–Macaulay). It follows that the kernel is zero, i.e., \(I = (x_1, \ldots, x_c)\). Namely, if not then we would have \(\dim(R/I) < \dim(R/(x_1, \ldots, x_c))\) by Lemmas Regular local rings, Theorem 1.1 and A single polynomial equation. \(\square\)

Lemma. Injectivity from a fibrewise injectivity criterion

Suppose that $R \to S$ is a local homomorphism of local rings with $S$ Noetherian. Denote by $\mathfrak m$ the maximal ideal of $R$. Let $M$ be a flat $R$-module and $N$ a finite $S$-module. Let $u : N \to M$ be a map of $R$-modules. If $\overline{u} : N/\mathfrak m N \to M/\mathfrak m M$ is injective then $u$ is injective. In this case $M/u(N)$ is flat over $R$.

Proof. First we claim that $u_n : N/{\mathfrak m}^nN \to M/{\mathfrak m}^nM$ is injective for all $n \geq 1$. We proceed by induction, the base case is that $\overline{u} = u_1$ is injective. By our assumption that $M$ is flat over $R$ we have a short exact sequence $0 \to M \otimes_R {\mathfrak m}^n/{\mathfrak m}^{n + 1} \to M/{\mathfrak m}^{n + 1}M \to M/{\mathfrak m}^n M \to 0$. Also, $M \otimes_R {\mathfrak m}^n/{\mathfrak m}^{n + 1} = M/{\mathfrak m}M \otimes_{R/{\mathfrak m}} {\mathfrak m}^n/{\mathfrak m}^{n + 1}$. We have a similar exact sequence $N \otimes_R {\mathfrak m}^n/{\mathfrak m}^{n + 1} \to N/{\mathfrak m}^{n + 1}N \to N/{\mathfrak m}^n N \to 0$ for $N$ except we do not have the zero on the left. We also have $N \otimes_R {\mathfrak m}^n/{\mathfrak m}^{n + 1} = N/{\mathfrak m}N \otimes_{R/{\mathfrak m}} {\mathfrak m}^n/{\mathfrak m}^{n + 1}$. Thus the map $u_{n + 1}$ is injective as both $u_n$ and the map $\overline{u} \otimes \text{id}_{{\mathfrak m}^n/{\mathfrak m}^{n + 1}}$ are.

By Krull's intersection theorem (Lemma Krull's intersection theorem) applied to $N$ over the ring $S$ and the ideal $\mathfrak mS$ we have $\bigcap \mathfrak m^nN = 0$. Thus the injectivity of $u_n$ for all $n$ implies $u$ is injective.

To show that $M/u(N)$ is flat over $R$, it suffices to show that $\text{Tor}_1^R(M/u(N), R/I) = 0$ for every ideal $I \subset R$, see Lemma Criteria for flatness. From the short exact sequence $$0 \to N \xrightarrow{u} M \to M/u(N) \to 0$$ and the flatness of $M$ we obtain an exact sequence of Tors $$0 \to \text{Tor}_1^R(M/u(N), R/I) \to N/IN \to M/IM$$ See Lemma Derived tensor products and Tor amplitude (programme binding). Thus it suffices to show that $N/IN$ injects into $M/IM$. Note that $R/I \to S/IS$ is a local homomorphism of local rings with $S/IS$ Noetherian, $N/IN \to M/IM$ is a map of $R/I$-modules, $N/IN$ is finite over $S/IS$, and $M/IM$ is flat over $R/I$ and $u \bmod I : N/IN \to M/IM$ is injective modulo $\mathfrak m$. Thus we may apply the first part of the proof to $u \bmod I$ and we conclude. $\square$

Lemma. The universal property of Kähler differentials

Maps out of the module of differentials are the same as derivations.

The module of differentials of $S$ over $R$ has the following universal property. The map $$\operatorname{Hom}_S(\Omega_{S/R}, M) \longrightarrow \text{Der}_R(S, M), \quad \alpha \longmapsto \alpha \circ \text{d}$$ is an isomorphism of functors.

Proof. By definition an $R$-derivation is a rule which associates to each $a \in S$ an element $D(a) \in M$. Thus $D$ gives rise to a map $[D] : \bigoplus S[a] \to M$. However, the conditions of being an $R$-derivation exactly mean that $[D]$ annihilates the image of the map in the displayed presentation of $\Omega_{S/R}$ above. $\square$

Lemma. Complete rings, formal power series and Noetherian rings

Let $I$ be an ideal of a ring $R$. Assume

  1. $R/I$ is a Noetherian ring,

  2. $I$ is finitely generated.

Then the completion $R^\wedge$ of $R$ with respect to $I$ is a Noetherian ring complete with respect to $IR^\wedge$.

Proof. By Lemma Finite algebras we see that $R^\wedge$ is $I$-adically complete. Hence it is also $IR^\wedge$-adically complete. Since $R^\wedge/IR^\wedge = R/I$ is Noetherian we see that after replacing $R$ by $R^\wedge$ we may in addition to assumptions (1) and (2) assume that also $R$ is $I$-adically complete.

Let $f_1, \ldots, f_t$ be generators of $I$. Then there is a surjection of rings $R/I[T_1, \ldots, T_t] \to \bigoplus I^n/I^{n + 1}$ mapping $T_i$ to the element $\overline{f}_i \in I/I^2$. Hence $\bigoplus I^n/I^{n + 1}$ is a Noetherian ring. Let $J \subset R$ be an ideal. Consider the ideal $$\bigoplus J \cap I^n/J \cap I^{n + 1} \subset \bigoplus I^n/I^{n + 1}.$$ Let $\overline{g}_1, \ldots, \overline{g}_m$ be generators of this ideal. We may choose $\overline{g}_j$ to be a homogeneous element of degree $d_j$ and we may pick $g_j \in J \cap I^{d_j}$ mapping to $\overline{g}_j \in J \cap I^{d_j}/J \cap I^{d_j + 1}$. We claim that $g_1, \ldots, g_m$ generate $J$.

Let $x \in J \cap I^n$. There exist $a_j \in I^{\max(0, n - d_j)}$ such that $x - \sum a_j g_j \in J \cap I^{n + 1}$. The reason is that $J \cap I^n/J \cap I^{n + 1}$ is equal to $\sum_{j:\,d_j \leq n} \overline{g}_j I^{n - d_j}/I^{n - d_j + 1}$ by our choice of $g_1, \ldots, g_m$. Hence starting with $x \in J$ we can find a sequence of vectors $(a_{1, n}, \ldots, a_{m, n})_{n \geq 0}$ with $a_{j, n} \in I^{\max(0, n - d_j)}$ such that $$x = \sum\nolimits_{n = 0, \ldots, N} \sum\nolimits_{j = 1, \ldots, m} a_{j, n} g_j \bmod I^{N + 1}$$ Setting $A_j = \sum_{n \geq 0} a_{j, n}$ we see that $x = \sum A_j g_j$ as $R$ is complete. Hence $J$ is finitely generated and we win. $\square$

Lemma. Flatness and modules

Let $R \to S$ be a ring map. Let $I \subset R$ be an ideal. Let $M$ be an $S$-module. Assume

  1. $R$ is a Noetherian ring,

  2. $S$ is a Noetherian ring,

  3. $M$ is a finite $S$-module, and

  4. for each $n \geq 1$ the module $M/I^n M$ is flat over $R/I^n$.

Then for every $\mathfrak q \in V(IS)$ the localization $M_{\mathfrak q}$ is flat over $R$. In particular, if $S$ is local and $IS$ is contained in its maximal ideal, then $M$ is flat over $R$.

Proof. We are going to use Lemma A variant of the local criterion for flatness. By assumption $M/IM$ is flat over $R/I$. Hence it suffices to check that $\text{Tor}_1^R(M, R/I)$ is zero on localization at $\mathfrak q$. By Remark Tor for a quotient by an ideal this Tor group is equal to $K = \operatorname{Ker}(I \otimes_R M \to M)$. We know that the kernel of $I/I^n \otimes_{R/I^n} M/I^nM \to M/I^nM$ is zero for all $n \geq 1$. Hence an element of $K$ maps to zero in $I/I^n \otimes_{R/I^n} M/I^nM$. Since $$I/I^n \otimes_{R/I^n} M/I^nM = I/I^n \otimes_R M = (I \otimes_R M)/I^{n - 1}(I \otimes_R M)$$ we conclude that $K \subset I^{n - 1}(I \otimes_R M)$ for all $n \geq 1$. By the Artin-Rees lemma, and more precisely Lemma Modules (programme binding) we conclude that $K_{\mathfrak q} = 0$, as desired. $\square$

Lemma. Commutative algebra

Let $(A_i, \varphi_{ji})$ be a directed inverse system over $I$. Suppose $I$ is countable. If $(A_i, \varphi_{ji})$ is Mittag-Leffler and the $A_i$ are nonempty, then $\varprojlim A_i$ is nonempty.

Proof. Let $i_1, i_2, i_3, \ldots$ be an enumeration of the elements of $I$. Define inductively a sequence of elements $j_n \in I$ for $n = 1, 2, 3, \ldots$ by the conditions: $j_1 = i_1$, and $j_n \geq i_n$ and $j_n \geq j_m$ for $m < n$. Then the sequence $j_n$ is increasing and forms a cofinal subset of $I$. Hence we may assume $I =\{1, 2, 3, \ldots \}$. So by Example Commutative algebra (programme binding) we are reduced to showing that the limit of an inverse system of nonempty sets with surjective maps indexed by the positive integers is nonempty. This follows from the axiom of choice. $\square$

[^1]: To avoid set theoretical difficulties we consider only $A' \to A$ such that $A'$ is a quotient of $R[x_1, x_2, x_3, \ldots]$.

[^2]: Here is the argument in more detail: Assume that we know that the second and fourth arrows are injective. Lemma Tensor products and direct sums (applied to the exact sequence $K \to N_2 \to Q \to 0$) yields that the sequence $K \otimes_R M \to N_2 \otimes_R M \to Q \otimes_R M \to 0$ is exact. Hence, $\operatorname{Ker} \left(N_2 \otimes_R M \to Q \otimes_R M\right) = \operatorname{Im} \left(K \otimes_R M \to N_2 \otimes_R M\right)$. Since $\operatorname{Im} \left(K \otimes_R M \to N_2 \otimes_R M\right) = \operatorname{Im} \left(N_1 \otimes_R M \to N_2 \otimes_R M\right)$ (due to the surjectivity of $N_1 \otimes_R M \to K \otimes_R M$) and $\operatorname{Ker} \left(N_2 \otimes_R M \to Q \otimes_R M\right) = \operatorname{Ker} \left(N_2 \otimes_R M \to N_3 \otimes_R M\right)$ (due to the injectivity of $Q \otimes_R M \to N_3 \otimes_R M$), this becomes $\operatorname{Ker} \left(N_2 \otimes_R M \to N_3 \otimes_R M\right) = \operatorname{Im} \left(N_1 \otimes_R M \to N_2 \otimes_R M\right)$, which shows that the functor $- \otimes_R M$ is exact, whence $M$ is flat.

[^3]: This becomes obvious if we identify $L' \otimes_R M$ and $L \otimes_R M$ with submodules of $M^{\oplus n}$ (which is legitimate since the maps $L \otimes_R M \to M^{\oplus n}$ and $L' \otimes_R M \to M^{\oplus n}$ are injective and commute with the obvious map $L' \otimes_R M \to L \otimes_R M$).

[^4]: Special cases: (I) $I = 0$. The lemma says if $x_1, \ldots, x_r$ generate $S^{-1}M$, then $x_1, \ldots, x_r$ generate $M_f$ for some $f \in S$. (II) $I = \mathfrak p$ is a prime ideal and $S = R \setminus \mathfrak p$. The lemma says if $x_1, \ldots, x_r$ generate $M \otimes_R \kappa(\mathfrak p)$ then $x_1, \ldots, x_r$ generate $M_f$ for some $f \in R$, $f \not \in \mathfrak p$.

Infinitesimal lifting and complete rings

Definition. Local complete-intersection ring maps

A ring map $A \to B$ is called a local complete intersection if it is of finite type and for some (equivalently any) presentation $B = A[x_1, \ldots, x_n]/I$ the ideal $I$ is Koszul-regular.

Lemma. Noetherianity of a henselization

Source credit: the original source citation EGA (IV, Theorem 18.6.6 and Proposition 18.8.8)

Let $R$ be a local ring. The following are equivalent

  1. $R$ is Noetherian,

  2. $R^h$ is Noetherian, and

  3. $R^{sh}$ is Noetherian.

In this case we have

  1. $(R^h)^\wedge$ and $(R^{sh})^\wedge$ are Noetherian complete local rings,

  2. $R^\wedge \to (R^h)^\wedge$ is an isomorphism,

  3. $R^h \to (R^h)^\wedge$ and $R^{sh} \to (R^{sh})^\wedge$ are flat,

  4. $R^\wedge \to (R^{sh})^\wedge$ is formally smooth in the $\mathfrak m_{(R^{sh})^\wedge}$-adic topology,

  5. $(R^\wedge)^{sh} = R^\wedge \otimes_{R^h} R^{sh}$, and

  6. $((R^\wedge)^{sh})^\wedge = (R^{sh})^\wedge$.

Proof. Since $R \to R^h \to R^{sh}$ are faithfully flat (Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1), we see that $R^h$ or $R^{sh}$ being Noetherian implies that $R$ is Noetherian, see Algebra, Lemma Descent of Noetherianity. In the rest of the proof we assume $R$ is Noetherian.

As $\mathfrak m \subset R$ is finitely generated it follows that $\mathfrak m^h = \mathfrak m R^h$ and $\mathfrak m^{sh} = \mathfrak mR^{sh}$ are finitely generated, see Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1. Hence $(R^h)^\wedge$ and $(R^{sh})^\wedge$ are Noetherian by Algebra, Lemma Coefficient rings and the Cohen structure theorem, Theorem 6.1 and its Noetherianity consequence. This proves (a).

Note that (b) is immediate from Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1. In particular we see that $(R^h)^\wedge$ is flat over $R$, see Algebra, Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1.

Next, we show that $R^h \to (R^h)^\wedge$ is flat. Write $R^h = \mathop{\operatorname{colim}}_i R_i$ as a directed colimit of localizations of étale $R$-algebras. By Algebra, Lemma Flatness in a filtered ring colimit if $(R^h)^\wedge$ is flat over each $R_i$, then $R^h \to (R^h)^\wedge$ is flat. Note that $R^h = R_i^h$ (by construction). Hence $R_i^\wedge = (R^h)^\wedge$ by part (b) is flat over $R_i$ as desired. To finish the proof of (c) we show that $R^{sh} \to (R^{sh})^\wedge$ is flat. To do this, by a limit argument as above, it suffices to show that $(R^{sh})^\wedge$ is flat over $R$. Note that it follows from Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1 that $(R^{sh})^\wedge$ is the completion of a free $R$-module. By Lemma Flatness of a completed direct sum we see this is flat over $R$ as desired. This finishes the proof of (c).

At this point we know (c) is true and that $(R^h)^\wedge$ and $(R^{sh})^\wedge$ are Noetherian. It follows from Algebra, Lemma Descent of Noetherianity that $R^h$ and $R^{sh}$ are Noetherian.

Part (d) follows from Lemma Formal smoothness of henselization and Lemma Formal smoothness and completion.

Part (e) follows from Algebra, Lemma A strict henselization map extending a henselization map and the fact that $R^\wedge$ is henselian by Algebra, Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1.

Proof of (f). Using (e) there is a map $R^{sh} \to (R^\wedge)^{sh}$ which induces a map $(R^{sh})^\wedge \to ((R^\wedge)^{sh})^\wedge$ upon completion. Using (e) there is a map $R^\wedge \to (R^{sh})^\wedge$. Since $(R^{sh})^\wedge$ is strictly henselian (see above) this map induces a map $(R^\wedge)^{sh} \to (R^{sh})^\wedge$ by Algebra, Lemma Functoriality of strict henselization. Completing we obtain a map $((R^\wedge)^{sh})^\wedge \to (R^{sh})^\wedge$. We omit the verification that these two maps are mutually inverse. $\square$

Lemma. Lifting a unit

Let $A$ be a ring, let $I \subset A$ be an ideal, let $\overline{u} \in A/I$ be an invertible element. There exists an étale ring map $A \to A'$ which induces an isomorphism $A/I \to A'/IA'$ and an invertible element $u' \in A'$ lifting $\overline{u}$.

Proof. Choose any lift $f \in A$ of $\overline{u}$ and set $A' = A_f$ and $u$ the image of $f$ in $A'$. $\square$

Lemma. First cotangent homology after a regular quotient

Let $A$ be a ring. Let $I \subset A$ be an ideal. Let $g_1, \ldots, g_m$ be a sequence in $A$ whose image in $A/I$ is $H_1$-regular. Then $I \cap (g_1, \ldots, g_m) = I(g_1, \ldots, g_m)$.

Proof. Consider the exact sequence of complexes $$0 \to I \otimes_A K_\bullet(A, g_1, \ldots, g_m) \to K_\bullet(A, g_1, \ldots, g_m) \to K_\bullet(A/I, g_1, \ldots, g_m) \to 0$$ Since the complex on the right has $H_1 = 0$ by assumption we see that $$\operatorname{Coker}(I^{\oplus m} \to I) \longrightarrow \operatorname{Coker}(A^{\oplus m} \to A)$$ is injective. This is equivalent to the assertion of the lemma. $\square$

Lemma. Locality of the complete-intersection condition

Let $R \to S$ be a ring map. Let $g_1, \ldots, g_m \in S$ generate the unit ideal. If each $R \to S_{g_j}$ is a local complete intersection so is $R \to S$.

Proof. Let $S = R[x_1, \ldots, x_n]/I$ be a presentation. Pick $h_j \in R[x_1, \ldots, x_n]$ mapping to $g_j$ in $S$. Then $R[x_1, \ldots, x_n, x_{n + 1}]/(I, x_{n + 1}h_j - 1)$ is a presentation of $S_{g_j}$. Hence $I_j = (I, x_{n + 1}h_j - 1)$ is a Koszul-regular ideal in $R[x_1, \ldots, x_n, x_{n + 1}]$. Pick a prime $I \subset \mathfrak q \subset R[x_1, \ldots, x_n]$. Then $h_j \not \in \mathfrak q$ for some $j$ and $\mathfrak q_j = (\mathfrak q, x_{n + 1}h_j - 1)$ is a prime ideal of $V(I_j)$ lying over $\mathfrak q$. Pick $f_1, \ldots, f_r \in I$ which map to a basis of $I/I^2 \otimes \kappa(\mathfrak q)$. Then $x_{n + 1}h_j - 1, f_1, \ldots, f_r$ is a sequence of elements of $I_j$ which map to a basis of $I_j \otimes \kappa(\mathfrak q_j)$, see Algebra, Lemma The cotangent complex of a principal localization. By Nakayama's lemma there exists an $h \in R[x_1, \ldots, x_n, x_{n + 1}]$ such that $(I_j)_h$ is generated by $x_{n + 1}h_j - 1, f_1, \ldots, f_r$. We may also assume that $(I_j)_h$ is generated by a Koszul regular sequence of some length $e$. Looking at the dimension of $I_j \otimes \kappa(\mathfrak q_j)$ we see that $e = r + 1$. Hence by Lemma Independence of a chosen set of ideal generators we see that $x_{n + 1}h_j - 1, f_1, \ldots, f_r$ is a Koszul-regular sequence generating $(I_j)_h$ for some $h \in R[x_1, \ldots, x_n, x_{n + 1}]$, $h \not \in \mathfrak q_j$. By Lemma Truncation of a Koszul-regular sequence we see that $I_{h'}$ is generated by a Koszul-regular sequence for some $h' \in R[x_1, \ldots, x_n]$, $h' \not \in \mathfrak q$ as desired. $\square$

Lemma. Koszul complexes of global complete intersections

Let $R$ be a ring. If $R[x_1, \ldots, x_n]/(f_1, \ldots, f_c)$ is a relative global complete intersection, then $f_1, \ldots, f_c$ is a Koszul regular sequence.

Proof. Recall that the homology groups $H_i(K_\bullet(f_\bullet))$ are annihilated by the ideal $(f_1, \ldots, f_c)$. Hence it suffices to show that $H_i(K_\bullet(f_\bullet))_\mathfrak q$ is zero for all primes $\mathfrak q \subset R[x_1, \ldots, x_n]$ containing $(f_1, \ldots, f_c)$. This follows from Algebra, Lemma The conormal module of a global complete intersection and the fact that a regular sequence is Koszul regular (Lemma Regular sequences are Koszul-regular). $\square$

Definition. Regular ideals

Let $R$ be a ring and let $I \subset R$ be an ideal.

  1. We say $I$ is a regular ideal if for every $\mathfrak p \in V(I)$ there exists a $g \in R$, $g \not \in \mathfrak p$ and a regular sequence $f_1, \ldots, f_r \in R_g$ such that $I_g$ is generated by $f_1, \ldots, f_r$.

  2. We say $I$ is a Koszul-regular ideal if for every $\mathfrak p \in V(I)$ there exists a $g \in R$, $g \not \in \mathfrak p$ and a Koszul-regular sequence $f_1, \ldots, f_r \in R_g$ such that $I_g$ is generated by $f_1, \ldots, f_r$.

  3. We say $I$ is a $H_1$-regular ideal if for every $\mathfrak p \in V(I)$ there exists a $g \in R$, $g \not \in \mathfrak p$ and an $H_1$-regular sequence $f_1, \ldots, f_r \in R_g$ such that $I_g$ is generated by $f_1, \ldots, f_r$.

  4. We say $I$ is a quasi-regular ideal if for every $\mathfrak p \in V(I)$ there exists a $g \in R$, $g \not \in \mathfrak p$ and a quasi-regular sequence $f_1, \ldots, f_r \in R_g$ such that $I_g$ is generated by $f_1, \ldots, f_r$.

Lemma. Relative regular immersions in affine algebra

Let $A \to B$ and $A \to A'$ be ring maps. Set $B' = B \otimes_A A'$. Let $f_1, \ldots, f_r \in B$. Assume $B/(f_1, \ldots, f_r)B$ is flat over $A$

  1. If $f_1, \ldots, f_r$ is a quasi-regular sequence, then the image in $B'$ is a quasi-regular sequence.

  2. If $f_1, \ldots, f_r$ is a $H_1$-regular sequence, then the image in $B'$ is a $H_1$-regular sequence.

Proof. Assume $f_1, \ldots, f_r$ is quasi-regular. Set $J = (f_1, \ldots, f_r)$. By assumption $J^n/J^{n + 1}$ is isomorphic to a direct sum of copies of $B/J$ hence flat over $A$. By induction and Algebra, Lemma Flat modules in a short exact sequence we conclude that $B/J^n$ is flat over $A$. The ideal $(J')^n$ is equal to $J^n \otimes_A A'$, see Algebra, Lemma Tor vanishing for a flat module. Hence $(J')^n/(J')^{n + 1} = J^n/J^{n + 1} \otimes_A A'$ which clearly implies that $f_1, \ldots, f_r$ is a quasi-regular sequence in $B'$.

Assume $f_1, \ldots, f_r$ is $H_1$-regular. By Lemma Base change of first-homology regularity the vanishing of the Koszul homology group $H_1(K_\bullet(B, f_1, \ldots, f_r))$ implies the vanishing of $H_1(K_\bullet(B', f'_1, \ldots, f'_r))$ and we win. $\square$

Lemma. Regularity conditions for finite ideals in Noetherian rings

Let $(R, \mathfrak m)$ be a Noetherian local ring. Let $M$ be a nonzero finite $R$-module. Let $f_1, \ldots, f_r \in \mathfrak m$. The following are equivalent

  1. $f_1, \ldots, f_r$ is an $M$-regular sequence,

  2. $f_1, \ldots, f_r$ is a $M$-Koszul-regular sequence,

  3. $f_1, \ldots, f_r$ is an $M$-$H_1$-regular sequence,

  4. $f_1, \ldots, f_r$ is an $M$-quasi-regular sequence.

In particular the sequence $f_1, \ldots, f_r$ is a regular sequence in $R$ if and only if it is a Koszul regular sequence, if and only if it is a $H_1$-regular sequence, if and only if it is a quasi-regular sequence.

Proof. The implication (1) $\Rightarrow$ (2) is Lemma Regular sequences are Koszul-regular. The implication (2) $\Rightarrow$ (3) is Lemma Koszul regularity implies first-homology regularity. The implication (3) $\Rightarrow$ (4) is Lemma First-homology regularity implies quasi-regularity. The implication (4) $\Rightarrow$ (1) is Algebra, Lemma Quasi-regular and regular ideals in a Noetherian ring. $\square$

Lemma. Regularity and completion

Let $A$ be a Noetherian local ring. Then $A$ is regular if and only if $A^\wedge$ is so.

Proof. If $A^\wedge$ is regular, then $A$ is regular by Algebra, Lemma Flatness and regular ring maps. Assume $A$ is regular. Let $\mathfrak m$ be the maximal ideal of $A$. Then $\dim_{\kappa(\mathfrak m)} \mathfrak m/\mathfrak m^2 = \dim(A) = \dim(A^\wedge)$ (Lemma Dimension of a completion). On the other hand, $\mathfrak mA^\wedge$ is the maximal ideal of $A^\wedge$ and hence $\mathfrak m_{A^\wedge}$ is generated by at most $\dim(A^\wedge)$ elements. Thus $A^\wedge$ is regular. (You can also use Algebra, Lemma Regularity over a regular base with regular fibre.) $\square$

Lemma. Derivations of formal power series in positive characteristic

Let $p$ be a prime number. Let $B$ be a domain with $p = 0$ in $B$. Let $f \in B$ be an element which is not a $p$th power in the fraction field of $B$. If $B$ is of finite type over a Noetherian complete local ring, then there exists a derivation $D : B \to B$ such that $D(f)$ is not zero.

Proof. Let $R$ be a Noetherian complete local ring such that there exists a finite type ring map $R \to B$. Of course we may replace $R$ by its image in $B$, hence we may assume $R$ is a domain of characteristic $p > 0$ (as well as Noetherian complete local). By Algebra, Lemma A complete local domain finite over a regular ring we can write $R$ as a finite extension of $k[[x_1, \ldots, x_n]]$ for some field $k$ and integer $n$. Hence we may replace $R$ by $k[[x_1, \ldots, x_n]]$. Next, we use Algebra, Lemma Noether normalization over a domain to factor $R \to B$ as $$R \subset R[y_1, \ldots, y_d] \subset B' \subset B$$ with $B'$ finite over $R[y_1, \ldots, y_d]$ and $B'_g \cong B_g$ for some nonzero $g \in R$. Note that $f' = g^{pN} f \in B'$ for some large integer $N$. It is clear that $f'$ is not a $p$th power in the fraction field of $B'$. If we can find a derivation $D' : B' \to B'$ with $D'(f') \not = 0$, then Lemma Extending a derivation guarantees that $D = g^MD'$ extends to $B$ for some $M > 0$. Then $D(f) = g^MD'(f) = g^MD'(g^{-pN}f') = g^{M - pN}D'(f')$ is nonzero. Thus it suffices to prove the lemma in case $B$ is a finite extension of $A = k[[x_1, \ldots, x_n]][y_1, \ldots, y_m]$.

Assume $B$ is a finite extension of $A = k[[x_1, \ldots, x_n]][y_1, \ldots, y_m]$. Denote $L$ the fraction field of $B$. Note that $\text{d}f$ is not zero in $\Omega_{L/\mathbf{F}_p}$, see Algebra, Lemma Polynomials with zero derivative in characteristic p. We apply Lemma Subfields of a formal power-series ring to find a subfield $k' \subset k$ of finite index such that with $A' = k'[[x_1^p, \ldots, x_n^p]][y_1^p, \ldots, y_m^p]$ the element $\text{d}f$ does not map to zero in $\Omega_{L/K'}$ where $K'$ is the fraction field of $A'$. Thus we can choose a $K'$-derivation $D' : L \to L$ with $D'(f) \not = 0$. Since $A' \subset A$ and $A \subset B$ are finite by construction we see that $A' \subset B$ is finite. Choose $b_1, \ldots, b_t \in B$ which generate $B$ as an $A'$-module. Then $D'(b_i) = f_i/g_i$ for some $f_i, g_i \in B$ with $g_i \not = 0$. Setting $D = g_1 \ldots g_t D'$ we win. $\square$

Lemma. Extending a derivation

Let $R$ be a ring. Let $D : R \to R$ be a derivation.

  1. For any ideal $I \subset R$ the derivation $D$ extends canonically to a derivation $D^\wedge : R^\wedge \to R^\wedge$ on the $I$-adic completion.

  2. For any multiplicative subset $S \subset R$ the derivation $D$ extends uniquely to the localization $S^{-1}R$ of $R$.

If $R \subset R'$ is a finite type extension of rings such that $R_g \cong R'_g$ for some $g \in R$ which is a nonzerodivisor in $R'$, then $g^ND$ extends to $R'$ for some $N \geq 0$.

Proof. Proof of (1). For $n \geq 2$ we have $D(I^n) \subset I^{n - 1}$ by the Leibniz rule. Hence $D$ induces maps $D_n : R/I^n \to R/I^{n - 1}$. Taking the limit we obtain $D^\wedge$. We omit the verification that $D^\wedge$ is a derivation.

Proof of (2). To extend $D$ to $S^{-1}R$ just set $D(r/s) = D(r)/s - rD(s)/s^2$ and check the axioms.

Proof of the final statement. Let $x_1, \ldots, x_n \in R'$ be generators of $R'$ over $R$. Choose an $N$ such that $g^Nx_i \in R$. Consider $g^{N + 1}D$. By (2) this extends to $R_g$. Moreover, by the Leibniz rule and our construction of the extension above we have $$g^{N + 1}D(x_i) = g^{N + 1}D(g^{-N} g^Nx_i) = -Ng^Nx_iD(g) + gD(g^Nx_i)$$ and both terms are in $R$. This implies that $$g^{N + 1}D(x_1^{e_1} \ldots x_n^{e_n}) = \sum e_i x_1^{e_1} \ldots x_i^{e_i - 1} \ldots x_n^{e_n} g^{N + 1}D(x_i)$$ is an element of $R'$. Hence every element of $R'$ (which can be written as a sum of monomials in the $x_i$ with coefficients in $R$) is mapped to an element of $R'$ by $g^{N + 1}D$ and we win. $\square$

Lemma. Regularity after an extension of degree p

Let $R$ be a regular ring. Let $f \in R$. Assume there exists a derivation $D : R \to R$ such that $D(f)$ is a unit of $R$. Then $R[z]/(z^n - f)$ is regular for any integer $n \geq 1$. More generally, $R[z]/(p(z) - f)$ is regular for any $p \in \mathbf{Z}[z]$.

Proof. By Algebra, Lemma Regularity ascends along a regular ring map we see that $R[z]$ is a regular ring. Apply Lemma Regularity of a quotient to the extension of $D$ to $R[z]$ which maps $z$ to zero. This works because $D$ annihilates any polynomial with integer coefficients and sends $f$ to a unit. $\square$

Lemma. Fibres of henselization maps

Let $R$ be a Noetherian local ring. Let $\mathfrak p \subset R$ be a prime. Then $$R^h \otimes_R \kappa(\mathfrak p) = \prod\nolimits_{i = 1, \ldots, t} \kappa(\mathfrak q_i) \quad\text{resp.}\quad R^{sh} \otimes_R \kappa(\mathfrak p) = \prod\nolimits_{i = 1, \ldots, s} \kappa(\mathfrak r_i)$$ where $\mathfrak q_1, \ldots, \mathfrak q_t$, resp. $\mathfrak r_1, \ldots, \mathfrak r_s$ are the prime of $R^h$, resp. $R^{sh}$ lying over $\mathfrak p$. Moreover, the field extensions $\kappa(\mathfrak q_i)/\kappa(\mathfrak p)$ resp. $\kappa(\mathfrak r_i)/\kappa(\mathfrak p)$ are separable algebraic.

Proof. This can be deduced from the more general Lemma Noetherian fibres of a filtered colimit of étale maps using that the henselization and strict henselization are Noetherian (as we've seen above). But we also give a direct proof as follows.

We will use without further mention the results of Lemmas Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1 and Noetherianity of a henselization. Note that $R^h/\mathfrak pR^h$, resp. $R^{sh}/\mathfrak pR^{sh}$ is the henselization, resp. strict henselization of $R/\mathfrak p$, see Algebra, Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1 resp. Algebra, Lemma Henselian local rings and henselization, Sections 4 and 6, Proposition 6.1. Hence we may replace $R$ by $R/\mathfrak p$ and assume that $R$ is a Noetherian local domain and that $\mathfrak p = (0)$. Since $R^h$, resp. $R^{sh}$ is Noetherian, it has finitely many minimal primes $\mathfrak q_1, \ldots, \mathfrak q_t$, resp. $\mathfrak r_1, \ldots, \mathfrak r_s$. Since $R \to R^h$, resp. $R \to R^{sh}$ is flat these are exactly the primes lying over $\mathfrak p = (0)$ (by going down). Finally, as $R$ is a domain, we see that $R^h$, resp. $R^{sh}$ is reduced, see Lemma Reducedness of a henselization. Thus we see that $R^h \otimes_R \kappa(\mathfrak p)$ resp. $R^{sh} \otimes_R \kappa(\mathfrak p)$ is a reduced Noetherian ring with finitely many primes, all of which are minimal (and hence maximal). Thus these rings are Artinian and are products of their localizations at maximal ideals, each necessarily a field (see Algebra, Proposition Rings of dimension zero and Algebra, Lemma Localizations at minimal primes of a reduced ring).

The final statement follows from the fact that $R \to R^h$, resp. $R \to R^{sh}$ is a colimit of étale ring maps and hence the induced residue field extensions are colimits of finite separable extensions, see Algebra, Lemma Étaleness at a prime ideal. $\square$

Proposition. Formal smoothness and regularity

Let $A \to B$ be a local homomorphism of Noetherian complete local rings. Let $k$ be the residue field of $A$ and $\overline{B} = B \otimes_A k$ the special fibre. The following are equivalent

  1. $A \to B$ is regular,

  2. $A \to B$ is flat and $\overline{B}$ is geometrically regular over $k$,

  3. $A \to B$ is flat and $k \to \overline{B}$ is formally smooth in the $\mathfrak m_{\overline{B}}$-adic topology, and

  4. $A \to B$ is formally smooth in the $\mathfrak m_B$-adic topology.

Proof. We have seen the equivalence of (2), (3), and (4) in Proposition Formal smoothness from flatness and formally smooth fibres. It is clear that (1) implies (2). Thus we assume the equivalent conditions (2), (3), and (4) hold and we prove (1).

Let $\mathfrak p$ be a prime of $A$. We will show that $B \otimes_A \kappa(\mathfrak p)$ is geometrically regular over $\kappa(\mathfrak p)$. By Lemma Base change of formal smoothness we may replace $A$ by $A/\mathfrak p$ and $B$ by $B/\mathfrak pB$. Thus we may assume that $A$ is a domain and that $\mathfrak p = (0)$.

Choose $A_0 \subset A$ as in Algebra, Lemma A complete local domain finite over a regular ring. We will use all the properties stated in that lemma without further mention. As $A_0 \to A$ induces an isomorphism on residue fields, and as $B/\mathfrak m_A B$ is geometrically regular over $A/\mathfrak m_A$ we can find a diagram $$\begin{gathered}\begin{matrix}C & B \\ A_0 & A\end{matrix} \\[6pt] \begin{aligned}C & \longrightarrow B \\ A_0 & \longrightarrow A \\ A_0 & \longrightarrow C \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ with $A_0 \to C$ formally smooth in the $\mathfrak m_C$-adic topology such that $B = C \otimes_{A_0} A$, see Remark The finite-equation meaning of formal smoothness. (Completion in the tensor product is not needed as $A_0 \to A$ is finite, see Algebra, Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1.) Hence it suffices to show that $C \otimes_{A_0} K_0$ is a geometrically regular algebra over the fraction field $K_0$ of $A_0$.

The upshot of the preceding paragraph is that we may assume that $A = k[[x_1, \ldots, x_n]]$ where $k$ is a field or $A = \Lambda[[x_1, \ldots, x_n]]$ where $\Lambda$ is a Cohen ring. In this case $B$ is a regular ring, see Algebra, Lemma Regularity over a regular base with regular fibre. Hence $B \otimes_A K$ is a regular ring too (where $K$ is the fraction field of $A$) and we win if the characteristic of $K$ is zero.

Thus we are left with the case where $A = k[[x_1, \ldots, x_n]]$ and $k$ is a field of characteristic $p > 0$. Let $L/K$ be a finite purely inseparable field extension. We will show by induction on $[L : K]$ that $B \otimes_A L$ is regular. The base case is $L = K$ which we've seen above. Let $K \subset M \subset L$ be a subfield such that $L$ is a degree $p$ extension of $M$ obtained by adjoining a $p$th root of an element $f \in M$. Let $A'$ be a finite $A$-subalgebra of $M$ with fraction field $M$. Clearing denominators, we may and do assume $f \in A'$. Set $A'' = A'[z]/(z^p -f)$ and note that $A' \subset A''$ is finite and that the fraction field of $A''$ is $L$. By induction we know that $B \otimes_A M$ ring is regular. We have $$B \otimes_A L = B \otimes_A M[z]/(z^p - f)$$ By Lemma Derivations of formal power series in positive characteristic we know there exists a derivation $D : A' \to A'$ such that $D(f) \not = 0$. As $A' \to B \otimes_A A'$ is formally smooth in the $\mathfrak m$-adic topology by Lemma Descent of formal smoothness we can use Lemma Lifting formal smoothness to extend $D$ to a derivation $D' : B \otimes_A A' \to B \otimes_A A'$. Note that $D'(f) = D(f)$ is a unit in $B \otimes_A M$ as $D(f)$ is not zero in $A' \subset M$. Hence $B \otimes_A L$ is regular by Lemma Regularity after an extension of degree p and we win. $\square$

Lemma. Formal smoothness and smooth morphisms

Let $\varphi : R \to S$ be a ring map.

  1. If $R \to S$ is formally smooth in the sense of Algebra, Definition Formally smooth ring maps, then $R \to S$ is formally smooth for any linear topology on $R$ and any pre-adic topology on $S$ such that $R \to S$ is continuous.

  2. Let $\mathfrak n \subset S$ and $\mathfrak m \subset R$ ideals such that $\varphi$ is continuous for the $\mathfrak m$-adic topology on $R$ and the $\mathfrak n$-adic topology on $S$. Then the following are equivalent

    1. $\varphi$ is formally smooth for the $\mathfrak m$-adic topology on $R$ and the $\mathfrak n$-adic topology on $S$, and

    2. $\varphi$ is formally smooth for the discrete topology on $R$ and the $\mathfrak n$-adic topology on $S$.

Proof. Assume $R \to S$ is formally smooth in the sense of Algebra, Definition Formally smooth ring maps. If $S$ has a pre-adic topology, then there exists an ideal $\mathfrak n \subset S$ such that $S$ has the $\mathfrak n$-adic topology. Suppose given a solid commutative diagram as in Definition Formally smooth ring maps. Continuity of $S \to A/J$ means that $\mathfrak n^k$ maps to zero in $A/J$ for some $k \geq 1$, see Lemma Derived commutative algebra. We obtain a ring map $\psi : S \to A$ from the assumed formal smoothness of $S$ over $R$. Then $\psi(\mathfrak n^k) \subset J$ hence $\psi(\mathfrak n^{2k}) = 0$ as $J^2 = 0$. Hence $\psi$ is continuous by Lemma Derived commutative algebra. This proves (1).

The proof of (2)(b) $\Rightarrow$ (2)(a) is the same as the proof of (1). Assume (2)(a). Suppose given a solid commutative diagram as in Definition Formally smooth ring maps where we use the discrete topology on $R$. Since $\varphi$ is continuous we see that $\varphi(\mathfrak m^n) \subset \mathfrak n$ for some $n \geq 1$. As $S \to A/J$ is continuous we see that $\mathfrak n^k$ maps to zero in $A/J$ for some $k \geq 1$. Hence $\mathfrak m^{nk}$ maps into $J$ under the map $R \to A$. Thus $\mathfrak m^{2nk}$ maps to zero in $A$ and we see that $R \to A$ is continuous in the $\mathfrak m$-adic topology. Thus (2)(a) gives a dotted arrow as desired. $\square$

Lemma. Formal smoothness and completion

Let $(R, \mathfrak m)$ and $(S, \mathfrak n)$ be rings endowed with finitely generated ideals. Endow $R$ and $S$ with the $\mathfrak m$-adic and $\mathfrak n$-adic topologies. Let $R \to S$ be a homomorphism of topological rings. The following are equivalent

  1. $R \to S$ is formally smooth for the $\mathfrak n$-adic topology,

  2. $R \to S^\wedge$ is formally smooth for the $\mathfrak n^\wedge$-adic topology,

  3. $R^\wedge \to S^\wedge$ is formally smooth for the $\mathfrak n^\wedge$-adic topology.

Here $R^\wedge$ and $S^\wedge$ are the $\mathfrak m$-adic and $\mathfrak n$-adic completions of $R$ and $S$.

Proof. The assumption that $\mathfrak m$ is finitely generated implies that $R^\wedge$ is $\mathfrak mR^\wedge$-adically complete, that $\mathfrak mR^\wedge = \mathfrak m^\wedge$ and that $R^\wedge/\mathfrak m^nR^\wedge = R/\mathfrak m^n$, see Algebra, Lemma Finite algebras and its proof. Similarly for $(S, \mathfrak n)$. Thus it is clear that diagrams as in Definition Formally smooth ring maps for the cases (1), (2), and (3) are in 1-to-1 correspondence. $\square$

Lemma. Regularity of a quotient

The Jacobian criterion for hypersurfaces, done right.

Let $R$ be a regular ring. Let $f \in R$. Assume there exists a derivation $D : R \to R$ such that $D(f)$ is a unit of $R/(f)$. Then $R/(f)$ is regular.

Proof. It suffices to prove this when $R$ is a local ring with maximal ideal $\mathfrak m$ and residue field $\kappa$. In this case it suffices to prove that $f \not \in \mathfrak m^2$, see Algebra, Lemma Regular rings are Cohen–Macaulay. However, if $f \in \mathfrak m^2$ then $D(f) \in \mathfrak m$ by the Leibniz rule, a contradiction. $\square$

Lemma. Flatness of a completed direct sum

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $A$ be a set. Assume $R$ is Noetherian. The completion $(\bigoplus\nolimits_{\alpha \in A} R)^\wedge$ is a flat $R$-module.

Proof. Denote \(R^\wedge\) the completion of \(R\) with respect to \(I\). As \(R \to R^\wedge\) is flat by Algebra, Lemma Complete rings, formal power series and flatness it suffices to prove that \((\bigoplus\nolimits_{\alpha \in A} R)^\wedge\) is a flat \(R^\wedge\)-module (use Algebra, Lemma Composition and flatness). Since

\[ (\bigoplus\nolimits_{\alpha \in A} R)^\wedge = (\bigoplus\nolimits_{\alpha \in A} R^\wedge)^\wedge \]

we may replace \(R\) by \(R^\wedge\) and assume that \(R\) is complete with respect to \(I\) (see Algebra, Lemma Complete rings and formal power series). In this case Lemma Universal injectivity from a completed direct sum into a product tells us the map \((\bigoplus\nolimits_{\alpha \in A} R)^\wedge \to \prod_{\alpha \in A} R\) is universally injective. Thus, by Algebra, Lemma Flatness it suffices to show that \(\prod_{\alpha \in A} R\) is flat. By Algebra, Proposition Criteria for coherent sheaves (and Algebra, Lemma Coherent sheaves and Noetherian rings) we see that \(\prod_{\alpha \in A} R\) is flat. \(\square\)

Lemma. Formal smoothness of henselization

Let $(R, \mathfrak m, \kappa)$ be a local ring. Then

  1. $R \to R^h$, $R^h \to R^{sh}$, and $R \to R^{sh}$ are formally étale,

  2. $R \to R^h$, $R^h \to R^{sh}$, resp. $R \to R^{sh}$ are formally smooth in the $\mathfrak m^h$, $\mathfrak m^{sh}$, resp. $\mathfrak m^{sh}$-topology.

Proof. Part (1) follows from the fact that $R^h$ and $R^{sh}$ are directed colimits of étale algebras (by construction), that étale algebras are formally étale (Algebra, Lemma Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7), and that colimits of formally étale algebras are formally étale (Algebra, Lemma Formal étaleness in a filtered colimit). Part (2) follows from the fact that a formally étale ring map is formally smooth and Lemma Formal smoothness and smooth morphisms. $\square$

Lemma. Independence of a chosen set of ideal generators

Let $R$ be a ring. Let $I$ be an ideal generated by $f_1, \ldots, f_r \in R$.

  1. If $I$ can be generated by a quasi-regular sequence of length $r$, then $f_1, \ldots, f_r$ is a quasi-regular sequence.

  2. If $I$ can be generated by an $H_1$-regular sequence of length $r$, then $f_1, \ldots, f_r$ is an $H_1$-regular sequence.

  3. If $I$ can be generated by a Koszul-regular sequence of length $r$, then $f_1, \ldots, f_r$ is a Koszul-regular sequence.

Proof. If $I$ can be generated by a quasi-regular sequence of length $r$, then $I/I^2$ is free of rank $r$ over $R/I$. Since $f_1, \ldots, f_r$ generate by assumption we see that the images $\overline{f}_i$ form a basis of $I/I^2$ over $R/I$. It follows that $f_1, \ldots, f_r$ is a quasi-regular sequence as all this means, besides the freeness of $I/I^2$, is that the maps $\text{Sym}^n_{R/I}(I/I^2) \to I^n/I^{n + 1}$ are isomorphisms.

We continue to assume that $I$ can be generated by a quasi-regular sequence, say $g_1, \ldots, g_r$. Write $g_j = \sum a_{ij}f_i$. As $f_1, \ldots, f_r$ is quasi-regular according to the previous paragraph, we see that $\det(a_{ij})$ is invertible mod $I$. The matrix $a_{ij}$ gives a map $R^{\oplus r} \to R^{\oplus r}$ which induces a map of Koszul complexes $\alpha : K_\bullet(R, f_1, \ldots, f_r) \to K_\bullet(R, g_1, \ldots, g_r)$, see Lemma Functoriality of the lifting construction. This map becomes an isomorphism on inverting $\det(a_{ij})$. Since the cohomology modules of both $K_\bullet(R, f_1, \ldots, f_r)$ and $K_\bullet(R, g_1, \ldots, g_r)$ are annihilated by $I$, see Lemma Koszul complexes and regular sequences, we see that $\alpha$ is a quasi-isomorphism.

Now assume that $g_1, \ldots, g_r$ is a $H_1$-regular sequence generating $I$. Then $g_1, \ldots, g_r$ is a quasi-regular sequence by Lemma First-homology regularity implies quasi-regularity. By the previous paragraph we conclude that $f_1, \ldots, f_r$ is a $H_1$-regular sequence. Similarly for Koszul-regular sequences. $\square$

Lemma. Truncation of a Koszul-regular sequence

Let $A$ be a ring. Let $f_1, \ldots, f_n, g_1, \ldots, g_m \in A$. If both $f_1, \ldots, f_n$ and $f_1, \ldots, f_n, g_1, \ldots, g_m$ are Koszul-regular sequences in $A$, then $\overline{g}_1, \ldots, \overline{g}_m$ in $A/(f_1, \ldots, f_n)$ form a Koszul-regular sequence.

Proof. Set $I = (f_1, \ldots, f_n)$. Our assumptions say that $K_\bullet(A, f_1, \ldots, f_n)$ is a finite free resolution of $A/I$ and $K_\bullet(A, f_1, \ldots, f_n, g_1, \ldots, g_m)$ is a finite free resolution of $A/(f_i, g_j)$ over $A$. Then $$\begin{aligned} A/(f_i, g_j) & \cong K_\bullet(A, f_1, \ldots, f_n, g_1, \ldots, g_m) \\ & = \text{Tot}(K_\bullet(A, f_1, \ldots, f_n) \otimes_A K_\bullet(A, g_1, \ldots, g_m)) \\ & \cong A/I \otimes_A K_\bullet(A, g_1, \ldots, g_m) \\ & = K_\bullet(A/I, \overline{g}_1, \ldots, \overline{g}_m) \end{aligned}$$ The first quasi-isomorphism $\cong$ by assumption. The first equality by Lemma Koszul complexes, regular sequences and derived categories. The second quasi-isomorphism by (the dual of) Homology, Lemma Derived categories (uncovered prerequisite) as the $q$th row of the double complex $K_\bullet(A, f_1, \ldots, f_n) \otimes_A K_\bullet(A, g_1, \ldots, g_m)$ is a resolution of $A/I \otimes_A K_q(A, g_1, \ldots, g_m)$. The second equality is clear. Hence we win. $\square$

Lemma. Regular sequences are Koszul-regular

Source credit: the original source citation FAC (Chapter III, §3, no. 62, Proposition 1, pp. 254--255) the original source citation FAC (Chapter III, §4, no. 69, Lemma 1, p. 262) the original source citation FAC (Chapter III, §5, no. 75, proof of Theorem 3, pp. 269--270)

The hypothesis of the cited proposition is precisely the injectivity condition in the first sentence below, applied to $t_0^k, \ldots, t_r^k$. In particular, it does not include the nonvanishing condition sometimes imposed in the definition of a regular sequence. The source uses the resulting exactness of the positive cochain Koszul complex to identify degree-zero cocycles and to kill its intermediate cohomology.

No. 69 applies the ring case to the powers of all the variables in a polynomial ring. For $k\geq1$ these powers form a regular sequence; for $k=0$ the Koszul complex is contractible because its entries are units. Deleting the final ring term gives the graded free resolution of the ideal generated by the powers that is isolated in the next lemma.

No. 75 uses the same construction for a regular sequence generating the ideal of a nonsingular subvariety in projective space. Its free module in degree $q$ has the exterior basis indexed by increasing $q$-tuples, and its augmented Koszul complex resolves the local ring of the subvariety. In the printed general differential the sign is $(-1)^j$, but the immediately following degree-one formula is $d(e\langle i\rangle)=f_i$; substituting $q=1$ in the general formula would instead give $-f_i$. The corrected formula uses $(-1)^{j + 1}$, as in Definition The Koszul complex, and therefore agrees with the displayed degree-one case. If the opposite sign is used uniformly in every positive degree, multiplying homological degree $q$ by $(-1)^q$ identifies the resulting complex with this one, so the exactness conclusion is unchanged.

Let $R$ be a ring, $M$ an $R$-module, and $f_1, \ldots, f_r \in R$ such that for $i = 1, \ldots, r$ multiplication by $f_i$ is injective on $M/(f_1, \ldots, f_{i - 1})M$. Then $f_1, \ldots, f_r$ is $M$-Koszul regular. In particular, an $M$-regular sequence is $M$-Koszul-regular and any regular sequence is Koszul-regular.

Proof. Let $R$, $M$, $f_1, \ldots, f_r$ be as in the first sentence of the lemma. If $r = 1$, it is immediate that $f_1$ is $M$-Koszul-regular. Assume $r > 1$. Since $f_1$ is a nonzerodivisor on $M$, we obtain a short exact sequence of complexes: $$0 \to K_\bullet(f_2, \ldots, f_r) \otimes M \xrightarrow{f_1} K_\bullet(f_2, \ldots, f_r) \otimes M \to K_\bullet(\overline{f}_2, \ldots, \overline{f}_r) \otimes M/f_1M \to 0$$ Here $\overline{f}_i$ is the image of $f_i$ in $R/(f_1)$. By Lemma Koszul complexes, regular sequences and derived categories the complex $K_\bullet(f_1, \ldots, f_r)$ is isomorphic to the cone of multiplication by $f_1$ on $K_\bullet(f_2, \ldots, f_r)$. Thus $K_\bullet(R, f_1, \ldots, f_r) \otimes M$ is isomorphic to the cone on the first map. Hence $K_\bullet(\overline{f}_2, \ldots, \overline{f}_r) \otimes M/f_1M$ is quasi-isomorphic to $K_\bullet(f_1, \ldots, f_r) \otimes M$. As $R/(f_1)$, $M/f_1M$, $\overline{f}_2, \ldots, \overline{f}_r$ satisfy the conditions of the lemma, by induction we conclude this complex is acyclic in postive degrees. This finishes the proof of the first statement. The second statement immediately follows from the first. $\square$

Lemma. Base change of first-homology regularity

Let $A \to B$ be a ring map. Let $f_1, \ldots, f_r$ be a sequence in $B$ such that $B/(f_1, \ldots, f_r)$ is $A$-flat. Let $A \to A'$ be a ring map. Then the canonical map $$H_1(K_\bullet(B, f_1, \ldots, f_r)) \otimes_A A' \longrightarrow H_1(K_\bullet(B', f'_1, \ldots, f'_r))$$ is surjective. Here $B' = B \otimes_A A'$ and $f_i' \in B'$ is the image of $f_i$.

Proof. The sequence $$\wedge^2(B^{\oplus r}) \to B^{\oplus r} \to B \to B/J \to 0$$ is a complex of $A$-modules with $B/J$ flat over $A$ and cohomology group $H_1 = H_1(K_\bullet(B, f_1, \ldots, f_r))$ in the spot $B^{\oplus r}$. If we tensor this with $A'$ we obtain a complex $$\wedge^2((B')^{\oplus r}) \to (B')^{\oplus r} \to B' \to B'/J' \to 0$$ which is exact at $B'$ and $B'/J'$. In order to compute its cohomology group $H'_1 = H_1(K_\bullet(B', f'_1, \ldots, f'_r))$ at $(B')^{\oplus r}$ we split the first sequence above into the exact sequences $0 \to J \to B \to B/J \to 0$, $0 \to K \to B^{\oplus r} \to J \to 0$, and $\wedge^2(B^{\oplus r}) \to K \to H_1 \to 0$. Tensoring over $A$ with $A'$ we obtain the exact sequences $$\begin{matrix} 0 \to J \otimes_A A' \to B \otimes_A A' \to (B/J) \otimes_A A' \to 0 \\ K \otimes_A A' \to B^{\oplus r} \otimes_A A' \to J \otimes_A A' \to 0 \\ \wedge^2(B^{\oplus r}) \otimes_A A' \to K \otimes_A A' \to H_1 \otimes_A A' \to 0 \end{matrix}$$ where the first one is exact as $B/J$ is flat over $A$, see Algebra, Lemma Tor vanishing for a flat module. We conclude that $J' = J \otimes_A A' \subset B'$ and that $K \otimes_A A' \to \operatorname{Ker}((B')^{\oplus r} \to B')$ is surjective. Thus $$\begin{aligned} H_1 \otimes_A A' & = \operatorname{Coker}\left(\wedge^2(B^{\oplus r}) \otimes_A A' \to K \otimes_A A'\right) \\ & \to \operatorname{Coker}\left( \wedge^2((B')^{\oplus r}) \to \operatorname{Ker}((B')^{\oplus r} \to B') \right) = H'_1 \end{aligned}$$ is surjective too. $\square$

Lemma. Koszul regularity implies first-homology regularity

A $M$-Koszul-regular sequence is $M$-$H_1$-regular. A Koszul-regular sequence is $H_1$-regular.

Proof. This is immediate from the definition. $\square$

Lemma. First-homology regularity implies quasi-regularity

An $M$-$H_1$-regular sequence is $M$-quasi-regular.

Proof. Let $R$ be a ring and let $M$ be an $R$-module. Let $f_1, \ldots, f_r$ be an $M$-$H_1$-regular sequence. Denote $J = (f_1, \ldots, f_r)$. The assumption means that we have an exact sequence $$\wedge^2(R^r) \otimes M \to R^{\oplus r} \otimes M \to JM \to 0$$ where the first arrow is given by $e_i \wedge e_j \otimes m \mapsto (f_ie_j - f_je_i) \otimes m$. Tensoring the sequence with $R/J$ we see that $$JM/J^2M = (R/J)^{\oplus r} \otimes_R M = (M/JM)^{\oplus r}$$ is a finite free module. To finish the proof we have to prove for every $n \geq 2$ the following: if $$\xi = \sum\nolimits_{|I| = n, I = (i_1, \ldots, i_r)} m_I f_1^{i_1} \ldots f_r^{i_r} \in J^{n + 1}M$$ then $m_I \in JM$ for all $I$. In the next paragraph, we prove $m_I \in JM$ for $I = (0, \ldots, 0, n)$ and in the last paragraph we deduce the general case from this special case.

Let \(I = (0, \ldots, 0, n)\). Let \(\xi\) be as above. We can write \(\xi = m_1 f_1 + \ldots + m_{r - 1}f_{r - 1} + m_I f_r^n\). As we have assumed \(\xi \in J^{n + 1}M\), we can also write \(\xi = \sum_{1 \leq i \leq j \leq r - 1} m_{ij}f_if_j + \sum_{1 \leq i \leq r - 1}m'_i f_if_r^n + m'' f_r^{n + 1}\). Then we see that

\[ \begin{matrix} (m_1 - m_{11}f_1 - m'_1f_r^n)f_1 + \\ (m_2 - m_{12}f_1 - m_{22}f_2 - m'_2f_r^n)f_2 + \\ \ldots + \\ (m_{r - 1} - m_{1 r - 1}f_1 - \ldots - m_{r - 1 r - 1}f_{r - 1} - m'_{r - 1}f_r^n)f_{r - 1} + \\ (m_I - m'' f_r)f_r^n = 0 \end{matrix} \]

Since \(f_1, \ldots, f_{r - 1}, f_r^n\) is \(M\)-\(H_1\)-regular by Lemma Koszul complexes, regular sequences and regular rings we see that \(m_I - m'' f_r\) is in the submodule \(f_1M + \ldots + f_{r - 1}M + f_r^nM\). Thus \(m_I \in f_1M + \ldots + f_rM\).

Let $S = R[x_1, x_2, \ldots, x_r, 1/x_r]$. The ring map $R \to S$ is faithfully flat, hence $f_1, \ldots, f_r$ is an $M$-$H_1$-regular sequence in $S$, see Lemma Base change for Koszul complexes, regular sequences and flatness. By Lemma Changing a basis of a finite free complex we see that $$g_1 = f_1 - \frac{x_1}{x_r} f_r, \ \ldots, \ g_{r - 1} = f_{r - 1} - \frac{x_{r - 1}}{x_r} f_r, \ g_r = \frac{1}{x_r}f_r$$ is an $M$-$H_1$-regular sequence in $S$. Finally, note that our element $\xi$ can be rewritten $$\xi = \sum\nolimits_{|I| = n, I = (i_1, \ldots, i_r)} m_I (g_1 + x_1 g_r)^{i_1} \ldots (g_{r - 1} + x_{r - 1} g_r)^{i_{r - 1}} (x_rg_r)^{i_r}$$ and the coefficient of $g_r^n$ in this expression is $$\sum m_I x_1^{i_1} \ldots x_r^{i_r}$$ By the case discussed in the previous paragraph this sum is in $J(M \otimes_R S)$. Since the monomials $x_1^{i_1} \ldots x_r^{i_r}$ form part of an $R$-basis of $S$ over $R$ we conclude that $m_I \in J$ for all $I$ as desired. $\square$

Lemma. Dimension of a completion

Let $A$ be a Noetherian local ring. Then $\dim(A) = \dim(A^\wedge)$.

Proof. By Algebra, Lemma Complete rings and formal power series the map $A \to A^\wedge$ induces isomorphisms $A/\mathfrak m^n = A^\wedge/(\mathfrak m^\wedge)^n$ for $n \geq 1$. By Algebra, Lemma Restriction of scalars for a finite module this implies that $$\text{length}_A(A/\mathfrak m^n) = \text{length}_{A^\wedge}(A^\wedge/(\mathfrak m^\wedge)^n)$$ for all $n \geq 1$. Thus $d(A) = d(A^\wedge)$ and we conclude by Algebra, Proposition Dimension and codimension. An alternative proof is to use Algebra, Lemma Dimension of a flat family. $\square$

Lemma. Subfields of a formal power-series ring

Let $k$ be a field of characteristic $p > 0$. Let $\{x_i\}_{i \in I}$ be a $p$-basis for $k$. Let $n, m \geq 0$. Let $K$ be the fraction field of $A = k[[x_1, \ldots, x_n]][y_1, \ldots, y_m]$. Let $J$ be a finite subset of $I$. Consider the subfield $k/k_J/k^p$ generated by $k^p$ and $x_i$ with $i \in I \setminus J$. The fraction fields $K_J$ of $$A_J = k_J[[x_1^p, \ldots, x_n^p]][y_1^p, \ldots, y_m^p]$$ form a family of subfields of $K$ as in Lemma Intersections of subfields. Moreover, each of the ring extensions $A_J \subset A$ is finite.

Proof. Since $k/k_J$ is finite, the ring extension $k_J[[x_1^p, \ldots, x_d^p]] \subset k[[x_1, \ldots, x_d]]$ is finite by Algebra, Lemma Finiteness after completion. This implies that $A_J \to A$ is finite.

Let us check properties (1), (2), (3) of Lemma Intersections of subfields. Proof of (1). For $a \in A$ we see that $a^p \in A_J$. Hence $K^p \subset K_J$. Proof of (2). Suppose that $f/g^p \in K$, $f, g \in A$, $g \not = 0$ is contained in $K_J$ for every choice of $J$. Fix $J$ for the moment. Since $f/g^p \in K_J$ we can write $f/g^p = a/b^p$ with $a \in A_J$ and $b \in A$ nonzero. Hence $b^p f \in A_J$. For any $A_J$-derivation $D : A \to A$ we see that $0 = D(b^pf) = b^p D(f)$ hence $D(f) = 0$ as $A$ is a domain. Taking $D = \partial_{x_i}$ and $D = \partial_{y_j}$ we conclude that $f \in k[[x_1^p, \ldots, x_n^p]][y_1^p, \ldots, y_m^p]$. Applying a $k_J$-derivation $\theta : k \to k$ we similarly conclude that all coefficients of $f$ are in $k_J$, i.e., $f \in A_J$. Since it is clear that $A^p = \bigcap\nolimits_J A_J$ where $J$ ranges over all subfields as in the lemma we conclude $f \in A^p$ as desired. Proof of (3). This is clear because $K_{J \cup J'} \subset K_J \cap K_{J'}$. $\square$

Lemma. Noetherian fibres of a filtered colimit of étale maps

Let $A$ be a ring. Let $B$ be a filtered colimit of étale $A$-algebras. Let $\mathfrak p$ be a prime of $A$. If $B$ is Noetherian, then there are finitely many primes $\mathfrak q_1, \ldots, \mathfrak q_r$ lying over $\mathfrak p$, we have $B \otimes_A \kappa(\mathfrak p) = \prod \kappa(\mathfrak q_i)$, and each of the field extensions $\kappa(\mathfrak q_i)/\kappa(\mathfrak p)$ is separable algebraic.

Proof. Write $B$ as a filtered colimit $B = \mathop{\operatorname{colim}} B_i$ with $A \to B_i$ étale. Then on the one hand $B \otimes_A \kappa(\mathfrak p) = \mathop{\operatorname{colim}} B_i \otimes_A \kappa(\mathfrak p)$ is a filtered colimit of étale $\kappa(\mathfrak p)$-algebras, and on the other hand it is Noetherian. An étale $\kappa(\mathfrak p)$-algebra is a finite product of finite separable field extensions (Algebra, Lemma Formally smooth, unramified and étale ring maps, Theorem 3.1 and Sections 4–7). Hence there are no nontrivial specializations between the primes (which are all maximal and minimal primes) of the algebras $B_i \otimes_A \kappa(\mathfrak p)$ and hence there are no nontrivial specializations between the primes of $B \otimes_A \kappa(\mathfrak p)$. Thus $B \otimes_A \kappa(\mathfrak p)$ is reduced and has finitely many primes which all minimal. Thus it is a finite product of fields (use Algebra, Lemma Total rings of fractions without embedded primes or Algebra, Proposition Rings of dimension zero). Each of these fields is a colimit of finite separable extensions and hence the final statement of the lemma follows. $\square$

Lemma. Reducedness of a henselization

Reducedness passes to the (strict) henselization.

Let $R$ be a local ring. The following are equivalent: $R$ is reduced, the henselization $R^h$ of $R$ is reduced, and the strict henselization $R^{sh}$ of $R$ is reduced.

Proof. The ring maps $R \to R^h \to R^{sh}$ are faithfully flat. Hence one direction of the implications follows from Algebra, Lemma Descent of commutative algebra. Conversely, assume $R$ is reduced. Since $R^h$ and $R^{sh}$ are filtered colimits of étale, hence smooth $R$-algebras, the result follows from Algebra, Lemma Commutative algebra. $\square$

Proposition. Formal smoothness from flatness and formally smooth fibres

Let $A \to B$ be a local homomorphism of Noetherian local rings. Let $k$ be the residue field of $A$ and $\overline{B} = B \otimes_A k$ the special fibre. The following are equivalent

  1. $A \to B$ is flat and $\overline{B}$ is geometrically regular over $k$,

  2. $A \to B$ is flat and $k \to \overline{B}$ is formally smooth in the $\mathfrak m_{\overline{B}}$-adic topology, and

  3. $A \to B$ is formally smooth in the $\mathfrak m_B$-adic topology.

Proof. The equivalence of (1) and (2) follows from Theorem Regular maps and formal smoothness.

Assume (3). By Lemma Formal smoothness and flatness we see that $A \to B$ is flat. By Lemma Base change of formal smoothness we see that $k \to \overline{B}$ is formally smooth in the $\mathfrak m_{\overline{B}}$-adic topology. Thus (2) holds.

Assume (2). Lemma Formal smoothness and completion tells us formal smoothness is preserved under completion. The same is true for flatness by Algebra, Lemma Completion, Theorems 3.1–3.3, 4.1 and 5.1. Hence we may replace $A$ and $B$ by their respective completions and assume that $A$ and $B$ are Noetherian complete local rings. In this case choose a diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ as in Lemma Complete rings, formal power series and Noetherian rings. We will use all of the properties of this diagram without further mention. Fix a regular system of parameters $t_1, \ldots, t_d$ of $R$ with $t_1 = p$ in case the characteristic of $k$ is $p > 0$. Set $\overline{S} = S \otimes_R k$. Consider the short exact sequence $$0 \to J \to S \to B \to 0$$ As $\overline{B}$ and $\overline{S}$ are regular, the kernel of $\overline{S} \to \overline{B}$ is generated by elements $\overline{x}_1, \ldots, \overline{x}_r$ which form part of a regular system of parameters of $\overline{S}$, see Algebra, Lemma Regular rings. Lift these elements to $x_1, \ldots, x_r \in J$. Then $t_1, \ldots, t_d, x_1, \ldots, x_r$ is part of a regular system of parameters for $S$. Hence $S/(x_1, \ldots, x_r)$ is a power series ring over a field (if the characteristic of $k$ is zero) or a power series ring over a Cohen ring (if the characteristic of $k$ is $p > 0$), see Lemma Complete rings and formal power series. Moreover, it is still the case that $R \to S/(x_1, \ldots, x_r)$ maps $t_1, \ldots, t_d$ to a part of a regular system of parameters of $S/(x_1, \ldots, x_r)$. In other words, we may replace $S$ by $S/(x_1, \ldots, x_r)$ and assume we have a diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ as in Lemma Complete rings, formal power series and Noetherian rings with moreover $\overline{S} = \overline{B}$. In this case the map $$S \otimes_R A \longrightarrow B$$ is an isomorphism as it is surjective, an isomorphism on special fibres, and source and target are flat over $A$ (for example use Algebra, Lemma Injectivity from a fibrewise injectivity criterion or use that tensoring the short exact sequence $0 \to I \to S \otimes_R A \to B \to 0$ over $A$ with $k$ we find $I \otimes_A k = 0$ hence $I = 0$ by Nakayama). Thus by Lemma Base change of formal smoothness it suffices to show that $R \to S$ is formally smooth in the $\mathfrak m_S$-adic topology. Of course, since $\overline{S} = \overline{B}$, we have that $\overline{S}$ is formally smooth over $k = R/\mathfrak m_R$.

Choose elements $y_1, \ldots, y_m \in S$ such that $t_1, \ldots, t_d, y_1, \ldots, y_m$ is a regular system of parameters for $S$. If the characteristic of $k$ is zero, choose a coefficient field $K \subset S$ and if the characteristic of $k$ is $p > 0$ choose a Cohen ring $\Lambda \subset S$ with residue field $K$. At this point the map $K[[t_1, \ldots, t_d, y_1, \ldots, y_m]] \to S$ (characteristic zero case) or $\Lambda[[t_2, \ldots, t_d, y_1, \ldots, y_m]] \to S$ (characteristic $p > 0$ case) is an isomorphism, see Lemma Complete rings and formal power series. From now on we think of $S$ as the above power series ring.

The rest of the proof is analogous to the argument in the proof of Theorem Regular maps and formal smoothness. Choose a solid diagram $$\begin{gathered}\begin{matrix}S & N/J \\ R & N\end{matrix} \\[6pt] \begin{aligned}S & \xrightarrow{\bar\psi} N/J \\ S & \dashrightarrow N \\ R & \xrightarrow{i} S \\ R & \xrightarrow{\varphi} N \\ N & \xrightarrow{\pi} N/J\end{aligned}\end{gathered}$$ as in Definition Formally smooth ring maps. As $J^2 = 0$ we see that $J$ has a canonical $N/J$ module structure and via $\bar\psi$ a $S$-module structure. As $\bar\psi$ is continuous for the $\mathfrak m_S$-adic topology we see that $\mathfrak m_S^nJ = 0$ for some $n$. Hence we can filter $J$ by $N/J$-submodules $0 \subset J_1 \subset J_2 \subset \ldots \subset J_n = J$ such that each quotient $J_{t + 1}/J_t$ is annihilated by $\mathfrak m_S$. Considering the sequence of ring maps $N \to N/J_1 \to N/J_2 \to \ldots \to N/J$ we see that it suffices to prove the existence of the dotted arrow when $J$ is annihilated by $\mathfrak m_S$, i.e., when $J$ is a $K$-vector space.

Assume given a diagram as above such that $J$ is annihilated by $\mathfrak m_S$. As $\mathbf{Q} \to S$ (characteristic zero case) or $\mathbf{Z} \to S$ (characteristic $p > 0$ case) is formally smooth in the $\mathfrak m_S$-adic topology (see Lemma Formal smoothness and complete rings and formal power series), we can find a ring map $\psi : S \to N$ such that $\pi \circ \psi = \bar \psi$. Since $S$ is a power series ring in $t_1, \ldots, t_d$ (characteristic zero) or $t_2, \ldots, t_d$ (characteristic $p > 0$) over a subring, it follows from the universal property of power series rings that we can change our choice of $\psi$ so that $\psi(t_i)$ equals $\varphi(t_i)$ (automatic for $t_1 = p$ in the characteristic $p$ case). Then $\psi \circ i$ and $\varphi : R \to N$ are two maps whose compositions with $\pi$ are equal and which agree on $t_1, \ldots, t_d$. Hence $D = \psi \circ i - \varphi : R \to J$ is a derivation which annihilates $t_1, \ldots, t_d$. By Algebra, Lemma The universal property of Kähler differentials we can write $D = \xi \circ \text{d}$ for some $R$-linear map $\xi : \Omega_{R/\mathbf{Z}} \to J$ which annihilates $\text{d}t_1, \ldots, \text{d}t_d$ (by construction) and $\mathfrak m_R \Omega_{R/\mathbf{Z}}$ (as $J$ is annihilated by $\mathfrak m_R$). Hence $\xi$ factors as a composition $$\Omega_{R/\mathbf{Z}} \to \Omega_{k/\mathbf{Z}} \xrightarrow{\xi'} J$$ where $\xi'$ is $k$-linear. Using the $K$-vector space structure on $J$ we extend $\xi'$ to a $K$-linear map $$\xi'' : \Omega_{k/\mathbf{Z}} \otimes_k K \longrightarrow J.$$ Using that $\overline{S}/k$ is formally smooth we see that $$\Omega_{k/\mathbf{Z}} \otimes_k K \to \Omega_{\overline{S}/\mathbf{Z}} \otimes_S K$$ is injective by Theorem Regular maps and formal smoothness (this is true also in the characteristic zero case as it is even true that $\Omega_{k/\mathbf{Z}} \to \Omega_{K/\mathbf{Z}}$ is injective in characteristic zero, see Algebra, Proposition Characterizations of separable field extensions). Hence we can find a $K$-linear map $\xi''' : \Omega_{\overline{S}/\mathbf{Z}} \otimes_S K \to J$ whose restriction to $\Omega_{k/\mathbf{Z}} \otimes_k K$ is $\xi''$. Write $$D' : S \xrightarrow{\text{d}} \Omega_{S/\mathbf{Z}} \to \Omega_{\overline{S}/\mathbf{Z}} \to \Omega_{\overline{S}/\mathbf{Z}} \otimes_S K \xrightarrow{\xi'''} J.$$ Finally, set $\psi' = \psi - D' : S \to N$. The reader verifies that $\psi'$ is a ring map such that $\pi \circ \psi' = \bar \psi$ and such that $\psi' \circ i = \varphi$ as desired. $\square$

Lemma. Base change of formal smoothness

Let $R$, $S$ be rings. Let $\mathfrak n \subset S$ be an ideal. Let $R \to S$ be formally smooth for the $\mathfrak n$-adic topology. Let $R \to R'$ be any ring map. Then $R' \to S' = S \otimes_R R'$ is formally smooth in the $\mathfrak n' = \mathfrak nS'$-adic topology.

Proof. Let a solid diagram $$\begin{gathered}\begin{matrix}S & S' & A/J \\ R & R' & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow S' \\ S & \dashrightarrow A \\ S' & \longrightarrow A/J \\ S' & \dashrightarrow A \\ R & \longrightarrow S \\ R & \longrightarrow R' \\ R' & \longrightarrow A \\ R' & \longrightarrow S' \\ A & \longrightarrow A/J\end{aligned}\end{gathered}$$ as in Definition Formally smooth ring maps be given. Then the composition $S \to S' \to A/J$ is continuous. By assumption the longer dotted arrow exists. By the universal property of tensor product we obtain the shorter dotted arrow. $\square$

Remark. The finite-equation meaning of formal smoothness

The assertion of Lemma Lifting formal smoothness is quite strong. Namely, suppose that we have a diagram $$\begin{gathered}\begin{matrix}\phantom{X} & B \\ A & A'\end{matrix} \\[6pt] \begin{aligned}A & \longrightarrow A' \\ A' & \longrightarrow B\end{aligned}\end{gathered}$$ of local homomorphisms of Noetherian complete local rings where $A \to A'$ induces an isomorphism of residue fields $k = A/\mathfrak m_A = A'/\mathfrak m_{A'}$ and with $B \otimes_{A'} k$ formally smooth over $k$. Then we can extend this to a commutative diagram $$\begin{gathered}\begin{matrix}C & B \\ A & A'\end{matrix} \\[6pt] \begin{aligned}C & \longrightarrow B \\ A & \longrightarrow A' \\ A & \longrightarrow C \\ A' & \longrightarrow B\end{aligned}\end{gathered}$$ of local homomorphisms of Noetherian complete local rings where $A \to C$ is formally smooth in the $\mathfrak m_C$-adic topology and where $C \otimes_A k \cong B \otimes_{A'} k$. Namely, pick $A \to C$ as in Lemma Lifting formal smoothness lifting $B \otimes_{A'} k$ over $k$. By formal smoothness we can find the arrow $C \to B$, see Lemma Lifting derived commutative algebra. Denote $C \otimes_A^\wedge A'$ the completion of $C \otimes_A A'$ with respect to the ideal $C \otimes_A \mathfrak m_{A'}$. Note that $C \otimes_A^\wedge A'$ is a Noetherian complete local ring (see Algebra, Lemma Complete rings, formal power series and Noetherian rings) which is flat over $A'$ (see Algebra, Lemma Flatness and modules). We have moreover

  1. $C \otimes_A^\wedge A' \to B$ is surjective,

  2. if $A \to A'$ is surjective, then $C \to B$ is surjective,

  3. if $A \to A'$ is finite, then $C \to B$ is finite, and

  4. if $A' \to B$ is flat, then $C \otimes_A^\wedge A' \cong B$.

Namely, by Nakayama's lemma for nilpotent ideals (see Algebra, Lemma Nakayama's lemma) we see that $C \otimes_A k \cong B \otimes_{A'} k$ implies that $C \otimes_A A'/\mathfrak m_{A'}^n \to B/\mathfrak m_{A'}^nB$ is surjective for all $n$. This proves (1). Parts (2) and (3) follow from part (1). Part (4) follows from Algebra, Lemma Injectivity from a fibrewise injectivity criterion.

Lemma. Descent of formal smoothness

Let $R$, $S$ be rings. Let $\mathfrak n \subset S$ be an ideal. Let $R \to R'$ be a ring map. Set $S' = S \otimes_R R'$ and $\mathfrak n' = \mathfrak nS$. If

  1. the map $R \to R'$ embeds $R$ as a direct summand of $R'$ as an $R$-module, and

  2. $R' \to S'$ is formally smooth for the $\mathfrak n'$-adic topology,

then $R \to S$ is formally smooth in the $\mathfrak n$-adic topology.

Proof. Let a solid diagram $$\begin{gathered}\begin{matrix}S & A/J \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow A/J \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow A/J\end{aligned}\end{gathered}$$ as in Definition Formally smooth ring maps be given. Set $A' = A \otimes_R R'$ and $J' = \operatorname{Im}(J \otimes_R R' \to A')$. The base change of the diagram above is the diagram $$\begin{gathered}\begin{matrix}S' & A'/J' \\ R' & A'\end{matrix} \\[6pt] \begin{aligned}S' & \longrightarrow A'/J' \\ S' & \overset{\psi'}{\dashrightarrow} A' \\ R' & \longrightarrow S' \\ R' & \longrightarrow A' \\ A' & \longrightarrow A'/J'\end{aligned}\end{gathered}$$ with continuous arrows. By condition (2) we obtain the dotted arrow $\psi' : S' \to A'$. Using condition (1) choose a direct summand decomposition $R' = R \oplus C$ as $R$-modules. (Warning: $C$ isn't an ideal in $R'$.) Then $A' = A \oplus A \otimes_R C$. Set $$J'' = \operatorname{Im}(J \otimes_R C \to A \otimes_R C) \subset J' \subset A'.$$ Then $J' = J \oplus J''$ as $A$-modules. The image of the composition $\psi : S \to A'$ of $\psi'$ with $S \to S'$ is contained in $A + J' = A \oplus J''$. However, in the ring $A + J' = A \oplus J''$ the $A$-submodule $J''$ is an ideal! (Use that $J^2 = 0$.) Hence the composition $S \to A + J' \to (A + J')/J'' = A$ is the arrow we were looking for. $\square$

Lemma. Lifting formal smoothness

Let $A \to B$ be a local homomorphism of Noetherian local rings. Let $D : A \to A$ be a derivation. Assume that $B$ is complete and $A \to B$ is formally smooth in the $\mathfrak m_B$-adic topology. Then there exists an extension $D' : B \to B$ of $D$.

Proof. Denote $B[\epsilon] = B[x]/(x^2)$ the ring of dual numbers over $B$. Consider the ring map $\psi : A \to B[\epsilon]$, $a \mapsto a + \epsilon D(a)$. Consider the commutative diagram $$\begin{gathered}\begin{matrix}B & B \\ A & B[\epsilon]\end{matrix} \\[6pt] \begin{aligned}B & \xrightarrow{1} B \\ A & \longrightarrow B \\ A & \xrightarrow{\psi} B[\epsilon] \\ B[\epsilon] & \longrightarrow B\end{aligned}\end{gathered}$$ By Lemma Lifting derived commutative algebra and the assumption of formal smoothness of $B/A$ we find a map $\varphi : B \to B[\epsilon]$ fitting into the diagram. Write $\varphi(b) = b + \epsilon D'(b)$. Then $D' : B \to B$ is the desired extension. $\square$

Definition. Formally smooth ring maps

Let $R \to S$ be a homomorphism of topological rings with $R$ and $S$ linearly topologized. We say $S$ is formally smooth over $R$ if for every commutative solid diagram $$\begin{gathered}\begin{matrix}S & A/J \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow A/J \\ S & \dashrightarrow A \\ R & \longrightarrow A \\ R & \longrightarrow S \\ A & \longrightarrow A/J\end{aligned}\end{gathered}$$ of homomorphisms of topological rings where $A$ is a discrete ring and $J \subset A$ is an ideal of square zero, a dotted arrow exists which makes the diagram commute.

Lemma. Derived commutative algebra

Let $\varphi : R \to S$ be a ring map. Let $I \subset R$ and $J \subset S$ be ideals and endow $R$ with the $I$-adic topology and $S$ with the $J$-adic topology. Then $\varphi$ is a homomorphism of topological rings if and only if $\varphi(I^n) \subset J$ for some $n \geq 1$.

Proof. Omitted. $\square$

Lemma. Universal injectivity from a completed direct sum into a product

Let $R$ be a ring. Let $I \subset R$ be an ideal. Let $A$ be a set. Assume $R$ is Noetherian and complete with respect to $I$. There is a canonical map $$\left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge \longrightarrow \prod\nolimits_{\alpha \in A} R$$ from the $I$-adic completion of the direct sum into the product which is universally injective.

Proof. By definition an element $x$ of the left hand side is $x = (x_n)$ where $x_n = (x_{n, \alpha}) \in \bigoplus\nolimits_{\alpha \in A} R/I^n$ such that $x_{n, \alpha} = x_{n + 1, \alpha} \bmod I^n$. As $R = R^\wedge$ we see that for any $\alpha$ there exists a $y_\alpha \in R$ such that $x_{n, \alpha} = y_\alpha \bmod I^n$. Note that for each $n$ there are only finitely many $\alpha$ such that the elements $x_{n, \alpha}$ are nonzero. Conversely, given $(y_\alpha) \in \prod_\alpha R$ such that for each $n$ there are only finitely many $\alpha$ such that $y_{\alpha} \bmod I^n$ is nonzero, then this defines an element of the left hand side. Hence we can think of an element of the left hand side as infinite "convergent sums" $\sum_\alpha y_\alpha$ with $y_\alpha \in R$ such that for each $n$ there are only finitely many $y_\alpha$ which are nonzero modulo $I^n$. The displayed map maps this element to the element to $(y_\alpha)$ in the product. In particular the map is injective.

Let $Q$ be a finite $R$-module. We have to show that the map $$Q \otimes_R \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge \longrightarrow Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right)$$ is injective, see Algebra, Theorem Commutative algebra (programme binding). Choose a presentation $R^{\oplus k} \to R^{\oplus m} \to Q \to 0$ and denote $q_1, \ldots, q_m \in Q$ the corresponding generators for $Q$. By Artin-Rees (Algebra, Lemma The Artin–Rees lemma) there exists a constant $c$ such that $\operatorname{Im}(R^{\oplus k} \to R^{\oplus m}) \cap (I^N)^{\oplus m} \subset \operatorname{Im}((I^{N - c})^{\oplus k} \to R^{\oplus m})$. Let us contemplate the diagram $$\begin{gathered}\begin{matrix}\bigoplus_{l = 1}^k \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \bigoplus_{j = 1}^m \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & Q \otimes_R \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & 0 \\ \bigoplus_{l = 1}^k \left(\prod\nolimits_{\alpha \in A} R\right) & \bigoplus_{j = 1}^m \left(\prod\nolimits_{\alpha \in A} R\right) & Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right) & 0\end{matrix} \\[6pt] \begin{aligned}\bigoplus_{l = 1}^k \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow \bigoplus_{j = 1}^m \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge \\ \bigoplus_{l = 1}^k \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow \bigoplus_{l = 1}^k \left(\prod\nolimits_{\alpha \in A} R\right) \\ \bigoplus_{j = 1}^m \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow Q \otimes_R \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge \\ \bigoplus_{j = 1}^m \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow \bigoplus_{j = 1}^m \left(\prod\nolimits_{\alpha \in A} R\right) \\ Q \otimes_R \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow 0 \\ Q \otimes_R \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge & \longrightarrow Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right) \\ \bigoplus_{l = 1}^k \left(\prod\nolimits_{\alpha \in A} R\right) & \longrightarrow \bigoplus_{j = 1}^m \left(\prod\nolimits_{\alpha \in A} R\right) \\ \bigoplus_{j = 1}^m \left(\prod\nolimits_{\alpha \in A} R\right) & \longrightarrow Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right) \\ Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right) & \longrightarrow 0\end{aligned}\end{gathered}$$ with exact rows. Pick an element $\sum_j \sum_\alpha y_{j, \alpha}$ of $\bigoplus_{j = 1, \ldots, m} \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge$. If this element maps to zero in the module $Q \otimes_R \left(\prod\nolimits_{\alpha \in A} R\right)$, then we see in particular that $\sum_j q_j \otimes y_{j, \alpha} = 0$ in $Q$ for each $\alpha$. Thus we can find an element $(z_{1, \alpha}, \ldots, z_{k, \alpha}) \in \bigoplus_{l = 1, \ldots, k} R$ which maps to $(y_{1, \alpha}, \ldots, y_{m, \alpha}) \in \bigoplus_{j = 1, \ldots, m} R$. Moreover, if $y_{j, \alpha} \in I^{N_\alpha}$ for $j = 1, \ldots, m$, then we may assume that $z_{l, \alpha} \in I^{N_\alpha - c}$ for $l = 1, \ldots, k$. Hence the sum $\sum_l \sum_\alpha z_{l, \alpha}$ is "convergent" and defines an element of $\bigoplus_{l = 1, \ldots, k} \left(\bigoplus\nolimits_{\alpha \in A} R\right)^\wedge$ which maps to the element $\sum_j \sum_\alpha y_{j, \alpha}$ we started out with. Thus the right vertical arrow is injective and we win. $\square$

Lemma. Functoriality of the lifting construction

Let $\varphi : E \to R$ and $\varphi' : E' \to R$ be $R$-module maps. Let $\psi : E \to E'$ be an $R$-module map such that $\varphi' \circ \psi = \varphi$. Then $\psi$ induces a homomorphism of differential graded algebras $K_\bullet(\varphi) \to K_\bullet(\varphi')$.

Proof. This is immediate from the definitions. $\square$

Lemma. Koszul complexes and regular sequences

Let $R$ be a ring. Let $f_1, \ldots, f_r \in R$ be a sequence. Multiplication by $f_i$ on $K_\bullet(f_\bullet)$ is homotopic to zero, and in particular the cohomology modules $H_i(K_\bullet(f_\bullet))$ are annihilated by the ideal $(f_1, \ldots, f_r)$.

Proof. Special case of Lemma Koszul complexes and regular sequences. $\square$

Lemma. Koszul complexes, regular sequences and derived categories

Let $R$ be a ring. Let $f_1, \ldots, f_r$, $g_1, \ldots, g_s$ be elements of $R$. Then there is an isomorphism of Koszul complexes $$K_\bullet(R, f_1, \ldots, f_r, g_1, \ldots, g_s) = \text{Tot}(K_\bullet(R, f_1, \ldots, f_r) \otimes_R K_\bullet(R, g_1, \ldots, g_s)).$$

Proof. Omitted. Hint: If $K_\bullet(R, f_1, \ldots, f_r)$ is generated as a differential graded algebra by $x_1, \ldots, x_r$ with $\text{d}(x_i) = f_i$ and $K_\bullet(R, g_1, \ldots, g_s)$ is generated as a differential graded algebra by $y_1, \ldots, y_s$ with $\text{d}(y_j) = g_j$, then we can think of $K_\bullet(R, f_1, \ldots, f_r, g_1, \ldots, g_s)$ as the differential graded algebra generated by the sequence of elements $x_1, \ldots, x_r, y_1, \ldots, y_s$ with $\text{d}(x_i) = f_i$ and $\text{d}(y_j) = g_j$. $\square$

Definition. The Koszul complex

Let $R$ be a ring. Let $\varphi : E \to R$ be an $R$-module map. The Koszul complex $K_\bullet(\varphi)$ associated to $\varphi$ is the commutative differential graded algebra defined as follows:

  1. the underlying graded algebra is the exterior algebra $K_\bullet(\varphi) = \wedge(E)$,

  2. the differential $d : K_\bullet(\varphi) \to K_\bullet(\varphi)$ is the unique derivation such that $d(e) = \varphi(e)$ for all $e \in E = K_1(\varphi)$.

Lemma. Koszul complexes, regular sequences and derived categories

Let $R$ be a ring. Let $f_1, \ldots, f_r$ be a sequence of elements of $R$. The complex $K_\bullet(f_1, \ldots, f_r)$ is isomorphic to the cone of the map of complexes $$f_r : K_\bullet(f_1, \ldots, f_{r - 1}) \longrightarrow K_\bullet(f_1, \ldots, f_{r - 1}).$$

Proof. Special case of Lemma Koszul complexes, regular sequences and derived categories. $\square$

Lemma. Koszul complexes, regular sequences and regular rings

Let $f_1, \ldots, f_{r - 1} \in R$ be a sequence and $f, g \in R$. Let $M$ be an $R$-module.

  1. If $f_1, \ldots, f_{r - 1}, f$ and $f_1, \ldots, f_{r - 1}, g$ are $M$-$H_1$-regular then $f_1, \ldots, f_{r - 1}, fg$ is $M$-$H_1$-regular too.

  2. If $f_1, \ldots, f_{r - 1}, f$ and $f_1, \ldots, f_{r - 1}, g$ are $M$-Koszul-regular then $f_1, \ldots, f_{r - 1}, fg$ is $M$-Koszul-regular too.

Proof. By Lemma Koszul complexes and regular sequences we have exact sequences $$H_i(K_\bullet(f_1, \ldots, f_{r - 1}, f) \otimes M) \to H_i(K_\bullet(f_1, \ldots, f_{r - 1}, fg) \otimes M) \to H_i(K_\bullet(f_1, \ldots, f_{r - 1}, g) \otimes M)$$ for all $i$. $\square$

Lemma. Base change for Koszul complexes, regular sequences and flatness

Let $\varphi : R \to S$ be a flat ring map. Let $f_1, \ldots, f_r \in R$. Let $M$ be an $R$-module and set $N = M \otimes_R S$.

  1. If $f_1, \ldots, f_r$ in $R$ is an $M$-$H_1$-regular sequence, then $\varphi(f_1), \ldots, \varphi(f_r)$ is an $N$-$H_1$-regular sequence in $S$.

  2. If $f_1, \ldots, f_r$ is an $M$-Koszul-regular sequence in $R$, then $\varphi(f_1), \ldots, \varphi(f_r)$ is an $N$-Koszul-regular sequence in $S$.

Proof. This is true because $K_\bullet(f_1, \ldots, f_r) \otimes_R S = K_\bullet(\varphi(f_1), \ldots, \varphi(f_r))$ and therefore $(K_\bullet(f_1, \ldots, f_r) \otimes_R M) \otimes_R S = K_\bullet(\varphi(f_1), \ldots, \varphi(f_r)) \otimes_S N$. $\square$

Lemma. Changing a basis of a finite free complex

Let $f_1, \ldots, f_r \in R$ be a sequence. Let $(x_{ij})$ be an invertible $r \times r$-matrix with coefficients in $R$. Then the complexes $K_\bullet(f_\bullet)$ and $$K_\bullet(\sum x_{1j}f_j, \sum x_{2j}f_j, \ldots, \sum x_{rj}f_j)$$ are isomorphic.

Proof. Set $g_i = \sum x_{ij}f_j$. The matrix $(x_{ji})$ gives an isomorphism $x : R^{\oplus r} \to R^{\oplus r}$ such that $(g_1, \ldots, g_r) = (f_1, \ldots, f_r) \circ x$. Hence this follows from the functoriality of the Koszul complex described in Lemma Functoriality of the lifting construction. $\square$

Lemma. Intersections of subfields

Let $K$ be a field of characteristic $p$. Let $\{K_\alpha\}_{\alpha \in A}$ be a collection of subfields of $K$ with the following properties

  1. $K^p \subset K_\alpha$ for all $\alpha \in A$,

  2. $K^p = \bigcap_{\alpha \in A} K_\alpha$,

  3. for $\alpha, \alpha' \in A$ there exists an $\alpha'' \in A$ such that $K_{\alpha''} \subset K_\alpha \cap K_{\alpha'}$.

Then

  1. the intersection of the kernels of the maps $\Omega_{K/\mathbf{F}_p} \to \Omega_{K/K_\alpha}$ is zero,

  2. for any finite extension $L/K$ we have $L^p = \bigcap_{\alpha \in A} L^pK_\alpha$.

Proof. Proof of (1). Choose a $p$-basis $\{x_i\}$ for $K$ over $\mathbf{F}_p$. Suppose that $\eta = \sum_{i \in I'} y_i \text{d}x_i$ maps to zero in $\Omega_{K/K_\alpha}$ for every $\alpha \in A$. Here the index set $I'$ is finite. By Lemma A p-basis in positive characteristic this means that for every $\alpha$ there exists a relation $$\sum\nolimits_E a_{E, \alpha} x^E = 0,\quad a_{E, \alpha} \in K_\alpha$$ where $E$ runs over multi-indices $E = (e_i)_{i \in I'}$ with $0 \leq e_i < p$. On the other hand, Lemma A p-basis in positive characteristic guarantees there is no such relation $\sum a_E x^E = 0$ with $a_E \in K^p$. This is a contradiction by Lemma Field extensions.

Proof of (2). Suppose that we have a tower $L/M/K$ of finite extensions of fields. Set $M_\alpha = M^p K_\alpha$ and $L_\alpha = L^p K_\alpha = L^p M_\alpha$. Then we can first prove that $M^p = \bigcap_{\alpha \in A} M_\alpha$, and after that prove that $L^p = \bigcap_{\alpha \in A} L_\alpha$. Hence it suffices to prove (2) for primitive field extensions having no nontrivial subfields. First, assume that $L = K(\theta)$ is separable over $K$. Then $L$ is generated by $\theta^p$ over $K$, hence we may assume that $\theta \in L^p$. In this case we see that $$L^p = K^p \oplus K^p\theta \oplus \ldots K^p\theta^{d - 1} \quad\text{and}\quad L^pK_\alpha = K_\alpha \oplus K_\alpha \theta \oplus \ldots K_\alpha\theta^{d - 1}$$ where $d = [L : K]$. Thus the conclusion is clear in this case. The other case is where $L = K(\theta)$ with $\theta^p = t \in K$, $t \not \in K^p$. In this case we have $$L^p = K^p \oplus K^pt \oplus \ldots K^pt^{p - 1} \quad\text{and}\quad L^pK_\alpha = K_\alpha \oplus K_\alpha t \oplus \ldots K_\alpha t^{p - 1}$$ Again the result is clear. $\square$

Theorem. Regular maps and formal smoothness

Let $k$ be a field. Let $(A, \mathfrak m, K)$ be a Noetherian local $k$-algebra. If the characteristic of $k$ is zero then the following are equivalent

  1. $A$ is a regular local ring, and

  2. $k \to A$ is formally smooth in the $\mathfrak m$-adic topology.

If the characteristic of $k$ is $p > 0$ then the following are equivalent

  1. $A$ is geometrically regular over $k$,

  2. $k \to A$ is formally smooth in the $\mathfrak m$-adic topology.

  3. for all $k \subset k' \subset k^{1/p}$ finite over $k$ the ring $A \otimes_k k'$ is regular,

  4. $A$ is regular and the canonical map $H_1(L_{K/k}) \to \mathfrak m/\mathfrak m^2$ is injective, and

  5. $A$ is regular and the map $\Omega_{k/\mathbf{F}_p} \otimes_k K \to \Omega_{A/\mathbf{F}_p} \otimes_A K$ is injective.

Proof. If the characteristic of $k$ is zero, then the equivalence of (1) and (2) follows from Lemmas Formal smoothness implies regularity and Regularity implies formal smoothness.

If the characteristic of $k$ is $p > 0$, then it follows from Proposition Characterizations of geometric regularity that (1), (3), (4), and (5) are equivalent. Assume (2) holds. By Lemma Base change of formal smoothness we see that $k' \to A' = A \otimes_k k'$ is formally smooth for the $\mathfrak m' = \mathfrak mA'$-adic topology. Hence if $k \subset k'$ is finite purely inseparable, then $A'$ is a regular local ring by Lemma Formal smoothness implies regularity. Thus we see that (1) holds.

Finally, we will prove that (5) implies (2). Choose a solid diagram $$\begin{gathered}\begin{matrix}A & B/J \\ k & B\end{matrix} \\[6pt] \begin{aligned}A & \xrightarrow{\bar\psi} B/J \\ A & \dashrightarrow B \\ k & \xrightarrow{i} A \\ k & \xrightarrow{\varphi} B \\ B & \xrightarrow{\pi} B/J\end{aligned}\end{gathered}$$ as in Definition Formally smooth ring maps. As $J^2 = 0$ we see that $J$ has a canonical $B/J$ module structure and via $\bar\psi$ an $A$-module structure. As $\bar\psi$ is continuous for the $\mathfrak m$-adic topology we see that $\mathfrak m^nJ = 0$ for some $n$. Hence we can filter $J$ by $B/J$-submodules $0 \subset J_1 \subset J_2 \subset \ldots \subset J_n = J$ such that each quotient $J_{t + 1}/J_t$ is annihilated by $\mathfrak m$. Considering the sequence of ring maps $B \to B/J_1 \to B/J_2 \to \ldots \to B/J$ we see that it suffices to prove the existence of the dotted arrow when $J$ is annihilated by $\mathfrak m$, i.e., when $J$ is a $K$-vector space.

Assume given a diagram as above such that $J$ is annihilated by $\mathfrak m$. By Lemma Regularity implies formal smoothness we see that $\mathbf{F}_p \to A$ is formally smooth in the $\mathfrak m$-adic topology. Hence we can find a ring map $\psi : A \to B$ such that $\pi \circ \psi = \bar \psi$. Then $\psi \circ i, \varphi : k \to B$ are two maps whose compositions with $\pi$ are equal. Hence $D = \psi \circ i - \varphi : k \to J$ is a derivation. By Algebra, Lemma The universal property of Kähler differentials we can write $D = \xi \circ \text{d}$ for some $k$-linear map $\xi : \Omega_{k/\mathbf{F}_p} \to J$. Using the $K$-vector space structure on $J$ we extend $\xi$ to a $K$-linear map $\xi' : \Omega_{k/\mathbf{F}_p} \otimes_k K \to J$. Using (5) we can find a $K$-linear map $\xi'' : \Omega_{A/\mathbf{F}_p} \otimes_A K$ whose restriction to $\Omega_{k/\mathbf{F}_p} \otimes_k K$ is $\xi'$. Write $$D' : A \xrightarrow{\text{d}} \Omega_{A/\mathbf{F}_p} \to \Omega_{A/\mathbf{F}_p} \otimes_A K \xrightarrow{\xi''} J.$$ Finally, set $\psi' = \psi - D' : A \to B$. The reader verifies that $\psi'$ is a ring map such that $\pi \circ \psi' = \bar \psi$ and such that $\psi' \circ i = \varphi$ as desired. $\square$

Lemma. Formal smoothness and flatness

Let $A \to B$ be a local homomorphism of Noetherian local rings. Assume $A \to B$ is formally smooth in the $\mathfrak m_B$-adic topology. Then $A \to B$ is flat.

Proof. We may assume that $A$ and $B$ a Noetherian complete local rings by Lemma Formal smoothness and completion and Algebra, Lemma Complete rings, formal power series and Noetherian rings (programme binding) (this also uses Algebra, Lemma Descent of flatness and Completion, Theorems 3.1–3.3, 4.1 and 5.1 to see that flatness of the map on completions implies flatness of $A \to B$). Choose a commutative diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ as in Lemma Complete rings, formal power series and Noetherian rings with $R \to S$ flat. Let $I \subset R$ be the kernel of $R \to A$. Because $B$ is formally smooth over $A$ we see that the $A$-algebra map $$S/IS \longrightarrow B$$ has a section, see Lemma Lifting derived commutative algebra. Hence $B$ is a direct summand of the flat $A$-module $S/IS$ (by base change of flatness, see Algebra, Lemma Base change of flat modules), whence flat. $\square$

Lemma. Complete rings, formal power series and Noetherian rings

Let $A \to B$ be a local homomorphism of Noetherian complete local rings. Then there exists a commutative diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ with the following properties:

  1. the horizontal arrows are surjective,

  2. if the characteristic of $A/\mathfrak m_A$ is zero, then $S$ and $R$ are power series rings over fields,

  3. if the characteristic of $A/\mathfrak m_A$ is $p > 0$, then $S$ and $R$ are power series rings over Cohen rings, and

  4. $R \to S$ maps a regular system of parameters of $R$ to part of a regular system of parameters of $S$.

In particular $R \to S$ is flat (see Algebra, Lemma Flatness over a regular local ring) with regular fibre $S/\mathfrak m_R S$ (see Algebra, Lemma Regular rings are Cohen–Macaulay).

Proof. Use the Cohen structure theorem (Algebra, Theorem Commutative algebra (programme binding)) to choose a surjection $S \to B$ as in the statement of the lemma where we choose $S$ to be a power series over a Cohen ring if the residue characteristic is $p > 0$ and a power series over a field else. Let $J \subset S$ be the kernel of $S \to B$. Next, choose a surjection $R = \Lambda[[x_1, \ldots, x_n]] \to A$ where we choose $\Lambda$ to be a Cohen ring if the residue characteristic of $A$ is $p > 0$ and $\Lambda$ equal to the residue field of $A$ otherwise. We lift the composition $\Lambda[[x_1, \ldots, x_n]] \to A \to B$ to a map $\varphi : R \to S$. This is possible because $\Lambda[[x_1, \ldots, x_n]]$ is formally smooth over $\mathbf{Z}$ in the $\mathfrak m$-adic topology (see Lemma Formal smoothness and complete rings and formal power series) by an application of Lemma Lifting derived commutative algebra. Finally, we replace $\varphi$ by the map $\varphi' : R = \Lambda[[x_1, \ldots, x_n]] \to S' = S[[y_1, \ldots, y_n]]$ with $\varphi'|_\Lambda = \varphi|_\Lambda$ and $\varphi'(x_i) = \varphi(x_i) + y_i$. We also replace $S \to B$ by the map $S' \to B$ which maps $y_i$ to zero. After this replacement it is clear that a regular system of parameters of $R$ maps to part of a regular sequence in $S'$ and we win. $\square$

Lemma. Complete rings and formal power series

Let $K$ be a field and $A = K[[x_1, \ldots, x_n]]$. Let $\Lambda$ be a Cohen ring and let $B = \Lambda[[x_1, \ldots, x_n]]$.

  1. If $y_1, \ldots, y_n \in A$ is a regular system of parameters then $K[[y_1, \ldots, y_n]] \to A$ is an isomorphism.

  2. If $z_1, \ldots, z_r \in A$ form part of a regular system of parameters for $A$, then $r \leq n$ and $A/(z_1, \ldots, z_r) \cong K[[y_1, \ldots, y_{n - r}]]$.

  3. If $p, y_1, \ldots, y_n \in B$ is a regular system of parameters then $\Lambda[[y_1, \ldots, y_n]] \to B$ is an isomorphism.

  4. If $p, z_1, \ldots, z_r \in B$ form part of a regular system of parameters for $B$, then $r \leq n$ and $B/(z_1, \ldots, z_r) \cong \Lambda[[y_1, \ldots, y_{n - r}]]$.

Proof. Proof of (1). Set $A' = K[[y_1, \ldots, y_n]]$. It is clear that the map $A' \to A$ induces an isomorphism $A'/\mathfrak m_{A'}^n \to A/\mathfrak m_A^n$ for all $n \geq 1$. Since $A$ and $A'$ are both complete we deduce that $A' \to A$ is an isomorphism. Proof of (2). Extend $z_1, \ldots, z_r$ to a regular system of parameters $z_1, \ldots, z_r, y_1, \ldots, y_{n - r}$ of $A$. Consider the map $A' = K[[z_1, \ldots, z_r, y_1, \ldots, y_{n - r}]] \to A$. This is an isomorphism by (1). Hence (2) follows as it is clear that $A'/(z_1, \ldots, z_r) \cong K[[y_1, \ldots, y_{n - r}]]$. The proofs of (3) and (4) are exactly the same as the proofs of (1) and (2). $\square$

Lemma. Formal smoothness and complete rings and formal power series

Let $K$ be a field of characteristic $0$ and $A = K[[x_1, \ldots, x_n]]$. Let $L$ be a field of characteristic $p > 0$ and $B = L[[x_1, \ldots, x_n]]$. Let $\Lambda$ be a Cohen ring. Let $C = \Lambda[[x_1, \ldots, x_n]]$.

  1. $\mathbf{Q} \to A$ is formally smooth in the $\mathfrak m_A$-adic topology.

  2. $\mathbf{F}_p \to B$ is formally smooth in the $\mathfrak m_B$-adic topology.

  3. $\mathbf{Z} \to C$ is formally smooth in the $\mathfrak m_C$-adic topology.

Proof. By the universal property of power series rings it suffices to prove:

  1. $\mathbf{Q} \to K$ is formally smooth.

  2. $\mathbf{F}_p \to L$ is formally smooth.

  3. $\mathbf{Z} \to \Lambda$ is formally smooth in the $\mathfrak m_\Lambda$-adic topology.

The first two are Algebra, Proposition Characterizations of separable field extensions. The third follows from Algebra, Lemma Formal smoothness and smooth morphisms (programme binding) since for any test diagram as in Definition Formally smooth ring maps some power of $p$ will be zero in $A/J$ and hence some power of $p$ will be zero in $A$. $\square$

Lemma. Lifting formal smoothness

Let $A$ be a Noetherian complete local ring with residue field $k$. Let $B$ be a Noetherian complete local $k$-algebra. Assume $k \to B$ is formally smooth in the $\mathfrak m_B$-adic topology. Then there exists a Noetherian complete local ring $C$ and a local homomorphism $A \to C$ which is formally smooth in the $\mathfrak m_C$-adic topology such that $C \otimes_A k \cong B$.

Proof. Choose a diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ as in Lemma Complete rings, formal power series and Noetherian rings. Let $t_1, \ldots, t_d$ be a regular system of parameters for $R$ with $t_1 = p$ in case the characteristic of $k$ is $p > 0$. As $B$ and $\overline{S} = S \otimes_R k$ are regular we see that $\operatorname{Ker}(\overline{S} \to B)$ is generated by elements $\overline{x}_1, \ldots, \overline{x}_r$ which form part of a regular system of parameters of $\overline{S}$, see Algebra, Lemma Regular rings. Lift these elements to $x_1, \ldots, x_r \in S$. Then $t_1, \ldots, t_d, x_1, \ldots, x_r$ is part of a regular system of parameters for $S$. Hence $S/(x_1, \ldots, x_r)$ is a power series ring over a field (if the characteristic of $k$ is zero) or a power series ring over a Cohen ring (if the characteristic of $k$ is $p > 0$), see Lemma Complete rings and formal power series. Moreover, it is still the case that $R \to S/(x_1, \ldots, x_r)$ maps $t_1, \ldots, t_d$ to a part of a regular system of parameters of $S/(x_1, \ldots, x_r)$. In other words, we may replace $S$ by $S/(x_1, \ldots, x_r)$ and assume we have a diagram $$\begin{gathered}\begin{matrix}S & B \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \longrightarrow B \\ R & \longrightarrow S \\ R & \longrightarrow A \\ A & \longrightarrow B\end{aligned}\end{gathered}$$ as in Lemma Complete rings, formal power series and Noetherian rings with moreover $\overline{S} = B$. In this case $R \to S$ is formally smooth in the $\mathfrak m_S$-adic topology by Proposition Formal smoothness from flatness and formally smooth fibres. Hence the base change $C = S \otimes_R A$ is formally smooth over $A$ in the $\mathfrak m_C$-adic topology by Lemma Base change of formal smoothness. $\square$

Lemma. Lifting derived commutative algebra

Let $R \to S$ be a ring map. Let $\mathfrak n$ be an ideal of $S$. Assume that $R \to S$ is formally smooth in the $\mathfrak n$-adic topology. Consider a solid commutative diagram $$\begin{gathered}\begin{matrix}S & A/J \\ R & A\end{matrix} \\[6pt] \begin{aligned}S & \xrightarrow{\psi} A/J \\ S & \dashrightarrow A \\ R & \longrightarrow A \\ R & \longrightarrow S \\ A & \longrightarrow A/J\end{aligned}\end{gathered}$$ of homomorphisms of topological rings where $A$ is adic and $A/J$ is the quotient (as topological ring) of $A$ by a closed ideal $J \subset A$ such that $J^t$ is contained in an ideal of definition of $A$ for some $t \geq 1$. Then there exists a dotted arrow in the category of topological rings which makes the diagram commute.

Proof. Let $I \subset A$ be an ideal of definition so that $I \supset J^t$ for some $t$. Then $A = \varprojlim A/I^n$ and $A/J = \varprojlim A/J + I^n$ because $J$ is assumed closed. Consider the following diagram of discrete $R$ algebras $A_{n, m} = A/J^n + I^m$: $$\begin{gathered}\begin{matrix}A/J^3 + I^3 & A/J^2 + I^3 & A/J + I^3 \\ A/J^3 + I^2 & A/J^2 + I^2 & A/J + I^2 \\ A/J^3 + I & A/J^2 + I & A/J + I\end{matrix} \\[6pt] \begin{aligned}A/J^3 + I^3 & \longrightarrow A/J^2 + I^3 \\ A/J^3 + I^3 & \longrightarrow A/J^3 + I^2 \\ A/J^2 + I^3 & \longrightarrow A/J + I^3 \\ A/J^2 + I^3 & \longrightarrow A/J^2 + I^2 \\ A/J + I^3 & \longrightarrow A/J + I^2 \\ A/J^3 + I^2 & \longrightarrow A/J^2 + I^2 \\ A/J^3 + I^2 & \longrightarrow A/J^3 + I \\ A/J^2 + I^2 & \longrightarrow A/J + I^2 \\ A/J^2 + I^2 & \longrightarrow A/J^2 + I \\ A/J + I^2 & \longrightarrow A/J + I \\ A/J^3 + I & \longrightarrow A/J^2 + I \\ A/J^2 + I & \longrightarrow A/J + I\end{aligned}\end{gathered}$$ Note that each of the commutative squares defines a surjection $$A_{n + 1, m + 1} \longrightarrow A_{n + 1, m} \times_{A_{n, m}} A_{n, m + 1}$$ of $R$-algebras whose kernel has square zero. We will inductively construct $R$-algebra maps $\varphi_{n, m} : S \to A_{n, m}$. Namely, we have the maps $\varphi_{1, m} = \psi \bmod J + I^m$. Note that each of these maps is continuous as $\psi$ is. We can inductively choose the maps $\varphi_{n, 1}$ by starting with our choice of $\varphi_{1, 1}$ and lifting up, using the formal smoothness of $S$ over $R$, along the bottom row of the diagram above. We construct the remaining maps $\varphi_{n, m}$ by induction on $n + m$. Namely, we choose $\varphi_{n + 1, m + 1}$ by lifting the pair $(\varphi_{n + 1, m}, \varphi_{n, m + 1})$ along the displayed surjection above (again using the formal smoothness of $S$ over $R$). In this way all of the maps $\varphi_{n, m}$ are compatible with the transition maps of the system. As $J^t \subset I$ we see that for example $\varphi_n = \varphi_{nt, n} \bmod I^n$ induces a map $S \to A/I^n$. Taking the limit $\varphi = \varprojlim \varphi_n$ we obtain a map $S \to A = \varprojlim A/I^n$. The composition into $A/J$ agrees with $\psi$ as we have seen that $A/J = \varprojlim A/J + I^n$. Finally we show that $\varphi$ is continuous. Namely, we know that $\psi(\mathfrak n^r) \subset J + I/J$ for some $r \geq 1$ by our assumption that $\psi$ is a morphism of topological rings, see Lemma Derived commutative algebra. Hence $\varphi(\mathfrak n^r) \subset J + I$ hence $\varphi(\mathfrak n^{rt}) \subset I$ as desired. $\square$

Lemma. Koszul complexes and regular sequences

Let $R$ be a ring. Let $\varphi : E \to R$ be an $R$-module map. Let $e \in E$ with image $f = \varphi(e)$ in $R$. Then $$f = de + ed$$ as endomorphisms of $K_\bullet(\varphi)$.

Proof. This is true because $d(ea) = d(e)a - ed(a) = fa - ed(a)$. $\square$

Lemma. Koszul complexes, regular sequences and derived categories

Let $R$ be a ring. Let $\varphi : E \to R$ be an $R$-module map. Let $f \in R$. Set $E' = E \oplus R$ and define $\varphi' : E' \to R$ by $\varphi$ on $E$ and multiplication by $f$ on $R$. The complex $K_\bullet(\varphi')$ is isomorphic to the cone of the map of complexes $$f : K_\bullet(\varphi) \longrightarrow K_\bullet(\varphi).$$

Proof. Denote $e_0 \in E'$ the element $1 \in R \subset R \oplus E$. By our definition of the cone above we see that $$C(f)_n = K_n(\varphi) \oplus K_{n - 1}(\varphi) = \wedge^n(E) \oplus \wedge^{n - 1}(E) = \wedge^n(E')$$ where in the last $=$ we map $(0, e_1 \wedge \ldots \wedge e_{n - 1})$ to $e_0 \wedge e_1 \wedge \ldots \wedge e_{n - 1}$ in $\wedge^n(E')$. A computation shows that this isomorphism is compatible with differentials. Namely, this is clear for elements of the first summand as $\varphi'|_E = \varphi$ and $d_{C(f)}$ restricted to the first summand is just $d_{K_\bullet(\varphi)}$. On the other hand, if $e_1 \wedge \ldots \wedge e_{n - 1}$ is in the second summand, then $$d_{C(f)}(0, e_1 \wedge \ldots \wedge e_{n - 1}) = fe_1 \wedge \ldots \wedge e_{n - 1}

Lemma. Koszul complexes and regular sequences

Let $R$ be a ring. Let $f_1, \ldots, f_{r - 1}$ be a sequence of elements of $R$. Let $f, g \in R$. The complex $K_\bullet(f_1, \ldots, f_{r - 1}, fg)$ is homotopy equivalent to the cone of a map of complexes $$K_\bullet(f_1, \ldots, f_{r - 1}, f)[1] \longrightarrow K_\bullet(f_1, \ldots, f_{r - 1}, g)$$

Proof. Special case of Lemma Koszul complexes and regular sequences. $\square$

Lemma. A p-basis in positive characteristic

Let $K/k$ be a field extension. Assume $k$ has characteristic $p > 0$. Let $\{x_i\}$ be a subset of $K$. The following are equivalent

  1. the elements $\{x_i\}$ are $p$-independent over $k$, and

  2. the elements $\text{d}x_i$ are $K$-linearly independent in $\Omega_{K/k}$.

Any $p$-independent collection can be extended to a $p$-basis of $K$ over $k$. In particular, the field $K$ has a $p$-basis over $k$. Moreover, the following are equivalent:

  1. $\{x_i\}$ is a $p$-basis of $K$ over $k$, and

  2. $\text{d}x_i$ is a basis of the $K$-vector space $\Omega_{K/k}$.

Proof. Assume (2) and suppose that $\sum a_E x^E = 0$ is a linear relation with $a_E \in k K^p$. Let $\theta_i : K \to K$ be a $k$-derivation such that $\theta_i(x_j) = \delta_{ij}$ (Kronecker delta). Note that any $k$-derivation of $K$ annihilates $kK^p$. Applying $\theta_i$ to the given relation we obtain new relations $$\sum\nolimits_{E, e_i > 0} e_i a_E x_1^{e_1}\ldots x_i^{e_i - 1} \ldots x_n^{e_n} = 0$$ Hence if we pick $\sum a_E x^E$ as the relation with minimal total degree $|E| = \sum e_i$ for some $a_E \not = 0$, then we get a contradiction. Hence (1) holds.

If $\{x_i\}$ is a $p$-basis for $K$ over $k$, then $K \cong kK^p[X_i]/(X_i^p - x_i^p)$. Hence we see that $\text{d}x_i$ forms a basis for $\Omega_{K/k}$ over $K$. Thus (a) implies (b).

Let $\{x_i\}$ be a $p$-independent subset of $K$ over $k$. An application of Zorn's lemma shows that we can enlarge this to a maximal $p$-independent subset of $K$ over $k$. We claim that any maximal $p$-independent subset $\{x_i\}$ of $K$ is a $p$-basis of $K$ over $k$. The claim will imply that (1) implies (2) and establish the existence of $p$-bases. To prove the claim let $L$ be the subfield of $K$ generated by $kK^p$ and the $x_i$. We have to show that $L = K$. If $x \in K$ but $x \not \in L$, then $x^p \in L$ and $L(x) \cong L[z]/(z^p - x^p)$. Hence $\{x_i\} \cup \{x\}$ is $p$-independent over $k$, a contradiction.

Finally, we have to show that (b) implies (a). By the equivalence of (1) and (2) we see that $\{x_i\}$ is a maximal $p$-independent subset of $K$ over $k$. Hence by the claim above it is a $p$-basis. $\square$

Lemma. Field extensions

Let $K/k$ be a field extension. Let $\{K_\alpha\}_{\alpha \in A}$ be a collection of subfields of $K$ with the following properties

  1. $k \subset K_\alpha$ for all $\alpha \in A$,

  2. $k = \bigcap_{\alpha \in A} K_\alpha$,

  3. for $\alpha, \alpha' \in A$ there exists an $\alpha'' \in A$ such that $K_{\alpha''} \subset K_\alpha \cap K_{\alpha'}$.

Then for $n \geq 1$ and $V \subset K^{\oplus n}$ a $K$-vector space we have $V \cap k^{\oplus n} \not = 0$ if and only if $V \cap K_\alpha^{\oplus n} \not = 0$ for all $\alpha \in A$.

Proof. By induction on $n$. The case $n = 1$ follows from the assumptions. Assume the result proven for subspaces of $K^{\oplus n - 1}$. Assume that $V \subset K^{\oplus n}$ has nonzero intersection with $K_\alpha^{\oplus n}$ for all $\alpha \in A$. If $V \cap 0 \oplus k^{\oplus n - 1}$ is nonzero then we win. Hence we may assume this is not the case. By induction hypothesis we can find an $\alpha$ such that $V \cap 0 \oplus K_\alpha^{\oplus n - 1}$ is zero. Let $v = (x_1, \ldots, x_n) \in V \cap K_\alpha^{\oplus n}$ be a nonzero element. By our choice of $\alpha$ we see that $x_1$ is not zero. Replace $v$ by $x_1^{-1}v$ so that $v = (1, x_2, \ldots, x_n)$. Note that if $v' = (x_1', \ldots, x'_n) \in V \cap K_\alpha^{\oplus n}$, then $v' - x_1'v = 0$ by our choice of $\alpha$. Hence we see that $V \cap K_\alpha^{\oplus n} = K_\alpha v$. If we choose some $\alpha'$ such that $K_{\alpha'} \subset K_\alpha$, then we see that necessarily $v \in V \cap K_{\alpha'}^{\oplus n}$ (by the same arguments applied to $\alpha'$). Hence $$x_2, \ldots, x_n \in \bigcap\nolimits_{\alpha' \in A, K_{\alpha'} \subset K_\alpha} K_{\alpha'}$$ which equals $k$ by (2) and (3). $\square$

Lemma. Formal smoothness implies regularity

Let $k$ be a field and let $(A, \mathfrak m, K)$ be a Noetherian local $k$-algebra. If $k \to A$ is formally smooth for the $\mathfrak m$-adic topology, then $A$ is a regular local ring.

Proof. Let $k_0 \subset k$ be the prime field. Then $k_0$ is perfect, hence $k / k_0$ is separable, hence formally smooth by Algebra, Lemma Elementary formally smooth extensions. By Lemmas Formal smoothness and smooth morphisms and Composition of formally smooth maps we see that $k_0 \to A$ is formally smooth for the $\mathfrak m$-adic topology on $A$. Hence we may assume $k = \mathbf{Q}$ or $k = \mathbf{F}_p$.

By Algebra, Lemmas Completion, Theorems 3.1–3.3, 4.1 and 5.1 and Flatness and regular ring maps it suffices to prove the completion $A^\wedge$ is regular. By Lemma Formal smoothness and completion we may replace $A$ by $A^\wedge$. Thus we may assume that $A$ is a Noetherian complete local ring. By the Cohen structure theorem (Algebra, Theorem Commutative algebra (programme binding)) there exist a map $K \to A$. As $k$ is the prime field we see that $K \to A$ is a $k$-algebra map.

Let $x_1, \ldots, x_n \in \mathfrak m$ be elements whose images form a basis of $\mathfrak m/\mathfrak m^2$. Set $T = K[[X_1, \ldots, X_n]]$. Note that $$A/\mathfrak m^2 \cong K[x_1, \ldots, x_n]/(x_ix_j)$$ and $$T/\mathfrak m_T^2 \cong K[X_1, \ldots, X_n]/(X_iX_j).$$ Let $A/\mathfrak m^2 \to T/m_T^2$ be the local $K$-algebra isomorphism given by mapping the class of $x_i$ to the class of $X_i$. Denote $f_1 : A \to T/\mathfrak m_T^2$ the composition of this isomorphism with the quotient map $A \to A/\mathfrak m^2$. The assumption that $k \to A$ is formally smooth in the $\mathfrak m$-adic topology means we can lift $f_1$ to a map $f_2 : A \to T/\mathfrak{m}_T^3$, then to a map $f_3 : A \to T/\mathfrak{m}_T^4$, and so on, for all $n \geq 1$. Warning: the maps $f_n$ are continuous $k$-algebra maps and may not be $K$-algebra maps. We get an induced map $f : A \to T = \varprojlim T/\mathfrak m_T^n$ of local $k$-algebras. By our choice of $f_1$, the map $f$ induces an isomorphism $\mathfrak m/\mathfrak m^2 \to \mathfrak m_T/\mathfrak m_T^2$ hence each $f_n$ is surjective and we conclude $f$ is surjective as $A$ is complete. This implies $\dim(A) \geq \dim(T) = n$. Hence $A$ is regular by definition. (It also follows that $f$ is an isomorphism.) $\square$

Lemma. Regularity implies formal smoothness

Let $k$ be a field. Let $(A, \mathfrak m, K)$ be a regular local $k$-algebra such that $K/k$ is separable. Then $k \to A$ is formally smooth in the $\mathfrak m$-adic topology.

Proof. It suffices to prove that the completion of $A$ is formally smooth over $k$, see Lemma Formal smoothness and completion. Hence we may assume that $A$ is a complete local regular $k$-algebra with residue field $K$ separable over $k$. By Lemma Complete rings, formal power series and field extensions we see that $A = K[[x_1, \ldots, x_n]]$.

The power series ring $K[[x_1, \ldots, x_n]]$ is formally smooth over $k$. Namely, $K$ is formally smooth over $k$ and $K[x_1, \ldots, x_n]$ is formally smooth over $K$ as a polynomial algebra. Hence $K[x_1, \ldots, x_n]$ is formally smooth over $k$ by Algebra, Lemma Composition of formally smooth maps. It follows that $k \to K[x_1, \ldots, x_n]$ is formally smooth for the $(x_1, \ldots, x_n)$-adic topology by Lemma Formal smoothness and smooth morphisms. Finally, it follows that $k \to K[[x_1, \ldots, x_n]]$ is formally smooth for the $(x_1, \ldots, x_n)$-adic topology by Lemma Formal smoothness and completion. $\square$

Lemma. Koszul complexes and regular sequences

Let $R$ be a ring. Let $\varphi : E \to R$ be an $R$-module map. Let $f, g \in R$. Set $E' = E \oplus R$ and define $\varphi'_f, \varphi'_g, \varphi'_{fg} : E' \to R$ by $\varphi$ on $E$ and multiplication by $f, g, fg$ on $R$. The complex $K_\bullet(\varphi'_{fg})$ is homotopy equivalent to the cone of a map of complexes $$K_\bullet(\varphi'_f)[1] \longrightarrow K_\bullet(\varphi'_g).$$

Proof. By Lemma Koszul complexes, regular sequences and derived categories the complex $K_\bullet(\varphi'_f)$ is isomorphic to the cone of multiplication by $f$ on $K_\bullet(\varphi)$ and similarly for the other two cases. Hence the lemma follows from Lemma Derived categories. $\square$

Lemma. Complete rings, formal power series and field extensions

Let $k$ be a field. Let $(A, \mathfrak m, \kappa)$ be a complete local $k$-algebra. If $\kappa/k$ is separable and $A$ regular, then there exists an isomorphism of $A \cong \kappa[[t_1, \ldots, t_d]]$ as $k$-algebras.

Proof. Choose $\kappa \to A$ as in Lemma Lifting field extensions and apply Algebra, Lemma Complete rings, formal power series and regular rings (programme binding). $\square$

Lemma. Derived categories

Let $R$ be a ring. Let $A_\bullet$ be a complex of $R$-modules. Let $f, g \in R$. Let $C(f)_\bullet$ be the cone of $f : A_\bullet \to A_\bullet$. Define similarly $C(g)_\bullet$ and $C(fg)_\bullet$. Then $C(fg)_\bullet$ is homotopy equivalent to the cone of a map $$C(f)_\bullet[1] \longrightarrow C(g)_\bullet$$

Proof. We first prove this if $A_\bullet$ is the complex consisting of $R$ placed in degree $0$. In this case the complex $C(f)_\bullet$ is the complex $$\ldots \to 0 \to R \xrightarrow{f} R \to 0 \to \ldots$$ with $R$ placed in (homological) degrees $1$ and $0$. The map of complexes we use is $$\begin{gathered}\begin{matrix}0 & 0 & R & R & 0 \\ 0 & R & R & 0 & 0\end{matrix} \\[6pt] \begin{aligned}0 & \longrightarrow 0 \\ 0 & \longrightarrow 0 \\ 0 & \longrightarrow R \\ 0 & \longrightarrow R \\ R & \xrightarrow{f} R \\ R & \xrightarrow{1} R \\ R & \longrightarrow 0 \\ R & \longrightarrow 0 \\ 0 & \longrightarrow 0 \\ 0 & \longrightarrow R \\ R & \xrightarrow{g} R \\ R & \longrightarrow 0 \\ 0 & \longrightarrow 0\end{aligned}\end{gathered}$$ The cone of this is the chain complex consisting of $R^{\oplus 2}$ placed in degrees $1$ and $0$ and differential (Cotangent complexes, differentials and derived categories) $$\left( \begin{matrix} g & 1 \\ 0 & -f \end{matrix} \right) : R^{\oplus 2} \longrightarrow R^{\oplus 2}$$ To see this chain complex is homotopic to $C(fg)_\bullet$, i.e., to $R \xrightarrow{fg} R$, consider the maps of complexes $$\begin{gathered}\begin{matrix}R & R \\ R^{\oplus 2} & R^{\oplus 2}\end{matrix} \\[6pt] \begin{aligned}R & \xrightarrow{(1, -g)} R^{\oplus 2} \\ R & \xrightarrow{fg} R \\ R & \xrightarrow{(0, 1)} R^{\oplus 2} \\ R^{\oplus 2} & \longrightarrow R^{\oplus 2}\end{aligned}\end{gathered} \quad\quad \begin{gathered}\begin{matrix}R^{\oplus 2} & R^{\oplus 2} \\ R & R\end{matrix} \\[6pt] \begin{aligned}R^{\oplus 2} & \xrightarrow{(1, 0)} R \\ R^{\oplus 2} & \longrightarrow R^{\oplus 2} \\ R^{\oplus 2} & \xrightarrow{(f, 1)} R \\ R & \xrightarrow{fg} R\end{aligned}\end{gathered}$$ with obvious notation. The composition of these two maps in one direction is the identity on $C(fg)_\bullet$, but in the other direction it isn't the identity. We omit writing out the required homotopy.

To see the result holds in general, we use that we have a functor $K_\bullet \mapsto \text{Tot}(A_\bullet \otimes_R K_\bullet)$ on the category of complexes which is compatible with homotopies and cones. Then we write $C(f)_\bullet$ and $C(g)_\bullet$ as the total complex of the double complexes $$(R \xrightarrow{f} R) \otimes_R A_\bullet \quad\text{and}\quad (R \xrightarrow{g} R) \otimes_R A_\bullet$$ and in this way we deduce the result from the special case discussed above. Some details omitted. $\square$

Lemma. Lifting field extensions

Let $k$ be a field. Let $(A, \mathfrak m, \kappa)$ be a complete local $k$-algebra. If $\kappa/k$ is separable, then there exists a $k$-algebra map $\kappa \to A$ such that $\kappa \to A \to \kappa$ is $\text{id}_\kappa$.

Proof. By Algebra, Proposition Characterizations of separable field extensions the extension $\kappa/k$ is formally smooth. By Lemma Formal smoothness and smooth morphisms $k \to \kappa$ is formally smooth in the sense of Definition Formally smooth ring maps. Then we get $\kappa \to A$ from Lemma Lifting derived commutative algebra. $\square$

Marked formal deformation groupoids

Lemma. Surjectivity on cotangent spaces

Let $f: R \to S$ be a ring map in $\widehat{\mathcal{C}}_\Lambda$. The following are equivalent

  1. $f$ is surjective,

  2. the map $\mathfrak m_R/\mathfrak m_R^2 \to \mathfrak m_S/\mathfrak m_S^2$ is surjective, and

  3. the map $\mathfrak m_R/(\mathfrak m_\Lambda R + \mathfrak m_R^2) \to \mathfrak m_S/(\mathfrak m_\Lambda S + \mathfrak m_S^2)$ is surjective.

Proof. Note that for \(n \geq 2\) we have the equality of relative cotangent spaces

\[ \mathfrak m_R/(\mathfrak m_\Lambda R + \mathfrak m_R^2) = \mathfrak m_{R_n}/(\mathfrak m_\Lambda R_n + \mathfrak m_{R_n}^2) \]

and similarly for \(S\). Hence by Lemma Formal deformation groupoids we see that \(R_n \to S_n\) is surjective for all \(n\). Now let \(K_n\) be the kernel of \(R_n \to S_n\). Then the sequences

\[ 0 \to K_n \to R_n \to S_n \to 0 \]

form an exact sequence of directed inverse systems. The system \((K_n)\) is Mittag-Leffler since each \(K_n\) is Artinian. Hence by Algebra, Lemma Commutative algebra taking limits preserves exactness. So \(\varprojlim R_n \to \varprojlim S_n\) is surjective, i.e., \(f\) is surjective. \(\square\)

Lemma. Formal deformation groupoids

Let $A \to B$ be a ring map in $\mathcal{C}_\Lambda$. The following are equivalent

  1. $f$ is surjective,

  2. $\mathfrak m_A/\mathfrak m_A^2 \to \mathfrak m_B/\mathfrak m_B^2$ is surjective, and

  3. $\mathfrak m_A/(\mathfrak m_\Lambda A + \mathfrak m_A^2) \to \mathfrak m_B/(\mathfrak m_\Lambda B + \mathfrak m_B^2)$ is surjective.

Proof. For any ring map $f : A \to B$ in $\mathcal{C}_\Lambda$ we have $f(\mathfrak m_A) \subset \mathfrak m_B$ for example because $\mathfrak m_A$, $\mathfrak m_B$ is the set of nilpotent elements of $A$, $B$. Suppose $f$ is surjective. Let $y \in \mathfrak m_B$. Choose $x \in A$ with $f(x) = y$. Since $f$ induces an isomorphism $A/\mathfrak m_A \to B/\mathfrak m_B$ we see that $x \in \mathfrak m_A$. Hence the induced map $\mathfrak m_A/\mathfrak m_A^2 \to \mathfrak m_B/\mathfrak m_B^2$ is surjective. In this way we see that (1) implies (2).

It is clear that (2) implies (3). The map $A \to B$ gives rise to a canonical commutative diagram $$\begin{gathered}\begin{matrix}\mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k & \mathfrak m_A/\mathfrak m_A^2 & \mathfrak m_A/(\mathfrak m_\Lambda A + \mathfrak m_A^2) & 0 \\ \mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k & \mathfrak m_B/\mathfrak m_B^2 & \mathfrak m_B/(\mathfrak m_\Lambda B + \mathfrak m_B^2) & 0\end{matrix} \\[6pt] \begin{aligned}\mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k & \longrightarrow \mathfrak m_A/\mathfrak m_A^2 \\ \mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k & \longrightarrow \mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k \\ \mathfrak m_A/\mathfrak m_A^2 & \longrightarrow \mathfrak m_A/(\mathfrak m_\Lambda A + \mathfrak m_A^2) \\ \mathfrak m_A/\mathfrak m_A^2 & \longrightarrow \mathfrak m_B/\mathfrak m_B^2 \\ \mathfrak m_A/(\mathfrak m_\Lambda A + \mathfrak m_A^2) & \longrightarrow 0 \\ \mathfrak m_A/(\mathfrak m_\Lambda A + \mathfrak m_A^2) & \longrightarrow \mathfrak m_B/(\mathfrak m_\Lambda B + \mathfrak m_B^2) \\ \mathfrak m_\Lambda/\mathfrak m_\Lambda^2 \otimes_{k'} k & \longrightarrow \mathfrak m_B/\mathfrak m_B^2 \\ \mathfrak m_B/\mathfrak m_B^2 & \longrightarrow \mathfrak m_B/(\mathfrak m_\Lambda B + \mathfrak m_B^2) \\ \mathfrak m_B/(\mathfrak m_\Lambda B + \mathfrak m_B^2) & \longrightarrow 0\end{aligned}\end{gathered}$$ with exact rows. Hence if (3) holds, then so does (2).

Assume (2). To show that $A \to B$ is surjective it suffices by Nakayama's lemma (Algebra, Lemma Nakayama's lemma) to show that $A/\mathfrak m_A \to B/\mathfrak m_AB$ is surjective. (Note that $\mathfrak m_A$ is a nilpotent ideal.) As $k = A/\mathfrak m_A = B/\mathfrak m_B$ it suffices to show that $\mathfrak m_AB \to \mathfrak m_B$ is surjective. Applying Nakayama's lemma once more we see that it suffices to see that $\mathfrak m_AB/\mathfrak m_A\mathfrak m_B \to \mathfrak m_B/\mathfrak m_B^2$ is surjective which is what we assumed. $\square$

Uncovered prerequisites

The following supporting claims have no separately incorporated native proof. Their exact current programme bindings and deductions are stated individually below. Partial and unbound claims remain conditional at their recorded scope. The central desingularization and family-approximation constructions have been supplied; this record does not certify recursive closure of every lower prerequisite.

Noetherian topological spaces

Written provider and explicit deduction. Native locator: topology.tex / lemma-Noetherian.

A Noetherian space has Noetherian subspaces and finitely many irreducible components, each containing a nonempty open.

Spectra of rings (AG-CA), Theorem4.3 and proof, lines168-174: Arbitrary Noetherian topological spaces.

For a subspace, lift a descending closed chain to ambient closed sets and replace them by their finite successive intersections; ambient stabilization gives subspace stabilization. The written finite irredundant decomposition gives the components; subtracting the other finitely many components leaves a nonempty open contained in each component.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Points of finite type

Unbound lower prerequisite. Native locator: morphisms.tex / lemma-point-finite-type.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Commutative algebra

Written subargument at the stated scope. Native locator: algebra.tex / example-ML-surjective-maps.

Stable-image replacement of a Mittag-Leffler system gives surjective transition maps and the same inverse limit.

Completion (AG-CA), Lemma1.1 proof, lines25-27: The stable-image/surjectivity step uses directedness; countability is required only for the subsequent nonempty-limit conclusion.

Line25 chooses a common later index beyond two stabilization indices. The same finite-index argument is valid for an arbitrary directed system. Compatible coordinates already lie in every later image, giving the same limit.

Modules

Written exact provider. Native locator: algebra.tex / lemma-intersection-powers-ideal-module.

For a Noetherian ring and finite module, the intersection of ideal powers vanishes on a neighbourhood of every prime containing the ideal, and vanishes globally for a Jacobson-radical ideal.

Noetherian and Artinian rings (AG-CA), Theorem6.1, lines254-276: Noetherian R, finite M, arbitrary ideal I.

The theorem provides a single annihilator 1+a with a in I. For a prime containing I this annihilator avoids that prime; localizing kills the intersection. The Jacobson-radical case is stated expressly.

Derived tensor products and Tor amplitude

Written exact provider. Native locator: algebra.tex / lemma-long-exact-sequence-tor.

Tor has the natural long exact sequence for a short exact sequence in its second variable.

Resolutions, Tor and Ext (AG-CA), Section2 lines32-40; Theorem3.2 lines54-60: Arbitrary commutative ring and arbitrary modules.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Noetherian rings

Written provider and explicit deduction. Native locator: algebra.tex / lemma-reduced-goes-up-noetherian.

A flat map of Noetherian rings with reduced base and reduced fibres has reduced target.

Spectra of rings (AG-CA), Theorem1.2, lines34-53; minimal primes in Theorem4.1/Lemma4.2: Nilradical and minimal prime detection.

Noetherian and Artinian rings (AG-CA), Proposition2.2 and Theorem4.2, lines69-79,157-196: Finitely many minimal primes; Noetherian zero-dimensional rings are Artinian.

Tor and flat modules (AG-CA), Definition of flatness and Theorem2.1, lines9-24,80-109: Arbitrary ring and module.

The reduced Noetherian base embeds into the finite product of its localizations at minimal primes; those local rings are reduced zero-dimensional Noetherian local rings and hence fields. Flat tensoring preserves that injection and commutes with this finite product. The target therefore embeds into the product of its reduced minimal-prime fibres, so is reduced. This is a finite composition of the written predecessors, with the exact native assumptions retained.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-Mittag-Leffler.

A short exact sequence of integer-indexed module systems remains exact under inverse limit when the kernel system is Mittag-Leffler.

Completion (AG-CA), Lemma1.1 and Theorem1.2, lines23-40: Countable directed inverse systems of abelian groups; applies to the stated integer-indexed module systems.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Criteria for integral extensions

Written exact provider. Native locator: algebra.tex / lemma-characterize-integral-element.

An element preserving a finite base submodule containing1 is integral.

Integral extensions: lying over, going up and going down (AG-CA), Theorem1.1, determinant proof lines29-41: Arbitrary base ring/algebra and finite faithful module for multiplication by the element.

A stable finite submodule containing1 is faithful over R[y]: an operator killing it kills1. Thus the exact determinant argument applies.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-length-additive.

Module length, allowing infinity, is additive in a short exact sequence.

Noetherian and Artinian rings (AG-CA), Theorem3.3, lines117-135: Arbitrary ring; finite-length iff statement and finite additivity.

Finite middle length is equivalent to both ends having finite length; the stated finite sum proves additivity there, and the iff treats the remaining infinite-length cases.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-simple-pieces.

Composition factors are residue fields, with maximal-ideal multiplicities measured by localized length.

Noetherian and Artinian rings (AG-CA), Section3; Theorems3.2-3.3 and Proposition3.4, lines83-139: Finite-length module over an arbitrary commutative ring.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Written at this consumer scope. Native locator: algebra.tex / lemma-Schanuel.

Stable isomorphism of two projective presentation kernels.

Projective dimension and the Auslander–Buchsbaum formula (AG-CA), Lemma1.1, lines21-27: Arbitrary ring, projective presentations of the same module.

The fibre-product proof identifies the common module with K plus Q and L plus P. The native lemma additionally displays a diagram; the matched consumer is the stable-kernel isomorphism. Retain that diagram as a display construction when consumed.

Field extensions

Written exact provider. Native locator: algebra.tex / lemma-length-resolution-residue-field.

Projective dimension of the residue field is at least embedding dimension.

Regular local rings (AG-CA), Lemma2.1, lines75-124: Noetherian local ring; arbitrary characteristic, finite or infinite projective dimension.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Regular rings and dimension and codimension

Written exact provider. Native locator: algebra.tex / proposition-regular-finite-gl-dim.

A nonzero finite module of depth e over a d-dimensional regular local ring has a finite free resolution of length d-e, and global dimension is at most d.

Projective dimension and the Auslander–Buchsbaum formula (AG-CA), Theorem2.2, Theorem2.3 and Corollary4.3, lines117-154,242-255: Noetherian regular local ring; global dimension includes arbitrary modules.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Dimension and codimension

Written provider and explicit deduction. Native locator: algebra.tex / lemma-dim-gl-dim.

Finite projective dimension n of the residue field is at most the Krull dimension.

Projective dimension and the Auslander–Buchsbaum formula (AG-CA), Theorem3.1, lines157-195: Noetherian local ring and finite module of finite projective dimension.

Regular sequences, depth and Cohen–Macaulay modules (AG-CA), Theorem3.1, lines151-192: Depth of a finite module is at most support dimension.

Apply Auslander-Buchsbaum to the residue field, whose depth is0: n=depth R<=dim R. Regularity is not an additional hypothesis.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Finite algebras

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-length-finite.

Finite modules killed by a power of a finitely generated maximal ideal have finite length even over a non-Noetherian ring.

The written finite-layer explanation covers the Noetherian local use; the native assumption needs only a finitely generated maximal ideal and need not assume the ring Noetherian. Do not silently narrow its scope.

Noetherian rings

Written exact provider. Native locator: algebra.tex / lemma-Noetherian-power.

An ideal contained in the radical of another has a power contained in it.

Noetherian and Artinian rings (AG-CA), Proposition2.2 proof, lines69-79: Arbitrary ideals in a Noetherian ring.

The written proof gives (sqrt I)^N subset I; J subset sqrt I gives J^N subset I.

Finite algebras

Written provider and explicit deduction. Native locator: algebra.tex / lemma-quasi-finite-permanence.

A finite-type composite that is quasi-finite at a point stays quasi-finite over an intermediate base.

Quasi-finite morphisms and Chevalley’s theorem (AG-MO), Theorem1.1 and Proposition2.1, lines13-43: Finite-type algebra pointwise tests and base-change/immersion stability.

The intermediate algebra acts on the finite-dimensional isolated original fibre algebra. Localizing to the selected intermediate residue field keeps a finite-dimensional quotient after scalar extension. Alternatively the graph is a closed immersion into the base change; apply the same base-change/immersion pointwise test. No finite-presentation hypothesis on the intermediate algebra is added.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Finite algebras

Written exact provider. Native locator: algebra.tex / lemma-quasi-finite-monogenic.

An isolated fibre point of a monogenic finite-type algebra has the stated integral-closure localization.

Zariski's Main Theorem (AG-MO), Theorem1.1 and Sections1-2: Arbitrary ring and finite-type algebra.

The actual theorem treats all finite-type algebras, hence the monogenic case. Its actual conductor and point-isolation lower prerequisites remain unclosed; this is a written owned provider, not recursive closure.

Finite algebras and local algebra

Written provider and explicit deduction. Native locator: algebra.tex / lemma-quasi-finite-local.

Quasi-finiteness at a point is unchanged by localizing source and base away from the corresponding primes.

Quasi-finite morphisms and Chevalley’s theorem (AG-MO), Theorem1.1, lines13-27: Locally finite-type scheme morphisms; fibre-local characterization.

The base localization preserves the same fibre and the source localization is an open containing the point. Isolation in that fibre is equivalent before and after either localization, exactly the pointwise test.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Commutative algebra

Written provider and explicit deduction. Native locator: algebra.tex / lemma-four-rings.

A quotient of a base-changed finite-type algebra preserves quasi-finiteness at the corresponding point.

Quasi-finite morphisms and Chevalley’s theorem (AG-MO), Proposition2.1, lines37-43: Arbitrary bases; base change, composition and immersions.

The surjection S tensor_R R-prime -> S-prime gives a closed immersion into the base change. Base change preserves the pointwise property and the closed immersion is locally quasi-finite; composition proves the assertion.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Finite algebras

Unbound lower prerequisite. Native locator: algebra.tex / lemma-reduced-strongly-transcendental-not-quasi-finite.

No exact ordinary predecessor provider was established for this strongly-transcendental non-quasi-finite lemma; a general quasi-finite stability theorem is not equivalent.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-all-coefficients-in-J.

No ordinary programme provider was established for the strongly-transcendental radical-coefficient statement at this source-defined situation.

Cotangent complexes and differentials

Written subargument at the stated scope. Native locator: algebra.tex / lemma-computation-differential.

For a Noetherian local k-algebra with finitely generated separable residue extension, m/m^2 injects into Omega tensor the residue field.

Smooth algebras over a field and the Jacobian criterion (AG-CA), Theorem3.2 proof subargument, lines166-178: The injection subargument requires only a local k-algebra and finitely generated separable residue field; the surrounding smoothness equivalence additionally assumes finite type.

The proof lifts the residue field into A/m^2 by formal smoothness and invokes the split-conormal proposition; its product-rule identification gives the displayed injection. Only this expressly written subargument is bound, not an arbitrary-ring extension of the surrounding finite-type smoothness theorem.

Field extensions

Unbound lower prerequisite. Native locator: fields.tex / lemma-pth-root.

No exact existing field provider for this separable-extension pth-root descent claim was found. Prime-field formal smoothness in the coefficient lesson does not state it.

Field extensions

Unbound lower prerequisite. Native locator: fields.tex / lemma-separable-first.

No exact existing provider for unique separable-then-purely-inseparable factorization of every algebraic extension was found. Finite field differential criteria are narrower and cannot be substituted.

The geometric construction

Unbound lower prerequisite. Native locator: fields.tex / lemma-primitive-element.

No exact existing provider for the primitive-element iff finitely-many-intermediate-fields statement was found. A course citing the separable primitive-element result is not its written proof.

The geometric construction

Written provider and explicit deduction. Native locator: fields.tex / lemma-transcendence-degree.

Transcendence bases exist, extend an independent set within a generating set, and have well-defined cardinality.

Krull dimension and Noether normalization (AG-CA), Lemma1.3 and proof, lines45-53: Arbitrary field extensions, including infinite bases.

The Zorn proof extends a prescribed independent A by considering independent subsets of the generating G containing A; maximality forces every generator algebraic. The written cardinality/exchange proof handles arbitrary basis sizes. Record this specified choice in the short application rather than pretending the printed statement explicitly names A and G.

Filtered limits and commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-limit-argument.

No exact programme lemma for all three finite-subalgebra detection statements over a field was established; finite equation descent is a related input, not a recorded complete proof here.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-hilbert-ses.

Degree additivity for Hilbert-Samuel polynomials is written, but this exact shifted finite-colength equality is stronger; no exact provider was established.

Finite algebras

Unbound lower prerequisite. Native locator: algebra.tex / lemma-differ-finite-chi.

No exact written provider was established for the strict degree drop of the difference polynomial for every finite-colength submodule of an infinite-length module.

Dimension and codimension

Unbound lower prerequisite. Native locator: algebra.tex / lemma-dimension-going-up.

The native source allows arbitrary rings and any surjective going-up or going-down map. Integral dimension and local Noetherian flat dimension formulas are narrower; no exact full provider was established.

Commutative algebra

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-helper-polynomial.

A triangular high-power substitution makes any nonconstant polynomial over an arbitrary ring have a single positive-degree top term.

The full source uses e1 much larger than e2 and so on with en=1, while the provider displays increasing base-e weights. Reindexing gives the same triangular substitution, and the calculation works over an arbitrary ring without dividing by coefficients. Bind only after recording this specific elementary change; do not label the complete field normalization lemma as an arbitrary-ring normalization theorem.

Dimension and codimension

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-dim-formula-maximal-CM.

A Noetherian local ring carrying a CM module with full support satisfies the dimension formula at every prime.

The explicitly stated dimension formula assumes the ring is CM, which is stronger than existence of a full-support CM module. The native full-support-module version is not silently bound to Lemma5.4; a separate exact module argument is needed.

The geometric construction

Written exact provider. Native locator: topology.tex / lemma-constructible-stable-specialization-closed.

For a spectral space a patch-closed subset has every closure point as a specialization from it; specialization-stable patch-closed subsets are closed, with the complementary open assertion.

Spectral spaces and affine realization (AG-CA), Lemma1.2 and proof, lines38-40: Every spectral space and patch-closed subset.

The compactness proof supplies the closure specialization. Its closed/stable equivalence gives part2; applying it to the complementary patch-closed set gives part3.

Prime spectra and associated points

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-spec-spectral.

Every affine spectrum is a spectral space.

The required affine-spectrum axioms are ordinary written predecessors, but the exact aggregate statement was not established as an explicit theorem in the bounded body pass. Do not use Hochster realization in the reverse direction as a proof of this claim.

The geometric construction

Unbound lower prerequisite. Native locator: topology.tex / lemma-open-closed-specialization.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

The geometric construction

Unbound lower prerequisite. Native locator: topology.tex / lemma-constructible.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-constructible-is-image.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Affine neighbourhoods

Unbound lower prerequisite. Native locator: algebra.tex / lemma-affineline-open.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Affine neighbourhoods

Unbound lower prerequisite. Native locator: algebra.tex / lemma-affineline-special.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Finite presentation

Unbound lower prerequisite. Native locator: algebra.tex / lemma-closed-fp.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Finite presentation

Unbound lower prerequisite. Native locator: algebra.tex / lemma-open-fp.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-constructible.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Field extensions and tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / lemma-reduced-ring-sub-product-fields.

The reduced ring embedding into residue fields follows from the nilradical theorem, but the full minimal-prime localization and union-of-minimal-primes zero-divisor statement is broader; no exact full programme provider was established.

Commutative algebra

Written provider and explicit deduction. Native locator: algebra.tex / lemma-where-CM.

For a quasi-finite map from a finite-type field algebra to affine d-space, flatness at a point is equivalent to Cohen-Macaulayness and pointwise field dimension d.

Flatness criteria, dimension and the flat locus (AG-FSE), Theorem3.1, Theorem4.1 and Corollary7.1, lines64-84,107-153,307-311: Noetherian local dimension, miracle flatness and quasi-finite local equal-dimension criterion.

Regular sequences, depth and Cohen–Macaulay modules (AG-CA), Proposition1.1 and Theorem6.1, lines20-26,281-315: Flat transport of regular sequences and regular local parameters.

Regular local rings (AG-CA), Proposition3.3 and consequence, lines185-197: Polynomial regularity over every field.

Krull dimension and Noether normalization (AG-CA), Theorem6.1, lines205-228: Pointwise dimension = local dimension plus residue transcendence degree.

Quasi-finite morphisms and Chevalley’s theorem (AG-MO), Theorem1.1, lines13-27: Quasi-finite points have finite residue extension and zero-dimensional local fibre.

Write p for the point in affine d-space. Finite residue extension identifies the two residue transcendence degrees. Thus source pointwise dimension d is equivalent to equality of source and target local dimensions. CM plus that equality gives flatness by Corollary7.1. Conversely flatness gives the same local dimension by the zero-dimensional-fibre formula; a regular parameter sequence of the target stays regular in the source by flatness, so depth reaches the source dimension and the source is CM. The dimension identity then gives pointwise dimension d. This deduction treats all geometric characteristics and nonreduced fibres.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Openness of the flat locus

Written exact provider. Native locator: algebra.tex / theorem-openness-flatness.

The flat locus of a finitely presented module over a finitely presented base algebra is open.

Flatness criteria, dimension and the flat locus (AG-FSE), Theorem6.4, lines289-295: Arbitrary base ring, finitely presented algebra and module.

The exact arbitrary-base theorem has its actual written finite-model proof; the Noetherian Theorem5.2 alone is not the provider.

Henselian rings

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-uniqueness-henselian.

Two henselian local ind-etale R-algebras identified with the same residue field are uniquely isomorphic compatibly.

The same-residue henselization case is written, but the exact native statement allows arbitrary R and a common residue field extension K. No single exact general ind-etale uniqueness provider was established; do not substitute only the henselization universal property without the needed lifting/colimit deduction.

Composition and étale morphisms

Unbound lower prerequisite. Native locator: algebra.tex / lemma-composition-colimit-etale.

Composition stability for individual etale maps is written, but the exact filtered-colimit composition theorem needs a finite-presentation descent argument not identified as a matching printed provider.

Henselian rings and finite algebras

Written provider and explicit deduction. Native locator: algebra.tex / lemma-finite-over-henselian.

Finite algebras over a henselian local base split into henselian local factors; every quasi-finite point over the closed point has a finite henselian localization.

Henselian local rings and henselization (AG-CA), Proposition3.1, lines97-101: Arbitrary henselian local base and finite algebras.

Étale neighbourhoods, henselization and quasi-finite morphisms (AG-FSE), Lemma4.1, lines120-139: Arbitrary henselian local base and finite-type algebra.

The finite-part lemma gives exactly a finite local factor for each isolated closed-fibre point. Its local ring at that point is that factor, so Proposition3.1 makes it finite henselian. This covers all four native parts; preserve its actual algebraic Zariski Main dependency.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Filtered limits and henselian rings

Written exact provider. Native locator: algebra.tex / lemma-colimit-henselian.

Filtered colimits along local maps preserve henselianity and strict henselianity.

Henselian local rings and henselization (AG-CA), Proposition3.2, lines103-107: Arbitrary local rings and filtered local maps.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Finite presentation and Noetherian rings

Written provider and explicit deduction. Native locator: algebra.tex / lemma-Noetherian-finite-type-is-finite-presentation.

Finite modules are finitely presented, their submodules are finite, and finite-type algebras are finitely presented over a Noetherian ring.

Noetherian and Artinian rings (AG-CA), Theorem1.1, Proposition1.2 and Theorem2.1, lines15-59; also differential lesson line166: Noetherian base; finite modules and finite-type algebras.

Finite free presentation kernels are finite by Proposition1.2; polynomial presentation kernels are finite by Hilbert basis. Line166 of Kahler differentials states the algebra consequence expressly.

Finite presentation and tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / proposition-fp-tensor.

No exact written or genuinely assigned provider for the full tensor/product characterization of finite presentation was established.

Tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / proposition-fg-tensor.

No exact written or genuinely assigned provider for the full tensor/product characterization of finite generation was established.

Tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / lemma-flip-tensor-product.

No exact programme provider for the complete symmetry/distribution/unit triple was established in the bounded search.

Modules and tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / lemma-tensor-with-bimodule.

No exact programme provider for the full bimodule associativity statement was established.

Finite algebras

Unbound lower prerequisite. Native locator: algebra.tex / lemma-produce-finite.

No exact matching finite-neighbourhood production claim with the stated integral intermediate algebra and invertible fibre element was established.

Étale morphisms and derived tensor products and Tor amplitude

Unbound lower prerequisite. Native locator: algebra.tex / lemma-factor-mod-lift-etale.

Henselian factor lifting is written, but the native statement constructs a same-residue etale base neighbourhood from an arbitrary base; no exact construction provider was established in this pass.

Prime spectra and associated points

Unbound lower prerequisite. Native locator: algebra.tex / lemma-ring-with-only-minimal-primes.

Artinian decomposition is not the arbitrary-ring eight-way equivalence for zero-dimensional affine spectra. No exact matching ordinary programme provider was found.

Filtered limits and commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-directed-colimit.

The henselization lesson explains the explicit filtered-colimit element construction at lines132 and156, but no complete standalone arbitrary-preordered-module-system provider was established.

Derived Hom, Ext and tensor products and direct sums

Unbound lower prerequisite. Native locator: algebra.tex / lemma-hom-from-tensor-product.

No exact current programme theorem/file for the full tensor-Hom adjunction was established in the bounded search; a label in a prerequisite list is not sufficient.

Modules

Unbound lower prerequisite. Native locator: algebra.tex / lemma-cover-module.

Affine module sheaf-gluing is a related existing geometric construction, but no exact predecessor theorem for this arbitrary-module finite standard-open equalizer was established.

Functoriality of affine spectra

Written exact provider. Native locator: algebra.tex / lemma-spec-functorial.

Contraction of primes defines a continuous contravariant spectrum functor.

Spectra of rings (AG-CA), Section3, lines96-103: Arbitrary ring map.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Cotangent complexes and differentials

Written provider and explicit deduction. Native locator: algebra.tex / lemma-differential-mod-power-ideal.

Modding out by I^(n+1) does not change differentials after tensoring with S/I^n.

Kähler differentials (AG-CA), Theorem3.3 and proof, lines99-108: Arbitrary ring map and arbitrary ideal.

The conormal kernel is generated by d(I^(n+1)). Leibniz expresses each such differential with coefficients in I^n, so its image after tensoring with S/I^n is zero. Right exactness gives the exact native isomorphism for every n>=1.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Formal smoothness and smooth morphisms

Written exact provider. Native locator: algebra.tex / lemma-polynomial-ring-formally-smooth.

Polynomial rings are formally smooth.

Formally smooth, unramified and étale ring maps (AG-CA), Theorem1.2, lines23-31: Arbitrary base and any set of polynomial variables.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Finite algebras

Written provider and explicit deduction. Native locator: algebra.tex / lemma-finite-residue-extension-closed.

A prime over a maximal base ideal with algebraic residue extension is maximal.

Integral extensions: lying over, going up and going down (AG-CA), Lemma3.1, lines122-124: Integral inclusions of domains.

The domain S/q contains the base field R/m and is algebraic over it, hence integral over it. The written integral-domain/field equivalence makes S/q a field. No finite-type hypothesis is added.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Dimension, codimension and field extensions

Written exact provider. Native locator: algebra.tex / lemma-dimension-closed-point-finite-type-field.

At a closed point of a finite-type field scheme, pointwise dimension equals local-ring dimension.

Krull dimension and Noether normalization (AG-CA), Theorem6.1 and closed-point consequence, lines205-228: Any finite-type algebra over any field, including reducible and nonreduced.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-jacobson.

The algebraic Jacobson-ring condition equals the topological Jacobson-spectrum condition.

The Nullstellensatz and Jacobson rings (AG-CA), Proposition3.1, lines98-108: Arbitrary commutative ring.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Field extensions and finite algebras

Written exact provider. Native locator: algebra.tex / lemma-finite-type-field-Jacobson.

Every finite-type algebra over a field is Jacobson.

The Nullstellensatz and Jacobson rings (AG-CA), Theorem2.2, lines58-96; alternatively Theorem4.2, lines128-147: Arbitrary field and finite-type algebra.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-easy-ff.

Faithfully flat tensoring detects zero module maps.

Faithful flatness and the local criterion for flatness (AG-CA), Theorem1.1 and consequence, lines20-33: Arbitrary ring and flat module.

Line33 identifies the tensor image with the image tensored and proves zero-map reflection. Conversely testing identities gives faithful nonzero-module detection from Theorem1.1.

Derived tensor products and Tor amplitude

Unbound lower prerequisite. Native locator: algebra.tex / lemma-surjective-on-tor-one.

Long exact Tor and balanced Tor are written, but the exact change-of-rings surjection with flat pulled-back M was not identified as a complete programme proof.

Derived tensor products and Tor amplitude

Unbound lower prerequisite. Native locator: algebra.tex / lemma-surjective-on-tor-one-trivial.

The exact quotient change-of-rings Tor1 surjection was not identified in a written programme theorem; Tor balance alone is insufficient.

Field extensions

Written provider and explicit deduction. Native locator: fields.tex / lemma-subalgebra-algebraic-extension-field.

Every intermediate subring of an algebraic field extension is a field.

Integral extensions: lying over, going up and going down (AG-CA), Lemma3.1, lines122-124: Integral inclusions of domains.

If F subset R subset E and E/F is algebraic, E is integral over R using its monic equations over F. Apply the direction B field implies A field to R subset E. This covers infinite algebraic extensions.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Noetherian rings

Written exact provider. Native locator: algebra.tex / lemma-obvious-Noetherian.

Finite-type algebras over a field or the integers are Noetherian.

Noetherian and Artinian rings (AG-CA), Theorem2.1, lines45-59: Noetherian base ring.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Cotangent complexes and differentials

Written provider and explicit deduction. Native locator: algebra.tex / lemma-differential-surjective.

A quotient in a commuting ring-map square gives a surjection on differentials, with kernel generated by derivatives of elements whose image lies in the new base.

Kähler differentials (AG-CA), Theorems3.1 and3.3, lines83-108: Arbitrary composable ring maps and quotient ideals.

First quotient the target algebra over the old base using the conormal sequence, then enlarge the base using the first fundamental sequence. A generator from the new base which is in the quotient target lifts to an old target element, giving exactly the stated kernel. Elements of the quotient ideal are included.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Closed support

Written exact provider. Native locator: algebra.tex / lemma-CM-ass-minimal-support.

A finite CM module has only minimal associated support primes and all such components have its support dimension.

Regular sequences, depth and Cohen–Macaulay modules (AG-CA), Theorem4.1, lines194-203: Finite CM module over a Noetherian local ring.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Prime spectra and associated points

Unbound lower prerequisite. Native locator: algebra.tex / lemma-inherit-minimal-primes.

No exact existing proof or assignment was found for membership in Ass(M/x^n M) for some n of a prime minimal over p+(x). Associated-prime localization alone does not cover it.

Closed support

Written provider and explicit deduction. Native locator: algebra.tex / lemma-support-quotient.

Support of a finite module modulo I is its support intersected with V(I); submodules, quotients and exact sequences have the stated support calculus.

Localization, local properties and support (AG-CA), Proposition6.1, lines213-227; Theorem4.2 Nakayama, lines181-193: Arbitrary ring; finite M for the I-quotient formula.

Localize. If I avoids the prime the quotient is zero; otherwise I is in the local maximal ideal, and Nakayama makes M_p/I M_p nonzero exactly when M_p is nonzero. Exactness gives the other three assertions.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Commutative algebra

Written provider and explicit deduction. Native locator: algebra.tex / lemma-CM-over-quotient.

A finite module over a quotient of Noetherian local rings is CM over either ring simultaneously.

Regular sequences, depth and Cohen–Macaulay modules (AG-CA), Definition of regular sequences and Theorem2.3, lines11-18,96-125: Noetherian local ring and finite module.

Localization, local properties and support (AG-CA), Theorem3.1, lines119-144; Proposition6.1, lines213-227: Quotient prime correspondence and finite support.

Regular sequences act through the quotient and lift along the surjection, so depths agree. Prime/support correspondence preserves chains, so support dimensions agree. The depth-equals-support-dimension definition therefore agrees.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-permute-xi.

Regular sequences on finite modules over Noetherian local rings can be permuted.

Regular sequences, depth and Cohen–Macaulay modules (AG-CA), Proposition1.2, lines28-34: Nonzero finite module over a Noetherian local ring.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-good-element.

No exact provider for this source-defined good-element construction was established; the actual definitions and maximal regular sequence conditions cannot be inferred from the label.

Regular rings and dimension and codimension

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-finite-gl-dim-finite-dim-regular.

For a nonzero Noetherian ring, finite global dimension equals finite regular Krull dimension and the corresponding bounds on all localizations.

The source is a global arbitrary-module theorem. The local statements alone do not cover it. A uniform local bound plus finite-syzygy projectivity/localization deduction is needed; no exact written global theorem was identified in the inspected bodies.

Dimension, codimension and affine neighbourhoods

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-dim-affine-space.

A maximal ideal in k[x1,...,xn] is generated by n elements and has an n-dimensional regular local ring.

The regular-local conclusion is explicitly written, including inseparable residue fields. Its minimal local parameter count does not itself prove that the maximal ideal is globally generated by n polynomial elements; the full native global-generator assertion remains unbound.

Derived Hom, Ext and proper morphisms

Unbound lower prerequisite. Native locator: algebra.tex / lemma-graded-ext-properties.

Ordinary Tor/Ext and some projective-space graded calculations are written, but the entire exact six-part graded Ext statement, including forgetful comparison and polynomial global-dimension range, was not bound.

Dimension, codimension and field extensions

Partial written provider; the remaining claim is unbound. Native locator: algebra.tex / lemma-dimension-at-a-point-finite-type-over-field.

Pointwise dimension equals the maximum component dimension through the point and the minimum local dimension over containing maximal ideals.

The maximum-component equality and closed-point formula are explicitly written. The minimum over maximal ideals containing p requires choosing a closed specialization avoiding the larger unwanted components; that complete third equality was not established as a written locus in the bounded provider pass.

Dimension and codimension

Written exact provider. Native locator: algebra.tex / lemma-dimension-spell-it-out.

Every maximal localization of a finite-type field domain has its full dimension.

Krull dimension and Noether normalization (AG-CA), Corollary4.4, lines166-173; Theorem5.1, lines175-203: Finite-type domain over any field.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-ci-well-defined.

Regular quotients and expected-dimension regular-sequence criteria are written, but no exact real provider for independence of the regular local presentation of a complete intersection was established.

Local algebra

Unbound lower prerequisite. Native locator: algebra.tex / lemma-isomorphic-local-rings.

No exact matching existing provider for spreading an isomorphism of two finitely presented local algebras to principal neighbourhoods was found.

Dimension, codimension and finite algebras

Written provider and explicit deduction. Native locator: algebra.tex / lemma-dimension-inequality-quasi-finite.

For an arbitrary finite-type ring map quasi-finite at q over p, the local source dimension is at most the local base dimension.

Zariski's Main Theorem (AG-MO), Theorem1.1 and Sections1-2: Arbitrary finite-type algebra isolated-point integral-closure localization.

Étale neighbourhoods, henselization and quasi-finite morphisms (AG-FSE), Lemma4.1 proof substep, line131: The finite integral subalgebra construction itself uses only the localization supplied by algebraic Zariski Main; henselianity enters afterwards.

Integral extensions: lying over, going up and going down (AG-CA), Theorem3.3, lines140-149: Incomparability for arbitrary integral ring maps.

Choose the integral-closure element g avoiding q with S_g = S-prime_g. The finite numerator construction at line131 gives a finite integral base algebra C with C_g = S_g, using one point and no henselian hypothesis. The local ring S_q is C at the corresponding prime. Every strict prime chain below that prime contracts to a strict chain below p by integral incomparability, proving the dimension inequality even for arbitrary non-Noetherian bases. Keep the actual algebraic Zariski Main lower dependency state.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Finite algebras

Unbound lower prerequisite. Native locator: algebra.tex / lemma-quasi-finite-open.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Commutative algebra

Written exact provider. Native locator: algebra.tex / lemma-grothendieck.

A nonzerodivisor in the closed fibre of a flat local Noetherian map lifts to a nonzerodivisor, and its quotient is flat.

Faithful flatness and the local criterion for flatness (AG-CA), Theorem5.2, lines237-239: Flat local Noetherian ring map.

If f is a unit the source assertion is immediate; otherwise the local hypotheses put f in the source maximal ideal and the written theorem applies.

Finite algebras

Written provider and explicit deduction. Native locator: fields.tex / lemma-algebraic-finitely-generated.

An algebraic field extension generated by finitely many elements is finite.

Integral extensions: lying over, going up and going down (AG-CA), Theorems1.1-1.2 and Lemma3.1, lines20-59,122-124: Finite-type integral algebras and domains over fields.

The algebra generated by the algebraic elements is finite over the base field by integral finite-type finiteness. It is a finite-dimensional domain and hence a field by Lemma3.1, so is the stated generated field.

Bind this finite chain, and include the stated routine deduction if the reader requires an explicit bridge; do not claim that one narrower theorem alone states the full native claim.

Lifting the geometric construction

Unbound lower prerequisite. Native locator: topology.tex / lemma-lift-specialization-composition.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Lifting the geometric construction

Unbound lower prerequisite. Native locator: topology.tex / lemma-lift-specializations-images.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

The geometric construction

Unbound lower prerequisite. Native locator: categories.tex / lemma-directed-category-system.

No exact genuinely assigned or written ordinary programme provider for the source category-to-directed-system replacement lemma was established.

The geometric construction

Unbound lower prerequisite. Native locator: topology.tex / lemma-closed-open-map-specialization.

No exact existing written or genuinely assigned programme provider was established in this bounded title/statement/plan reconciliation. A related topic is not asserted to own the entire native claim.

Cofinality and colimits

Unbound lower prerequisite. Native locator: categories.tex / lemma-cofinal.

No exact genuinely assigned or written ordinary programme provider for this native cofinality lemma was established.

Cofinal subcategories of filtered categories

Unbound lower prerequisite. Native locator: categories.tex / lemma-cofinal-in-filtered.

No exact genuinely assigned or written ordinary programme provider for this filtered-category cofinality lemma was established.

Complete rings, formal power series and regular rings

Written exact provider. Native locator: algebra.tex / lemma-regular-complete-containing-coefficient-field.

A complete Noetherian regular local ring in equal characteristic is a power-series ring over its residue field, respecting a specified coefficient field.

Coefficient rings and the Cohen structure theorem (AG-CA), Corollary6.2 and proof, lines163-165; power-series map in Theorem6.1 lines149-159: Complete regular local ring, equal characteristic, arbitrary residue field.

For a prescribed coefficient field use that given map in the written construction of Phi; its dimension argument proves injectivity. No perfectness restriction is introduced.

Commutative algebra

Written exact provider. Native locator: algebra.tex / theorem-cohen-structure-theorem.

A complete local ring has a coefficient ring, and a finite maximal ideal gives a quotient of a finite-variable power-series ring over a field or Cohen ring.

Coefficient rings and the Cohen structure theorem (AG-CA), Theorems5.1 and6.1, lines121-161: Every complete local ring; finite maximal ideal only for the power-series presentation.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Formal smoothness and smooth morphisms

Written subargument at the stated scope. Native locator: algebra.tex / lemma-cohen-ring-formally-smooth.

For every Cohen ring and n>=1 its quotient modulo p^n is formally smooth over Z/p^n.

Coefficient rings and the Cohen structure theorem (AG-CA), Theorem4.1 and proof, lines82-106: Any Cohen ring, any residue field, every n>=1.

The formal-smoothness proof after construction uses only the DVR Cohen-ring properties, its arbitrary residue field, Lemma1.1 and flatness. It is not restricted to a perfect residue field or to the displayed construction.

Complete rings, formal power series and Noetherian rings

Written exact provider. Native locator: algebra.tex / lemma-completion-Noetherian-Noetherian.

The completion of a Noetherian ring along any ideal is Noetherian.

Completion (AG-CA), Theorem3.3, lines137-158: Noetherian ring and arbitrary ideal.

The actual stated scope matches this exact native claim; its local written argument is present. Provider prerequisites retain their actual state.

Commutative algebra

Unbound lower prerequisite. Native locator: algebra.tex / theorem-universally-exact-criteria.

The exact six-equivalence purity theorem is not the short-exact-sequence-with-flat-quotient theorem. No exact current programme proof or genuinely assigned target covering all six conditions was established.

Derived categories

Partial written provider; the remaining claim is unbound. Native locator: homology.tex / lemma-double-complex-gives-resolution.

A vertically resolving locally finite double complex over an arbitrary abelian category totalizes to a quasi-isomorphism, with the symmetric variant.

The native statement permits every abelian category and arbitrary horizontal indices with finite diagonals. The module/first-quadrant total-complex comparison is a genuine written special case, not the whole native theorem.

Mathematical foundation Still uncovered exact claims
Categories, topology and deformation groupoids 10
Schemes, limits and descent 1
Commutative algebra and field extensions 91
Derived modules, homological algebra and ringed sites 1

The accompanying conversion manifest lists every exact source label and its consumers. The full central constructions printed above are not reassigned to future work. A transitive proof-closure claim must wait for the listed lower obligations to be proved or bound to their exact existing programme providers.

Notation and numbered calculations

References to surrounding source sections, notation and numbered calculations retain stable anchors here. Their exact namespaces and correspondence appear in the accompanying manifest. Notation not reproduced in the reader retains its prerequisite status.

Sources and programme proofs

The human Stacks Project proofs and the AI Integrated Stacks edition are credited in the source notice. Stable invisible anchors retain every included statement, step and equation. Exact source correspondence and conversion checks accompany the reusable converter in the control record.

Existing programme proofs are cited only for the matched claims stated in their provider entries. A written provider retains its actual scope and its own dependencies; this conversion does not certify recursive closure.

The complete GNU Free Documentation License 1.2 accompanies this modified chapter. The incorporated human-source component is licensed under version 1.2 or any later version, with no Invariant Sections, Front-Cover Texts or Back-Cover Texts.

History

Source edition. The Stacks Project, by the Stacks Project authors, with its human-source copyright notice above; distributed in the AI Integrated Stacks Project, 2026 edition at revision 565b10e987aba5969b21145a0833f42d69f96790 (30 September 2026). The source publisher is the Stacks Project; the fork distribution and its separately credited AI changes are identified by the pinned repository and its retained source provenance. The source application notice supplies the licence grant, and the pinned transparent source preserves the incorporated source files and their prior network locations.

Modified course edition. Algebraic spaces and stacks — Artin's axioms, October 2026, published by the Open Math Courses project, KokunoYumeto/open-math-courses. Adapted and integrated by GPT-6.1 Sol (OpenAI), Codex, Ultra, 5–6 October 2026. The course integrates the full general Néron desingularization, G-ring permanence and marked-family approximation treatments; independently expressed Artin–Rees perturbation supplies the exact graded comparison. The reader conversion repairs display delimiters and equivalent text controls while preserving formulas and proofs. Source authorship is retained; no AI copyright holder or human endorsement is asserted. The detailed source loci, exact edition and concrete corrections remain in this chapter. Original eligible expression is additionally dedicated to CC0; the complete inseparable modified chapter retains GFDL 1.2-or-later for component export.