P4158T1MatchedFordPair #
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.P4158T1MatchedFordPair
(P : FordFareyParameter)
(C0 Ci : BandCircle)
(i : Fin 3)
(hC0 : FordRecursiveQuadruple P 0 = ↑↑C0)
(hCi : FordRecursiveQuadruple P i.succ = ↑↑Ci)
(T T' : ProtoTile)
(h h' : PartialOdometer)
(hO : TileOdometer (↑↑C0) T h)
(hO' : TileOdometer (↑↑C0) T' h')
(hlarge : 1 < (↑↑Ci).1)
(hcent :
TileCentroid T' - TileCentroid T = GaussianRealPoint (BandVectors.1 (FordRecursiveQuadruple P i.succ) (FordRecursiveQuadruple P 0)))
:
i ≠ 2 ∧ 1 < P.q ∧ 0 < P.q₁ ∧ P.q₁ ≠ P.q₂ ∧ ∃ (u : GaussianInt),
T.cells = (TileTranslation (FordTile P.q) u).cells ∧ T'.cells = (TileTranslation (FordTile P.q)
(u + if i = 0 then { re := ↑P.q, im := ↑P.q₁ } else { re := -↑P.q, im := ↑P.q₂ })).cells ∧ Disjoint T.cells T'.cells ∧ ∀ (x : GaussianInt),
x ∈ FootprintVertices T ∩ FootprintVertices T' ↔ ((x - u).re = if i = 0 then ↑P.q else 0) ∧ (if i = 0 then ↑P.q₁ else ↑P.q₂) ≤ (x - u).im ∧ (x - u).im ≤ ↑P.q