Documentation

LeanPool.ApollonianSuperharmonic.P5130T5PeriodicExtension

P5130T5PeriodicExtension #

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.P5130T5PeriodicExtension (P : FordFareyParameter) (f : IntegerLatticeFunction) (hB : ∀ x ∈ FordDoubledBoundary P.q, f x = IntegerCeilDiv (P.p * x.re * x.im) ↑P.q ⋯) :
∃! g : IntegerLatticeFunction, (∀ x ∈ FordVertexDomain P.q, g x = f x) ∧ (∀ (x : GaussianInt), g (x + { re := 0, im := -↑P.q }) = g x - P.p * x.re) ∧ (∀ (x : GaussianInt), g (x + { re := ↑P.q, im := ↑P.q₁ }) = g x + P.p₁ * x.re + P.p * x.im + ↑P.q₁ * P.p) ∧ ∀ (x : GaussianInt), g (x + { re := -↑P.q, im := ↑P.q₂ }) = g x + P.p₂ * x.re - P.p * x.im - ↑P.q * P.p₂