Documentation

Lightlike.SpinFoam.SNet

Signed spin networks #

The Pachner moves of the Ooguri model are proven by rewriting the product of the vertex amplitudes of a configuration of 4-simplices, summed over its internal colours, into a network of intertwiners whose shape is visibly the same for both sides of the move. This file sets up the networks and the rewriting steps.

A signed network S : SNet F E N has edges E and nodes N (finite types), with live flags. A live edge e carries the face face e (a triangle, whose colour is its spin) and a flag kap e; a live node n carries the face tet n (a tetrahedron, whose colour is its virtual spin) and four legs: the leg l sits on the edge leg n l with the sign neg n l. A list of constraints (e₁, e₂, b) asks x e₂ = ± x e₁, and a list cst of faces gives the constant sign Π_{f ∈ cst} (-1)^{col f}. With a colouring col of the faces the network evaluates to (ev)

Π_{f ∈ cst} (-1)^{col f} · Σ_x Π_{e, kap e} (-1)^{(j_e - x_e)/2} · Π_n ι_{tet n}(± x_{leg n l}) · Π_{(e₁, e₂, b)} [x e₂ = ± x e₁],

where x runs over the admissible projections of the live edges (0 on the dead ones), j_e is the spin of face e, and ι_t is the canonical intertwiner of the tetrahedron t with the spins of its legs' faces (nodeT, the leg order of canonTet).

Main results #

References #

Boxes, signs and the node tensor #

The admissible projections of a doubled spin j: -j ≤ μ ≤ j with j - μ even.

Equations
Instances For

    x for b = false, -x for b = true.

    Equations
    Instances For
      @[simp]
      @[simp]
      theorem Lightlike.SpinFoam.sg_sg (a b : Bool) (x : ℤ) :
      sg a (sg b x) = sg (a ^^ b) x
      theorem Lightlike.SpinFoam.sg_eq_iff {b : Bool} {x y : ℤ} :
      sg b x = y ↔ x = sg b y
      theorem Lightlike.SpinFoam.sg_mem_pbox {b : Bool} {j : ℕ} {μ : ℤ} :
      sg b μ ∈ pbox j ↔ μ ∈ pbox j
      theorem Lightlike.SpinFoam.edgeSign_sg {b : Bool} {j : ℕ} {m : ℤ} (h : m ∈ pbox j) :
      noncomputable def Lightlike.SpinFoam.nodeT {F : Type u_1} (col : F → ℕ) (t : F) (f : Fin 4 → F) (m : Fin 4 → ℤ) :

      The canonical intertwiner of a tetrahedron t whose legs lie on the faces f l, in the leg order of canonTet: the virtual spin col t couples the legs 0 and 2.

      Equations
      Instances For
        noncomputable def Lightlike.SpinFoam.fsign {F : Type u_1} (l : List F) (col : F → ℕ) :

        The sign Π_{f ∈ l} (-1)^{col f} of a list of faces.

        Equations
        Instances For
          @[simp]
          theorem Lightlike.SpinFoam.fsign_nil {F : Type u_1} (col : F → ℕ) :
          fsign [] col = 1
          @[simp]
          theorem Lightlike.SpinFoam.fsign_cons {F : Type u_1} (f : F) (l : List F) (col : F → ℕ) :
          fsign (f :: l) col = (-1) ^ col f * fsign l col
          theorem Lightlike.SpinFoam.fsign_append {F : Type u_1} (l₁ l₂ : List F) (col : F → ℕ) :
          fsign (l₁ ++ l₂) col = fsign l₁ col * fsign l₂ col
          theorem Lightlike.SpinFoam.fsign_filter {F : Type u_1} [DecidableEq F] (l : List F) (col : F → ℕ) (f₀ : F) :
          fsign l col = fsign (List.filter (fun (x : F) => decide (x ≠ f₀)) l) col * ((-1) ^ col f₀) ^ List.count f₀ l

          Taking the face f₀ out of the constant sign leaves the factor ((-1)^{col f₀})^{count}.

          theorem Lightlike.SpinFoam.fsign_filter_of_even {F : Type u_1} [DecidableEq F] {l : List F} (col : F → ℕ) {f₀ : F} (h : Even (List.count f₀ l)) :
          fsign l col = fsign (List.filter (fun (x : F) => decide (x ≠ f₀)) l) col

          A face that occurs an even number of times can be dropped from the constant sign.

          theorem Lightlike.SpinFoam.fsign_eq_of_count {F : Type u_1} [DecidableEq F] {l₁ l₂ : List F} (col : F → ℕ) (h : ∀ f ∈ l₁ ++ l₂, List.count f l₁ % 2 = List.count f l₂ % 2) :
          fsign l₁ col = fsign l₂ col

          The constant sign only sees the parity of the number of times each face occurs.

          theorem Lightlike.SpinFoam.sg_not (b : Bool) (x : ℤ) :
          sg (!b) x = -sg b x
          theorem Lightlike.SpinFoam.sum_of_fourJ_ne_zero {j₁ j₂ j₃ j₄ k : ℕ} {m₁ m₂ m₃ m₄ : ℤ} (h : Recoupling.fourJ j₁ j₂ j₃ j₄ k m₁ m₂ m₃ m₄ ≠ 0) :
          m₁ + m₂ + m₃ + m₄ = 0

          The projections of a nonzero intertwiner sum to zero.

          theorem Lightlike.SpinFoam.nodeT_neg {F : Type u_1} (col : F → ℕ) (t : F) (f : Fin 4 → F) (u : Fin 4 → ℤ) :
          (nodeT col t f fun (l : Fin 4) => -u l) = (-1) ^ ((col (f 0) + col (f 2) + col (f 1) + col (f 3)) / 2) * nodeT col t f u

          Reversing all legs of a node tensor gives the sign (-1)^{(j₀+j₁+j₂+j₃)/2}.

          theorem Lightlike.SpinFoam.nodeT_flip {F : Type u_1} (col : F → ℕ) (t : F) (f : Fin 4 → F) (τ : Fin 4 → Bool) (x : Fin 4 → ℤ) (hx : ∀ (l : Fin 4), x l ∈ pbox (col (f l))) :
          (nodeT col t f fun (l : Fin 4) => sg (τ l) (x l)) * ∏ l : Fin 4, Recoupling.edgeSign (col (f l)) (x l) = (nodeT col t f fun (l : Fin 4) => sg (!τ l) (x l)) * ∏ l : Fin 4, if τ l = true then 1 else (-1) ^ col (f l)

          Flipping a node. Reversing the signs of all four legs of a node tensor, the edge signs of its legs are traded for the signs (-1)^j of the legs that were read without sign.

          Factorization of sums over boxes #

          theorem Lightlike.SpinFoam.sum_pi_mul_of_dep {ι : Type u_1} [Fintype ι] [DecidableEq ι] (B : ι → Finset ℤ) (p : ι → Prop) [DecidablePred p] (φ ψ : (ι → ℤ) → ℝ) (hφ : ∀ (x : ι → ℤ), φ x = φ fun (i : ι) => if p i then x i else 0) (hψ : ∀ (x : ι → ℤ), ψ x = ψ fun (i : ι) => if p i then 0 else x i) :
          ∑ x ∈ Fintype.piFinset B, φ x * ψ x = (∑ x ∈ Fintype.piFinset fun (i : ι) => if p i then B i else {0}, φ x) * ∑ x ∈ Fintype.piFinset fun (i : ι) => if p i then {0} else B i, ψ x

          Factorization. A sum over a box of a product φ x · ψ x, where φ depends only on the coordinates in p and ψ only on the others, is the product of the sum of φ (the other coordinates set to 0) and the sum of ψ (the coordinates in p set to 0).

          theorem Lightlike.SpinFoam.sum_pi_split {ι : Type u_1} [Fintype ι] [DecidableEq ι] (B : ι → Finset ℤ) (p : ι → Prop) [DecidablePred p] (G : (ι → ℤ) → ℝ) :
          ∑ x ∈ Fintype.piFinset B, G x = ∑ y ∈ Fintype.piFinset fun (i : ι) => if p i then {0} else B i, ∑ z ∈ Fintype.piFinset fun (i : ι) => if p i then B i else {0}, G fun (i : ι) => if p i then z i else y i

          Splitting a box. A sum over a box is a double sum: over the coordinates outside p (those in p set to 0), and over the coordinates in p (the others set to 0), of the merged point.

          theorem Lightlike.SpinFoam.prod_live {α : Type u_2} {β : Type u_3} [Fintype α] [Fintype β] (p : α → Bool) (q : β → Bool) (σ : α → β) (τ : β → α) (hσ : ∀ (a : α), p a = true → q (σ a) = true ∧ τ (σ a) = a) (hτ : ∀ (b : β), q b = true → p (τ b) = true ∧ σ (τ b) = b) (f : α → ℝ) (g : β → ℝ) (hf : ∀ (a : α), p a = false → f a = 1) (hg : ∀ (b : β), q b = false → g b = 1) (hfg : ∀ (a : α), p a = true → f a = g (σ a)) :
          ∏ a : α, f a = ∏ b : β, g b

          Two products agree when the factors are 1 off two sets that correspond bijectively, factor by factor.

          theorem Lightlike.SpinFoam.absorb {j : Fin 4 → ℕ} {R : (Fin 4 → ℤ) → ℝ} (hR : Recoupling.IsInv j (fun (x : Fin 4) => false) R) (cut : ℕ) (hcut : j 0 + j 2 ≤ cut) (v : Fin 4 → ℤ) :
          ∑ k ∈ Finset.range (cut + 1), Recoupling.fourJ (j 0) (j 2) (j 1) (j 3) k (v 0) (v 2) (v 1) (v 3) * ∑ m ∈ Fintype.piFinset fun (l : Fin 4) => Finset.Icc (-↑(j l)) ↑(j l), Recoupling.fourJ (j 0) (j 2) (j 1) (j 3) k (m 0) (m 2) (m 1) (m 3) * R m = R v

          Absorbing a projector into an invariant tensor. For an invariant tensor R with four incoming legs of spins j, the projector Σ_k ι^{(k)} ⊗ ι^{(k)} (intertwiners in the leg order (0 2 1 3), summed over any cutoff at least j 0 + j 2) contracted with R gives R back.

          theorem Lightlike.SpinFoam.proj_perm (c : Fin 4 → ℕ) (ρ : Equiv.Perm (Fin 4)) (m m' : Fin 4 → ℤ) :
          ∑ k ∈ Finset.range (c 0 + c 2 + 1), Recoupling.fourJ (c 0) (c 2) (c 1) (c 3) k (m 0) (m 2) (m 1) (m 3) * Recoupling.fourJ (c 0) (c 2) (c 1) (c 3) k (m' 0) (m' 2) (m' 1) (m' 3) = ∑ x ∈ Finset.range (c (ρ 0) + c (ρ 1) + 1), Recoupling.fourJ (c (ρ 0)) (c (ρ 1)) (c (ρ 2)) (c (ρ 3)) x (m (ρ 0)) (m (ρ 1)) (m (ρ 2)) (m (ρ 3)) * Recoupling.fourJ (c (ρ 0)) (c (ρ 1)) (c (ρ 2)) (c (ρ 3)) x (m' (ρ 0)) (m' (ρ 1)) (m' (ρ 2)) (m' (ρ 3))

          The projector in another leg order. The node projector Σ_k ι^{(k)} ⊗ ι^{(k)} (leg order (0 2 1 3)) equals the same sum for the intertwiners in the leg order ρ.

          theorem Lightlike.SpinFoam.loop_node (c : Fin 4 → ℕ) (lA : Fin 4) {u : Fin 4 → ℤ} (hu : ∀ (l : Fin 4), l ≠ lA → u l ∈ pbox (c l)) (u' : Fin 4 → ℤ) (cutA cut : ℕ) (hA : ∑ l ∈ Finset.univ.erase lA, c l ≤ cutA) (hk : ∀ jA ≤ cutA, Function.update c lA jA 0 + Function.update c lA jA 2 ≤ cut) :
          ∑ jA ∈ Finset.range (cutA + 1), (↑jA + 1) * ∑ k ∈ Finset.range (cut + 1), ∑ μ ∈ pbox jA, Recoupling.fourJ (Function.update c lA jA 0) (Function.update c lA jA 2) (Function.update c lA jA 1) (Function.update c lA jA 3) k (Function.update u lA μ 0) (Function.update u lA μ 2) (Function.update u lA μ 1) (Function.update u lA μ 3) * Recoupling.fourJ (Function.update c lA jA 0) (Function.update c lA jA 2) (Function.update c lA jA 1) (Function.update c lA jA 3) k (Function.update u' lA μ 0) (Function.update u' lA μ 2) (Function.update u' lA μ 1) (Function.update u' lA μ 3) = ∏ l : Fin 4, if l = lA ∨ u l = u' l then 1 else 0

          Closing a strand of a node projector. Summing the spin jA of leg lA with the weight jA + 1 and its projection, the node projector becomes the identity on the other three legs (for admissible projections u there, and cutoffs large enough).

          theorem Lightlike.SpinFoam.update_triad_le (c : Fin 4 → ℕ) (lA : Fin 4) (jA : ℕ) :
          Function.update c lA jA 0 + Function.update c lA jA 2 ≤ jA + ∑ l ∈ Finset.univ.erase lA, c l

          The two spins of the first triad of a node, after the spin of leg lA is replaced by jA.

          theorem Lightlike.SpinFoam.sum_pbox_sg (b : Bool) (j : ℕ) (g : ℤ → ℝ) :
          ∑ a ∈ pbox j, g (sg b a) = ∑ μ ∈ pbox j, g μ

          Summing over the admissible projections is unchanged by a sign flip.

          Signed networks #

          structure Lightlike.SpinFoam.SNet (F : Type u_1) (E : Type u_2) (N : Type u_3) :
          Type (max (max u_1 u_2) u_3)

          A signed network: edges E, nodes N, faces F (see the module docstring).

          • face : E → F

            The face (triangle) of an edge.

          • kap : E → Bool

            Whether the edge carries the sign (-1)^{(j - x)/2} of the invariant bilinear form.

          • eLive : E → Bool

            Whether the edge is live (dead edges have projection 0).

          • tet : N → F

            The face (tetrahedron) of a node.

          • nLive : N → Bool

            Whether the node is live (dead nodes contribute 1).

          • leg : N → Fin 4 → E

            The edge of each leg of a node.

          • neg : N → Fin 4 → Bool

            Whether the leg reads the negated projection of its edge.

          • cons : List (E × E × Bool)

            Constraints (e₁, e₂, b): x e₂ = sg b (x e₁).

          • cst : List F

            Faces whose colours give the constant sign Π (-1)^{col f}.

          Instances For
            def Lightlike.SpinFoam.SNet.box {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (col : F → ℕ) (e : E) :

            The projections of an edge: the admissible ones if it is live, 0 if it is dead.

            Equations
            Instances For
              noncomputable def Lightlike.SpinFoam.SNet.eFac {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (col : F → ℕ) (x : E → ℤ) (e : E) :

              The factor of an edge.

              Equations
              Instances For
                def Lightlike.SpinFoam.SNet.args {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (x : E → ℤ) (n : N) (l : Fin 4) :

                The projections read by the legs of a node.

                Equations
                Instances For
                  theorem Lightlike.SpinFoam.SNet.args_def {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (x : E → ℤ) (n : N) :
                  S.args x n = fun (l : Fin 4) => sg (S.neg n l) (x (S.leg n l))
                  noncomputable def Lightlike.SpinFoam.SNet.nFac {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (col : F → ℕ) (x : E → ℤ) (n : N) :

                  The factor of a node.

                  Equations
                  Instances For
                    noncomputable def Lightlike.SpinFoam.SNet.cFac {E : Type u_2} (x : E → ℤ) (c : E × E × Bool) :

                    The factor of a constraint.

                    Equations
                    Instances For
                      noncomputable def Lightlike.SpinFoam.SNet.summand {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [Fintype N] (S : SNet F E N) (col : F → ℕ) (x : E → ℤ) :

                      The summand of the evaluation.

                      Equations
                      Instances For
                        noncomputable def Lightlike.SpinFoam.SNet.ev {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] (S : SNet F E N) (col : F → ℕ) :

                        The evaluation of a signed network.

                        Equations
                        Instances For

                          Eliminating a constraint #

                          def Lightlike.SpinFoam.SNet.subst {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] (S : SNet F E N) (e₁ e₂ : E) (b : Bool) (rest : List (E × E × Bool)) :
                          SNet F E N

                          Eliminating the constraint x e₂ = sg b (x e₁): the edge e₂ dies, its legs move to e₁ (with the sign b), and its flag is merged into the flag of e₁.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def Lightlike.SpinFoam.SNet.elim {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] (S : SNet F E N) :
                            SNet F E N

                            Eliminating the first constraint.

                            Equations
                            Instances For
                              theorem Lightlike.SpinFoam.SNet.elim_eq {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] (S : SNet F E N) {e₁ e₂ : E} {b : Bool} {rest : List (E × E × Bool)} (h : S.cons = (e₁, e₂, b) :: rest) :
                              S.elim = S.subst e₁ e₂ b rest
                              theorem Lightlike.SpinFoam.SNet.box_subst {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] {S : SNet F E N} {col : F → ℕ} (e₁ e₂ : E) (b : Bool) (rest : List (E × E × Bool)) :
                              (S.subst e₁ e₂ b rest).box col = Function.update (S.box col) e₂ {0}

                              The box of subst is the box of S with the coordinate e₂ set to 0.

                              theorem Lightlike.SpinFoam.SNet.ev_subst {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] {S : SNet F E N} {col : F → ℕ} {e₁ e₂ : E} {b : Bool} {rest : List (E × E × Bool)} (h : S.cons = (e₁, e₂, b) :: rest) (h12 : e₁ ≠ e₂) (h1 : S.eLive e₁ = true) (h2 : S.eLive e₂ = true) (hf : S.face e₁ = S.face e₂) (hr : ∀ c ∈ rest, c.1 ≠ e₂ ∧ c.2.1 ≠ e₂) :
                              (S.subst e₁ e₂ b rest).ev col = S.ev col

                              Eliminating a constraint x e₂ = sg b (x e₁) between two live edges of the same face, when e₂ occurs in no other constraint.

                              Flips and parity substitutions #

                              def Lightlike.SpinFoam.SNet.optL {F : Type u_1} (b : Bool) (f : F) :

                              The list containing f if b holds.

                              Equations
                              Instances For
                                def Lightlike.SpinFoam.SNet.legL {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (n₀ : N) (p : Fin 4 → Bool) :

                                The faces of the legs l of n₀ with p l.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem Lightlike.SpinFoam.SNet.fsign_legL {F : Type u_1} {E : Type u_2} {N : Type u_3} {S : SNet F E N} {col : F → ℕ} (n₀ : N) (p : Fin 4 → Bool) :
                                  fsign (S.legL n₀ p) col = ∏ l : Fin 4, if p l = true then (-1) ^ col (S.face (S.leg n₀ l)) else 1
                                  def Lightlike.SpinFoam.SNet.flipNode {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] [DecidableEq N] (S : SNet F E N) (n₀ : N) :
                                  SNet F E N

                                  Flipping a node: its legs change sign, the flags of their edges toggle, and the faces of the legs that were read without sign enter the constant.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    theorem Lightlike.SpinFoam.SNet.ev_flipNode {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] {S : SNet F E N} {col : F → ℕ} {n₀ : N} (hn : S.nLive n₀ = true) (hl : ∀ (l : Fin 4), S.eLive (S.leg n₀ l) = true) (hinj : Function.Injective (S.leg n₀)) :
                                    (S.flipNode n₀).ev col = S.ev col

                                    Flipping a live node whose four legs lie on distinct live edges keeps the evaluation.

                                    def Lightlike.SpinFoam.SNet.flipVar {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] (S : SNet F E N) (e₀ : E) :
                                    SNet F E N

                                    Flipping a variable: the projection of the edge e₀ changes sign.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      theorem Lightlike.SpinFoam.SNet.ev_flipVar {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] {S : SNet F E N} {col : F → ℕ} (e₀ : E) :
                                      (S.flipVar e₀).ev col = S.ev col

                                      Flipping a variable keeps the evaluation.

                                      def Lightlike.SpinFoam.SNet.addParity {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (n₀ : N) :
                                      SNet F E N

                                      Adding the four faces of the legs of a node to the constant.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        theorem Lightlike.SpinFoam.SNet.ev_addParity {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] {S : SNet F E N} {col : F → ℕ} {n₀ : N} (hn : S.nLive n₀ = true) :
                                        (S.addParity n₀).ev col = S.ev col

                                        Parity substitution. The spins of the legs of a nonzero node tensor have even sum, so adding them to the constant keeps the evaluation.

                                        Gluing two nodes through a block #

                                        theorem Lightlike.SpinFoam.SNet.fsign_congr {F : Type u_1} {l : List F} {c c' : F → ℕ} (h : ∀ f ∈ l, c f = c' f) :
                                        fsign l c = fsign l c'

                                        The constant sign only sees the colours of its faces.

                                        theorem Lightlike.SpinFoam.SNet.eFac_congr {F : Type u_1} {E : Type u_2} {N : Type u_3} {S : SNet F E N} {c c' : F → ℕ} {x x' : E → ℤ} {e : E} (h : S.eLive e = true → c (S.face e) = c' (S.face e) ∧ x e = x' e) :
                                        S.eFac c x e = S.eFac c' x' e
                                        theorem Lightlike.SpinFoam.SNet.nFac_congr {F : Type u_1} {E : Type u_2} {N : Type u_3} {S : SNet F E N} {c c' : F → ℕ} {x x' : E → ℤ} {n : N} (h : S.nLive n = true → c (S.tet n) = c' (S.tet n) ∧ ∀ (l : Fin 4), c (S.face (S.leg n l)) = c' (S.face (S.leg n l)) ∧ x (S.leg n l) = x' (S.leg n l)) :
                                        S.nFac c x n = S.nFac c' x' n
                                        def Lightlike.SpinFoam.SNet.glue {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq N] (S : SNet F E N) (n₁ n₂ : N) :
                                        SNet F E N

                                        Gluing the nodes n₁ and n₂ (of the same tetrahedron): both die, and each leg of n₂ is identified with the matching leg of n₁ by a constraint (the legs read the same projection).

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          noncomputable def Lightlike.SpinFoam.SNet.qIn {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [Fintype N] [DecidableEq N] (S : SNet F E N) (col : F → ℕ) (bE : E → Bool) (bN : N → Bool) (n₁ : N) (z : E → ℤ) :

                                          The weight of a block (edges bE, nodes bN) without its node n₁.

                                          Equations
                                          Instances For
                                            noncomputable def Lightlike.SpinFoam.SNet.qOut {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [Fintype N] [DecidableEq N] (S : SNet F E N) (col : F → ℕ) (bE : E → Bool) (bN : N → Bool) (n₂ : N) (y : E → ℤ) :

                                            The weight outside a block (edges not in bE, nodes not in bN), without the node n₂.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              noncomputable def Lightlike.SpinFoam.SNet.rem {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] (S : SNet F E N) (col : F → ℕ) (bE : E → Bool) (bN : N → Bool) (n₁ : N) (m : Fin 4 → ℤ) :

                                              The tensor a block leaves at its node n₁: the block weight summed over the projections of the block edges whose legs at n₁ read m.

                                              Equations
                                              Instances For
                                                theorem Lightlike.SpinFoam.SNet.sg_xor_iff (a b : Bool) (u w : ℤ) :
                                                w = sg (a ^^ b) u ↔ sg a u = sg b w
                                                theorem Lightlike.SpinFoam.SNet.ev_glue {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] {S : SNet F E N} {col : F → ℕ} [DecidableEq F] {n₁ n₂ : N} {t : F} (bE : E → Bool) (bN : N → Bool) (cut : ℕ) (hb1 : bN n₁ = true) (hb2 : bN n₂ = false) (hblk : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), bE (S.leg n l) = bN n) (hcons : ∀ c ∈ S.cons, bE c.1 = false ∧ bE c.2.1 = false) (hlegs : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), S.eLive (S.leg n l) = true) (hn1 : S.nLive n₁ = true) (hn2 : S.nLive n₂ = true) (ht1 : S.tet n₁ = t) (ht2 : S.tet n₂ = t) (hf : ∀ (l : Fin 4), S.face (S.leg n₂ l) = S.face (S.leg n₁ l)) (hte : ∀ (e : E), S.eLive e = true → S.face e ≠ t) (htn : ∀ (n : N), S.nLive n = true → n ≠ n₁ → n ≠ n₂ → S.tet n ≠ t) (htc : t ∉ S.cst) (hcut : col (S.face (S.leg n₁ 0)) + col (S.face (S.leg n₁ 2)) ≤ cut) (hR : Recoupling.IsInv (fun (l : Fin 4) => col (S.face (S.leg n₁ l))) (fun (x : Fin 4) => false) (S.rem col bE bN n₁)) :
                                                ∑ k ∈ Finset.range (cut + 1), S.ev (Function.update col t k) = (S.glue n₁ n₂).ev col

                                                Gluing through a block. Let n₁, n₂ be live nodes of the tetrahedron t, whose colour enters nowhere else, with legs on the same faces. Let n₁ lie in a block (edges bE, nodes bN) that meets the rest only at n₁ and holds no constraint, and suppose the block leaves an invariant tensor at n₁. Then summing the colour of t up to the cutoff glues n₁ to n₂.

                                                Closing a strand #

                                                def Lightlike.SpinFoam.SNet.loop {F : Type u_1} {E : Type u_2} {N : Type u_3} [DecidableEq E] [DecidableEq N] (S : SNet F E N) [DecidableEq F] (n₁ n₂ : N) (lA : Fin 4) :
                                                SNet F E N

                                                Closing a strand between the nodes n₁, n₂ along leg lA: as in glue n₁ n₂, and the edge of leg lA of n₁ dies while its face leaves the constant sign.

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  theorem Lightlike.SpinFoam.SNet.ev_loop {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] {S : SNet F E N} {col : F → ℕ} [DecidableEq F] {n₁ n₂ : N} {t fA : F} {eA : E} (lA : Fin 4) (cutA cut : ℕ) (h12 : n₁ ≠ n₂) (hlegs : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), S.eLive (S.leg n l) = true) (hn1 : S.nLive n₁ = true) (hn2 : S.nLive n₂ = true) (ht1 : S.tet n₁ = t) (ht2 : S.tet n₂ = t) (hf : ∀ (l : Fin 4), S.face (S.leg n₂ l) = S.face (S.leg n₁ l)) (he1 : S.leg n₁ lA = eA) (he2 : S.leg n₂ lA = eA) (hfA : S.face eA = fA) (hneg : S.neg n₂ lA = S.neg n₁ lA) (hkap : S.kap eA = false) (hlA : ∀ (l : Fin 4), l ≠ lA → S.leg n₁ l ≠ eA ∧ S.leg n₂ l ≠ eA) (hAo : ∀ (n : N), S.nLive n = true → n ≠ n₁ → n ≠ n₂ → ∀ (l : Fin 4), S.leg n l ≠ eA) (hAc : ∀ c ∈ S.cons, c.1 ≠ eA ∧ c.2.1 ≠ eA) (hAt : fA ≠ t) (hte : ∀ (e : E), S.eLive e = true → e ≠ eA → S.face e ≠ t ∧ S.face e ≠ fA) (htn : ∀ (n : N), S.nLive n = true → n ≠ n₁ → n ≠ n₂ → S.tet n ≠ t ∧ S.tet n ≠ fA) (htc : t ∉ S.cst) (hcA : Even (List.count fA S.cst)) (hA : ∑ l ∈ Finset.univ.erase lA, col (S.face (S.leg n₁ l)) ≤ cutA) (hk : cutA + ∑ l ∈ Finset.univ.erase lA, col (S.face (S.leg n₁ l)) ≤ cut) :
                                                  ∑ jA ∈ Finset.range (cutA + 1), (↑jA + 1) * ∑ k ∈ Finset.range (cut + 1), S.ev (Function.update (Function.update col fA jA) t k) = (S.loop n₁ n₂ lA).ev col

                                                  Closing a strand. Let the live nodes n₁, n₂ of the tetrahedron t share the edge eA (face fA, no edge sign) on leg lA, read it with the same sign, and have their other legs on the same faces. If the colours of t and fA enter nowhere else and fA occurs an even number of times in the constant sign, then summing the colour jA of fA with the weight jA + 1 and the colour of t (both up to large enough cutoffs) closes the strand.

                                                  def Lightlike.SpinFoam.SNet.dropTriv {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) :
                                                  SNet F E N

                                                  Dropping the first constraint (used when it reads x e = x e).

                                                  Equations
                                                  Instances For
                                                    theorem Lightlike.SpinFoam.SNet.ev_dropTriv {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] {S : SNet F E N} {col : F → ℕ} {e : E} {rest : List (E × E × Bool)} (h : S.cons = (e, e, false) :: rest) :
                                                    S.dropTriv.ev col = S.ev col

                                                    A first constraint (e, e, false) always holds, so dropping it keeps the evaluation.

                                                    Relabelling #

                                                    theorem Lightlike.SpinFoam.SNet.ev_relabel {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] {S : SNet F E N} {col : F → ℕ} [DecidableEq F] {E' : Type u_4} {N' : Type u_5} [Fintype E'] [DecidableEq E'] [Fintype N'] [DecidableEq N'] (S' : SNet F E' N') (σ : E → E') (τ : E' → E) (π : N → N') (ρ : N' → N) (hσ : ∀ (e : E), S.eLive e = true → S'.eLive (σ e) = true ∧ τ (σ e) = e) (hτ : ∀ (e' : E'), S'.eLive e' = true → S.eLive (τ e') = true ∧ σ (τ e') = e') (hπ : ∀ (n : N), S.nLive n = true → S'.nLive (π n) = true ∧ ρ (π n) = n) (hρ : ∀ (n' : N'), S'.nLive n' = true → S.nLive (ρ n') = true ∧ π (ρ n') = n') (hface : ∀ (e : E), S.eLive e = true → S'.face (σ e) = S.face e ∧ S'.kap (σ e) = S.kap e) (hnode : ∀ (n : N), S.nLive n = true → S'.tet (π n) = S.tet n ∧ ∀ (l : Fin 4), S'.leg (π n) l = σ (S.leg n l) ∧ S'.neg (π n) l = S.neg n l) (hlegs : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), S.eLive (S.leg n l) = true) (hc : S.cons = []) (hc' : S'.cons = []) (hcst : ∀ f ∈ S.cst ++ S'.cst, List.count f S.cst % 2 = List.count f S'.cst % 2) :
                                                    S.ev col = S'.ev col

                                                    Relabelling. Two constraint-free networks have the same evaluation when their live edges and live nodes correspond bijectively with the same faces, edge signs, tetrahedra, legs and leg signs, and each face occurs with the same parity in their constant signs.

                                                    The vertex network #

                                                    theorem Lightlike.SpinFoam.sum_piFinset_vecCons {n : ℕ} (B : Fin (n + 1) → Finset ℤ) (G : (Fin (n + 1) → ℤ) → ℝ) :
                                                    ∑ x ∈ Fintype.piFinset B, G x = ∑ a ∈ B 0, ∑ y ∈ Fintype.piFinset fun (i : Fin n) => B i.succ, G (Matrix.vecCons a y)

                                                    A sum over a box of projections on Fin (n + 1), peeled at the first coordinate.

                                                    theorem Lightlike.SpinFoam.sum_piFinset_fin_zero (B : Fin 0 → Finset ℤ) (G : (Fin 0 → ℤ) → ℝ) :
                                                    ∑ x ∈ Fintype.piFinset B, G x = G ![]

                                                    A sum over the box of projections on Fin 0 has the single term ![].

                                                    theorem Lightlike.SpinFoam.nodeT_adm {F : Type u_1} {col : F → ℕ} {t : F} {f : Fin 4 → F} {m : Fin 4 → ℤ} (h : nodeT col t f m ≠ 0) (l : Fin 4) :
                                                    Recoupling.AdmProj (col (f l)) (m l)

                                                    A nonzero node tensor has admissible projections on all its legs.

                                                    def Lightlike.SpinFoam.SNet.ibox {F : Type u_1} {E : Type u_2} {N : Type u_3} (S : SNet F E N) (col : F → ℕ) (e : E) :

                                                    All projections |x| ≤ j on a live edge (admissible or not), 0 on a dead one.

                                                    Equations
                                                    Instances For
                                                      theorem Lightlike.SpinFoam.SNet.sum_ibox {F : Type u_1} {E : Type u_2} {N : Type u_3} [Fintype E] [DecidableEq E] [Fintype N] {S : SNet F E N} {col : F → ℕ} (hcov : ∀ (e : E), S.eLive e = true → ∃ (n : N) (l : Fin 4), S.nLive n = true ∧ S.leg n l = e) :
                                                      ∑ x ∈ Fintype.piFinset (S.ibox col), S.summand col x = ∑ x ∈ Fintype.piFinset (S.box col), S.summand col x

                                                      When every live edge is a leg of a live node, the evaluation may sum over all projections |x| ≤ j instead of the admissible ones: the node tensors vanish on the others.

                                                      The position pairs (p, q), p < q, of the ten triangles of a 4-simplex (the triangle opposite the vertices p and q), in the order of the sums of contrP.

                                                      Equations
                                                      Instances For

                                                        The second positions of the triangles, see vtriP.

                                                        Equations
                                                        Instances For
                                                          def Lightlike.SpinFoam.vleg :
                                                          Fin 5 → Fin 4 → Fin 10

                                                          The triangle on leg l of tetrahedron i of a 4-simplex: the one opposite the positions i and i.succAbove l (see vleg_spec).

                                                          Equations
                                                          Instances For

                                                            Whether leg l of tetrahedron i reads the negated projection: the leg sign σPlus i (i.succAbove l) is -1 (see vneg_spec).

                                                            Equations
                                                            Instances For
                                                              theorem Lightlike.SpinFoam.vleg_spec (i : Fin 5) (l : Fin 4) :
                                                              vtriP (vleg i l) < vtriQ (vleg i l) ∧ (vtriP (vleg i l) = i ∧ vtriQ (vleg i l) = i.succAbove l ∨ vtriQ (vleg i l) = i ∧ vtriP (vleg i l) = i.succAbove l)

                                                              The legs of the vertex network are the triangles of the right position pairs.

                                                              theorem Lightlike.SpinFoam.vneg_spec (i : Fin 5) (l : Fin 4) :
                                                              vneg i l = decide (σPlus i (i.succAbove l) = -1)

                                                              The leg signs of the vertex network are those of σPlus.

                                                              def Lightlike.SpinFoam.SNet.vnet {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) :
                                                              SNet F (Fin 10) (Fin 5)

                                                              The vertex network of a 4-simplex whose triangles carry the labels fc (in the order vtriP, vtriQ) and whose tetrahedra (opposite each position) carry the labels tt: ten edges with the sign of the bilinear form, five nodes, legs vleg with signs vneg.

                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                theorem Lightlike.SpinFoam.SNet.ev_vnet {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (J : Fin 5 → Fin 5 → ℕ) (K : Fin 5 → ℕ) (hJ : ∀ (e : Fin 10), col (fc e) = J (vtriP e) (vtriQ e)) (hK : ∀ (i : Fin 5), col (tt i) = K i) :
                                                                (vnet fc tt).ev col = contrP σPlus J K

                                                                The vertex network evaluates to the vertex contraction contrP σPlus J K, for the spins J (vtriP e) (vtriQ e) of its triangles and K i of its tetrahedra.

                                                                Disjoint unions #

                                                                def Lightlike.SpinFoam.SNet.union {F : Type u_1} {E : Type u_2} {N : Type u_3} {ι : Type u_4} (S : ι → SNet F E N) :
                                                                SNet F (ι × E) (ι × N)

                                                                The disjoint union of a family of networks (meant for networks without constraints and constant signs, see ev_union).

                                                                Equations
                                                                • One or more equations did not get rendered due to their size.
                                                                Instances For
                                                                  theorem Lightlike.SpinFoam.SNet.ev_union {F : Type u_1} {E : Type u_2} {N : Type u_3} {ι : Type u_4} [Fintype E] [DecidableEq E] [Fintype N] [Fintype ι] [DecidableEq ι] (S : ι → SNet F E N) (col : F → ℕ) (h : ∀ (i : ι), (S i).cons = [] ∧ (S i).cst = []) :
                                                                  (union S).ev col = ∏ i : ι, (S i).ev col

                                                                  A disjoint union evaluates to the product of its parts, when these carry no constraints and no constant signs.

                                                                  Turning several legs around #

                                                                  noncomputable def Lightlike.SpinFoam.flipV {ι : Type u_1} [Fintype ι] (a : ι → ℕ) (b : ι → Bool) (X : (ι → ℤ) → ℝ) (m : ι → ℤ) :

                                                                  Turning the legs i with b i around (flipAt on each of them): (flipV a b X)(m) = Π_{b i} (-1)^((a i + m i)/2) · X(i ↦ ± m i).

                                                                  Equations
                                                                  Instances For
                                                                    theorem Lightlike.SpinFoam.flipV_insert {ι : Type u_1} [Fintype ι] [DecidableEq ι] (a : ι → ℕ) {s : Finset ι} {i : ι} (hi : i ∉ s) (X : (ι → ℤ) → ℝ) :
                                                                    flipV a (fun (k : ι) => decide (k ∈ insert i s)) X = Recoupling.flipAt (a i) i (flipV a (fun (k : ι) => decide (k ∈ s)) X)

                                                                    Turning one more leg around.

                                                                    theorem Lightlike.SpinFoam.isInv_flipV {ι : Type u_1} [Fintype ι] [DecidableEq ι] {j : ι → ℕ} {d : ι → Bool} {X : (ι → ℤ) → ℝ} (hX : Recoupling.IsInv j d X) (b : ι → Bool) :
                                                                    Recoupling.IsInv j (fun (i : ι) => d i ^^ b i) (flipV j b X)

                                                                    Turning several legs around keeps a tensor invariant, with those legs' directions reversed.

                                                                    noncomputable def Lightlike.SpinFoam.eflipV {ι : Type u_1} [Fintype ι] (a : ι → ℕ) (b : ι → Bool) (X : (ι → ℤ) → ℝ) (m : ι → ℤ) :

                                                                    Turning legs around with the sign edgeSign of the bilinear form at the projection read: (eflipV a b X)(m) = Π_{b i} (-1)^((a i - m i)/2) · X(i ↦ ± m i).

                                                                    Equations
                                                                    Instances For
                                                                      theorem Lightlike.SpinFoam.isInv_eflipV {ι : Type u_1} [Fintype ι] [DecidableEq ι] {j : ι → ℕ} {d : ι → Bool} {X : (ι → ℤ) → ℝ} (hX : Recoupling.IsInv j d X) (b : ι → Bool) :
                                                                      Recoupling.IsInv j (fun (i : ι) => d i ^^ b i) (eflipV j b X)

                                                                      Turning legs around with the sign edgeSign keeps a tensor invariant (it differs from flipV by the constant Π_{b i} (-1)^{a i} on the support).

                                                                      theorem Lightlike.SpinFoam.isInv_nodeT {F : Type u_1} (col : F → ℕ) (t : F) (f : Fin 4 → F) :
                                                                      Recoupling.IsInv (fun (l : Fin 4) => col (f l)) (fun (x : Fin 4) => false) (nodeT col t f)

                                                                      The intertwiner of a node is an invariant tensor with four incoming legs.

                                                                      theorem Lightlike.SpinFoam.sum_pi_delta {ι : Type u_1} [Fintype ι] [DecidableEq ι] (C : ι → Finset ℤ) (v : ι → ℤ) (H : (ι → ℤ) → ℝ) :
                                                                      ∑ w ∈ Fintype.piFinset C, (∏ l : ι, if w l = v l then 1 else 0) * H w = if v ∈ Fintype.piFinset C then H v else 0

                                                                      A sum over a box against the indicator of one point.

                                                                      The remainder of a vertex network #

                                                                      Removing one node i of the vertex network leaves a network with four open legs (the triangles of the tetrahedron i) and six internal edges (vint i). Its tensor is invariant (isInv_rem_vnet): it is a network of invariant tensors in the sense of netEval, once the legs reading an unsigned projection are turned around.

                                                                      def Lightlike.SpinFoam.vint :
                                                                      Fin 5 → Fin 6 → Fin 10

                                                                      The six triangles of a 4-simplex off the tetrahedron i, in increasing order.

                                                                      Equations
                                                                      Instances For
                                                                        def Lightlike.SpinFoam.vpos :
                                                                        Fin 5 → Fin 10 → Fin 4

                                                                        The leg of the tetrahedron i on the triangle e (0 if e is not on it).

                                                                        Equations
                                                                        Instances For
                                                                          def Lightlike.SpinFoam.vipos :
                                                                          Fin 5 → Fin 10 → Fin 6

                                                                          The position of the triangle e in vint i (0 if e is on the tetrahedron i).

                                                                          Equations
                                                                          Instances For
                                                                            theorem Lightlike.SpinFoam.vpos_vleg (i : Fin 5) (l : Fin 4) :
                                                                            vpos i (vleg i l) = l
                                                                            theorem Lightlike.SpinFoam.vint_spec (i : Fin 5) (p : Fin 6) :
                                                                            vleg i (vpos i (vint i p)) ≠ vint i p ∧ vipos i (vint i p) = p
                                                                            theorem Lightlike.SpinFoam.vint_vipos (i : Fin 5) (e : Fin 10) (h : vleg i (vpos i e) ≠ e) :
                                                                            vint i (vipos i e) = e
                                                                            theorem Lightlike.SpinFoam.vneg_opp (i : Fin 5) (k l : Fin 4) (h : vleg i (vpos i (vleg (i.succAbove k) l)) = vleg (i.succAbove k) l) :
                                                                            vneg i (vpos i (vleg (i.succAbove k) l)) = !vneg (i.succAbove k) l

                                                                            The two legs on a triangle carry opposite signs.

                                                                            def Lightlike.SpinFoam.vlegEnd (i : Fin 5) (p : (_ : Fin 4) × Fin 4) :

                                                                            The leg-ends of the vertex network without its node i: leg l of the node i.succAbove k is either the open leg of i on the same triangle, or an end of an internal triangle, outgoing when the leg reads the unsigned projection.

                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For
                                                                              noncomputable def Lightlike.SpinFoam.vlegEq (i : Fin 5) :
                                                                              (_ : Fin 4) × Fin 4 ≃ Fin 4 ⊕ Fin 6 × Bool

                                                                              The leg-ends of the vertex network without its node i, as an equivalence.

                                                                              Equations
                                                                              Instances For
                                                                                theorem Lightlike.SpinFoam.vprod_edges (G : Fin 10 → ℝ) :
                                                                                ∏ e : Fin 10, G e = ∏ n : Fin 5, ∏ l : Fin 4, if vneg n l = true then 1 else G (vleg n l)

                                                                                A product over the ten triangles, read at the legs with the unsigned projection.

                                                                                noncomputable def Lightlike.SpinFoam.SNet.vT {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (n : Fin 5) :
                                                                                (Fin 4 → ℤ) → ℝ

                                                                                The tensor of the node n of the vertex network with the legs that read the unsigned projection turned around.

                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For
                                                                                  theorem Lightlike.SpinFoam.SNet.isInv_vT {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (n : Fin 5) :
                                                                                  Recoupling.IsInv (fun (l : Fin 4) => col (fc (vleg n l))) (fun (l : Fin 4) => !vneg n l) (vT fc tt col n)
                                                                                  theorem Lightlike.SpinFoam.SNet.vT_neg {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (n : Fin 5) (z : Fin 10 → ℤ) :
                                                                                  (vT fc tt col n fun (l : Fin 4) => -z (vleg n l)) = (∏ l : Fin 4, if vneg n l = true then 1 else Recoupling.edgeSign (col (fc (vleg n l))) (z (vleg n l))) * nodeT col (tt n) (fun (l : Fin 4) => fc (vleg n l)) fun (l : Fin 4) => sg (vneg n l) (z (vleg n l))
                                                                                  noncomputable def Lightlike.SpinFoam.SNet.vrN {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) :
                                                                                  (Fin 4 → ℤ) → ℝ

                                                                                  The network of the vertex network without its node i.

                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For
                                                                                    theorem Lightlike.SpinFoam.SNet.isInv_vrN {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) :
                                                                                    Recoupling.IsInv (fun (l : Fin 4) => col (fc (vleg i l))) (fun (l : Fin 4) => vneg i l) (vrN fc tt col i)
                                                                                    def Lightlike.SpinFoam.SNet.vmerge (i : Fin 5) (w : Fin 4 → ℤ) (y : Fin 6 → ℤ) (e : Fin 10) :

                                                                                    Merging the projections on the legs of the tetrahedron i with those of the other triangles.

                                                                                    Equations
                                                                                    Instances For
                                                                                      theorem Lightlike.SpinFoam.SNet.vmerge_leg (i : Fin 5) (w : Fin 4 → ℤ) (y : Fin 6 → ℤ) (l : Fin 4) :
                                                                                      vmerge i w y (vleg i l) = w l
                                                                                      theorem Lightlike.SpinFoam.SNet.vmerge_int (i : Fin 5) (w : Fin 4 → ℤ) (y : Fin 6 → ℤ) (p : Fin 6) :
                                                                                      vmerge i w y (vint i p) = y p
                                                                                      theorem Lightlike.SpinFoam.SNet.sum_vsplit (i : Fin 5) (J : Fin 10 → ℕ) (G : (Fin 10 → ℤ) → ℝ) :
                                                                                      ∑ z ∈ Fintype.piFinset fun (e : Fin 10) => pbox (J e), G z = ∑ w ∈ Fintype.piFinset fun (l : Fin 4) => pbox (J (vleg i l)), ∑ y ∈ Fintype.piFinset fun (p : Fin 6) => pbox (J (vint i p)), G (vmerge i w y)

                                                                                      A sum over the projections of the ten triangles, split at the tetrahedron i.

                                                                                      theorem Lightlike.SpinFoam.SNet.vlegEq_inr {i : Fin 5} {q : (_ : Fin 4) × Fin 4} {p : Fin 6} {b : Bool} (h : (vlegEq i) q = Sum.inr (p, b)) :
                                                                                      vleg (i.succAbove q.fst) q.snd = vint i p
                                                                                      theorem Lightlike.SpinFoam.SNet.vlegVal (i : Fin 5) (v : Fin 4 → ℤ) (μ : Fin 6 → ℤ) (k l : Fin 4) :
                                                                                      Recoupling.legVal (vlegEq i) (fun (l : Fin 4) => -v l) μ ⟨k, l⟩ = -vmerge i v (-μ) (vleg (i.succAbove k) l)
                                                                                      theorem Lightlike.SpinFoam.SNet.vrN_eq {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) (v : Fin 4 → ℤ) :
                                                                                      (vrN fc tt col i fun (l : Fin 4) => -v l) = ∑ y ∈ Fintype.piFinset fun (p : Fin 6) => pbox (col (fc (vint i p))), ∏ k : Fin 4, vT fc tt col (i.succAbove k) fun (l : Fin 4) => -vmerge i v y (vleg (i.succAbove k) l)

                                                                                      The network vrN as a sum over the admissible projections of the six inner triangles.

                                                                                      theorem Lightlike.SpinFoam.SNet.qIn_vnet {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) (z : Fin 10 → ℤ) :
                                                                                      (vnet fc tt).qIn col (fun (x : Fin 10) => true) (fun (x : Fin 5) => true) i z = (∏ l : Fin 4, if vneg i l = true then 1 else Recoupling.edgeSign (col (fc (vleg i l))) (z (vleg i l))) * ∏ k : Fin 4, vT fc tt col (i.succAbove k) fun (l : Fin 4) => -z (vleg (i.succAbove k) l)
                                                                                      theorem Lightlike.SpinFoam.SNet.rem_vnet_eq {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) (m : Fin 4 → ℤ) :
                                                                                      (vnet fc tt).rem col (fun (x : Fin 10) => true) (fun (x : Fin 5) => true) i m = eflipV (fun (l : Fin 4) => col (fc (vleg i l))) (fun (l : Fin 4) => !vneg i l) (vrN fc tt col i) m

                                                                                      The remainder of the vertex network at its node i is the network vrN with the legs of i that read the unsigned projection turned around.

                                                                                      theorem Lightlike.SpinFoam.SNet.isInv_rem_vnet {F : Type u_1} (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (i : Fin 5) :
                                                                                      Recoupling.IsInv (fun (l : Fin 4) => col ((vnet fc tt).face ((vnet fc tt).leg i l))) (fun (x : Fin 4) => false) ((vnet fc tt).rem col (fun (x : Fin 10) => true) (fun (x : Fin 5) => true) i)

                                                                                      The remainder of the vertex network at any node is invariant: the hypothesis of ev_glue for a block made of one vertex network.

                                                                                      theorem Lightlike.SpinFoam.SNet.rem_block {ι : Type u_2} {F : Type u_3} {E : Type u_4} {N : Type u_5} [Fintype ι] [DecidableEq ι] [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] (S : SNet F (ι × E) (ι × N)) (B : SNet F E N) (col : F → ℕ) (b : ι) (n₁ : N) (hface : ∀ (e : E), S.face (b, e) = B.face e) (hkap : ∀ (e : E), S.kap (b, e) = B.kap e) (hlive : ∀ (e : E), S.eLive (b, e) = B.eLive e) (htet : ∀ (n : N), S.tet (b, n) = B.tet n) (hnLive : ∀ (n : N), S.nLive (b, n) = B.nLive n) (hleg : ∀ (n : N) (l : Fin 4), S.leg (b, n) l = (b, B.leg n l)) (hneg : ∀ (n : N) (l : Fin 4), S.neg (b, n) l = B.neg n l) :
                                                                                      S.rem col (fun (p : ι × E) => decide (p.1 = b)) (fun (q : ι × N) => decide (q.1 = b)) (b, n₁) = B.rem col (fun (x : E) => true) (fun (x : N) => true) n₁

                                                                                      The remainder of an untouched block. If a network on blocks agrees with B on the edges and nodes of its block b, and the legs of these nodes stay in the block, then its remainder at a node of the block is that of B.

                                                                                      theorem Lightlike.SpinFoam.SNet.isInv_rem_block {ι : Type u_2} {F : Type u_3} [Fintype ι] [DecidableEq ι] (S : SNet F (ι × Fin 10) (ι × Fin 5)) (fc : Fin 10 → F) (tt : Fin 5 → F) (col : F → ℕ) (b : ι) (i : Fin 5) (hface : ∀ (e : Fin 10), S.face (b, e) = fc e) (hkap : ∀ (e : Fin 10), S.kap (b, e) = true) (hlive : ∀ (e : Fin 10), S.eLive (b, e) = true) (htet : ∀ (n : Fin 5), S.tet (b, n) = tt n) (hnLive : ∀ (n : Fin 5), S.nLive (b, n) = true) (hleg : ∀ (n : Fin 5) (l : Fin 4), S.leg (b, n) l = (b, vleg n l)) (hneg : ∀ (n : Fin 5) (l : Fin 4), S.neg (b, n) l = vneg n l) :
                                                                                      Recoupling.IsInv (fun (l : Fin 4) => col (S.face (S.leg (b, i) l))) (fun (x : Fin 4) => false) (S.rem col (fun (p : ι × Fin 10) => decide (p.1 = b)) (fun (q : ι × Fin 5) => decide (q.1 = b)) (b, i))

                                                                                      The remainder of an untouched vertex block is invariant: the hypothesis hR of ev_glue for a node of a block that still is the vertex network vnet fc tt.

                                                                                      Chains of steps #

                                                                                      Lists of elementary steps with a Boolean check of their hypotheses, so that a whole chain on a concrete network is justified by one decide.

                                                                                      def Lightlike.SpinFoam.SNet.elimN {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq E] :
                                                                                      ℕ → SNet F E N → SNet F E N

                                                                                      Eliminating the first k constraints one by one: a head (e, e, b) is dropped, any other head is eliminated by subst.

                                                                                      Equations
                                                                                      Instances For
                                                                                        def Lightlike.SpinFoam.SNet.elimOK {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq F] [DecidableEq E] :
                                                                                        ℕ → SNet F E N → Bool

                                                                                        The check that elimN k keeps the evaluation: a dropped head is (e, e, false), an eliminated head satisfies the hypotheses of ev_subst.

                                                                                        Equations
                                                                                        Instances For
                                                                                          theorem Lightlike.SpinFoam.SNet.ev_elimN {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq F] [Fintype E] [DecidableEq E] [Fintype N] (col : F → ℕ) (k : ℕ) (S : SNet F E N) :
                                                                                          elimOK k S = true → (elimN k S).ev col = S.ev col

                                                                                          Eliminating constraints by a checked chain keeps the evaluation.

                                                                                          def Lightlike.SpinFoam.SNet.flipNodes {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq E] [DecidableEq N] :
                                                                                          SNet F E N → List N → SNet F E N

                                                                                          Flipping the nodes of a list in turn.

                                                                                          Equations
                                                                                          Instances For
                                                                                            def Lightlike.SpinFoam.SNet.flipNodesOK {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq E] [DecidableEq N] :
                                                                                            SNet F E N → List N → Bool

                                                                                            The check that flipNodes keeps the evaluation (the hypotheses of ev_flipNode).

                                                                                            Equations
                                                                                            Instances For
                                                                                              theorem Lightlike.SpinFoam.SNet.ev_flipNodes {F : Type u_2} {E : Type u_3} {N : Type u_4} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] (col : F → ℕ) (S : SNet F E N) (l : List N) :
                                                                                              S.flipNodesOK l = true → (S.flipNodes l).ev col = S.ev col

                                                                                              Flipping a checked list of nodes keeps the evaluation.

                                                                                              def Lightlike.SpinFoam.SNet.flipVars {F : Type u_2} {E : Type u_3} {N : Type u_4} [DecidableEq E] :
                                                                                              SNet F E N → List E → SNet F E N

                                                                                              Flipping the variables of a list in turn.

                                                                                              Equations
                                                                                              Instances For
                                                                                                theorem Lightlike.SpinFoam.SNet.ev_flipVars {F : Type u_2} {E : Type u_3} {N : Type u_4} [Fintype E] [DecidableEq E] [Fintype N] (col : F → ℕ) (S : SNet F E N) (l : List E) :
                                                                                                (S.flipVars l).ev col = S.ev col

                                                                                                Flipping a list of variables keeps the evaluation.

                                                                                                def Lightlike.SpinFoam.SNet.addParities {F : Type u_2} {E : Type u_3} {N : Type u_4} :
                                                                                                SNet F E N → List N → SNet F E N

                                                                                                Adding the parities of the nodes of a list in turn.

                                                                                                Equations
                                                                                                Instances For
                                                                                                  def Lightlike.SpinFoam.SNet.addParitiesOK {F : Type u_2} {E : Type u_3} {N : Type u_4} :
                                                                                                  SNet F E N → List N → Bool

                                                                                                  The check that addParities keeps the evaluation: the nodes are live.

                                                                                                  Equations
                                                                                                  Instances For
                                                                                                    theorem Lightlike.SpinFoam.SNet.ev_addParities {F : Type u_2} {E : Type u_3} {N : Type u_4} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] (col : F → ℕ) (S : SNet F E N) (l : List N) :
                                                                                                    S.addParitiesOK l = true → (S.addParities l).ev col = S.ev col

                                                                                                    Adding the parities of a checked list of nodes keeps the evaluation.