Documentation

LeanPool.ApollonianSuperharmonic.P5667T1RoundedSupportingSlope

P5667T1RoundedSupportingSlope #

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.P5667T1RoundedSupportingSlope (A : Matrix (Fin 2) (Fin 2) ℝ) (hA : A.IsSymm) (hpsd : A.PosSemidef) (x : GaussianInt) :
∃ (p : GaussianInt), ∀ (y : GaussianInt), ⌈LatticeQuadraticForm A x - ↑(|x.re| + |x.im|) - 1 - ↑p.re * ↑x.re - ↑p.im * ↑x.im⌉ ≤ ⌊LatticeQuadraticForm A y + ↑(|y.re| + |y.im|)⌋ - p.re * y.re - p.im * y.im