Documentation

LeanPool.ApollonianSuperharmonic.PeriodicQuadraticRemainder

PeriodicQuadraticRemainder #

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.PeriodicQuadraticRemainder (C : BandCircle) (g : IntegerLatticeFunction) (hcocycle : ∀ v ∈ TilingLattice C, ∃ (a : GaussianInt), (CircleMatrix C).mulVec ![↑v.re, ↑v.im] = ![↑a.re, ↑a.im] ∧ ∀ (x : GaussianInt), g (x + v) = g x + x.re * a.re + x.im * a.im + g v) :
∃ (b : ℝ × ℝ), ∀ v ∈ TilingLattice C, ∀ (x : GaussianInt), ↑(g (x + v)) - LatticeQuadraticForm (CircleMatrix C) (x + v) - (b.1 * ↑(x + v).re + b.2 * ↑(x + v).im) = ↑(g x) - LatticeQuadraticForm (CircleMatrix C) x - (b.1 * ↑x.re + b.2 * ↑x.im)