Macaulay2 » Documentation
Packages » DGAlgebras » Building DG algebras from existing DG algebras » truncateGenerators
next | previous | forward | backward | up | index | toc

truncateGenerators -- Restrict a DG algebra to its generators of hom-degree strictly above a bound

Description

Computes keepIdx as select(0 .. #A.Degrees - 1, i -> first A.Degrees#i > n) and delegates to subDGAlgebra. As with subDGAlgebra, the subset must be d-closed; if the differential of a generator T_i of hom-degree > n uses a generator of hom-degree <= n that would be dropped, an error is raised.

i1 : R = QQ[x, y] / ideal(x^2, y^2)

o1 = R

o1 : QuotientRing
i2 : A = koszulComplexDGA R

o2 = {Ring => R                          }
      Underlying algebra => R[T   ..T   ]
                               1,1   1,2
      Differential => {x, y}

o2 : DGAlgebra
i3 : B = truncateGenerators(A, 0)

o3 = {Ring => R                          }
      Underlying algebra => R[T   ..T   ]
                               1,1   1,2
      Differential => {x, y}

o3 : DGAlgebra
i4 : numgens B.natural

o4 = 2

The Koszul algebra has all generators in hom-degree 1 so truncating below degree 0 is a no-op in this case.

See also

Ways to use truncateGenerators:

  • truncateGenerators(DGAlgebra,ZZ)

For the programmer

The object truncateGenerators 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:6669:0.