BoundedDifference #
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.
Two integer lattice functions $f$ and $g$ have bounded difference if there is a natural number $B$ such that $|f(x)-g(x)|\leq B$ for every $x\in\mathbb Z[i]$.
Equations
- ApollonianSuperharmonic.BoundedDifference f g = ∃ (B : ℕ), ∀ (x : GaussianInt), (f x - g x).natAbs ≤ B