P4158T1LargeSecondRestrictions #
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.P4158T1LargeSecondRestrictions
(P : FordFareyParameter)
(hq : ProperBandQuadruple (FordRecursiveQuadruple P))
(C0 Ci : BandCircle)
(hC0 : FordRecursiveQuadruple P 0 = ↑↑C0)
(hCi : FordRecursiveQuadruple P 2 = ↑↑Ci)
(hlarge : 1 < (↑↑Ci).1)
(horder : P.q₁ < P.q₂)
(T T' : ProtoTile)
(h h' : PartialOdometer)
(hO : TileOdometer (↑↑C0) T h)
(hO' : TileOdometer (↑↑C0) T' h')
(p p' : ℝ × ℝ)
(hs : PartialOdometerSlope h = some p)
(hs' : PartialOdometerSlope h' = some p')
(hsl : p' - p = GaussianRealPoint (BandVectors.2 (FordRecursiveQuadruple P 2) (FordRecursiveQuadruple P 0)))
(u : GaussianInt)
(hc : T.cells = (TileTranslation (FordTile P.q) u).cells)
(hc' : T'.cells = (TileTranslation (FordTile P.q) (u + { re := -↑P.q, im := ↑P.q₂ })).cells)
:
∃ (U : ProtoTile) (V : ProtoTile) (g : PartialOdometer) (k : PartialOdometer) (s : ℝ × ℝ) (t : ℝ × ℝ) (Q :
FordFareyParameter),
AncestorOdometer (↑↑Ci) (↑↑C0) U T g h ∧ AncestorOdometer (↑↑Ci) (↑↑C0) V T' k h' ∧ TileOdometer (↑↑Ci) U g ∧ TileOdometer (↑↑Ci) V k ∧ PartialOdometerSlope g = some s ∧ PartialOdometerSlope k = some t ∧ U.cells = (TileTranslation (FordTile P.q₂) (u + { re := 0, im := ↑P.q₁ })).cells ∧ V.cells = (TileTranslation (FordTile P.q₂) (u + { re := -↑P.q₂, im := ↑P.q₂ })).cells ∧ TileCentroid V - TileCentroid U = GaussianRealPoint { re := -↑P.q₂, im := ↑P.q₂ - ↑P.q₁ } ∧ t - s = GaussianRealPoint { re := P.p₂ - P.p₁, im := -P.p₂ } ∧ Q.q = P.q₂ ∧ Q.q₂ = P.q₂ - P.q₁ ∧ Q.p = P.p₂ ∧ Q.p₂ = P.p₂ - P.p₁ ∧ FordRecursiveQuadruple Q 0 = ↑↑Ci ∧ 1 < Q.q