b = isWellDefined AChecks three conditions in order. First, a structural validation: the DG algebra has keys ring, natural, diff, and Degrees with the right types, and the length of A.Degrees equals the number of generators of A.natural. Second, every generator g of A.natural has d(g) of homological degree |g| - 1. Third, d^2(g) = 0 on every generator — Leibniz then extends this to all of A.natural.
When debugLevel > 0 the routine prints a diagnostic line for each failing check.
|
|
|
A DG algebra with A.diff == {} (no differential set) passes the check trivially — the second and third conditions apply only to generators with a stored differential.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/DGAlgebras/doc.m2:4943:0.