In mathematics, the Koszul complex was first introduced to define a cohomology theory for Lie algebras, by Jean-Louis Koszul (see Lie algebra cohomology). It turned out to be a useful general construction in homological algebra. As a tool, its homology can be used to tell when a set of elements of a (local) ring is an M-regular sequence, and hence it can be used to prove basic facts about the depth of a module or ideal which is an algebraic notion of dimension that is related to but different from the geometric notion of Krull dimension. Moreover, in certain circumstances, the complex is the complex of syzygies, that is, it tells you the relations between generators of a module, the relations between these relations, and so forth.
Definition Let A be a commutative ring and s: Ar → A an A-linear map. Its Koszul complex Ks is
⋀rAr → ⋀r−1Ar → ⋯ → ⋀1Ar → ⋀0Ar≃A where the maps send
α1∧⋯∧αk ↦ ∑i=1k(−1)i+1s(αi) α1∧⋯∧α̂i∧⋯∧αk where ̂ means the term is omitted and ∧ means the wedge product. One may replace Ar with any A-module.
Motivating example Let M be a manifold, variety, scheme, ..., and A be the ring of functions on it, denoted 𝒪(M). The map s:Ar→A corresponds to picking r functions f1,...,fr, where the correspondence is given by f1=s(1,0,...,0),...,fr=s(0,...,0,1). When r = 1, the Koszul complex is
𝒪(M) →⋅f 𝒪(M) whose cokernel is the ring of functions on the zero locus f = 0. In general, the Koszul complex is
𝒪(M) →⋅(f1,...,fr) 𝒪(M)r → ⋯ → 𝒪(M)r →⋅(f1,…,fr) 𝒪(M). The cokernel of the last map is again functions on the zero locus f1=⋯=fr=0. It is the tensor product of the r many Koszul complexes for fi=0, so its dimensions are given by binomial coefficients. In pictures: given functions si, how do we define the locus where they all vanish?
In algebraic geometry, the ring of functions of the zero locus is A/(s1,…,sr). In derived algebraic geometry, the dg ring of functions is the Koszul complex. If the loci si=0 intersect transversely, these are equivalent.
Thus: Koszul complexes are derived intersections of zero loci.
Properties
Algebra structure First, the Koszul complex Ks of (A,s) is a chain complex: the composition of any two maps is zero. Second, the map
Ks⊗Ks → Ks (α1∧⋯∧αk)⊗(β1∧⋯∧βℓ) ↦ α1∧⋯∧αk∧β1∧⋯∧βℓ makes it into a dg algebra.
As a tensor product The Koszul complex is a tensor product: if s=(s1,…,sr), then
Ks ≃ Ks1⊗⋯⊗Ksr where ⊗ denotes the derived tensor product of chain complexes of A-modules.
Vanishing in regular case When s1,…,sr form a regular sequence, the map Ks→A/(s1,…,sr) is a quasi-isomorphism, i.e.
Hi(Ks) = 0,i≠0, and as for any s, H0(Ks)=A/(s1,…,sr).
Detailed Definition Let R be a commutative ring and E a free module of finite rank r over R. We write ⋀iE for the i-th exterior power of E. Then, given an R-linear map s:E→R, the Koszul complex associated to s is the chain complex of R-modules:
K∙(s):0→⋀rE→dr⋀r−1E→⋯→⋀1E→d1R→0, where the differential dk is given by: for any ei in E,
dk(e1∧⋯∧ek)=∑i=1k(−1)i+1s(ei)e1∧⋯∧ei^∧⋯∧ek. The superscript ⋅^ means the term is omitted. To show that dk∘dk+1=0, use the self-duality of a Koszul complex. Note that ⋀1E=E and d1=s. Note also that ⋀rE≃R; this isomorphism is not canonical (for example, a choice of a volume form in differential geometry provides an example of such an isomorphism). If E=Rr (i.e., an ordered basis is chosen), then, giving an R-linear map s:Rr→R amounts to giving a finite sequence s1,…,sr of elements in R (namely, a row vector) and then one sets K∙(s1,…,sr)=K∙(s). If M is a finitely generated R-module, then one sets:
K∙(s,M)=K∙(s)⊗RM, which is again a chain complex with the induced differential (d⊗1M)(v⊗m)=d(v)⊗m. The i-th homology of the Koszul complex
Hi(K∙(s,M))=ker(di⊗1M)/im(di+1⊗1M) is called the i-th Koszul homology. For example, if E=Rr and s=[s1⋯sr] is a row vector with entries in R, then d1⊗1M is
s:Mr→M,(m1,…,mr)↦s1m1+⋯+srmr and so
H0(K∙(s,M))=M/(s1,…,sr)M=R/(s1,…,sr)⊗RM. Similarly,
Hr(K∙(s,M))={m∈M:s1m=s2m=⋯=srm=0}=HomR(R/(s1,…,sr),M).
Koszul complexes in low dimensions Given a commutative ring R, an element x in R, and an R-module M, the multiplication by x yields a homomorphism of R-modules,
M→M. Considering this as a chain complex (by putting them in degree 1 and 0, and adding zeros elsewhere), it is denoted by K(x,M). By construction, the homologies are
H0(K(x,M))=M/xM,H1(K(x,M))=AnnM(x)={m∈M,xm=0}, the annihilator of x in M. Thus, the Koszul complex and its homology encode fundamental properties of the multiplication by x. This chain complex K∙(x) is called the Koszul complex of R with respect to x, as in #Definition. The Koszul complex for a pair (x,y)∈R2 is
0→R→ d2 R2→ d1 R→0, with the matrices d1 and d2 given by
d1=[xy] and d2=[−yx]. Note that di is applied on the right. The cycles in degree 1 are then exactly the linear relations on the elements x and y, while the boundaries are the trivial relations. The first Koszul homology H1(K∙(x,y)) therefore measures exactly the relations mod the trivial relations. With more elements the higher-dimensional Koszul homologies measure the higher-level versions of this. In the case that the elements x1,x2,…,xn form a regular sequence, the higher homology modules of the Koszul complex are all zero.
Example If k is a field and X1,X2,…,Xd are indeterminates and R is the polynomial ring k[X1,X2,…,Xd], the Koszul complex K∙(Xi) on the Xi's forms a concrete free R-resolution of k.
Properties of a Koszul homology Let E be a finite-rank free module over R, let s:E→R be an R-linear map, and let t be an element of R. Let K(s,t) be the Koszul complex of (s,t):E⊕R→R. Using ⋀k(E⊕R)=⊕i=0k⋀k−iE⊗⋀iR=⋀kE⊕⋀k−1E, there is the exact sequence of complexes:
0→K(s)→K(s,t)→K(s)[−1]→0, where [−1] signifies the degree shift by −1 and dK(s)[−1]=−dK(s). One notes: for (x,y) in ⋀kE⊕⋀k−1E,
dK(s,t)((x,y))=(dK(s)x+ty,dK(s)[−1]y). In the language of homological algebra, the above means that K(s,t) is the mapping cone of t:K(s)→K(s). Taking the long exact sequence of homologies, we obtain:
⋯→Hi(K(s))→tHi(K(s))→Hi(K(s,t))→Hi−1(K(s))→t⋯. Here, the connecting homomorphism
δ:Hi+1(K(s)[−1])=Hi(K(s))→Hi(K(s)) is computed as follows. By definition, δ([x])=[dK(s,t)(y)] where y is an element of K(s,t) that maps to x. Since K(s,t) is a direct sum, we can simply take y to be (0, x). Then the early formula for dK(s,t) gives δ([x])=t[x]. The above exact sequence can be used to prove the following.
… excerpt ends here. Continue reading the full article.

