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