Documentation

LeanPool.ApollonianSuperharmonic.P4112T1LowerNeighbors

P4112T1LowerNeighbors #

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.P4112T1LowerNeighbors (P : FordFareyParameter) (hP : 2 < P.q) :
have B := P4062T1RemainderPaths P; have d := fun (x : GaussianInt) => have a := if x ∈ (B 0).1 then (B 0).2 else (B 1).2; (x.re - a.re).natAbs + (x.im - a.im).natAbs; ∀ (j : Fin 2), ∀ x ∈ (B j).1, {y ∈ (B j).1 | FourNeighborAdjacent y x ∧ d y < d x}.card = if x = (B j).2 then 0 else 1