Are the right derived functors of the inclusion sheaf cohomology? In the answer to the question "Mathematically mature way to think about Mayer–Vietoris" given by Angelo, he claims that the right derived functors $R^k(j)$ of the left-exact embedding $$j:Sh~X\subseteq PreSh~X$$
are given for a sheaf $F$ by the presheaf $R^k(j)(F)$ sending an open set $V\subseteq X$ to $H^k(U,F)=H^k(U,F|_U)$. The latter should be sheaf cohomology, I think. How can I see that the right derived functors $R^k(j)$ are actually sheaf cohomology?
 A: This is basically an exercise in manipulating the definition of right derived functors via injective resolutions.
Write $\check{H}{}^*(U, -)$ for the right derived functors of $\Gamma (U, -) : \textbf{AbPsh}(X) \to \textbf{Ab}$, $\mathscr{H}^*(-)$ for the right derived functors of the inclusion $j_* : \textbf{AbSh}(X) \to \textbf{AbPsh}(X)$, and $H^*(U, -)$ for the right derived functors of $\Gamma (U, -) : \textbf{AbSh}(X) \to \textbf{Ab}$. We make the following observations:


*

*The functor $\check{H}{}^0(U, -)$ is exact.

*If $C^\bullet$ is an injective resolution of $A$ in $\textbf{Sh}(X)$, then $H^* (U, A) \cong H^*(\Gamma(U, C^\bullet))$ and $\mathscr{H}^* (A) \cong H^* (j_* C^\bullet)$.

*But $\check{H}{}^0(U, -)$ commutes with cohomology, so
$$H^* (U, A) \cong H^*(\Gamma(U, C^\bullet)) \cong \check{H}{}^0(U, H^*(j_* C^\bullet)) \cong \check{H}{}^0(U, \mathscr{H}(A))$$
hence $\mathscr{H}(A)$ must be the presheaf $U \mapsto H^* (U, A)$.
(If you're wondering about the notation $\check{H}{}^* (U, -)$, this is because this is a special case of Čech cohomology with respect to the trivial open cover $\{ U \}$. More generally one may formulate Čech cohomology with respect to an open cover $\mathfrak{U}$ as the right derived functors of the functor $\textrm{Match}(\mathfrak{U}, -) : \textbf{AbPsh}(X) \to \textbf{Ab}$ that sends a presheaf $P$ to the set of matching families of sections of $P$ over $\mathfrak{U}$.)
