BandPackingSymmetryMarkedDataCovariance #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
theorem
ApollonianSuperharmonic.BandPackingSymmetryMarkedDataCovariance :
(∀ (g : BandPackingSymmetry) (C C' : CircleCoordinates) (T T' : ProtoTile) (h h' : PartialOdometer),
TileSubodometer C C' T T' h h' ↔ TileSubodometer (BandPackingSymmetryCircleAction g C) (BandPackingSymmetryCircleAction g C')
(BandPackingSymmetryTileAction g T) (BandPackingSymmetryTileAction g T')
(BandPackingSymmetryPartialOdometerAction g h) (BandPackingSymmetryPartialOdometerAction g h')) ∧ (∀ (g : BandPackingSymmetry) (x : GaussianInt) (T U : ProtoTile),
(∀ (j : Fin 4), LatticeVertexIncidentCell x j ∈ T.cells ∨ LatticeVertexIncidentCell x j ∈ U.cells) ↔ ∀ (j : Fin 4),
LatticeVertexIncidentCell (BandPackingSymmetryVectorAction g x) j ∈ (BandPackingSymmetryTileAction g T).cells ∨ LatticeVertexIncidentCell (BandPackingSymmetryVectorAction g x) j ∈ (BandPackingSymmetryTileAction g U).cells) ∧ ∀ (g : BandPackingSymmetry) (q : Fin 4 → CircleCoordinates),
ProperBandQuadruple q →
∀ (i : Fin 3) (s : Fin 4) (delta : Bool),
BandPackingSymmetryScopedPhase g q delta →
∀ (T : ProtoTile) (x : GaussianInt),
have q' := BandPackingSymmetryQuadrupleAction g q;
have sigma := fun (j : Fin 3) => if BandPackingSymmetryReversesOrientation g = true then -j else j;
have s' :=
if BandPackingSymmetryReversesOrientation g = true then -s - 1 + if delta = true then 2 else 0
else s + if delta = true then 2 else 0;
have oldRight :=
TileTranslation T
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q i.succ) else BandVectors.1 (q i.succ) (q 0));
have newRight :=
TileTranslation (BandPackingSymmetryTileAction g T)
({ re := 0, im := 1 } ^ ↑s' * if Even ↑s' then BandVectors.1 (q' 0) (q' (sigma i).succ)
else BandVectors.1 (q' (sigma i).succ) (q' 0));
BandPackingSymmetryTileAction g oldRight = newRight ∧ (x ∈ FootprintVertices oldRight ↔ BandPackingSymmetryVectorAction g x ∈ FootprintVertices newRight)