The Stacks project, tag 0BDM, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0BDM
Applications
Mostly applications of cohomology and base change. In the future we may generalize these results to the situation discussed in Lemma 36.30.1.
Lemma 36.32.1 (0BDN) official page ↗
Let \(f : X \to S\) be a proper morphism of finite presentation. Let \(\mathcal{F}\) be an \(\mathcal{O}_X\)-module of finite presentation, flat over \(S\). For fixed \(i \in \mathbf{Z}\) consider the function \[\beta_i : S \to \{0, 1, 2, \ldots\},\quad s \longmapsto \dim_{\kappa(s)} H^i(X_s, \mathcal{F}_s)\] Then we have
formation of \(\beta_i\) commutes with arbitrary base change,
the functions \(\beta_i\) are upper semi-continuous, and
the level sets of \(\beta_i\) are locally constructible in \(S\).
Proof. By cohomology and base change (more precisely by Lemma 36.30.4) the object \(K = Rf_*\mathcal{F}\) is a perfect object of the derived category of \(S\) whose formation commutes with arbitrary base change. In particular we have \[H^i(X_s, \mathcal{F}_s) = H^i(K \otimes_{\mathcal{O}_S}^\mathbf{L} \kappa(s))\] Thus the lemma follows from Lemma 36.31.1.
Lemma 36.32.2 (0B9T) official page ↗
Let \(f : X \to S\) be a proper morphism of finite presentation. Let \(\mathcal{F}\) be an \(\mathcal{O}_X\)-module of finite presentation, flat over \(S\). The function \[s \longmapsto \chi(X_s, \mathcal{F}_s)\] is locally constant on \(S\). Formation of this function commutes with base change.
Proof. By cohomology and base change (more precisely by Lemma 36.30.4) the object \(K = Rf_*\mathcal{F}\) is a perfect object of the derived category of \(S\) whose formation commutes with arbitrary base change. Thus we have to show the map \[s \longmapsto \sum (-1)^i \dim_{\kappa(s)} H^i(K \otimes^\mathbf{L}_{\mathcal{O}_S} \kappa(s))\] is locally constant on \(S\). This is Lemma 36.31.2.
Lemma 36.32.3 (0B9S) official page ↗
Let \(f : X \to S\) be a proper morphism of finite presentation. Let \(\mathcal{F}\) be an \(\mathcal{O}_X\)-module of finite presentation, flat over \(S\). Fix \(i, r \in \mathbf{Z}\). Then there exists an open subscheme \(U \subset S\) with the following property: A morphism \(T \to S\) factors through \(U\) if and only if \(Rf_{T, *}\mathcal{F}_T\) is isomorphic to a finite locally free module of rank \(r\) placed in degree \(i\).
Proof. By cohomology and base change (more precisely by Lemma 36.30.4) the object \(K = Rf_*\mathcal{F}\) is a perfect object of the derived category of \(S\) whose formation commutes with arbitrary base change. Thus this lemma follows immediately from Lemma 36.31.3.
Lemma 36.32.4 (0D4E) official page ↗
Let \(f : X \to S\) be a morphism of finite presentation. Let \(\mathcal{F}\) be an \(\mathcal{O}_X\)-module of finite presentation, flat over \(S\) with support proper over \(S\). If \(R^if_*\mathcal{F} = 0\) for \(i > 0\), then \(f_*\mathcal{F}\) is locally free and its formation commutes with arbitrary base change (see proof for explanation).
Proof. By Lemma 36.30.1 the object \(E = Rf_*\mathcal{F}\) of \(D(\mathcal{O}_S)\) is perfect and its formation commutes with arbitrary base change, in the sense that \(Rf'_*(g')^*\mathcal{F} = Lg^*E\) for any cartesian diagram \[\xymatrix{ X' \ar[r]_{g'} \ar[d]_{f'} & X \ar[d]^f \\ S' \ar[r]^g & S }\] of schemes. Since there is never any cohomology in degrees \(< 0\), we see that \(E\) (locally) has tor-amplitude in \([0, b]\) for some \(b\). If \(H^i(E) = R^if_*\mathcal{F} = 0\) for \(i > 0\), then \(E\) has tor amplitude in \([0, 0]\). Whence \(E = H^0(E)[0]\). We conclude \(H^0(E) = f_*\mathcal{F}\) is finite locally free by More on Algebra, Lemma 15.76.2 (and the characterization of finite projective modules in Algebra, Lemma 10.78.2). Commutation with base change means that \(g^*f_*\mathcal{F} = f'_*(g')^*\mathcal{F}\) for a diagram as above and it follows from the already established commutation of base change for \(E\).
Lemma 36.32.5 (0E62) official page ↗
Let \(f : X \to S\) be a morphism of schemes. Assume
\(f\) is proper, flat, and of finite presentation, and
for all \(s \in S\) we have \(\kappa(s) = H^0(X_s, \mathcal{O}_{X_s})\).
Then we have
\(f_*\mathcal{O}_X = \mathcal{O}_S\) and this holds after any base change,
locally on \(S\) we have \[Rf_*\mathcal{O}_X = \mathcal{O}_S \oplus P\] in \(D(\mathcal{O}_S)\) where \(P\) is perfect of tor amplitude in \([1, \infty)\).
Proof. By cohomology and base change (Lemma 36.30.4) the complex \(E = Rf_*\mathcal{O}_X\) is perfect and its formation commutes with arbitrary base change. This first implies that \(E\) has tor amplitude in \([0, \infty)\). Second, it implies that for \(s \in S\) we have \(H^0(E \otimes^\mathbf{L} \kappa(s)) = H^0(X_s, \mathcal{O}_{X_s}) = \kappa(s)\). It follows that the map \(\mathcal{O}_S \to Rf_*\mathcal{O}_X = E\) induces an isomorphism \(\mathcal{O}_S \otimes \kappa(s) \to H^0(E \otimes^\mathbf{L} \kappa(s))\). Hence \(H^0(E) \otimes \kappa(s) \to H^0(E \otimes^\mathbf{L} \kappa(s))\) is surjective and we may apply More on Algebra, Lemma 15.78.2 to see that, after replacing \(S\) by an affine open neighbourhood of \(s\), we have a decomposition \(E = H^0(E) \oplus \tau_{\geq 1}E\) with \(\tau_{\geq 1}E\) perfect of tor amplitude in \([1, \infty)\). Since \(E\) has tor amplitude in \([0, \infty)\) we find that \(H^0(E)\) is a flat \(\mathcal{O}_S\)-module. It follows that \(H^0(E)\) is a flat, perfect \(\mathcal{O}_S\)-module, hence finite locally free, see More on Algebra, Lemma 15.76.2 (and the fact that finite projective modules are finite locally free by Algebra, Lemma 10.78.2). It follows that the map \(\mathcal{O}_S \to H^0(E)\) is an isomorphism as we can check this after tensoring with residue fields (Algebra, Lemma 10.79.4).
Lemma 36.32.6 (0E0L) official page ↗
Let \(f : X \to S\) be a morphism of schemes. Assume
\(f\) is proper, flat, and of finite presentation, and
the geometric fibres of \(f\) are reduced and connected.
Then \(f_*\mathcal{O}_X = \mathcal{O}_S\) and this holds after any base change.
Proof. By Lemma 36.32.5 it suffices to show that \(\kappa(s) = H^0(X_s, \mathcal{O}_{X_s})\) for all \(s \in S\). This follows from Varieties, Lemma 33.9.3 and the fact that \(X_s\) is geometrically connected and geometrically reduced.
Lemma 36.32.7 (0G7X) official page ↗
Let \(f : X \to S\) be a proper morphism of schemes. Let \(s \in S\) and let \(e \in H^0(X_s, \mathcal{O}_{X_s})\) be an idempotent. Then \(e\) is in the image of the map \((f_*\mathcal{O}_X)_s \to H^0(X_s, \mathcal{O}_{X_s})\).
Proof. Let \(X_s = T_1 \amalg T_2\) be the disjoint union decomposition with \(T_1\) and \(T_2\) nonempty and open and closed in \(X_s\) corresponding to \(e\), i.e., such that \(e\) is identitically \(1\) on \(T_1\) and identically \(0\) on \(T_2\).
Assume \(S\) is Noetherian. We will use the theorem on formal functions in the form of Cohomology of Schemes, Lemma 30.20.7. It tells us that \[(f_*\mathcal{O}_X)_s^\wedge = \lim_n H^0(X_n, \mathcal{O}_{X_n})\] where \(X_n\) is the \(n\)th infinitesimal neighbourhood of \(X_s\). Since the underlying topological space of \(X_n\) is equal to that of \(X_s\) we obtain for all \(n\) a disjoint union decomposition of schemes \(X_n = T_{1, n} \amalg T_{2, n}\) where the underlying topological space of \(T_{i, n}\) is \(T_i\) for \(i = 1, 2\). This means \(H^0(X_n, \mathcal{O}_{X_n})\) contains a nontrivial idempotent \(e_n\), namely the function which is identically \(1\) on \(T_{1, n}\) and identically \(0\) on \(T_{2, n}\). It is clear that \(e_{n + 1}\) restricts to \(e_n\) on \(X_n\). Hence \(e_\infty = \lim e_n\) is a nontrivial idempotent of the limit. Thus \(e_\infty\) is an element of the completion of \((f_*\mathcal{O}_X)_s\) mapping to \(e\) in \(H^0(X_s, \mathcal{O}_{X_s})\). Since the map \((f_*\mathcal{O}_X)_s^\wedge \to H^0(X_s, \mathcal{O}_{X_s})\) factors through \((f_*\mathcal{O}_X)^\wedge_s / \mathfrak m_s (f_*\mathcal{O}_X)_s^\wedge = (f_*\mathcal{O}_X)_s / \mathfrak m_s (f_*\mathcal{O}_X)_s\) (Algebra, Lemma 10.96.3) we conclude that \(e\) is in the image of the map \((f_*\mathcal{O}_X)_s \to H^0(X_s, \mathcal{O}_{X_s})\) as desired.
General case: we reduce the general case to the Noetherian case by limit arguments. We urge the reader to skip the proof. We may replace \(S\) by an affine open neighbourhood of \(s\). Thus we may and do assume that \(S\) is affine. By Limits, Lemma 32.13.3 we can write \((f : X \to S) = \lim (f_i : X_i \to S_i)\) with \(f_i\) proper and \(S_i\) Noetherian. Denote \(s_i \in S_i\) the image of \(s\). Then \(s = \lim s_i\), see Limits, Lemma 32.4.4. Then \(X_s = X \times_S s = \lim X_i \times_{S_i} s_i = \lim X_{i, s_i}\) because limits commute with limits (Categories, Lemma 4.14.10). Hence \(e\) is the image of some idempotent \(e_i \in H^0(X_{i, s_i}, \mathcal{O}_{X_{i, s_i}})\) by Limits, Lemma 32.4.7. By the Noetherian case there is an element \(\tilde e_i\) in the stalk \((f_{i, *}\mathcal{O}_{X_i})_{s_i}\) mapping to \(e_i\). Taking the pullback of \(\tilde e_i\) we get an element \(\tilde e\) of \((f_*\mathcal{O}_X)_s\) mapping to \(e\) and the proof is complete.
Lemma 36.32.8 (0G7Y) official page ↗
Let \(f : X \to S\) be a morphism of schemes. Let \(s \in S\). Assume
\(f\) is proper, flat, and of finite presentation, and
the fibre \(X_s\) is geometrically reduced.
Then, after replacing \(S\) by an open neighbourhood of \(s\), there exists a direct sum decomposition \(Rf_*\mathcal{O}_X = f_*\mathcal{O}_X \oplus P\) in \(D(\mathcal{O}_S)\) where \(f_*\mathcal{O}_X\) is a finite étale \(\mathcal{O}_S\)-algebra and \(P\) is a perfect of tor amplitude in \([1, \infty)\).
Proof. The proof of this lemma is similar to the proof of Lemma 36.32.5 which we suggest the reader read first. By cohomology and base change (Lemma 36.30.4) the complex \(E = Rf_*\mathcal{O}_X\) is perfect and its formation commutes with arbitrary base change. This first implies that \(E\) has tor amplitude in \([0, \infty)\).
We claim that after replacing \(S\) by an open neighbourhood of \(s\) we can find a direct sum decomposition \(E = H^0(E) \oplus \tau_{\geq 1}E\) in \(D(\mathcal{O}_S)\) with \(\tau_{\geq 1}E\) of tor amplitude in \([1, \infty)\). Assume the claim is true for now and assume we’ve made the replacement so we have the direct sum decomposition. Since \(E\) has tor amplitude in \([0, \infty)\) we find that \(H^0(E)\) is a flat \(\mathcal{O}_S\)-module. Hence \(H^0(E)\) is a flat, perfect \(\mathcal{O}_S\)-module, hence finite locally free, see More on Algebra, Lemma 15.76.2 (and the fact that finite projective modules are finite locally free by Algebra, Lemma 10.78.2). Of course \(H^0(E) = f_*\mathcal{O}_X\) is an \(\mathcal{O}_S\)-algebra. By cohomology and base change we obtain \(H^0(E) \otimes \kappa(s) = H^0(X_s, \mathcal{O}_{X_s})\). By Varieties, Lemma 33.9.3 and the assumption that \(X_s\) is geometrically reduced, we see that \(\kappa(s) \to H^0(E) \otimes \kappa(s)\) is finite étale. By Morphisms, Lemma 29.37.17 applied to the finite locally free morphism \(\underline{\Spec}_S(H^0(E)) \to S\), we conclude that after shrinking \(S\) the \(\mathcal{O}_S\)-algebra \(H^0(E)\) is finite étale.
It remains to prove the claim. For this it suffices to prove that the map \[(f_*\mathcal{O}_X)_s \longrightarrow H^0(X_s, \mathcal{O}_{X_s}) = H^0(E \otimes^\mathbf{L} \kappa(s))\] is surjective, see More on Algebra, Lemma 15.78.2. Choose a flat local ring homomorphism \(\mathcal{O}_{S, s} \to A\) such that the residue field \(k\) of \(A\) is algebraically closed, see Algebra, Lemma 10.159.1. By flat base change (Cohomology of Schemes, Lemma 30.5.2) we get \(H^0(X_A, \mathcal{O}_{X_A}) = (f_*\mathcal{O}_X)_s \otimes_{\mathcal{O}_{S, s}} A\) and \(H^0(X_k, \mathcal{O}_{X_k}) = H^0(X_s, \mathcal{O}_{X_s}) \otimes_{\kappa(s)} k\). Hence it suffices to prove that \(H^0(X_A, \mathcal{O}_{X_A}) \to H^0(X_k, \mathcal{O}_{X_k})\) is surjective. Since \(X_k\) is a reduced proper scheme over \(k\) and since \(k\) is algebraically closed, we see that \(H^0(X_k, \mathcal{O}_{X_k})\) is a finite product of copies of \(k\) by the already used Varieties, Lemma 33.9.3. Since by Lemma 36.32.7 the idempotents of this \(k\)-algebra are in the image of \(H^0(X_A, \mathcal{O}_{X_A}) \to H^0(X_k, \mathcal{O}_{X_k})\) we conclude.