P5442T1WebGeometry #
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.P5442T1WebGeometry
(P : FordFareyParameter)
:
have t := fun (m n : ℤ) => { re := n * ↑P.q, im := n * ↑P.q₁ - m * ↑P.q };
have W := {x : GaussianInt | ∃ (m : ℤ) (n : ℤ), x - t m n ∈ LatticeVertexBoundary (FordVertexDomain P.q)};
(∀ (m n : ℤ),
t m n ∈ FordExceptionalLattice P ∧ ∀ (x : GaussianInt),
FourNeighborLaplacian (FordOdometer P) (x + t m n) = FourNeighborLaplacian (FordOdometer P) x) ∧ (∀ x ∈ W, FourNeighborLaplacian (FordOdometer P) x = 1) ∧ FourNeighborConnected W ∧ ∀ x ∉ W,
∃ (m : ℤ) (n : ℤ),
∀ (y : GaussianInt),
Relation.ReflTransGen (fun (u z : GaussianInt) => u ∉ W ∧ z ∉ W ∧ FourNeighborAdjacent u z) x y →
y - t m n ∈ P4062T1InteriorSquare P.q