P4564T2GeometryPullback #
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.P4564T2GeometryPullback
(q : Fin 4 → CircleCoordinates)
(hq : ProperBandQuadruple q)
(T : ProtoTile)
(hT : BandPrototile (q 0) T)
(a : Fin 3)
(g : BandPackingSymmetry)
:
have qa := ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ];
have qg := BandPackingSymmetryQuadrupleAction g qa;
have Tg := BandPackingSymmetryTileAction g T;
LatticeTile Tg ∧ TileArea Tg = (qg 0).1.toNat ∧ (∀ (S : Fin 3 → Bool → ProtoTile),
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence qg Tg i s (S i s)) →
(∀ (x : LatticeCell), x ∈ Tg.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells) →
∀ (i : Fin 3) (s : Bool),
LatticeTile (TileCellComplement Tg (S i s)) ∧ TileTouching (TileCellComplement Tg (S i s)) (S i s)) ∧ QuarterTurnSymmetric Tg →
LatticeTile T ∧ TileArea T = (q 0).1.toNat ∧ (∀ (S : Fin 3 → Bool → ProtoTile),
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence q T i s (S i s)) →
(∀ (x : LatticeCell), x ∈ T.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells) →
∀ (i : Fin 3) (s : Bool),
LatticeTile (TileCellComplement T (S i s)) ∧ TileTouching (TileCellComplement T (S i s)) (S i s)) ∧ QuarterTurnSymmetric T