P5253T1LeftSquareContacts #
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.P5253T1LeftSquareContacts
(k : ℕ)
(hk : 0 < k)
(u : GaussianInt)
(h : ℤ)
(hh : h = ↑k - 1 ∨ h = ↑k)
:
have D := TileTranslation (DiamondTile k) u;
have c := u + { re := -↑k - 1, im := h };
have U := { cells := {c}, anchor := c };
Finset.Nonempty D.cells ∧ Disjoint D.cells U.cells ∧ BoundaryFootprintVertices D ∩ BoundaryFootprintVertices U = {c + 1, c + 1 + { re := 0, im := 1 }} ∧ {c + 1, c + 1 + { re := 0, im := 1 }} ∈ BoundaryFootprintEdges D