complex L
A complex is a sequence of objects (e.g. modules), connected by maps called differentials. The composition of any two consecutive maps is zero.
The same data type is used for both chain and cochain complexes. If C is a complex, then we have C^i = C_{-i}.
Often, a complex is most easily described by giving a list of consecutive maps which form the differential.
We construct the Koszul complex on the generators for the ideal of the twisted cubic curve.
|
|
|
|
|
|
|
To start a complex at a base different from zero, use the optional argument Base.
|
|
Notice that this changes the homological degrees of the maps, but is not the same as the shift of the complex (which for odd shifts negates the maps).
|
|
Having constructed this complex, we can access individual terms and maps.
|
|
|
|
|
|
|
By computing the homology of this complex, we see that these generators do not form a regular sequence, because $H_1(C)$ is non-zero.
|
|
|
This constructor minimizes computation and does very little error checking. To verify that a complex is well constructed, use isWellDefined(Complex).
The object complex is a method function with options.