The Stacks project, tag 01HJ, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/01HJ
Closed immersions of locally ringed spaces
We follow our conventions introduced in Modules, Definition 17.13.1.
Definition 26.4.1 (01HK) official page ↗
Let \(i : Z \to X\) be a morphism of locally ringed spaces. We say that \(i\) is a closed immersion if:
The map \(i\) is a homeomorphism of \(Z\) onto a closed subset of \(X\).
The map \(\mathcal{O}_X \to i_*\mathcal{O}_Z\) is surjective; let \(\mathcal{I}\) denote the kernel.
The \(\mathcal{O}_X\)-module \(\mathcal{I}\) is locally generated by sections.
Lemma 26.4.2 (01HL) official page ↗
Let \(f : Z \to X\) be a morphism of locally ringed spaces. In order for \(f\) to be a closed immersion it suffices that there exists an open covering \(X = \bigcup U_i\) such that each \(f : f^{-1}U_i \to U_i\) is a closed immersion.
Proof. Omitted.
Example 26.4.3 (01HM) official page ↗
Let \(X\) be a locally ringed space. Let \(\mathcal{I} \subset \mathcal{O}_X\) be a sheaf of ideals which is locally generated by sections as a sheaf of \(\mathcal{O}_X\)-modules. Let \(Z\) be the support of the sheaf of rings \(\mathcal{O}_X/\mathcal{I}\). This is a closed subset of \(X\), by Modules, Lemma 17.5.3. Denote \(i : Z \to X\) the inclusion map. By Modules, Lemma 17.6.1 there is a unique sheaf of rings \(\mathcal{O}_Z\) on \(Z\) with \(i_*\mathcal{O}_Z = \mathcal{O}_X/\mathcal{I}\). For any \(z \in Z\) the stalk \(\mathcal{O}_{Z, z}\) is equal to a quotient \(\mathcal{O}_{X, i(z)}/\mathcal{I}_{i(z)}\) of a local ring and nonzero, hence a local ring. Thus \(i : (Z, \mathcal{O}_Z) \to (X, \mathcal{O}_X)\) is a closed immersion of locally ringed spaces.
Definition 26.4.4 (01HN) official page ↗
Let \(X\) be a locally ringed space. Let \(\mathcal{I}\) be a sheaf of ideals on \(X\) which is locally generated by sections. The locally ringed space \((Z, \mathcal{O}_Z)\) of Example 26.4.3 above is the closed subspace of \(X\) associated to the sheaf of ideals \(\mathcal{I}\).
Lemma 26.4.5 (01HO) official page ↗
Let \(f : X \to Y\) be a closed immersion of locally ringed spaces. Let \(\mathcal{I}\) be the kernel of the map \(\mathcal{O}_Y \to f_*\mathcal{O}_X\). Let \(i : Z \to Y\) be the closed subspace of \(Y\) associated to \(\mathcal{I}\). There is a unique isomorphism \(f' : X \cong Z\) of locally ringed spaces such that \(f = i \circ f'\).
Proof. Omitted.
Lemma 26.4.6 (01HP) official page ↗
Let \(X\), \(Y\) be locally ringed spaces. Let \(\mathcal{I} \subset \mathcal{O}_X\) be a sheaf of ideals locally generated by sections. Let \(i : Z \to X\) be the associated closed subspace. A morphism \(f : Y \to X\) factors through \(Z\) if and only if the map \(f^*\mathcal{I} \to f^*\mathcal{O}_X = \mathcal{O}_Y\) is zero. If this is the case the morphism \(g : Y \to Z\) such that \(f = i \circ g\) is unique.
Proof. Clearly if \(f\) factors as \(Y \to Z \to X\) then the map \(f^*\mathcal{I} \to \mathcal{O}_Y\) is zero. Conversely suppose that \(f^*\mathcal{I} \to \mathcal{O}_Y\) is zero. Pick any \(y \in Y\), and consider the ring map \(f^\sharp_y : \mathcal{O}_{X, f(y)} \to \mathcal{O}_{Y, y}\). Since the composition \(\mathcal{I}_{f(y)} \to \mathcal{O}_{X, f(y)} \to \mathcal{O}_{Y, y}\) is zero by assumption and since \(f^\sharp_y(1) = 1\) we see that \(1 \not \in \mathcal{I}_{f(y)}\), i.e., \(\mathcal{I}_{f(y)} \not = \mathcal{O}_{X, f(y)}\). We conclude that \(f(Y) \subset Z = \text{Supp}(\mathcal{O}_X/\mathcal{I})\). Hence \(f = i \circ g\) where \(g : Y \to Z\) is continuous. Consider the map \(f^\sharp : \mathcal{O}_X \to f_*\mathcal{O}_Y\). The assumption \(f^*\mathcal{I} \to \mathcal{O}_Y\) is zero implies that the composition \(\mathcal{I} \to \mathcal{O}_X \to f_*\mathcal{O}_Y\) is zero by adjointness of \(f_*\) and \(f^*\). In other words, we obtain a morphism of sheaves of rings \(\overline{f^\sharp} : \mathcal{O}_X/\mathcal{I} \to f_*\mathcal{O}_Y\). Note that \(f_*\mathcal{O}_Y = i_*g_*\mathcal{O}_Y\) and that \(\mathcal{O}_X/\mathcal{I} = i_*\mathcal{O}_Z\). By Sheaves, Lemma 6.32.4 we obtain a unique morphism of sheaves of rings \(g^\sharp : \mathcal{O}_Z \to g_*\mathcal{O}_Y\) whose pushforward under \(i\) is \(\overline{f^\sharp}\). We omit the verification that \((g, g^\sharp)\) defines a morphism of locally ringed spaces and that \(f = i \circ g\) as a morphism of locally ringed spaces. The uniqueness of \((g, g^\sharp)\) was pointed out above.
Lemma 26.4.7 (01HQ) official page ↗
Let \(f : X \to Y\) be a morphism of locally ringed spaces. Let \(\mathcal{I} \subset \mathcal{O}_Y\) be a sheaf of ideals which is locally generated by sections. Let \(i : Z \to Y\) be the closed subspace associated to the sheaf of ideals \(\mathcal{I}\). Let \(\mathcal{J}\) be the image of the map \(f^*\mathcal{I} \to f^*\mathcal{O}_Y = \mathcal{O}_X\). Then this ideal is locally generated by sections. Moreover, let \(i' : Z' \to X\) be the associated closed subspace of \(X\). There exists a unique morphism of locally ringed spaces \(f' : Z' \to Z\) such that the following diagram is a commutative square of locally ringed spaces \[\xymatrix{ Z' \ar[d]_{f'} \ar[r]_{i'} & X \ar[d]^f \\ Z \ar[r]^{i} & Y }\] Moreover, this diagram is a fibre square in the category of locally ringed spaces.
Proof. The ideal \(\mathcal{J}\) is locally generated by sections by Modules, Lemma 17.8.2. The rest of the lemma follows from the characterization, in Lemma 26.4.6 above, of what it means for a morphism to factor through a closed subspace.