The Stacks project, tag 062J, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/062J
Koszul complexes
We suggest first reading the section on Koszul complexes in More on Algebra, Section 15.29. We define the Koszul complex in the category of \(\mathcal{O}_X\)-modules as follows.
Definition 17.24.1 (062K) official page ↗
Let \(X\) be a ringed space. Let \(\varphi : \mathcal{E} \to \mathcal{O}_X\) be an \(\mathcal{O}_X\)-module map. The Koszul complex \(K_\bullet(\varphi)\) associated to \(\varphi\) is the sheaf of commutative differential graded algebras defined as follows:
the underlying graded algebra is the exterior algebra \(K_\bullet(\varphi) = \wedge(\mathcal{E})\),
the differential \(d : K_\bullet(\varphi) \to K_\bullet(\varphi)\) is the unique derivation such that \(d(e) = \varphi(e)\) for all local sections \(e\) of \(\mathcal{E} = K_1(\varphi)\).
Explicitly, if \(e_1 \wedge \ldots \wedge e_n\) is a wedge product of local sections of \(\mathcal{E}\), then \[d(e_1 \wedge \ldots \wedge e_n) = \sum\nolimits_{i = 1, \ldots, n} (-1)^{i + 1} \varphi(e_i)e_1 \wedge \ldots \wedge \widehat{e_i} \wedge \ldots \wedge e_n.\] It is straightforward to see that this gives a well defined derivation on the tensor algebra, which annihilates \(e \wedge e\) and hence factors through the exterior algebra.
Definition 17.24.2 (062L) official page ↗
Let \(X\) be a ringed space and let \(f_1, \ldots, f_n \in \Gamma(X, \mathcal{O}_X)\). The Koszul complex on \(f_1, \ldots, f_n\) is the Koszul complex associated to the map \((f_1, \ldots, f_n) : \mathcal{O}_X^{\oplus n} \to \mathcal{O}_X\). Notation \(K_\bullet(\mathcal{O}_X, f_1, \ldots, f_n)\), or \(K_\bullet(\mathcal{O}_X, f_\bullet)\).
Of course, given an \(\mathcal{O}_X\)-module map \(\varphi : \mathcal{E} \to \mathcal{O}_X\), if \(\mathcal{E}\) is finite locally free, then \(K_\bullet(\varphi)\) is locally on \(X\) isomorphic to a Koszul complex \(K_\bullet(\mathcal{O}_X, f_1, \ldots, f_n)\).