Suggested expansion of tag 01I1
Lemma 26.6.4 (01I1): the tag on this site · official page ↗
The text in the AI-integrated edition
Lemma
Reference: A reference for this fact is [EGA, II, Err 1, Prop. 1.8.1] where it is attributed to J. Tate. The coordinate-function criterion in the classical reduced setting appears in [FAC, Chapter II, §1, no. 32, Proposition 5, p. 225].
Let \(X\) be a locally ringed space. Let \(Y\) be an affine scheme. The map \[\Mor(X, Y) \longrightarrow \Hom(\Gamma(Y, \mathcal{O}_Y), \Gamma(X, \mathcal{O}_X))\] which maps \(f\) to \(f^\sharp\) (on global sections) is bijective.
Proof. Since \(Y\) is affine we have \((Y, \mathcal{O}_Y) \cong (\Spec(R), \mathcal{O}_{\Spec(R)})\) for some ring \(R\). During the proof we will use facts about \(Y\) and its structure sheaf which are direct consequences of things we know about the spectrum of a ring, see e.g. Lemma 26.5.4.
Motivated by the lemmas above we construct the inverse map. Let \(\psi_Y : \Gamma(Y, \mathcal{O}_Y) \to \Gamma(X, \mathcal{O}_X)\) be a ring map. First, we define the corresponding map of spaces \[\Psi : X \longrightarrow Y\] by the rule of Lemma 26.6.1. In other words, given \(x \in X\) we define \(\Psi(x)\) to be the point of \(Y\) corresponding to the prime in \(\Gamma(Y, \mathcal{O}_Y)\) which is the inverse image of \(\mathfrak m_x\) under the composition \(\Gamma(Y, \mathcal{O}_Y) \xrightarrow{\psi_Y} \Gamma(X, \mathcal{O}_X) \to \mathcal{O}_{X, x}\).
We claim that the map \(\Psi : X \to Y\) is continuous. The standard opens \(D(g)\), for \(g \in \Gamma(Y, \mathcal{O}_Y)\) are a basis for the topology of \(Y\). Thus it suffices to prove that \(\Psi^{-1}(D(g))\) is open. By construction of \(\Psi\) the inverse image \(\Psi^{-1}(D(g))\) is exactly the set \(D(\psi_Y(g)) \subset X\) which is open by Lemma 26.6.2. Hence \(\Psi\) is continuous.
Next we construct a \(\Psi\)-map of sheaves from \(\mathcal{O}_Y\) to \(\mathcal{O}_X\). By Sheaves, Lemma 6.30.14 it suffices to define ring maps \(\psi_{D(g)} : \Gamma(D(g), \mathcal{O}_Y) \to \Gamma(\Psi^{-1}(D(g)), \mathcal{O}_X)\) compatible with restriction maps. We have a canonical isomorphism \(\Gamma(D(g), \mathcal{O}_Y) = \Gamma(Y, \mathcal{O}_Y)_g\), because \(Y\) is an affine scheme. Because \(\psi_Y(g)\) is invertible on \(D(\psi_Y(g))\) we see that there is a canonical map \[\Gamma(Y, \mathcal{O}_Y)_g \longrightarrow \Gamma(\Psi^{-1}(D(g)), \mathcal{O}_X) = \Gamma(D(\psi_Y(g)), \mathcal{O}_X)\] extending the map \(\psi_Y\) by the universal property of localization. Note that there is no choice but to take the canonical map here! And we take this, combined with the canonical identification \(\Gamma(D(g), \mathcal{O}_Y) = \Gamma(Y, \mathcal{O}_Y)_g\), to be \(\psi_{D(g)}\). This is compatible with localization since the restriction mapping on the affine schemes is defined in terms of the universal properties of localization also, see Lemmas 26.5.4 and 26.5.1.
Thus we have defined a morphism of ringed spaces \((\Psi, \psi) : (X, \mathcal{O}_X) \to (Y, \mathcal{O}_Y)\) recovering \(\psi_Y\) on global sections. To see that it is a morphism of locally ringed spaces we have to show that the induced maps on local rings \[\psi_x : \mathcal{O}_{Y, \Psi(x)} \longrightarrow \mathcal{O}_{X, x}\] are local. This follows immediately from the commutative diagram of the proof of Lemma 26.6.1 and the definition of \(\Psi\).
Finally, we have to show that the constructions \((\Psi, \psi) \mapsto \psi_Y\) and the construction \(\psi_Y \mapsto (\Psi, \psi)\) are inverse to each other. Clearly, \(\psi_Y \mapsto (\Psi, \psi) \mapsto \psi_Y\). Hence the only thing to prove is that given \(\psi_Y\) there is at most one pair \((\Psi, \psi)\) giving rise to it. The uniqueness of \(\Psi\) was shown in Lemma 26.6.1 and given the uniqueness of \(\Psi\) the uniqueness of the map \(\psi\) was pointed out during the course of the proof above.
Against the Stacks text (with the corrections)
--- Stacks (corrected)
+++ AI-integrated edition
@@ -0,0 +1,2 @@
+The coordinate-function criterion in the classical reduced setting
+appears in \cite[Chapter II, \S 1, no. 32, Proposition 5, p. 225]{FAC}.
From the AI-integrated Stacks edition (KokunoYumeto/unofficial-stacks-project-ai-drafts, commit 80b6208b). Corrections found by OpenAI Codex, GPT-5.6 Sol at effort Ultra, while translating the Stacks project into Chinese, Japanese, Korean and French, and integrated by GPT-6 Astra at effort Ultra; additions written mostly by GPT-6 Astra at effort Ultra, some by GPT-5.6 Sol at effort Ultra and checked by GPT-6 Astra, as that repository states. Shown here by the Stacks project reader (AI-produced by Claude Opus 5.5, Anthropic, at effort max).