Mnew = adjoinGenerators(M, cycleList)This is the module-theoretic analog of adjoinVariables on a DG algebra. For each z in cycleList of hom-degree d, the output has a fresh generator in hom-degree d + 1 whose differential is z. If z is indeed a cycle then the new generator witnesses its homology class as a boundary, so homology classes supported on cycleList are killed.
Existing generator indices and their differentials are preserved verbatim: the first #M.Degrees generators of Mnew correspond to those of M, so code that references (M.natural)_i for old indices i continues to work when lifted to Mnew.
|
|
|
|
|
|
|
The new generator sits in hom-degree 1 and its differential is the cycle x * e_0 in M.natural.
Only supported when M.natural is a free A.natural-module (i.e. M was built by freeDGModule or a previous adjoinGenerators call). Each entry of cycleList must be a cycle; otherwise the output differential will not satisfy d^2 = 0.
The object adjoinGenerators 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:5553:0.