P1BandOrderedGeneralMixedAggregatePairedEndpoints #
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.P1BandOrderedGeneralMixedAggregatePairedEndpoints
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C₀ : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T)
(hsym : QuarterTurnSymmetric T)
:
have pairedEndpointData := fun (i : Fin 3) (s : Fin 4) (U V : ProtoTile) =>
have uR :=
{ 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 uL :=
{ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q i.succ) (q 0) else BandVectors.1 (q 0) (q i.succ);
∃ (rightData : ExactTileInterfaceTriple T (TileTranslation T uR) U) (incomingData :
ExactTileInterfaceTriple T (TileTranslation T uL) U) (t5Data : ExactTileInterfaceTriple T U V),
rightData.point = t5Data.point ∧ incomingData.point ≠ t5Data.point ∧ incomingData.otherCA = t5Data.point ∧ rightData.otherCA = incomingData.point ∧ t5Data.otherAB = incomingData.point;
∀ (i : Fin 3) (s : Fin 4) (U V : ProtoTile),
BandPrototile (q i.succ) U →
BandPrototile (q (if Even ↑s then i + 1 else i - 1).succ) V →
TileCentroid U - TileCentroid T = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (q i.succ) (q 0) + BandVectors.1 (q 0) (q i.succ))) →
TileCentroid V - TileCentroid T = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q (i + 1).succ) (q 0) - BandVectors.1 (q 0) (q (i + 1).succ)
else BandVectors.1 (q 0) (q (i - 1).succ) - BandVectors.1 (q (i - 1).succ) (q 0)) →
pairedEndpointData i s U V