Documentation

Lightlike.FourD.Tests

Trust checks for the 4D combinatorics #

Every check below is a kernel computation (decide) on explicit complexes, independent of the general theorems, or a deliberately wrong input shown to fail.

The face numbers (f₀, f₁, f₂, f₃, f₄) of a 4-complex.

Equations
Instances For
    def Lightlike.FourD.Tests.rawMove {V : Type u_1} [DecidableEq V] (K : Complex4 V) (σ τ : Finset V) :

    The formula of Complex4.move without its preconditions, for malformed moves.

    Equations
    Instances For

      Face counts of a 4-simplex and of the boundary of a 5-simplex #

      The face numbers of a 4-simplex are (5, 10, 10, 5, 1).

      A 4-simplex has Euler characteristic 1.

      The boundary of a 4-simplex has 5 tetrahedra, 10 triangles and 10 edges, and each of its triangles lies in exactly two of its tetrahedra.

      The boundary of the 5-simplex with vertices 0, …, 5, the smallest triangulation of the 4-sphere.

      Equations
      Instances For

        The face numbers of the boundary of a 5-simplex are (6, 15, 20, 15, 6), its Euler characteristic is 2, and it is closed.

        The five Pachner moves on the 4-sphere #

        The boundary of the 5-simplex on 0, …, 5, inside the vertex type Fin 8.

        Equations
        Instances For

          A 1-5 move on K0: the 4-simplex 01234 is subdivided by the new vertex 6.

          A 2-4 move on K1: the two 4-simplices through the tetrahedron 0123 are replaced by four around the new edge 56.

          A 3-3 move on K2: the three 4-simplices around the triangle 023 are replaced by three around the new triangle 456.

          theorem Lightlike.FourD.Tests.fvec_moves :
          fvec K0 = (6, 15, 20, 15, 6) ∧ fvec K1 = (7, 20, 30, 25, 10) ∧ fvec K2 = (7, 21, 34, 30, 12) ∧ fvec K3 = (7, 21, 34, 30, 12)

          Face numbers along the moves: (6, 15, 20, 15, 6) → (7, 20, 30, 25, 10) → (7, 21, 34, 30, 12) → (7, 21, 34, 30, 12).

          Euler characteristic and closedness along the moves, computed directly.

          theorem Lightlike.FourD.Tests.move42_K2 :
          ∃ (h : K2.IsMove {5, 6} {0, 1, 2, 3}), K2.move h = K1

          The 4-2 move undoes the 2-4 move, computed directly.

          theorem Lightlike.FourD.Tests.move51_K1 :
          ∃ (h : K1.IsMove {6} {0, 1, 2, 3, 4}), K1.move h = K0

          The 5-1 move undoes the 1-5 move, computed directly.

          theorem Lightlike.FourD.Tests.move33_K3 :
          ∃ (h : K3.IsMove {4, 5, 6} {0, 2, 3}), K3.move h = K2

          The inverse 3-3 move undoes the 3-3 move, computed directly.

          The complexes along the moves are orientable (from the theorems).

          Malformed moves #

          The 2-4 formula on K0 with the tetrahedron 0123 and the edge 45, which is already an edge of K0.

          Equations
          Instances For

            A 2-4 move onto an existing edge is not a move, and its formula gives a complex with boundary whose Euler characteristic is 1 instead of 2.

            The 2-4 move on K1 with one of the four new 4-simplices (12356) left out.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Leaving out a new 4-simplex leaves a boundary.

              The 1-5 formula on K0 with the existing vertex 5 as the "new" vertex.

              Equations
              Instances For

                A 1-5 move onto an existing vertex is not a move and leaves a boundary.

                Orientation conventions #

                theorem Lightlike.FourD.Tests.cone_single_eval {V : Type u_1} [LinearOrder V] {a : V} {s t : Finset V} {c : ℤ} (ha : a ∉ s) (hc : inc s a = c) (ht : insert a s = t) :

                The cone on a single simplex with the sign and the vertex set evaluated.

                Oriented simplices for permuted vertices: [2, 0, 1] = +[012] (an even permutation) and [1, 0, 2] = -[012] (an odd one), computed from the definition by cones.

                The boundary operator with every sign +1: a deliberately wrong convention.

                Equations
                Instances For

                  With all signs +1, ∂∂ ≠ 0: the vertex 0 gets coefficient 2 in ∂∂[012], while the correct boundary operator gives 0.

                  The orientation s ↦ [S : s] of the 4-sphere, checked by computation.

                  The constant sign is not an orientation of the 4-sphere: the 4-simplices 01234 and 01235 induce the same orientation on 0123.

                  The six-vertex real projective plane: ten triangles on the vertices 0, …, 5.

                  Equations
                  Instances For

                    The join of the edge 67 with the real projective plane rp2: ten 4-simplices.

                    Equations
                    Instances For

                      rp2 is a closed pseudo-surface, and joinRP2 is a pseudo-manifold with boundary and Euler characteristic 1 (it is a cone).

                      theorem Lightlike.FourD.Tests.coherent_eval {V : Type u_1} [LinearOrder V] {K : Complex4 V} {o : Finset V → ℤ} (ho : K.IsOrientation o) {s s' t : Finset V} {a b : ℤ} (hs : s ∈ K.simps) (hs' : s' ∈ K.simps) (hne : s ≠ s') (ht : t ∈ K.tets) (hts : t ⊆ s) (hts' : t ⊆ s') (ha : relSign s t = a) (hb : relSign s' t = b) :
                      o s * a = -(o s' * b)

                      One coherence condition with the incidence numbers evaluated.

                      The join of an edge with the real projective plane is not orientable: going around the five 4-simplices T ∪ {6, 7} for the triangles T = 012, 124, 134, 034, 023 (a Möbius band in rp2) reverses the orientation.

                      theorem Lightlike.FourD.Tests.joinRP2_even_bdry :
                      (∀ f ∈ joinRP2.tris, Even {x ∈ joinRP2.bdryTets | f ⊆ x}.card) ∧ {x ∈ joinRP2.bdryTets | {0, 1, 6} ⊆ x}.card = 2

                      The boundary has no boundary (mod 2), on a complex with boundary: in joinRP2 every triangle lies in an even number of boundary tetrahedra, and some triangle in two of them.

                      The induced orientation of the boundary of a 4-simplex is the textbook ∂[01234] = [1234] - [0234] + [0134] - [0124] + [0123].

                      Junk values #

                      The hypothesis #S = 6 is needed: the 5-element subsets of a 7-element set are not a pseudo-manifold (every tetrahedron lies in three of them).

                      The empty complex is closed and orientable only vacuously; its Euler characteristic 0 tells it apart from the 4-sphere.