P5435T1WebGeometry #
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.P5435T1WebGeometry
(K : DiamondParameter)
:
have D := DiamondVertexDomains K true;
have S := DiamondVertexDomains K false \ D;
have W := {x : GaussianInt | ∃ v ∈ DiamondExceptionalLattice K, x - v ∈ S};
FourNeighborConnected W ∧ ∀ x ∉ W,
∃ v ∈ DiamondExceptionalLattice K,
∀ (y : GaussianInt),
Relation.ReflTransGen (fun (u z : GaussianInt) => u ∉ W ∧ z ∉ W ∧ FourNeighborAdjacent u z) x y → y - v ∈ D