The Stacks project, tag 0AU3, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0AU3
A duality theory
In this section we spell out what kind of a duality theory our very general results above give for finite type separated schemes over a fixed Noetherian base scheme.
Recall that a dualizing complex on a Noetherian scheme \(X\), is an object of \(D(\mathcal{O}_X)\) which affine locally gives a dualizing complex for the corresponding rings, see Definition 48.2.2.
Given a Noetherian scheme \(S\) denote \(\textit{FTS}_S\) the category of schemes which are of finite type and separated over \(S\). Then:
the functors \(f^!\) turn \(D_\QCoh^+\) into a pseudo functor on \(\textit{FTS}_S\),
if \(f : X \to Y\) is a proper morphism in \(\textit{FTS}_S\), then \(f^!\) is the restriction of the right adjoint of \(Rf_* : D_\QCoh(\mathcal{O}_X) \to D_\QCoh(\mathcal{O}_Y)\) to \(D_\QCoh^+(\mathcal{O}_Y)\) and there is a canonical isomorphism \[Rf_*R\SheafHom_{\mathcal{O}_X}(K, f^!M) \to R\SheafHom_{\mathcal{O}_Y}(Rf_*K, M)\] for all \(K \in D_{\textit{Coh}}^-(\mathcal{O}_X)\) and \(M \in D_\QCoh^+(\mathcal{O}_Y)\),
if an object \(X\) of \(\textit{FTS}_S\) has a dualizing complex \(\omega_X^\bullet\), then the functor \(D_X = R\SheafHom_{\mathcal{O}_X}(-, \omega_X^\bullet)\) defines an involution of \(D_{\textit{Coh}}(\mathcal{O}_X)\) switching \(D_{\textit{Coh}}^+(\mathcal{O}_X)\) and \(D_{\textit{Coh}}^-(\mathcal{O}_X)\) and fixing \(D_{\textit{Coh}}^b(\mathcal{O}_X)\),
if \(f : X \to Y\) is a morphism of \(\textit{FTS}_S\) and \(\omega_Y^\bullet\) is a dualizing complex on \(Y\), then
\(\omega_X^\bullet = f^!\omega_Y^\bullet\) is a dualizing complex for \(X\),
\(f^!M = D_X(Lf^*D_Y(M))\) canonically for \(M \in D_{\textit{Coh}}^+(\mathcal{O}_Y)\), and
if in addition \(f\) is proper then \[Rf_*R\SheafHom_{\mathcal{O}_X}(K, \omega_X^\bullet) = R\SheafHom_{\mathcal{O}_Y}(Rf_*K, \omega_Y^\bullet)\] for \(K\) in \(D^-_{\textit{Coh}}(\mathcal{O}_X)\),
if \(f : X \to Y\) is a closed immersion in \(\textit{FTS}_S\), then \(f^!(-) = R\SheafHom(\mathcal{O}_X, -)\),
if \(f : Y \to X\) is a finite morphism in \(\textit{FTS}_S\), then \(f_*f^!(-) = R\SheafHom_{\mathcal{O}_X}(f_*\mathcal{O}_Y, -)\),
if \(f : X \to Y\) is the inclusion of an effective Cartier divisor into an object of \(\textit{FTS}_S\), then \(f^!(-) = Lf^*(-) \otimes_{\mathcal{O}_X} f^*\mathcal{O}_Y(X)[-1]\),
if \(f : X \to Y\) is a Koszul regular immersion of codimension \(c\) into an object of \(\textit{FTS}_S\), then \(f^!(-) \cong Lf^*(-) \otimes_{\mathcal{O}_X} \wedge^c\mathcal{N}[-c]\), and
if \(f : X \to Y\) is a smooth proper morphism of relative dimension \(d\) in \(\textit{FTS}_S\), then \(f^!(-) \cong Lf^*(-) \otimes_{\mathcal{O}_X} \Omega^d_{X/Y}[d]\).
This follows from Lemmas 48.2.5, 48.3.6, 48.9.7, 48.11.4, 48.14.2, 48.15.6, 48.15.7, 48.16.3, 48.16.4, 48.17.4, 48.17.7, 48.17.8, and 48.17.9 and Example 48.3.9. We have obtained our functors by a very abstract procedure which finally rests on invoking an existence theorem (Derived Categories, Proposition 13.38.2). This means we have, in general, no explicit description of the functors \(f^!\). This can sometimes be a problem. But in fact, it is often enough to know the existence of a dualizing complex and the duality isomorphism to pin down \(f^!\).