Stacks project reader · Constructions of Schemes · Search · Suggestions (AI)

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

Relative spectrum as a functor

We place ourselves in Situation 27.3.1, i.e., \(S\) is a scheme and \(\mathcal{A}\) is a quasi-coherent sheaf of \(\mathcal{O}_S\)-algebras.

For any \(f : T \to S\) the pullback \(f^*\mathcal{A}\) is a quasi-coherent sheaf of \(\mathcal{O}_T\)-algebras. We are going to consider pairs \((f : T \to S, \varphi)\) where \(f\) is a morphism of schemes and \(\varphi : f^*\mathcal{A} \to \mathcal{O}_T\) is a morphism of \(\mathcal{O}_T\)-algebras. Note that this is the same as giving a \(f^{-1}\mathcal{O}_S\)-algebra homomorphism \(\varphi : f^{-1}\mathcal{A} \to \mathcal{O}_T\), see Sheaves, Lemma 6.20.2. This is also the same as giving an \(\mathcal{O}_S\)-algebra map \(\varphi : \mathcal{A} \to f_*\mathcal{O}_T\), see Sheaves, Lemma 6.24.7. We will use all three ways of thinking about \(\varphi\), without further mention.

Given such a pair \((f : T \to S, \varphi)\) and a morphism \(a : T' \to T\) we get a second pair \((f' = f \circ a, \varphi' = a^*\varphi)\) which we call the pullback of \((f, \varphi)\). One way to describe \(\varphi' = a^*\varphi\) is as the composition \(\mathcal{A} \to f_*\mathcal{O}_T \to f'_*\mathcal{O}_{T'}\) where the second map is \(f_*a^\sharp\) with \(a^\sharp : \mathcal{O}_T \to a_*\mathcal{O}_{T'}\). In this way we have defined a functor \[\begin{eqnarray} F : \Sch^{opp} & \longrightarrow & \textit{Sets} \\ T & \longmapsto & F(T) = \{\text{pairs }(f, \varphi) \text{ as above}\} \nonumber \end{eqnarray}\]

Lemma 27.4.1 (01LS) official page ↗

In Situation 27.3.1. Let \(F\) be the functor associated to \((S, \mathcal{A})\) above. Let \(g : S' \to S\) be a morphism of schemes. Set \(\mathcal{A}' = g^*\mathcal{A}\). Let \(F'\) be the functor associated to \((S', \mathcal{A}')\) above. Then there is a canonical isomorphism \[F' \cong h_{S'} \times_{h_S} F\] of functors.

Proof. A pair \((f' : T \to S', \varphi' : (f')^*\mathcal{A}' \to \mathcal{O}_T)\) is the same as a pair \((f, \varphi : f^*\mathcal{A} \to \mathcal{O}_T)\) together with a factorization of \(f\) as \(f = g \circ f'\). Namely with this notation we have \((f')^* \mathcal{A}' = (f')^*g^*\mathcal{A} = f^*\mathcal{A}\). Hence the lemma.

Lemma 27.4.2 (01LT) official page ↗

In Situation 27.3.1. Let \(F\) be the functor associated to \((S, \mathcal{A})\) above. If \(S\) is affine, then \(F\) is representable by the affine scheme \(\Spec(\Gamma(S, \mathcal{A}))\).

Proof. Write \(S = \Spec(R)\) and \(A = \Gamma(S, \mathcal{A})\). Then \(A\) is an \(R\)-algebra and \(\mathcal{A} = \widetilde A\). The ring map \(R \to A\) gives rise to a canonical map \[f_{univ} : \Spec(A) \longrightarrow S = \Spec(R).\] We have \(f_{univ}^*\mathcal{A} = \widetilde{A \otimes_R A}\) by Schemes, Lemma 26.7.3. Hence there is a canonical map \[\varphi_{univ} : f_{univ}^*\mathcal{A} = \widetilde{A \otimes_R A} \longrightarrow \widetilde A = \mathcal{O}_{\Spec(A)}\] coming from the \(A\)-module map \(A \otimes_R A \to A\), \(a \otimes a' \mapsto aa'\). We claim that the pair \((f_{univ}, \varphi_{univ})\) represents \(F\) in this case. In other words we claim that for any scheme \(T\) the map \[\Mor(T, \Spec(A)) \longrightarrow \{\text{pairs } (f, \varphi)\},\quad a \longmapsto (f_{univ} \circ a, a^*\varphi_{univ})\] is bijective.

Let us construct the inverse map. For any pair \((f : T \to S, \varphi)\) we get the induced ring map \[\xymatrix{ A = \Gamma(S, \mathcal{A}) \ar[r]^{f^*} & \Gamma(T, f^*\mathcal{A}) \ar[r]^{\varphi} & \Gamma(T, \mathcal{O}_T) }\] This induces a morphism of schemes \(T \to \Spec(A)\) by Schemes, Lemma 26.6.4.

The verification that this map is inverse to the map displayed above is omitted.

Lemma 27.4.3 (01LU) official page ↗

In Situation 27.3.1. The functor \(F\) is representable by a scheme.

Proof. We are going to use Schemes, Lemma 26.15.4.

First we check that \(F\) satisfies the sheaf property for the Zariski topology. Namely, suppose that \(T\) is a scheme, that \(T = \bigcup_{i \in I} U_i\) is an open covering, and that \((f_i, \varphi_i) \in F(U_i)\) such that \((f_i, \varphi_i)|_{U_i \cap U_j} = (f_j, \varphi_j)|_{U_i \cap U_j}\). This implies that the morphisms \(f_i : U_i \to S\) glue to a morphism of schemes \(f : T \to S\) such that \(f|_{U_i} = f_i\), see Schemes, Section 26.14. Thus \(f_i^*\mathcal{A} = f^*\mathcal{A}|_{U_i}\) and by assumption the morphisms \(\varphi_i\) agree on \(U_i \cap U_j\). Hence by Sheaves, Section 6.33 these glue to a morphism of \(\mathcal{O}_T\)-algebras \(f^*\mathcal{A} \to \mathcal{O}_T\). This proves that \(F\) satisfies the sheaf condition with respect to the Zariski topology.

Let \(S = \bigcup_{i \in I} U_i\) be an affine open covering. Let \(F_i \subset F\) be the subfunctor consisting of those pairs \((f : T \to S, \varphi)\) such that \(f(T) \subset U_i\).

We have to show each \(F_i\) is representable. This is the case because \(F_i\) is identified with the functor associated to \(U_i\) equipped with the quasi-coherent \(\mathcal{O}_{U_i}\)-algebra \(\mathcal{A}|_{U_i}\), by Lemma 27.4.1. Thus the result follows from Lemma 27.4.2.

Next we show that \(F_i \subset F\) is representable by open immersions. Let \((f : T \to S, \varphi) \in F(T)\). Consider \(V_i = f^{-1}(U_i)\). It follows from the definition of \(F_i\) that given \(a : T' \to T\) we have \(a^*(f, \varphi) \in F_i(T')\) if and only if \(a(T') \subset V_i\). This is what we were required to show.

Finally, we have to show that the collection \((F_i)_{i \in I}\) covers \(F\). Let \((f : T \to S, \varphi) \in F(T)\). Consider \(V_i = f^{-1}(U_i)\). Since \(S = \bigcup_{i \in I} U_i\) is an open covering of \(S\) we see that \(T = \bigcup_{i \in I} V_i\) is an open covering of \(T\). Moreover \((f, \varphi)|_{V_i} \in F_i(V_i)\). This finishes the proof of the lemma.

Lemma 27.4.4 (01LV) official page ↗

In Situation 27.3.1. The scheme \(\pi : \underline{\Spec}_S(\mathcal{A}) \to S\) constructed in Lemma 27.3.4 and the scheme representing the functor \(F\) are canonically isomorphic as schemes over \(S\).

Proof. Let \(X \to S\) be the scheme representing the functor \(F\). Consider the sheaf of \(\mathcal{O}_S\)-algebras \(\mathcal{R} = \pi_*\mathcal{O}_{\underline{\Spec}_S(\mathcal{A})}\). By construction of \(\underline{\Spec}_S(\mathcal{A})\) we have isomorphisms \(\mathcal{A}(U) \to \mathcal{R}(U)\) for every affine open \(U \subset S\); this follows from Lemma 27.3.4 part (1). For \(U \subset U' \subset S\) open these isomorphisms are compatible with the restriction mappings; this follows from Lemma 27.3.4 part (2). Hence by Sheaves, Lemma 6.30.13 these isomorphisms result from an isomorphism of \(\mathcal{O}_S\)-algebras \(\varphi : \mathcal{A} \to \mathcal{R}\). Hence this gives an element \((\pi, \varphi) \in F(\underline{\Spec}_S(\mathcal{A}))\). Since \(X\) represents the functor \(F\) we get a corresponding morphism of schemes \(can : \underline{\Spec}_S(\mathcal{A}) \to X\) over \(S\).

Let \(U \subset S\) be any affine open. Let \(F_U \subset F\) be the subfunctor of \(F\) corresponding to pairs \((f, \varphi)\) over schemes \(T\) with \(f(T) \subset U\). Clearly the base change \(X_U\) represents \(F_U\). Moreover, \(F_U\) is represented by \(\Spec(\mathcal{A}(U)) = \pi^{-1}(U)\) according to Lemma 27.4.2. In other words \(X_U \cong \pi^{-1}(U)\). We omit the verification that this identification is brought about by the base change of the morphism \(can\) to \(U\).

Definition 27.4.5 (01LW) official page ↗

Let \(S\) be a scheme. Let \(\mathcal{A}\) be a quasi-coherent sheaf of \(\mathcal{O}_S\)-algebras. The relative spectrum of \(\mathcal{A}\) over \(S\), or simply the spectrum of \(\mathcal{A}\) over \(S\) is the scheme constructed in Lemma 27.3.4 which represents the functor \(F\) (27.4.0.1), see Lemma 27.4.4. We denote it \(\pi : \underline{\Spec}_S(\mathcal{A}) \to S\). The “universal family” is a morphism of \(\mathcal{O}_S\)-algebras \[\mathcal{A} \longrightarrow \pi_*\mathcal{O}_{\underline{\Spec}_S(\mathcal{A})}\]

The following lemma says among other things that forming the relative spectrum commutes with base change.

Lemma 27.4.6 (01LX) official page ↗

Let \(S\) be a scheme. Let \(\mathcal{A}\) be a quasi-coherent sheaf of \(\mathcal{O}_S\)-algebras. Let \(\pi : \underline{\Spec}_S(\mathcal{A}) \to S\) be the relative spectrum of \(\mathcal{A}\) over \(S\).

  1. For every affine open \(U \subset S\) the inverse image \(\pi^{-1}(U)\) is affine.

  2. For every morphism \(g : S' \to S\) we have \(S' \times_S \underline{\Spec}_S(\mathcal{A}) = \underline{\Spec}_{S'}(g^*\mathcal{A})\).

  3. The universal map \[\mathcal{A} \longrightarrow \pi_*\mathcal{O}_{\underline{\Spec}_S(\mathcal{A})}\] is an isomorphism of \(\mathcal{O}_S\)-algebras.

Proof. Part (1) comes from the description of the relative spectrum by glueing, see Lemma 27.3.4. Part (2) follows immediately from Lemma 27.4.1. Part (3) follows because it is local on \(S\) and it is clear in case \(S\) is affine by Lemma 27.4.2 for example.

Lemma 27.4.7 (01LY) official page ↗

Let \(f : X \to S\) be a quasi-compact and quasi-separated morphism of schemes. By Schemes, Lemma 26.24.1 the sheaf \(f_*\mathcal{O}_X\) is a quasi-coherent sheaf of \(\mathcal{O}_S\)-algebras. There is a canonical morphism \[can : X \longrightarrow \underline{\Spec}_S(f_*\mathcal{O}_X)\] of schemes over \(S\). For any affine open \(U \subset S\) the restriction \(can|_{f^{-1}(U)}\) is identified with the canonical morphism \[f^{-1}(U) \longrightarrow \Spec(\Gamma(f^{-1}(U), \mathcal{O}_X))\] coming from Schemes, Lemma 26.6.4.

Proof. The morphism comes, via the definition of \(\underline{\Spec}\) as the scheme representing the functor \(F\), from the canonical map \(\varphi : f^*f_*\mathcal{O}_X \to \mathcal{O}_X\) (which by adjointness of push and pull corresponds to \(\text{id} : f_*\mathcal{O}_X \to f_*\mathcal{O}_X\)). The statement on the restriction to \(f^{-1}(U)\) follows from the description of the relative spectrum over affines, see Lemma 27.4.2.