BandSignedOccurrenceHalfTurn #
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.BandSignedOccurrenceHalfTurn
(q : Fin 4 → CircleCoordinates)
(x : ℝ × ℝ)
(S : Fin 3 → Bool → ProtoTile)
(hS : ∀ (i : Fin 3) (s : Bool), BandPrototile (q i.succ) (S i s))
(hcent :
∀ (i : Fin 3) (s : Bool),
TileCentroid (S i s) - x = (if s = true then 1 else -1) • (1 / 2) • (GaussianRealPoint (BandVectors.1 (q (i + 2).succ) (q (i + 1).succ)) - (-(GaussianRealPoint (BandVectors.1 (q (i + 2).succ) (q (i + 1).succ))).2, (GaussianRealPoint (BandVectors.1 (q (i + 2).succ) (q (i + 1).succ))).1)))
(i : Fin 3)
:
have w := BandVectors.1 (q (i + 2).succ) (q (i + 1).succ);
have u := GaussianQuarterTurn w - w;
(TileTranslation (S i true) u).cells = (S i false).cells ∧ ((S i true).cells = ∅ → (TileTranslation (S i true) u).anchor = (S i false).anchor) ∧ FootprintVertices (TileTranslation (S i true) u) = FootprintVertices (S i false) ∧ TileCentroid (TileTranslation (S i true) u) = TileCentroid (S i false) ∧ TileArea (S i true) = TileArea (S i false) ∧ CentrallyReflectedAt x (S i true) (S i false)