Invariants of combinatorial 2-spheres #
IsSphere2 defines combinatorial 2-spheres by 2-dimensional bistellar moves from the boundary of
a tetrahedron. This file proves that every such complex has the properties of a triangulated
2-sphere that can be read off combinatorially:
IsSphere2.euler: its Euler characteristic#vertices - #edges + #trianglesis2;IsSphere2.connected: its 1-skeleton is connected;IsSphere2.closed: every edge lies in exactly two triangles.
Each property holds for the boundary of a tetrahedron and is preserved by both moves in both directions: subdividing a triangle adds one vertex, three edges and two triangles; flipping an edge replaces one edge by another.
These are the conditions that, by the classification of surfaces, characterise the 2-sphere among
closed connected surfaces; the remaining surface condition (the link of each vertex is a single
cycle) and the converse (every triangulated 2-sphere is reached by bistellar moves, a theorem of
Steinitz and Wagner) are not formalised. The invariants give strong rejection tests: a complex
with Euler characteristic other than 2 (two spheres glued at a vertex, a torus, a disk) is not a
combinatorial 2-sphere.
The edges of a 2-complex: the 2-element subsets of its triangles.
Equations
Instances For
Subdividing a triangle #
Flipping an edge #
Flipping an edge replaces the edge bc by de.
Euler characteristic #
The Euler characteristic #vertices - #edges + #triangles of a 2-complex.
Equations
- Lightlike.PR.euler2 L = ↑(Lightlike.PR.verts2 L).card - ↑(Lightlike.PR.edges2 L).card + ↑L.card
Instances For
A 2-dimensional move keeps the Euler characteristic.
A combinatorial 2-sphere has Euler characteristic 2.
Connectivity #
The 1-skeleton of L is connected: any two vertices are joined by a path of edges.
Equations
- Lightlike.PR.IsConnected2 L = ∀ u ∈ Lightlike.PR.verts2 L, ∀ v ∈ Lightlike.PR.verts2 L, Relation.ReflTransGen (fun (x y : V) => {x, y} ∈ Lightlike.PR.edges2 L) u v
Instances For
Flipping an edge keeps the 1-skeleton connected, in both directions.
A 2-dimensional move keeps the 1-skeleton connected, in both directions.
A combinatorial 2-sphere is connected.
Closedness: every edge lies in exactly two triangles #
Every edge of L lies in exactly two triangles (L is a closed pseudo-surface).
Equations
- Lightlike.PR.IsClosed2 L = ∀ f ∈ Lightlike.PR.edges2 L, {x ∈ L | f ⊆ x}.card = 2
Instances For
Flipping an edge keeps every edge in exactly two triangles, in both directions.
A 2-dimensional move keeps every edge in exactly two triangles, in both directions.
In a combinatorial 2-sphere every edge lies in exactly two triangles.
Summary: a combinatorial 2-sphere is a connected closed pseudo-surface with Euler
characteristic 2.