Documentation

Lightlike.Surfaces.Tests

Trust checks for the classification of surfaces #

Known examples and deliberately wrong inputs for classify and classify_unique:

Surface certificates #

theorem Lightlike.Surfaces.isConnEdges_of_reach {E : Finset (Finset ℕ)} (hE : ∀ e ∈ E, e.card = 2) {a : ℕ} (h : ∀ m ∈ PR.verts2 E, m ∈ reachAll E a) :

A connectivity certificate: if the reachability search from a finds every vertex of an edge set, the edge set is connected.

theorem Lightlike.Surfaces.isSurface_of_cert {X : Finset (Finset ℕ)} (hne : X.Nonempty) (hT : PR.IsTri2 X) (hC : PR.IsClosed2 X) (hlk : ∀ v ∈ PR.verts2 X, ∃ a ∈ PR.verts2 (PR.lk2 X v), ∀ m ∈ PR.verts2 (PR.lk2 X v), m ∈ reachAll (PR.lk2 X v) a) (hcon : ∃ a ∈ PR.verts2 X, ∀ m ∈ PR.verts2 X, m ∈ reachAll (PR.edges2 X) a) :

A closed-surface certificate for complexes on ℕ, in decidable form: triangles, every edge in two triangles, and reachability searches that find every vertex of each vertex link and of the 1-skeleton.

The 6-vertex projective plane is a closed surface.

The 9-vertex torus is a closed surface.

Möbius' 7-vertex torus #

Möbius' 7-vertex torus: the triangles {i, i+1, i+3} and {i, i+2, i+3} mod 7. Every pair of its 7 vertices is an edge (21 edges, 14 triangles). It is not used in the proof of the classification, so it is an independent test.

Equations
Instances For

    Möbius' 7-vertex torus is a closed surface.

    Möbius' torus has Euler characteristic 7 - 21 + 14 = 0.

    A coherent orientation of T7, one ordered triple per triangle.

    Equations
    Instances For
      theorem Lightlike.Surfaces.T7or_mem (t : ℕ × ℕ × ℕ) :
      t ∈ T7or → {t.1, t.2.1, t.2.2} ∈ T7
      theorem Lightlike.Surfaces.T7_lt (τ : Finset ℕ) :
      τ ∈ T7 → ∀ v ∈ τ, v < 7
      theorem Lightlike.Surfaces.T7_unit (x : ℕ) :
      x < 7 → ∀ y < 7, ∀ z < 7, {x, y, z} ∈ T7 → olist T7or x y z = 1 ∨ olist T7or x y z = -1
      theorem Lightlike.Surfaces.T7_edges (u : ℕ) :
      u < 7 → ∀ v < 7, (List.map (fun (t : ℕ × ℕ × ℕ) => edir t.1 t.2.1 u v + edir t.2.1 t.2.2 u v + edir t.2.2 t.1 u v) T7or).sum = 0

      Möbius' torus is orientable.

      Known values #

      theorem Lightlike.Surfaces.P6_loc (n : ℕ) :
      n ∈ {3, 4, 5} → ∀ t ∈ P6, n ∈ t → t ∈ P6.erase {0, 1, 2}

      The 6-vertex projective plane is not orientable.

      Known value: the projective plane. P6 is related by moves to stdModel false 0, one crosscap.

      Known value: the 9-vertex torus is related by moves to stdModel true 1, one handle.

      Known value: Möbius' 7-vertex torus is related by moves to stdModel true 1, one handle.

      Agreement with sphere recognition. The classification alone shows that a closed surface with Euler characteristic 2 is a combinatorial 2-sphere (Lightlike.PR.IsSphere2), independently of the proof of Lightlike.PR.isSphere2_iff_isSurfaceSphere: a crosscap model has χ ≤ 1, and the handle model with χ = 2 is the boundary of a tetrahedron.

      Wrong models and wrong inputs #

      Wrong model: the Klein bottle. Möbius' torus has the Euler characteristic 0 of the Klein bottle stdModel false 1, but it is not related to it by moves: orientability tells them apart.

      Wrong model: the sphere. Möbius' torus is not related to the sphere stdModel true 0: the Euler characteristics 0 and 2 differ.

      The torus and the Klein bottle are different: the two standard models with χ = 0 are not related by moves, however they are placed.

      Wrong input: a single triangle is not closed, so it is related to no standard model.

      Wrong input: two disjoint spheres (closed, with connected vertex links, but disconnected) have Euler characteristic 4 > 2, so they are related to no standard model.