IntegerPreservingNormalization #
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.IntegerPreservingNormalization
(A B : Matrix (Fin 2) (Fin 2) ℝ)
(f : IntegerLatticeFunction)
(hrep : IntegerSuperharmonicRepresentative A f)
(delta : ℝ)
(hdelta : 0 < delta)
(hB : B = A - delta • 1)
:
∃ (z : GaussianInt) (n : Fin 2 → ℤ) (b : Fin 2 → ℝ) (u : IntegerLatticeFunction),
(∀ (i : Fin 2), b i = B.mulVec ![↑z.re, ↑z.im] i - ↑(n i)) ∧ (∀ (i : Fin 2), |b i| ≤ 1) ∧ (∀ (x : GaussianInt), u x = f (x + z) - f z - n 0 * x.re - n 1 * x.im) ∧ u 0 = 0 ∧ (∀ (x : GaussianInt), FourNeighborLaplacian u x ≤ 1) ∧ ∀ (x : GaussianInt), LatticeQuadraticForm B x + b ⬝ᵥ ![↑x.re, ↑x.im] ≤ ↑(u x)