P5332T1Parent1Rotation1Values #
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.P5332T1Parent1Rotation1Values
(P A : FordFareyParameter)
(hq : 1 < P.q)
(hAp : A.p = P.p₁)
(hAq : A.q = P.q₁)
(f : IntegerLatticeFunction)
(B : ℤ)
(x : GaussianInt)
(hbase : ∀ y ∈ FordVertexDomain P.q, f y = FordOdometer P y)
(hother :
∀ (y : GaussianInt),
y - (P5332T1ParentRows P 0 1 0).displacement ∈ FordVertexDomain A.q →
f y = FordOdometer A (y - (P5332T1ParentRows P 0 1 0).displacement) + (P5332T1ParentRows P 0 1 0).linear.re * y.re + (P5332T1ParentRows P 0 1 0).linear.im * y.im + B)
(hx : x ∈ FordVertexDomain P.q)
(hx' : x - (P5332T1ParentRows P 0 1 0).displacement ∈ FordVertexDomain A.q)
(hstar :
∀ (l : Fin 5),
x + ![0, 1, -1, { re := 0, im := 1 }, -{ re := 0, im := 1 }] l ∈ FordVertexDomain P.q ∨ x + ![0, 1, -1, { re := 0, im := 1 }, -{ re := 0, im := 1 }] l - (P5332T1ParentRows P 0 1 0).displacement ∈ FordVertexDomain A.q)
:
∃ (t : ℤ),
0 ≤ t ∧ t < ↑P.q₁ ∧ x = (P5332T1ParentRows P 0 1 t).center ∧ B = P.p₁ * ↑P.q₂ ∧ (∀ (l : Fin 5),
f (x + ![0, 1, -1, { re := 0, im := 1 }, -{ re := 0, im := 1 }] l) = (P5332T1ParentRows P 0 1 t).values l) ∧ (x - (P5332T1ParentRows P 0 1 0).companion ∈ FordVertexDomain P.q ↔ t = 0 ∧ Even (1 + 0))