The Stacks project, tag 06RH, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/06RH
An epimorphism of zero-dimensional rings which is not surjective
In [Lazard-deux] and [Autour] one can find the following example. Let \(k\) be a field. Consider the ring homomorphism \[k[x_1, x_2, \ldots, z_1, z_2, \ldots]/ (x_i^{4^i}, z_i^{4^i}) \longrightarrow k[x_1, x_2, \ldots, y_1, y_2, \ldots]/ (x_i^{4^i}, y_i - x_{i + 1}y_{i + 1}^2)\] which maps \(x_i\) to \(x_i\) and \(z_i\) to \(x_iy_i\). Note that \(y_i^{4^{i + 1}}\) is zero in the right hand side but that \(y_1\) is not zero (details omitted). This map is not surjective: we can think of the above as a map of \(\mathbf{Z}\)-graded algebras by setting \(\deg(x_i) = -1\), \(\deg(z_i) = 0\), and \(\deg(y_i) = 1\) and then it is clear that \(y_1\) is not in the image. Finally, the map is an epimorphism because \[y_{i - 1} \otimes 1 = x_i y_i^2 \otimes 1 = y_i \otimes x_i y_i = x_i y_i \otimes y_i = 1 \otimes x_i y_i^2.\] hence the tensor product of the target over the source is isomorphic to the target.
Lemma 110.36.1 (06RI) official page ↗
There exists an epimorphism of local rings of dimension \(0\) which is not a surjection.
Proof. See discussion above.