Documentation

Lightlike.SpinFoam.MoveBlocks

Checked rewriting steps on unions of vertex networks #

The steps of SNet.lean (gluing, closing a strand, relabelling) on the union of m vertex networks with bitmask faces Fin 64, with their hypotheses bundled as decidable propositions (GlueOK, LoopOK, RelOK), so that the kernel checks them for a concrete network. These are the m-block versions of the steps used for the 3-3 move (Move33.lean); the 2-4 and 1-5 moves use m = 4 and m = 5.

@[reducible, inline]

Edges of a union of m vertex networks.

Equations
Instances For
    @[reducible, inline]

    Nodes of a union of m vertex networks.

    Equations
    Instances For

      All edges of EB m, as a list.

      Equations
      Instances For

        All nodes of NB m, as a list.

        Equations
        Instances For
          @[instance_reducible]
          def Lightlike.SpinFoam.MoveBlocks.decForallEB {m : ℕ} (P : EB m → Prop) [DecidablePred P] :
          Decidable (∀ (e : EB m), P e)

          Deciding a statement for all edges through allEB m.

          Equations
          Instances For
            @[instance_reducible]
            def Lightlike.SpinFoam.MoveBlocks.decForallNB {m : ℕ} (P : NB m → Prop) [DecidablePred P] :
            Decidable (∀ (n : NB m), P n)

            Deciding a statement for all nodes through allNB m.

            Equations
            Instances For
              @[reducible, inline]
              abbrev Lightlike.SpinFoam.MoveBlocks.GlueOK {m : ℕ} (S : SNet (Fin 64) (EB m) (NB m)) (b : Fin m) (v : Fin 6) (n₁ n₂ : NB m) (t : Fin 64) :

              The hypotheses of ev_glue for gluing the node n₁ of an untouched block b (still the vertex network of Fin 6 ∖ {v}) to the node n₂ along the tetrahedron t.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[instance_reducible]
                instance Lightlike.SpinFoam.MoveBlocks.instDecidableGlueOK {m : ℕ} (S : SNet (Fin 64) (EB m) (NB m)) (b : Fin m) (v : Fin 6) (n₁ n₂ : NB m) (t : Fin 64) :
                Decidable (GlueOK S b v n₁ n₂ t)

                GlueOK is decidable.

                Equations
                theorem Lightlike.SpinFoam.MoveBlocks.ev_glue_of {m : ℕ} [NeZero m] {S : SNet (Fin 64) (EB m) (NB m)} {b : Fin m} {v : Fin 6} {n₁ n₂ : NB m} {t : Fin 64} (h : GlueOK S b v n₁ n₂ t) (col : Fin 64 → ℕ) (cut : ℕ) (hcut : ∑ l : Fin 4, col (S.face (S.leg n₁ l)) ≤ cut) :
                ∑ k ∈ Finset.range (cut + 1), S.ev (Function.update col t k) = (S.glue n₁ n₂).ev col

                Gluing through an untouched block, with the hypotheses checked as GlueOK.

                @[reducible, inline]
                abbrev Lightlike.SpinFoam.MoveBlocks.LoopOK {m : ℕ} (S : SNet (Fin 64) (EB m) (NB m)) (n₁ n₂ : NB m) (lA : Fin 4) (t fA : Fin 64) :

                The hypotheses of ev_loop for closing the strand of leg lA between n₁ and n₂, with tetrahedron t and strand face fA.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[instance_reducible]
                  instance Lightlike.SpinFoam.MoveBlocks.instDecidableLoopOK {m : ℕ} (S : SNet (Fin 64) (EB m) (NB m)) (n₁ n₂ : NB m) (lA : Fin 4) (t fA : Fin 64) :
                  Decidable (LoopOK S n₁ n₂ lA t fA)

                  LoopOK is decidable.

                  Equations
                  theorem Lightlike.SpinFoam.MoveBlocks.ev_loop_of {m : ℕ} [NeZero m] {S : SNet (Fin 64) (EB m) (NB m)} {n₁ n₂ : NB m} {lA : Fin 4} {t fA : Fin 64} (h : LoopOK S n₁ n₂ lA t fA) (col : Fin 64 → ℕ) (cutA cut : ℕ) (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, with the hypotheses checked as LoopOK.

                  def Lightlike.SpinFoam.MoveBlocks.findE {m : ℕ} [NeZero m] (S : SNet (Fin 64) (EB m) (NB m)) (f : Fin 64) :
                  EB m

                  The first live edge of S on the face f (junk (0, 0) if there is none).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Lightlike.SpinFoam.MoveBlocks.findN {m : ℕ} [NeZero m] (S : SNet (Fin 64) (EB m) (NB m)) (t : Fin 64) :
                    NB m

                    The first live node of S on the tetrahedron t (junk (0, 0) if there is none).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def Lightlike.SpinFoam.MoveBlocks.relE {m m' : ℕ} [NeZero m'] (S : SNet (Fin 64) (EB m) (NB m)) (S' : SNet (Fin 64) (EB m') (NB m')) (e : EB m) :
                      EB m'

                      The edge of S' on the face of the edge e of S (the two networks may have different numbers of blocks).

                      Equations
                      Instances For
                        def Lightlike.SpinFoam.MoveBlocks.relN {m m' : ℕ} [NeZero m'] (S : SNet (Fin 64) (EB m) (NB m)) (S' : SNet (Fin 64) (EB m') (NB m')) (n : NB m) :
                        NB m'

                        The node of S' on the tetrahedron of the node n of S.

                        Equations
                        Instances For
                          @[reducible, inline]
                          abbrev Lightlike.SpinFoam.MoveBlocks.RelOK {m : ℕ} [NeZero m] {m' : ℕ} [NeZero m'] (S : SNet (Fin 64) (EB m) (NB m)) (S' : SNet (Fin 64) (EB m') (NB m')) :

                          The hypotheses of ev_relabel for the relabelling of S and S' by faces and tetrahedra.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            @[instance_reducible]
                            instance Lightlike.SpinFoam.MoveBlocks.instDecidableRelOK {m : ℕ} [NeZero m] {m' : ℕ} [NeZero m'] (S : SNet (Fin 64) (EB m) (NB m)) (S' : SNet (Fin 64) (EB m') (NB m')) :

                            RelOK is decidable.

                            Equations
                            theorem Lightlike.SpinFoam.MoveBlocks.ev_rel_of {m : ℕ} [NeZero m] {m' : ℕ} [NeZero m'] {S : SNet (Fin 64) (EB m) (NB m)} {S' : SNet (Fin 64) (EB m') (NB m')} (h : RelOK S S') (col : Fin 64 → ℕ) :
                            S.ev col = S'.ev col

                            Relabelling by faces, with the hypotheses checked as RelOK.

                            A free closed strand #

                            def Lightlike.SpinFoam.SNet.killE {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

                            The network with the edge e dead.

                            Equations
                            Instances For
                              theorem Lightlike.SpinFoam.MoveBlocks.summand_congr_off {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 → ℕ) (e : E) (he : S.kap e = false) (hn : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), S.leg n l ≠ e) (hc : ∀ c ∈ S.cons, c.1 ≠ e ∧ c.2.1 ≠ e) {x x' : E → ℤ} (hx : ∀ (e' : E), e' ≠ e → x e' = x' e') :
                              S.summand col x = S.summand col x'
                              theorem Lightlike.SpinFoam.MoveBlocks.ev_killE {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 → ℕ) (e : E) (hl : S.eLive e = true) (he : S.kap e = false) (hn : ∀ (n : N), S.nLive n = true → ∀ (l : Fin 4), S.leg n l ≠ e) (hc : ∀ c ∈ S.cons, c.1 ≠ e ∧ c.2.1 ≠ e) :
                              S.ev col = (↑(col (S.face e)) + 1) * (S.killE e).ev col

                              A free closed strand contributes its dimension: a live edge with trivial sign, on no leg of a live node and in no constraint, multiplies the evaluation by col face + 1.