Stacks project reader · Cohomology of Sheaves · Search · Suggestions (AI)

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

Hom complexes

Let \((X, \mathcal{O}_X)\) be a ringed space. Let \(\mathcal{L}^\bullet\) and \(\mathcal{M}^\bullet\) be two complexes of \(\mathcal{O}_X\)-modules. We construct a complex of \(\mathcal{O}_X\)-modules \(\SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{M}^\bullet)\). Namely, for each \(n\) we set \[\SheafHom^n(\mathcal{L}^\bullet, \mathcal{M}^\bullet) = \prod\nolimits_{n = p + q} \SheafHom_{\mathcal{O}_X}(\mathcal{L}^{-q}, \mathcal{M}^p)\] It is a good idea to think of \(\SheafHom^n\) as the sheaf of \(\mathcal{O}_X\)-modules of all \(\mathcal{O}_X\)-linear maps from \(\mathcal{L}^\bullet\) to \(\mathcal{M}^\bullet\) (viewed as graded \(\mathcal{O}_X\)-modules) which are homogeneous of degree \(n\). In this terminology, we define the differential by the rule \[\text{d}(f) = \text{d}_\mathcal{M} \circ f - (-1)^n f \circ \text{d}_\mathcal{L}\] for \(f \in \SheafHom^n_{\mathcal{O}_X}(\mathcal{L}^\bullet, \mathcal{M}^\bullet)\). We omit the verification that \(\text{d}^2 = 0\). This construction is a special case of Differential Graded Algebra, Example 22.26.6. It follows immediately from the construction that we have \[\begin{equation} H^n(\Gamma(U, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{M}^\bullet))) = \Hom_{K(\mathcal{O}_U)}(\mathcal{L}^\bullet, \mathcal{M}^\bullet[n]) \end{equation}\] for all \(n \in \mathbf{Z}\) and every open \(U \subset X\).

Lemma 20.41.1 (0A8M) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Given complexes \(\mathcal{K}^\bullet, \mathcal{L}^\bullet, \mathcal{M}^\bullet\) of \(\mathcal{O}_X\)-modules there is an isomorphism \[\SheafHom^\bullet(\mathcal{K}^\bullet, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{M}^\bullet)) = \SheafHom^\bullet(\text{Tot}(\mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet), \mathcal{M}^\bullet)\] of complexes of \(\mathcal{O}_X\)-modules functorial in \(\mathcal{K}^\bullet, \mathcal{L}^\bullet, \mathcal{M}^\bullet\).

Proof. Omitted. Hint: This is proved in exactly the same way as More on Algebra, Lemma 15.73.1.

Lemma 20.41.2 (0A8N) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Given complexes \(\mathcal{K}^\bullet, \mathcal{L}^\bullet, \mathcal{M}^\bullet\) of \(\mathcal{O}_X\)-modules there is a canonical morphism \[\text{Tot}\left( \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{M}^\bullet) \otimes_{\mathcal{O}_X} \SheafHom^\bullet(\mathcal{K}^\bullet, \mathcal{L}^\bullet) \right) \longrightarrow \SheafHom^\bullet(\mathcal{K}^\bullet, \mathcal{M}^\bullet)\] of complexes of \(\mathcal{O}_X\)-modules.

Proof. Omitted. Hint: This is proved in exactly the same way as More on Algebra, Lemma 15.73.3.

Lemma 20.41.3 (0BYR) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Given complexes \(\mathcal{K}^\bullet, \mathcal{L}^\bullet, \mathcal{M}^\bullet\) of \(\mathcal{O}_X\)-modules there is a canonical morphism \[\text{Tot}\left( \mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \SheafHom^\bullet(\mathcal{M}^\bullet, \mathcal{L}^\bullet) \right) \longrightarrow \SheafHom^\bullet(\mathcal{M}^\bullet, \text{Tot}(\mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet))\] of complexes of \(\mathcal{O}_X\)-modules functorial in all three complexes.

Proof. Omitted. Hint: This is proved in exactly the same way as More on Algebra, Lemma 15.73.4.

Lemma 20.41.4 (0A8Q) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Given complexes \(\mathcal{K}^\bullet, \mathcal{L}^\bullet\) of \(\mathcal{O}_X\)-modules there is a canonical morphism \[\mathcal{K}^\bullet \longrightarrow \SheafHom^\bullet(\mathcal{L}^\bullet, \text{Tot}(\mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet))\] of complexes of \(\mathcal{O}_X\)-modules functorial in both complexes.

Proof. Omitted. Hint: This is proved in exactly the same way as More on Algebra, Lemma 15.73.5.

Lemma 20.41.5 (0A8P) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Given complexes \(\mathcal{K}^\bullet, \mathcal{L}^\bullet, \mathcal{M}^\bullet\) of \(\mathcal{O}_X\)-modules there is a canonical morphism \[\text{Tot}(\SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{M}^\bullet) \otimes_{\mathcal{O}_X} \mathcal{K}^\bullet) \longrightarrow \SheafHom^\bullet(\SheafHom^\bullet(\mathcal{K}^\bullet, \mathcal{L}^\bullet), \mathcal{M}^\bullet)\] of complexes of \(\mathcal{O}_X\)-modules functorial in all three complexes.

Proof. Omitted. Hint: This is proved in exactly the same way as More on Algebra, Lemma 15.73.6.

Lemma 20.41.6 (0A8R) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Let \(L\) and \(M\) be objects of \(D(\mathcal{O}_X)\). Let \(\mathcal{I}^\bullet\) be a K-injective complex of \(\mathcal{O}_X\)-modules representing \(M\). Let \(\mathcal{L}^\bullet\) be a complex of \(\mathcal{O}_X\)-modules representing \(L\). Then \[H^0(\Gamma(U, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{I}^\bullet))) = \Hom_{D(\mathcal{O}_U)}(L|_U, M|_U)\] for all \(U \subset X\) open.

Proof. We have \[\begin{align*} H^0(\Gamma(U, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{I}^\bullet))) & = \Hom_{K(\mathcal{O}_U)}(\mathcal{L}^\bullet|_U, \mathcal{I}^\bullet|_U) \\ & = \Hom_{D(\mathcal{O}_U)}(L|_U, M|_U) \end{align*}\] The first equality is (20.41.0.1). The second equality is true because \(\mathcal{I}^\bullet|_U\) is K-injective by Lemma 20.32.1.

Lemma 20.41.7 (0A8S) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Let \((\mathcal{I}')^\bullet \to \mathcal{I}^\bullet\) be a quasi-isomorphism of K-injective complexes of \(\mathcal{O}_X\)-modules. Let \((\mathcal{L}')^\bullet \to \mathcal{L}^\bullet\) be a quasi-isomorphism of complexes of \(\mathcal{O}_X\)-modules. Then \[\SheafHom^\bullet(\mathcal{L}^\bullet, (\mathcal{I}')^\bullet) \longrightarrow \SheafHom^\bullet((\mathcal{L}')^\bullet, \mathcal{I}^\bullet)\] is a quasi-isomorphism.

Proof. Let \(M\) be the object of \(D(\mathcal{O}_X)\) represented by \(\mathcal{I}^\bullet\) and \((\mathcal{I}')^\bullet\). Let \(L\) be the object of \(D(\mathcal{O}_X)\) represented by \(\mathcal{L}^\bullet\) and \((\mathcal{L}')^\bullet\). By Lemma 20.41.6 we see that the sheaves \[H^0(\SheafHom^\bullet(\mathcal{L}^\bullet, (\mathcal{I}')^\bullet)) \quad\text{and}\quad H^0(\SheafHom^\bullet((\mathcal{L}')^\bullet, \mathcal{I}^\bullet))\] are both equal to the sheaf associated to the presheaf \[U \longmapsto \Hom_{D(\mathcal{O}_U)}(L|_U, M|_U)\] Thus the map is a quasi-isomorphism.

Lemma 20.41.8 (0A8T) official page ↗

Let \((X, \mathcal{O}_X)\) be a ringed space. Let \(\mathcal{I}^\bullet\) be a K-injective complex of \(\mathcal{O}_X\)-modules. Let \(\mathcal{L}^\bullet\) be a K-flat complex of \(\mathcal{O}_X\)-modules. Then \(\SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{I}^\bullet)\) is a K-injective complex of \(\mathcal{O}_X\)-modules.

Proof. Namely, if \(\mathcal{K}^\bullet\) is an acyclic complex of \(\mathcal{O}_X\)-modules, then \[\begin{align*} \Hom_{K(\mathcal{O}_X)}(\mathcal{K}^\bullet, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{I}^\bullet)) & = H^0(\Gamma(X, \SheafHom^\bullet(\mathcal{K}^\bullet, \SheafHom^\bullet(\mathcal{L}^\bullet, \mathcal{I}^\bullet)))) \\ & = H^0(\Gamma(X, \SheafHom^\bullet(\text{Tot}( \mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet), \mathcal{I}^\bullet))) \\ & = \Hom_{K(\mathcal{O}_X)}( \text{Tot}(\mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet), \mathcal{I}^\bullet) \\ & = 0 \end{align*}\] The first equality by (20.41.0.1). The second equality by Lemma 20.41.1. The third equality by (20.41.0.1). The final equality because \(\text{Tot}(\mathcal{K}^\bullet \otimes_{\mathcal{O}_X} \mathcal{L}^\bullet)\) is acyclic because \(\mathcal{L}^\bullet\) is K-flat (Definition 20.26.2) and because \(\mathcal{I}^\bullet\) is K-injective.