For a cochain complex , define the shift of a cochain complex by
For a cochain map , put . This is again a cochain map, so the construction is a functor. The sign ensures the standard cone identities; the shifted differential squares to zero. Iteration gives and differential , and .
For , its algebraic mapping cone is
Applying this differential twice gives first component , since is a cochain map, and second component . The maps
are cochain maps: and . They are maps of complexes of sheaves, because every displayed operation is a sheaf morphism in each degree.
The bounded below derived category of sheaves can be constructed by first quotienting the category of bounded below cochain complexes by cochain homotopy and then formally inverting all quasi-isomorphisms. A morphism may be represented by a roof . Alternatively, take injective resolutions of sheaves and use homotopy classes of maps between the resulting injective complexes. The cohomology sheaf functors descend to the localization, because they already identify homotopic maps and turn quasi-isomorphisms into isomorphisms. If in , applying these functors gives for every . Conversely, if all these sheaves vanish, the unique map is a quasi-isomorphism, which becomes invertible in . Hence
An exact triangle in a derived category is a triangle isomorphic to a cone triangle
In particular the last arrow is part of the structure; a mere sequence of three objects with successive composite zero does not suffice.
Suppose is degreewise exact. Define
Then , so is a cochain map. It is natural under maps of short exact sequences. It is degreewise surjective as a sheaf map, and its kernel can be identified with using . In these coordinates the kernel differential is
There is a contracting homotopy in degree :
Thus the kernel has zero cohomology sheaves. The cohomology-sheaf exact sequence is the sequence of the short exact sequence of complexes , or equivalently its ordinary complex-cohomology sequence at every stalk. It follows that induces isomorphisms of all cohomology sheaves, proving
Under this isomorphism the cone triangle becomes the exact triangle
where in the derived category.
For the final construction write and set , , , each initially placed in degree zero. The stated sequence is exact on stalks: on its first map is an isomorphism and its last sheaf is zero; on the equator its first sheaf is zero and the second map is an isomorphism. Take its connecting morphism
The source has only , whereas the target has only . Therefore every induced map is zero: in any degree at least one of its source and target is zero. This is a ghost morphism in a derived category.
To prove the derived morphism itself is nonzero, apply derived global sections, giving the hypercohomology sequence. The extension by zero identifies with the compactly supported cohomology of , and closed direct image identifies with . The complement is two open disks, each homeomorphic to , so
The degree-one part of the resulting exact sequence is
Thus is injective, in particular nonzero. With the hemispheres oriented from , the last map is , so an appropriately oriented equator generator maps to . A zero morphism in the derived category of sheaves would induce a zero map after derived global sections and taking cohomology. Consequently , although for every . This establishes explicitly that the collection of cohomology-sheaf functors detects zero objects but is not faithful on morphisms.
Let be a commutative ring and . The Koszul complex packages these elements and their relations in a finite chain complex of free modules. With and basis , set for , and define
Deleting two distinct basis elements in the two possible orders gives opposite signs and the same coefficient, so . Equivalently is the tensor product of chain complexes of two-term complexes in degrees one and zero. The tensor differential is . This fixes the sign convention. On the exterior algebra, the differential is a graded derivation determined by .
For an -module , define the Koszul complex with module coefficients by . Its degree-zero Koszul homology is
Its higher Koszul homology measures the failure of these equations to form a regular sequence on a module. Each annihilates every homology group. Indeed the Koszul homotopy for multiplication by a generator is , and the graded product rule gives
For coefficients in the same identity holds after tensoring. Thus multiplication by is zero on homology, and the homology groups are naturally modules over . If , choose ; then is a contracting homotopy, so the entire complex is contractible. These identities are also useful after localization of a ring: wherever one generator is a unit, the complex has zero homology.
The construction is functorial under a ring homomorphism, and base change gives , since its terms are free with the displayed basis and differential. An invertible change of generators gives a chain isomorphism by sending to and extending to exterior powers. In particular, permuting the generators changes only the exterior signs, not the isomorphism class of the complex.
The essential exactness theorem is that a regular sequence on a module gives zero positive Koszul homology. Recall that must act injectively on , with final quotient nonzero. Put . Adding the final two-term complex identifies with the mapping cone of multiplication by on , with the chosen tensor signs. The long exact sequence in homology consequently has segments
For , positive homology is exactly . By induction the preceding homology vanishes above zero. The final injectivity assumption kills , while the exact sequence kills every for . Therefore
for a regular sequence on a module. In particular is a finite free resolution of when is a regular sequence, with ranks and length .
There is a precise converse under local finiteness assumptions. Suppose is a Noetherian local ring, is finitely generated, and all . If positive Koszul homology vanishes, the same exact sequence makes multiplication by surjective on every for . These modules are finitely generated because the ring is Noetherian and the terms of the complex are finite modules. The Nakayama lemma gives . Induction makes regular on , and the degree-one part of the exact sequence makes injective on . The final quotient is nonzero, again by the Nakayama lemma. This proves the Koszul acyclicity criterion in a Noetherian local ring:
The hypotheses matter: a unit ideal makes the complex contractible but cannot be a proper regular sequence.
Examples make both sides visible. For and , the Koszul resolution is
The signs agree with . For and , the degree-one cycles are and the boundaries are ; hence , while . The repeated element has exposed a relation that the first element already kills.
The Koszul complex also computes derived functors. If is a regular sequence on , its free resolution gives
Here no regularity of on is assumed. For , tensor the Koszul resolution on the variables with . Every differential becomes zero, so
The top group is nonzero, showing that a free resolution of cannot be shorter than .
Finally, wedging complementary exterior degrees gives a perfect pairing . It identifies the dual cochain complex with the degree-reversed Koszul complex, after the appropriate signs. This self-duality of the Koszul complex shows, for a regular sequence, that
Thus the same explicit complex simultaneously records quotient equations, regularity, relations, Tor functor computations and Ext functor computations. Its finiteness and exterior structure are what make it especially effective in commutative algebra.