Documentation

Lightlike.PonzanoRegge.SphereRecognition

Recognising triangulated 2-spheres: the converse #

IsSurfaceSphere.isSphere2: every intrinsic triangulated 2-sphere (triangles, every edge in two triangles, connected vertex links, connected, Euler characteristic 2) is a combinatorial 2-sphere, that is, related to the boundary of a tetrahedron by 2D bistellar moves. With IsSphere2.isSurfaceSphere this gives isSphere2_iff_isSurfaceSphere.

The proof follows Steinitz and Wagner. Pick a vertex v. If v has degree 3, either its link triangle is a face, and then the complex is the boundary of a tetrahedron, or an inverse 1-3 move removes v and two triangles. If v has degree at least 4, with consecutive link vertices v₁ v₂ v₃ v₄, the crossing lemma (IsSurfaceSphere.not_crossing, from H₁ = 0) says that one of the diagonals v₁v₃, v₂v₄ is not an edge, so one of the edges v v₂, v v₃ can be flipped, which lowers the degree of v by one. Induction on the number of triangles and the degree of v.

Moves and the intrinsic conditions #

A 2D bistellar move keeps all five intrinsic conditions, in both directions.

theorem Lightlike.PR.IsSphere2.move {V : Type u_1} [DecidableEq V] {L L' : Finset (Finset V)} (h : Move2 L L') (hL : IsSphere2 L) :

A combinatorial 2-sphere stays one after a move.

theorem Lightlike.PR.IsSphere2.of_move {V : Type u_1} [DecidableEq V] {L L' : Finset (Finset V)} (h : Move2 L L') (hL' : IsSphere2 L') :

A complex is a combinatorial 2-sphere when the result of a move on it is one.

Triangles at an edge #

theorem Lightlike.PR.eq_tri_of_mem {V : Type u_1} [DecidableEq V] {τ : Finset V} (hc : τ.card = 3) {v w : V} (hv : v ∈ τ) (hw : w ∈ τ) (hvw : v ≠ w) :
∃ (b : V), b ≠ v ∧ b ≠ w ∧ τ = {v, w, b}

A 3-element set containing two distinct vertices v, w is {v, w, b} for a third vertex.

theorem Lightlike.PR.IsSurfaceSphere.other_tri {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {v w a : V} (hτ : {v, w, a} ∈ L) :
∃ (b : V), b ≠ a ∧ b ≠ v ∧ b ≠ w ∧ {v, w, b} ∈ L ∧ ∀ τ ∈ L, {v, w} ⊆ τ → τ = {v, w, a} ∨ τ = {v, w, b}

The other triangle at an edge. In a triangulated 2-sphere, the edge vw of a triangle {v, w, a} lies in exactly one more triangle {v, w, b}, b ≠ a; there are no others.

theorem Lightlike.PR.tri_swap {V : Type u_1} [DecidableEq V] (v x y : V) :
{v, x, y} = {v, y, x}
theorem Lightlike.PR.IsSurfaceSphere.tris_at_edge {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {v w x y : V} (hx : {v, w, x} ∈ L) (hy : {v, w, y} ∈ L) (hxy : x ≠ y) (τ : Finset V) :
τ ∈ L → {v, w} ⊆ τ → τ = {v, w, x} ∨ τ = {v, w, y}

The two triangles at an edge. If {v, w, x} and {v, w, y} are triangles with x ≠ y, every triangle containing v and w is one of them.

theorem Lightlike.PR.eq_of_tri_eq {V : Type u_1} [DecidableEq V] {v w q x : V} (h : {v, w, q} = {v, w, x}) (hqv : q ≠ v) (hqw : q ≠ w) :
q = x

From {v, w, q} = {v, w, x} with q ≠ v, w: q = x.

The three steps #

def Lightlike.PR.deg2 {V : Type u_1} [DecidableEq V] (L : Finset (Finset V)) (v : V) :

The number of triangles at a vertex.

Equations
Instances For
    theorem Lightlike.PR.IsSurfaceSphere.flip_lowers {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {b c d e : V} (h₁ : {b, c, d} ∈ L) (h₂ : {b, c, e} ∈ L) (hde : d ≠ e) (hfresh : ∀ τ ∈ L, ¬{d, e} ⊆ τ) :
    ∃ (L' : Finset (Finset V)), Move2 L L' ∧ L'.card = L.card ∧ deg2 L' b + 1 = deg2 L b ∧ b ∈ verts2 L'

    A flip lowering the degree of b. If {b, c, d} and {b, c, e} are triangles and de is not an edge, flipping bc to de keeps the number of triangles and lowers the degree of b by one.

    theorem Lightlike.PR.IsSurfaceSphere.remove_deg3 {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {v a b c : V} (hab : {v, a, b} ∈ L) (hbc : {v, b, c} ∈ L) (hca : {v, c, a} ∈ L) (habc : {a, b, c} ∉ L) :
    ∃ (L₀ : Finset (Finset V)), Move2 L₀ L ∧ L₀.card < L.card

    Removing a vertex of degree 3. If the triangles at v are vab, vbc, vca and abc is not a face, an inverse 1-3 move replaces them by abc, with two triangles fewer.

    theorem Lightlike.PR.mem_of_eq_tri {V : Type u_1} {L : Finset (Finset V)} {s t : Finset V} (h : s ∈ L) (e : s = t) :
    t ∈ L
    theorem Lightlike.PR.IsSurfaceSphere.eq_bdry {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {v a b c : V} (hab : {v, a, b} ∈ L) (hbc : {v, b, c} ∈ L) (hca : {v, c, a} ∈ L) (habc : {a, b, c} ∈ L) :
    L = bdry v a b c

    Recognising the boundary of a tetrahedron. If the triangles at v are vab, vbc, vca and abc is a face, the complex is the boundary of the tetrahedron vabc: the links of a, b, c are triangles too, and the 1-skeleton is connected.

    The converse #

    theorem Lightlike.PR.IsSurfaceSphere.local_structure {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurfaceSphere L) {v : V} (hv : v ∈ verts2 L) :
    ∃ (v₁ : V) (v₂ : V) (v₃ : V) (v₄ : V), {v, v₁, v₂} ∈ L ∧ {v, v₂, v₃} ∈ L ∧ {v, v₃, v₄} ∈ L ∧ v₁ ≠ v₃ ∧ v₄ ≠ v₂

    Around any vertex v of a triangulated 2-sphere: three consecutive triangles v v₁ v₂, v v₂ v₃, v v₃ v₄ with v₁ ≠ v₃ and v₄ ≠ v₂.

    Every intrinsic triangulated 2-sphere is a combinatorial 2-sphere (Steinitz–Wagner): triangles with every edge in two triangles, connected vertex links, a connected 1-skeleton and Euler characteristic 2 are related to the boundary of a tetrahedron by 2D bistellar moves.

    The two definitions of a triangulated 2-sphere agree: generated by 2D bistellar moves from the boundary of a tetrahedron, and intrinsic (closed, connected vertex links, connected, Euler characteristic 2).