Suggested addition, to follow tag 0DM5 in 108.7
Section 108.7 (0DM5): the tag on this site · official page ↗
Tag AS 00AF: a permanent tag of the AI-integrated edition. It is not a tag of the Stacks project. https://kokunoyumeto.github.io/stacks-reader/en/suggestions/as/00AF/
Lemma
Reference: [FGA, Exposé 232, Section 4, pp. 152–153].
Let \(f : X \to S\) be a proper morphism of finite presentation and let \(\mathcal{F}\) be an \(\mathcal{O}_X\)-module of finite presentation, flat over \(S\). Put \(K = Rf_*\mathcal{F}\) and \[\mathcal{Q}_{\mathcal{F}} = H^0\left(R\SheafHom_{\mathcal{O}_S}(K, \mathcal{O}_S)\right).\] Then \(\mathcal{Q}_{\mathcal{F}}\) is of finite presentation, its formation commutes with arbitrary base change, and for every \(g : T \to S\) there is a functorial isomorphism \[\begin{equation} f_{T, *}\mathcal{F}_T \cong \SheafHom_{\mathcal{O}_T}(g^*\mathcal{Q}_{\mathcal{F}}, \mathcal{O}_T). \end{equation}\]
Proof. By Derived Categories of Schemes, Lemma 36.30.4, \(K\) is perfect, its formation commutes with arbitrary base change, and every derived pullback of \(K\) has vanishing cohomology in negative degrees. Quot, Lemma 99.3.8 shows that locally on \(S\) the complex \(K\) has tor amplitude in \([0, b]\) for some \(b \geq 0\).
On an affine open of \(S\), represent \(K\) by a complex \[K^0 \longrightarrow K^1 \longrightarrow \ldots \longrightarrow K^b\] of finite locally free modules. On this open we have \[\mathcal{Q}_{\mathcal{F}} = \Coker\left((K^1)^\vee \longrightarrow (K^0)^\vee\right).\] This description proves finite presentation and commutation with arbitrary base change. After pulling back to \(T\), it also gives \[\begin{align*} \SheafHom_{\mathcal{O}_T}(g^*\mathcal{Q}_{\mathcal{F}}, \mathcal{O}_T) & = \Ker(g^*K^0 \longrightarrow g^*K^1) \\ & = H^0(Lg^*K) \\ & = f_{T, *}\mathcal{F}_T, \end{align*}\] where the last equality uses the arbitrary base change assertion for \(K\). The construction is canonical, so these local isomorphisms glue.
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).