The Stacks project, tag 0B39, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0B39
First cohomology and extensions
Lemma 20.5.1 (0B3A) official page ↗
Let \((X, \mathcal{O}_X)\) be a ringed space. Let \(\mathcal{F}\) be a sheaf of \(\mathcal{O}_X\)-modules. There is a canonical bijection \[\Ext^1_{\textit{Mod}(\mathcal{O}_X)}(\mathcal{O}_X, \mathcal{F}) \longrightarrow H^1(X, \mathcal{F})\] which associates to the extension \[0 \to \mathcal{F} \to \mathcal{E} \to \mathcal{O}_X \to 0\] the image of \(1 \in \Gamma(X, \mathcal{O}_X)\) in \(H^1(X, \mathcal{F})\).
Proof. Let us construct the inverse of the map given in the lemma. Let \(\xi \in H^1(X, \mathcal{F})\). Choose an injection \(\mathcal{F} \subset \mathcal{I}\) with \(\mathcal{I}\) injective in \(\textit{Mod}(\mathcal{O}_X)\). Set \(\mathcal{Q} = \mathcal{I}/\mathcal{F}\). By the long exact sequence of cohomology, we see that \(\xi\) is the image of a section \(\tilde \xi \in \Gamma(X, \mathcal{Q}) = \Hom_{\mathcal{O}_X}(\mathcal{O}_X, \mathcal{Q})\). Now, we just form the pullback \[\xymatrix{ 0 \ar[r] & \mathcal{F} \ar[r] \ar@{=}[d] & \mathcal{E} \ar[r] \ar[d] & \mathcal{O}_X \ar[r] \ar[d]^{\tilde \xi} & 0 \\ 0 \ar[r] & \mathcal{F} \ar[r] & \mathcal{I} \ar[r] & \mathcal{Q} \ar[r] & 0 }\] see Homology, Section 12.6.