Stacks project reader · Examples · Search · Suggestions (AI)

The Stacks project, tag 078B, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/078B

A locally closed subscheme which is not open in closed

This is a copy of Morphisms, Example 29.3.4. Here is an example of an immersion which is not a composition of an open immersion followed by a closed immersion. Let \(k\) be a field. Let \(X = \Spec(k[x_1, x_2, x_3, \ldots])\). Let \(U = \bigcup_{n = 1}^{\infty} D(x_n)\). Then \(U \to X\) is an open immersion. Consider the ideals \[I_n = (x_1^n, x_2^n, \ldots, x_{n - 1}^n, x_n - 1, x_{n + 1}, x_{n + 2}, \ldots) \subset k[x_1, x_2, x_3, \ldots][1/x_n].\] Note that \(I_n k[x_1, x_2, x_3, \ldots][1/x_nx_m] = (1)\) for any \(m \not = n\). Hence the quasi-coherent ideals \(\widetilde I_n\) on \(D(x_n)\) agree on \(D(x_nx_m)\), namely \(\widetilde I_n|_{D(x_nx_m)} = \mathcal{O}_{D(x_n x_m)}\) if \(n \not = m\). Hence these ideals glue to a quasi-coherent sheaf of ideals \(\mathcal{I} \subset \mathcal{O}_U\). Let \(Z \subset U\) be the closed subscheme corresponding to \(\mathcal{I}\). Thus \(Z \to X\) is an immersion.

We claim that we cannot factor \(Z \to X\) as \(Z \to \overline{Z} \to X\), where \(\overline{Z} \to X\) is closed and \(Z \to \overline{Z}\) is open. Namely, \(\overline{Z}\) would have to be defined by an ideal \(I \subset k[x_1, x_2, x_3, \ldots]\) such that \(I_n = I k[x_1, x_2, x_3, \ldots][1/x_n]\). But the only element \(f \in k[x_1, x_2, x_3, \ldots]\) which ends up in all \(I_n\) is \(0\)! Hence \(I\) does not exist.

The morphism \(Z \to X\) also gives an example of bad behaviour of scheme theoretic images of immersions. Namely, the arguments above show that the scheme theoretic image of the immersion \(Z \to X\) is \(X\). On the other hand, we see

  1. \(Z\) is not topologically dense in \(X\), and

  2. the scheme theoretic image of \(Z = Z \cap U \to U\) is just \(Z\). This is not equal to \(U \cap X = U\) and hence formation of the scheme theoretic image in this case does not commute with restrictions to opens.