P4616T1FirstPredecessorCentroids #
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.P4616T1FirstPredecessorCentroids
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C T)
:
have r := cfg.firstPredecessor;
have U := ![cert.P 0 true, cert.P 0 true, cert.P 0 false, cert.P 0 false];
have W := ![cert.P 1 false, cert.P 2 false, cert.P 1 true, cert.P 2 true];
have H :=
![TileTranslation (cert.P 0 false) (cert.u + cert.v), TileTranslation (cert.P 0 false) cert.v, TileTranslation (cert.P 0 true) (-cert.u - cert.v), TileTranslation (cert.P 0 true) (-cert.v)];
have j := ![1, 2, 1, 2];
have s := ![3, 0, 1, 2];
∀ (k : Fin 4),
TileCentroid (W k) - TileCentroid (U k) = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑(s k) * (BandVectors.1 (r (j k).succ) (r 0) + BandVectors.1 (r 0) (r (j k).succ))) ∧ TileCentroid
(TileTranslation (U k)
({ re := 0, im := 1 } ^ ↑(s k) * if Even ↑(s k) then BandVectors.1 (r (j k).succ) (r 0) else BandVectors.1 (r 0) (r (j k).succ))) = TileCentroid (H k)