Documentation

Lightlike.Surfaces.Local

Local structure of closed surfaces #

The triangles at an edge and at a vertex whose link is a triangle, for closed surfaces (IsSurface). These are the statements of Lightlike/PonzanoRegge/SphereRecognition.lean for intrinsic 2-spheres, whose proofs use only that triangles have three vertices, that every edge lies in two triangles and that vertex links are connected; they are restated here without the Euler characteristic.

theorem Lightlike.Surfaces.IsSurface.other_tri {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface 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 closed surface, 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.Surfaces.IsSurface.tris_at_edge {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface 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.

Lowering degrees #

theorem Lightlike.Surfaces.IsSurface.flip_lowers {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface 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)), PR.Move2 L L' ∧ L'.card = L.card ∧ PR.deg2 L' b + 1 = PR.deg2 L b ∧ b ∈ PR.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.Surfaces.IsSurface.remove_deg3 {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface 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)), PR.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.Surfaces.IsSurface.eq_bdry {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface 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 = PR.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.

theorem Lightlike.Surfaces.IsSurface.local_structure {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface L) {v : V} (hv : v ∈ PR.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 closed surface: three consecutive triangles v v₁ v₂, v v₂ v₃, v v₃ v₄ with v₁ ≠ v₃ and v₄ ≠ v₂.

A closed surface has a vertex.