The Stacks project, tag 0B4A, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0B4A
Right adjoint of pushforward for effective Cartier divisors
Let \(X\) be a scheme and let \(i : D \to X\) be the inclusion of an effective Cartier divisor. Denote \(\mathcal{N} = i^*\mathcal{O}_X(D)\) the normal sheaf of \(i\), see Morphisms, Section 29.32 and Divisors, Section 31.14. Recall that \(R\SheafHom(\mathcal{O}_D, -)\) denotes the right adjoint to \(i_* : D(\mathcal{O}_D) \to D(\mathcal{O}_X)\) and has the property \(i_*R\SheafHom(\mathcal{O}_D, -) = R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, -)\), see Section 48.9.
Lemma 48.14.1 (0B4B) official page ↗
As above, let \(X\) be a scheme and let \(D \subset X\) be an effective Cartier divisor. There is a canonical isomorphism \(R\SheafHom(\mathcal{O}_D, \mathcal{O}_X) = \mathcal{N}[-1]\) in \(D(\mathcal{O}_D)\).
Proof. Equivalently, we are saying that \(R\SheafHom(\mathcal{O}_D, \mathcal{O}_X)\) has a unique nonzero cohomology sheaf in degree \(1\) and that this sheaf is isomorphic to \(\mathcal{N}\). Since \(i_*\) is exact and fully faithful, it suffices to prove that \(i_*R\SheafHom(\mathcal{O}_D, \mathcal{O}_X)\) is isomorphic to \(i_*\mathcal{N}[-1]\). We have \(i_*R\SheafHom(\mathcal{O}_D, \mathcal{O}_X) = R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, \mathcal{O}_X)\) by Lemma 48.9.3. We have a resolution \[0 \to \mathcal{I} \to \mathcal{O}_X \to i_*\mathcal{O}_D \to 0\] where \(\mathcal{I}\) is the ideal sheaf of \(D\) which we can use to compute. Since \(R\SheafHom_{\mathcal{O}_X}(\mathcal{O}_X, \mathcal{O}_X) = \mathcal{O}_X\) and \(R\SheafHom_{\mathcal{O}_X}(\mathcal{I}, \mathcal{O}_X) = \mathcal{O}_X(D)\) by a local computation, we see that \[R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, \mathcal{O}_X) = (\mathcal{O}_X \to \mathcal{O}_X(D))\] where on the right hand side we have \(\mathcal{O}_X\) in degree \(0\) and \(\mathcal{O}_X(D)\) in degree \(1\). The result follows from the short exact sequence \[0 \to \mathcal{O}_X \to \mathcal{O}_X(D) \to i_*\mathcal{N} \to 0\] coming from the fact that \(D\) is the zero scheme of the canonical section of \(\mathcal{O}_X(D)\) and from the fact that \(\mathcal{N} = i^*\mathcal{O}_X(D)\).
For every object \(K\) of \(D(\mathcal{O}_X)\) there is a canonical map \[\begin{equation} Li^*K \otimes_{\mathcal{O}_D}^\mathbf{L} R\SheafHom(\mathcal{O}_D, \mathcal{O}_X) \longrightarrow R\SheafHom(\mathcal{O}_D, K) \end{equation}\] in \(D(\mathcal{O}_D)\) functorial in \(K\) and compatible with distinguished triangles. Namely, this map is adjoint to a map \[i_*(Li^*K \otimes^\mathbf{L}_{\mathcal{O}_D} R\SheafHom(\mathcal{O}_D, \mathcal{O}_X)) = K \otimes^\mathbf{L}_{\mathcal{O}_X} R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, \mathcal{O}_X) \longrightarrow K\] where the equality is Cohomology, Lemma 20.54.4 and the arrow comes from the canonical map \(R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, \mathcal{O}_X) \to \mathcal{O}_X\) induced by \(\mathcal{O}_X \to i_*\mathcal{O}_D\).
If \(K \in D_\QCoh(\mathcal{O}_X)\), then (48.14.1.1) is equal to (48.8.0.1) via the identification \(a(K) = R\SheafHom(\mathcal{O}_D, K)\) of Lemma 48.9.7. If \(K \in D_\QCoh(\mathcal{O}_X)\) and \(X\) is Noetherian, then the following lemma is a special case of Lemma 48.13.3.
Lemma 48.14.2 (0AA4) official page ↗
As above, let \(X\) be a scheme and let \(D \subset X\) be an effective Cartier divisor. Then (48.14.1.1) combined with Lemma 48.14.1 defines an isomorphism \[Li^*K \otimes_{\mathcal{O}_D}^\mathbf{L} \mathcal{N}[-1] \longrightarrow R\SheafHom(\mathcal{O}_D, K)\] functorial in \(K\) in \(D(\mathcal{O}_X)\).
Proof. Since \(i_*\) is exact and fully faithful on modules, to prove the map is an isomorphism, it suffices to show that it is an isomorphism after applying \(i_*\). We will use the short exact sequences \(0 \to \mathcal{I} \to \mathcal{O}_X \to i_*\mathcal{O}_D \to 0\) and \(0 \to \mathcal{O}_X \to \mathcal{O}_X(D) \to i_*\mathcal{N} \to 0\) used in the proof of Lemma 48.14.1 without further mention. By Cohomology, Lemma 20.54.4 which was used to define the map (48.14.1.1) the left hand side becomes \[K \otimes_{\mathcal{O}_X}^\mathbf{L} i_*\mathcal{N}[-1] = K \otimes_{\mathcal{O}_X}^\mathbf{L} (\mathcal{O}_X \to \mathcal{O}_X(D))\] The right hand side becomes \[\begin{align*} R\SheafHom_{\mathcal{O}_X}(i_*\mathcal{O}_D, K) & = R\SheafHom_{\mathcal{O}_X}((\mathcal{I} \to \mathcal{O}_X), K) \\ & = R\SheafHom_{\mathcal{O}_X}((\mathcal{I} \to \mathcal{O}_X), \mathcal{O}_X) \otimes_{\mathcal{O}_X}^\mathbf{L} K \end{align*}\] the final equality by Cohomology, Lemma 20.50.5. Since the map comes from the isomorphism \[R\SheafHom_{\mathcal{O}_X}((\mathcal{I} \to \mathcal{O}_X), \mathcal{O}_X) = (\mathcal{O}_X \to \mathcal{O}_X(D))\] the lemma is clear.