Tests for the invariants of combinatorial 2-spheres #
Wrong inputs rejected by the Euler characteristic (each has an even number of triangles, so
the parity test of IsSphere2.even_card alone would not reject it):
not_isSphere2_wedge: two tetrahedron boundaries glued at a vertex (Euler characteristic3);not_isSphere2_torus: the 7-vertex triangulation of the torus (Euler characteristic0);not_isCombManifold_pinched: two boundaries of 4-simplices glued at a vertex. The link of that vertex is two disjoint 2-spheres (Euler characteristic4), so the complex is not a closed combinatorial 3-manifold.
Two tetrahedron boundaries 0123 and 0456, glued at the vertex 0.
Equations
- Lightlike.PR.Test.Sphere.wedge = Lightlike.PR.bdry 0 1 2 3 ∪ Lightlike.PR.bdry 0 4 5 6
Instances For
Wrong input: two spheres glued at a vertex are not a combinatorial 2-sphere.
The 7-vertex torus: triangles {i, i+1, i+3} and {i, i+2, i+3} modulo 7.
Equations
- Lightlike.PR.Test.Sphere.torus = Finset.image (fun (i : Fin 7) => {i, i + 1, i + 3}) Finset.univ ∪ Finset.image (fun (i : Fin 7) => {i, i + 2, i + 3}) Finset.univ
Instances For
Wrong input: the torus is not a combinatorial 2-sphere (it has 14 triangles, an even number, so only the Euler characteristic rejects it).
Two boundaries of 4-simplices, 01234 and 05678, glued at the vertex 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Wrong input: two 3-spheres glued at a vertex are not a closed combinatorial 3-manifold:
the link of the common vertex has Euler characteristic 4.