Documentation

Lightlike.FourD.Complex

Finite pure 4-dimensional simplicial complexes #

A 4-dimensional triangulation is described, as the 3-dimensional ones of PonzanoRegge/ (Lightlike.PR.Complex3), by its top-dimensional simplices: a Complex4 V is a finite set of 5-element vertex sets, the 4-simplices. All lower faces are the subsets of the 4-simplices. No manifold condition is imposed here; closedness and orientation are in Lightlike/FourD/Boundary.lean and Lightlike/FourD/Orientation.lean, the Pachner moves in Lightlike/FourD/Pachner.lean.

Definitions #

Main results #

structure Lightlike.FourD.Complex4 (V : Type u_2) [DecidableEq V] :
Type u_2

A finite pure 4-dimensional simplicial complex, given by its 4-simplices (5-element vertex sets).

Instances For
    theorem Lightlike.FourD.Complex4.ext {V : Type u_1} [DecidableEq V] {K K' : Complex4 V} (h : K.simps = K'.simps) :
    K = K'

    Two complexes with the same 4-simplices are equal.

    theorem Lightlike.FourD.Complex4.ext_iff {V : Type u_1} [DecidableEq V] {K K' : Complex4 V} :
    K = K' ↔ K.simps = K'.simps

    The k-dimensional faces: the (k+1)-element subsets of 4-simplices.

    Equations
    Instances For

      The vertices: the elements of the 4-simplices.

      Equations
      Instances For
        @[reducible, inline]

        The edges: the 1-dimensional faces.

        Equations
        Instances For
          @[reducible, inline]

          The triangles: the 2-dimensional faces.

          Equations
          Instances For
            @[reducible, inline]

            The tetrahedra: the 3-dimensional faces.

            Equations
            Instances For

              All nonempty faces of K, of every dimension.

              Equations
              Instances For
                theorem Lightlike.FourD.Complex4.mem_faces {V : Type u_1} [DecidableEq V] {K : Complex4 V} {k : ℕ} {f : Finset V} :
                f ∈ K.faces k ↔ ∃ s ∈ K.simps, f ⊆ s ∧ f.card = k + 1
                theorem Lightlike.FourD.Complex4.card_of_mem_faces {V : Type u_1} [DecidableEq V] {K : Complex4 V} {k : ℕ} {f : Finset V} (h : f ∈ K.faces k) :
                f.card = k + 1

                A k-dimensional face has k + 1 vertices.

                theorem Lightlike.FourD.Complex4.mem_verts {V : Type u_1} [DecidableEq V] {K : Complex4 V} {v : V} :
                v ∈ K.verts ↔ ∃ s ∈ K.simps, v ∈ s
                theorem Lightlike.FourD.Complex4.mem_allFaces {V : Type u_1} [DecidableEq V] {K : Complex4 V} {f : Finset V} :
                f ∈ K.allFaces ↔ f.Nonempty ∧ ∃ s ∈ K.simps, f ⊆ s
                theorem Lightlike.FourD.Complex4.card_le_five {V : Type u_1} [DecidableEq V] {K : Complex4 V} {f s : Finset V} (hs : s ∈ K.simps) (hf : f ⊆ s) :
                f.card ≤ 5

                Every face of K has at most five vertices.

                The 4-dimensional faces are the 4-simplices.

                theorem Lightlike.FourD.Complex4.faces_eq_empty {V : Type u_1} [DecidableEq V] (K : Complex4 V) {k : ℕ} (hk : 4 < k) :
                K.faces k = ∅

                There are no faces of dimension above 4.

                The 0-dimensional faces are the singletons of the vertices.

                f₀ is the number of vertices.

                The nonempty faces are the faces of dimensions 0, …, 4.

                The Euler characteristic f₀ - f₁ + f₂ - f₃ + f₄.

                Equations
                Instances For
                  theorem Lightlike.FourD.Complex4.euler4_eq_sum {V : Type u_1} [DecidableEq V] (K : Complex4 V) :
                  K.euler4 = ∑ f ∈ K.allFaces, (-1) ^ (f.card + 1)

                  The Euler characteristic as an alternating sum over all nonempty faces.

                  The complex as an abstract simplicial complex in Mathlib's sense: its faces are the nonempty subsets of 4-simplices.

                  Equations
                  Instances For

                    The faces of toPre K are exactly the nonempty faces of K.

                    Examples: a 4-simplex and the boundary of a 5-simplex #

                    def Lightlike.FourD.Complex4.simplex {V : Type u_1} [DecidableEq V] (s : Finset V) (hs : s.card = 5) :

                    The complex consisting of the single 4-simplex s.

                    Equations
                    Instances For

                      The 5-element subsets of S as 4-simplices. For #S = 6 (assumed by all results about it) this is the boundary of the 5-simplex S, the smallest triangulation of the 4-sphere.

                      Equations
                      Instances For
                        theorem Lightlike.FourD.Complex4.faces_simplex {V : Type u_1} [DecidableEq V] {s : Finset V} (hs : s.card = 5) (k : ℕ) :

                        The faces of a 4-simplex s are its subsets.

                        theorem Lightlike.FourD.Complex4.faces_sphere {V : Type u_1} [DecidableEq V] {S : Finset V} (hS : S.card = 6) {k : ℕ} (hk : k ≤ 4) :

                        The faces of the boundary of a 5-simplex S are the subsets of S with at most five elements.

                        theorem Lightlike.FourD.Complex4.card_faces_simplex {V : Type u_1} [DecidableEq V] {s : Finset V} (hs : s.card = 5) (k : ℕ) :
                        ((simplex s hs).faces k).card = Nat.choose 5 (k + 1)

                        Face counts of a 4-simplex: fₖ = C(5, k+1), i.e. (5, 10, 10, 5, 1).

                        theorem Lightlike.FourD.Complex4.card_faces_sphere {V : Type u_1} [DecidableEq V] {S : Finset V} (hS : S.card = 6) {k : ℕ} (hk : k ≤ 4) :
                        ((sphere S).faces k).card = Nat.choose 6 (k + 1)

                        Face counts of the boundary of a 5-simplex: fₖ = C(6, k+1) for k ≤ 4, i.e. (6, 15, 20, 15, 6).

                        theorem Lightlike.FourD.Complex4.euler4_simplex {V : Type u_1} [DecidableEq V] {s : Finset V} (hs : s.card = 5) :
                        (simplex s hs).euler4 = 1

                        A 4-simplex has Euler characteristic 5 - 10 + 10 - 5 + 1 = 1.

                        theorem Lightlike.FourD.Complex4.euler4_sphere {V : Type u_1} [DecidableEq V] {S : Finset V} (hS : S.card = 6) :

                        The boundary of a 5-simplex has Euler characteristic 6 - 15 + 20 - 15 + 6 = 2, that of the 4-sphere.