P5416T1SecondUnitGeometry #
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.P5416T1SecondUnitGeometry
(K : DiamondParameter)
(hk : 1 < ↑K)
(s : Fin 4)
(z : GaussianInt)
:
have d := ((P5352T2PlacementData (↑K) 1).2 s).1;
have r := ((P5352T2PlacementData (↑K) 1).2 s).2.2;
z ∈ FootprintVertices (DiamondTile ↑K) →
z - d ∈ FootprintVertices (P5352T2Sources K hk 2).1 →
(∀ (y : GaussianInt),
y = z ∨ y = z + 1 ∨ y = z - 1 ∨ y = z + { re := 0, im := 1 } ∨ y = z - { re := 0, im := 1 } →
y ∈ FootprintVertices (DiamondTile ↑K) ∨ y - d ∈ FootprintVertices (P5352T2Sources K hk 2).1) →
z = ![{ re := -↑↑K, im := ↑↑K }, { re := 0, im := 0 }, { re := ↑↑K, im := ↑↑K }, { re := 0, im := 2 * ↑↑K }] s ∧ (z - r ∈ FootprintVertices (DiamondTile ↑K) ↔ s = 1 ∨ s = 3)