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.
Edges of a union of m vertex networks.
Equations
- Lightlike.SpinFoam.MoveBlocks.EB m = (Fin m × Fin 10)
Instances For
Nodes of a union of m vertex networks.
Equations
- Lightlike.SpinFoam.MoveBlocks.NB m = (Fin m × Fin 5)
Instances For
All edges of EB m, as a list.
Equations
- Lightlike.SpinFoam.MoveBlocks.allEB m = List.flatMap (fun (a : Fin m) => List.map (fun (b : Fin 10) => (a, b)) (List.finRange 10)) (List.finRange m)
Instances For
All nodes of NB m, as a list.
Equations
- Lightlike.SpinFoam.MoveBlocks.allNB m = List.flatMap (fun (a : Fin m) => List.map (fun (b : Fin 5) => (a, b)) (List.finRange 5)) (List.finRange m)
Instances For
Deciding a statement for all edges through allEB m.
Equations
- Lightlike.SpinFoam.MoveBlocks.decForallEB P = decidable_of_iff (((Lightlike.SpinFoam.MoveBlocks.allEB m).all fun (e : Lightlike.SpinFoam.MoveBlocks.EB m) => decide (P e)) = true) ⋯
Instances For
Deciding a statement for all nodes through allNB m.
Equations
- Lightlike.SpinFoam.MoveBlocks.decForallNB P = decidable_of_iff (((Lightlike.SpinFoam.MoveBlocks.allNB m).all fun (n : Lightlike.SpinFoam.MoveBlocks.NB m) => decide (P n)) = true) ⋯
Instances For
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
GlueOK is decidable.
Equations
- Lightlike.SpinFoam.MoveBlocks.instDecidableGlueOK S b v n₁ n₂ t = id inferInstance
Gluing through an untouched block, with the hypotheses checked as GlueOK.
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
LoopOK is decidable.
Equations
- Lightlike.SpinFoam.MoveBlocks.instDecidableLoopOK S n₁ n₂ lA t fA = id inferInstance
Closing a strand, with the hypotheses checked as LoopOK.
The edge of S' on the face of the edge e of S (the two networks may have different
numbers of blocks).
Equations
- Lightlike.SpinFoam.MoveBlocks.relE S S' e = Lightlike.SpinFoam.MoveBlocks.findE S' (S.face e)
Instances For
The node of S' on the tetrahedron of the node n of S.
Equations
- Lightlike.SpinFoam.MoveBlocks.relN S S' n = Lightlike.SpinFoam.MoveBlocks.findN S' (S.tet n)
Instances For
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
A free closed strand #
The network with the edge e dead.
Equations
Instances For
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.