Documentation

LeanPool.ApollonianSuperharmonic.P5332T1RightFirstValues

P5332T1RightFirstValues #

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