A = koszulComplexDGA RA = koszulComplexDGA(R, Variable => "S")Given a ring R with n = numgens R generators x_1, ..., x_n, the returned DG algebra has underlying graded-commutative polynomial ring R[T_(1,1), ..., T_(1,n)] on n exterior (odd, square-zero) generators in hom-degree 1, with differential d(T_(1,i)) = x_i extended by the Leibniz rule. In the R-module direction, the complex is identical to the classical Koszul complex K_\bullet(x_1, ..., x_n; R).
Variable naming convention. Generators are named T_(i, j), where i is the homological degree (here always 1) and j is a 1-indexed counter among generators at that hom-degree. Pass Variable => "S" to use base name S instead.
|
|
|
|
Converting to a Complex gives the ordinary Koszul complex on the variables (up to a choice of monomial order on the exterior product); taking homology recovers the classical Koszul homology:
|
|
|
|
The homology can be computed directly from A via HH_ZZ DGAlgebra, or as an algebra via homologyAlgebra.
To rename the Koszul generators, pass the Variable option:
|
|
|
The Koszul complex is built on all elements of gens R, not on a minimal generating set of a possibly non-irrelevant ideal. To build a Koszul complex on a specific sequence of ring elements, use koszulComplexDGA(List); for a full generating set of an ideal, use koszulComplexDGA(Ideal). Also, toComplex uses a different monomial order than the koszul command, so individual differentials may differ by a basis permutation even though the complexes are isomorphic.
The object koszulComplexDGA is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/DGAlgebras/doc.m2:931:0.