P5332T1LiteralNormalization #
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.P5332T1LiteralNormalization
(A D : FordFareyParameter)
(T U : ProtoTile)
(h k : PartialOdometer)
(p p' : ℝ × ℝ)
(g : IntegerLatticeFunction)
(hT : TileOdometer (FordCircleCoordinate A.p A.q) T h)
(hU : TileOdometer (FordCircleCoordinate D.p D.q) U k)
(hp : PartialOdometerSlope h = some p)
(hp' : PartialOdometerSlope k = some p')
(he : GlobalOdometerExtends g h)
(he' : GlobalOdometerExtends g k)
:
∃ (u : GaussianInt) (d : GaussianInt) (a : GaussianInt) (B : ℤ) (f : IntegerLatticeFunction),
(∀ (x : GaussianInt), x ∈ h.domain ↔ x - u ∈ FordVertexDomain A.q) ∧ (∀ (x : GaussianInt), x ∈ k.domain ↔ x - u - d ∈ FordVertexDomain D.q) ∧ (∀ (x : LatticeCell), x ∈ T.cells ↔ x - u ∈ (FordTile A.q).cells) ∧ (∀ (x : LatticeCell), x ∈ U.cells ↔ x - u - d ∈ (FordTile D.q).cells) ∧ (∀ (x w : GaussianInt), x ∈ FootprintVertices (TileTranslation T w) ↔ x - u - w ∈ FordVertexDomain A.q) ∧ TileCentroid U - TileCentroid T = ((↑D.q - ↑A.q) / 2 + ↑d.re, (↑D.q - ↑A.q) / 2 + ↑d.im) ∧ p'.1 - p.1 = (↑D.p - ↑A.p) / 2 + ↑a.re ∧ p'.2 - p.2 = (↑D.p - ↑A.p) / 2 + ↑a.im ∧ (∀ y ∈ FordVertexDomain A.q, f y = FordOdometer A y) ∧ (∀ (y : GaussianInt),
y - d ∈ FordVertexDomain D.q → f y = FordOdometer D (y - d) + a.re * y.re + a.im * y.im + B) ∧ ∀ (x : GaussianInt), FourNeighborLaplacian g x = FourNeighborLaplacian f (x - u)