isWellDefined C
This routine checks that the differential of C composes to zero. Additionally, it checks that the underlying data in C is a properly formed Complex object in Macaulay2. If the variable debugLevel is set to a value greater than zero, then information about the nature of any failure is displayed.
As a first example, we construct by hand the free resolution of the twisted cubic. One must work with maps rather than matrices, because the source and the target of adjacent maps must be the same (including degree information).
|
|
|
|
|
|
|
The zero complex is well-defined.
|
|
The next example demonstrates the case when the sequence maps do not compose to 0.
|
|
|
|
|
|