isWellDefined C
This function checks two conditions. First, it checks that all cells in the cell complex are well defined in the sense of isWellDefined(Cell). Second, it checks that all of the labels in the cell complex are in a common ambient module.
The following example demonstrates that unlike isWellDefined(Cell), cells at all dimensions are checked, and not just the cells in the boundary. The cell complex in the example is not well defined since the edges have labels that aren't divisible by the vertices in their boundary.
|
|
|
|
|
|
|
|
Another important way that cell complexes can fail to be well defined is if they have labels from different rings
|
|
|
|
|
This function does not check that the cell complex corresponds to a topologically realizable cell complex.