KM = koszulComplexDGM MKM = koszulComplexDGM(A, M)The module generators of KM are one copy of each generator of M, placed in hom-degree 0. The differential vanishes on these generators, so the full differential of KM is determined by the Leibniz rule together with the differential on A.natural. In the one-argument form the DG algebra is built on demand via koszulComplexDGA(ring M); in the two-argument form the caller supplies A, whose ring must equal ring M.
On a regular ring R, K^R resolves the residue field k, so koszulComplexDGM M resolves M via k \otimes_R M-style homology. In particular koszulComplexDGM R^1 recovers the Koszul complex of R itself.
Over a regular ring, the Koszul DG module on R^1 is a free resolution of the residue field, so its higher homology vanishes:
|
|
|
Over a complete intersection, the higher homology of koszulComplexDGM R^1 is no longer zero — it is the Koszul homology algebra of R, which records the deviations of R. For the codimension-2 complete intersection k[x,y]/(x^2, y^2), HH_i(KM) has rank equal to the i-th Betti number of the residue field:
|
|
|
Applying koszulComplexDGM to a nontrivial quotient module produces its Koszul resolution, now tensored against the given module. Here we resolve S / (x) over S = k[x, y] and read off its free ranks:
|
|
|
|
|
In the two-argument form the caller-supplied DG algebra must share the base ring of the module. This is the usual way to build a Koszul DG module that lives over the DGAlgebra you will pass to semifreeResolution or minimalSemifreeResolution:
|
|
|
|
The two-argument form raises an error when A.ring =!= ring M.
The object koszulComplexDGM is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/DGAlgebras/doc.m2:5492:0.