P5188T1E2Boundary #
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.P5188T1E2Boundary
(P P₁ : FordFareyParameter)
(hq : 1 < P.q)
(hp₁ : P₁.p = P.p₁)
(hq₁ : P₁.q = P.q₁)
(g₁ : IntegerLatticeFunction)
(h₁ : ∀ x ∈ FordDoubledBoundary P₁.q, g₁ x = IntegerCeilDiv (P₁.p * x.re * x.im) ↑P₁.q ⋯)
(x : GaussianInt)
(hdom : ↑P.q₂ ≤ x.re ∧ x.re ≤ ↑P.q ∧ ↑P.q₂ ≤ x.im ∧ x.im ≤ ↑P.q)
(hbd : x ∈ FordDoubledBoundary P.q)
: