Documentation

Lightlike.Regge.D4.Manifold

The manifold condition at triangles #

Lightlike/Regge/D4/Complex.lean classifies triangles combinatorially: a triangle is on the boundary if it lies in a tetrahedron contained in only one 4-simplex, and interior otherwise. This file adds the condition under which the classification has its geometric meaning, as Lightlike/Regge/Manifold.lean does for edges in 3D.

In a triangulated 4-manifold the 4-simplices around an interior triangle abc form a ring: their vertices other than a, b, c form a cycle w 0, …, w (n-1), w n = w 0, the link of the triangle, and the 4-simplices are {a, b, c, w i, w (i+1)}. Around a boundary triangle they form a fan whose link is a path w 0, …, w n.

Definitions #

Main results #

theorem Lightlike.Regge4.card_three {V : Type u_1} [DecidableEq V] {a b c : V} (hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c) :
{a, b, c}.card = 3

Three distinct vertices form a 3-element set.

theorem Lightlike.Regge4.card_four {V : Type u_1} [DecidableEq V] {a b c d : V} (hab : a ≠ b) (hac : a ≠ c) (had : a ≠ d) (hbc : b ≠ c) (hbd : b ≠ d) (hcd : c ≠ d) :
{a, b, c, d}.card = 4

Four distinct vertices form a 4-element set.

structure Lightlike.Regge4.IsCycleLink4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (n : ℕ) (w : ℕ → V) :

The link of the triangle {a, b, c} in K is a cycle of length n ≥ 3: the 4-simplices of K containing {a, b, c} are exactly {a, b, c, w i, w (i+1)} for i < n, where w 0, …, w (n-1) are distinct vertices other than a, b, c, and w n = w 0.

Instances For
    structure Lightlike.Regge4.IsPathLink4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (n : ℕ) (w : ℕ → V) :

    The link of the triangle {a, b, c} in K is a path with n ≥ 1 edges: the 4-simplices of K containing {a, b, c} are exactly {a, b, c, w i, w (i+1)} for i < n, where w 0, …, w n are distinct vertices other than a, b, c.

    Instances For

      K satisfies the manifold condition at triangles: the link of every triangle is a cycle (interior triangle) or a path (boundary triangle).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem Lightlike.Regge4.IsCycleLink4.w_succ {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) {i : ℕ} (hi : i < n) :
        w (i + 1) = w (Regge.cycSucc n i)

        In a cycle link, w (i+1) is the link vertex with index cycSucc n i.

        theorem Lightlike.Regge4.IsCycleLink4.w_inj {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) {i j : ℕ} (hi : i < n) (hj : j < n) (hw : w i = w j) :
        i = j

        The link vertices w 0, …, w (n-1) are distinct.

        theorem Lightlike.Regge4.IsCycleLink4.injOn_simp {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) :
        Set.InjOn (fun (i : ℕ) => {a, b, c, w i, w (i + 1)}) ↑(Finset.range n)

        The n 4-simplices around the triangle are distinct.

        theorem Lightlike.Regge4.IsCycleLink4.simp_mem {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) {i : ℕ} (hi : i < n) :
        {a, b, c, w i, w (i + 1)} ∈ K.simps

        The 4-simplex {a, b, c, w i, w (i+1)}, i < n, belongs to K.

        theorem Lightlike.Regge4.IsCycleLink4.mem_tris {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) :
        {a, b, c} ∈ K.tris

        A triangle with a cycle link is a triangle of K.

        theorem Lightlike.Regge4.IsCycleLink4.simp_distinct {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) {i : ℕ} (hi : i < n) :
        a ≠ w i ∧ a ≠ w (i + 1) ∧ b ≠ w i ∧ b ≠ w (i + 1) ∧ c ≠ w i ∧ c ≠ w (i + 1) ∧ w i ≠ w (i + 1)

        The five vertices of each 4-simplex {a, b, c, w i, w (i+1)} of the ring are distinct.

        theorem Lightlike.Regge4.IsCycleLink4.mem_intTris4 {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) :

        A triangle whose link is a cycle is interior: each tetrahedron {a, b, c, w k} lies in the two 4-simplices {a, b, c, w (k-1), w k} and {a, b, c, w k, w (k+1)}, so none is a boundary tetrahedron.

        theorem Lightlike.Regge4.IsCycleLink4.angleSum4_eq {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) (ℓ : Finset V → ℝ) :
        angleSum4 K ℓ {a, b, c} = ∑ i ∈ Finset.range n, dihedralAt4 ℓ {a, b, c, w i, w (i + 1)} {a, b, c}

        Around a triangle with a cycle link, the angle sum runs once over the ring of 4-simplices.

        theorem Lightlike.Regge4.IsCycleLink4.card_star {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsCycleLink4 K a b c n w) :
        (K.star {a, b, c}).card = n

        The triangle lies in exactly n 4-simplices.

        theorem Lightlike.Regge4.IsPathLink4.simp_mem {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsPathLink4 K a b c n w) {i : ℕ} (hi : i < n) :
        {a, b, c, w i, w (i + 1)} ∈ K.simps

        The 4-simplex {a, b, c, w i, w (i+1)}, i < n, belongs to K.

        theorem Lightlike.Regge4.IsPathLink4.mem_bdryTris4 {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {n : ℕ} {w : ℕ → V} (h : IsPathLink4 K a b c n w) :

        A triangle whose link is a path is on the boundary: the tetrahedron {a, b, c, w 0} at the end of the path lies only in the 4-simplex {a, b, c, w 0, w 1}.

        theorem Lightlike.Regge4.IsTriManifold.mem_intTris4_iff {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} (hK : IsTriManifold K) {t : Finset V} :
        t ∈ intTris4 K ↔ ∃ (a : V) (b : V) (c : V) (n : ℕ) (w : ℕ → V), t = {a, b, c} ∧ IsCycleLink4 K a b c n w

        On a complex satisfying the manifold condition at triangles, the interior triangles are exactly those whose link is a cycle.

        theorem Lightlike.Regge4.IsTriManifold.mem_bdryTris4_iff {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} (hK : IsTriManifold K) {t : Finset V} :
        t ∈ bdryTris4 K ↔ ∃ (a : V) (b : V) (c : V) (n : ℕ) (w : ℕ → V), t = {a, b, c} ∧ IsPathLink4 K a b c n w

        On a complex satisfying the manifold condition at triangles, the boundary triangles are exactly those whose link is a path.

        def Lightlike.Regge4.cycleCheck4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (L : List V) :

        Computable check that the list L is the link of the triangle {a, b, c}, as a cycle.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Lightlike.Regge4.pathCheck4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (L : List V) :

          Computable check that the list L is the link of the triangle {a, b, c}, as a path.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[instance_reducible]
            instance Lightlike.Regge4.instDecidableCycleCheck4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (L : List V) :
            Equations
            @[instance_reducible]
            instance Lightlike.Regge4.instDecidablePathCheck4 {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (a b c : V) (L : List V) :
            Decidable (pathCheck4 K a b c L)
            Equations
            theorem Lightlike.Regge4.IsCycleLink4.of_check {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {L : List V} (h : cycleCheck4 K a b c L) :
            IsCycleLink4 K a b c L.length fun (i : ℕ) => L.getD (i % L.length) a

            A list passing cycleCheck4 is a cycle link.

            theorem Lightlike.Regge4.IsPathLink4.of_check {V : Type u_1} [DecidableEq V] {K : FourD.Complex4 V} {a b c : V} {L : List V} (h : pathCheck4 K a b c L) :
            IsPathLink4 K a b c (L.length - 1) fun (i : ℕ) => L.getD i a

            A list passing pathCheck4 is a path link.

            theorem Lightlike.Regge4.isTriManifold_of_check {V : Type u_1} [DecidableEq V] (K : FourD.Complex4 V) (W : V → V → V → List V) (h : ∀ t ∈ K.tris, ∃ a ∈ t, ∃ b ∈ t, ∃ c ∈ t, cycleCheck4 K a b c (W a b c) ∨ pathCheck4 K a b c (W a b c)) :

            A decision procedure for IsTriManifold: if for every triangle some ordered labelling a, b, c and the candidate list W a b c pass cycleCheck4 or pathCheck4, the manifold condition holds at every triangle.

            Computed by structural recursion only, so that the kernel can evaluate them in decide; their correctness is never assumed, since isTriManifold_of_check verifies them.

            def Lightlike.Regge4.finLinkVerts4 {n : ℕ} (K : FourD.Complex4 (Fin n)) (a b c : Fin n) :
            List (Fin n)

            The vertices of the link of the triangle {a, b, c}, in increasing order.

            Equations
            Instances For
              def Lightlike.Regge4.finLinkNbrs4 {n : ℕ} (K : FourD.Complex4 (Fin n)) (a b c x : Fin n) :
              List (Fin n)

              The neighbours of x in the link of the triangle {a, b, c}: the y with {a, b, c, x, y} a 4-simplex.

              Equations
              Instances For
                def Lightlike.Regge4.finWalk4 {n : ℕ} (K : FourD.Complex4 (Fin n)) (a b c : Fin n) :
                ℕ → Fin n → List (Fin n) → List (Fin n)

                Walk along the link of the triangle {a, b, c} for at most k steps, always to the first neighbour not visited yet; acc holds the visited vertices, most recent first.

                Equations
                Instances For
                  def Lightlike.Regge4.finLinkWitness4 {n : ℕ} (K : FourD.Complex4 (Fin n)) (a b c : Fin n) :
                  List (Fin n)

                  The candidate link list of the triangle {a, b, c}: the walk from an end of the link if it has one (a path), otherwise from its first vertex (a cycle).

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