Suggested expansion of tag 01AG
Lemma 17.3.1 (01AG): the tag on this site · official page ↗
The text in the AI-integrated edition
Lemma
Reference: [FAC, Chapter I, §1, nos. 7 and 8, pp. 203–205]
Let \((X, \mathcal{O}_X)\) be a ringed space. The category \(\textit{Mod}(\mathcal{O}_X)\) is an abelian category. Moreover a complex \[\mathcal{F} \to \mathcal{G} \to \mathcal{H}\] is exact at \(\mathcal{G}\) if and only if for all \(x \in X\) the complex \[\mathcal{F}_x \to \mathcal{G}_x \to \mathcal{H}_x\] is exact at \(\mathcal{G}_x\).
Proof. By Homology, Definition 12.5.1 we have to show that image and coimage agree. By Sheaves, Lemma 6.16.1 it is enough to show that image and coimage have the same stalk at every \(x \in X\). By the constructions of kernels and cokernels above these stalks are the coimage and image in the categories of \(\mathcal{O}_{X, x}\)-modules. Thus we get the result from the fact that the category of modules over a ring is abelian.
Against the Stacks text (with the corrections)
--- Stacks (corrected)
+++ AI-integrated edition
@@ -0,0 +1,3 @@
+\begin{reference}
+\cite[Chapter I, \S 1, nos. 7 and 8, pp. 203--205]{FAC}
+\end{reference}
From the AI-integrated Stacks edition (KokunoYumeto/unofficial-stacks-project-ai-drafts, commit 80b6208b). Corrections found by OpenAI Codex, GPT-5.6 Sol at effort Ultra, while translating the Stacks project into Chinese, Japanese, Korean and French, and integrated by GPT-6 Astra at effort Ultra; additions written mostly by GPT-6 Astra at effort Ultra, some by GPT-5.6 Sol at effort Ultra and checked by GPT-6 Astra, as that repository states. Shown here by the Stacks project reader (AI-produced by Claude Opus 5.5, Anthropic, at effort max).