Lemma 21.34.8. Let $(\mathcal{C}, \mathcal{O})$ be a ringed site. Given $K, L$ in $D(\mathcal{O})$ there is a canonical morphism

$K \longrightarrow R\mathop{\mathcal{H}\! \mathit{om}}\nolimits (L, K \otimes _\mathcal {O}^\mathbf {L} L)$

in $D(\mathcal{O})$ functorial in both $K$ and $L$.

Proof. Choose a K-flat complex $\mathcal{K}^\bullet$ representing $K$ and any complex of $\mathcal{O}$-modules $\mathcal{L}^\bullet$ representing $L$. Choose a K-injective complex $\mathcal{J}^\bullet$ and a quasi-isomorphism $\text{Tot}(\mathcal{K}^\bullet \otimes _\mathcal {O} \mathcal{L}^\bullet ) \to \mathcal{J}^\bullet$. Then we use

$\mathcal{K}^\bullet \to \mathop{\mathcal{H}\! \mathit{om}}\nolimits ^\bullet (\mathcal{L}^\bullet , \text{Tot}(\mathcal{K}^\bullet \otimes _\mathcal {O} \mathcal{L}^\bullet )) \to \mathop{\mathcal{H}\! \mathit{om}}\nolimits ^\bullet (\mathcal{L}^\bullet , \mathcal{J}^\bullet )$

where the first map comes from Lemma 21.33.5. $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).