Documentation

LeanPool.ApollonianSuperharmonic.UnitSquareOpposingStripInterfacePath

UnitSquareOpposingStripInterfacePath #

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.UnitSquareOpposingStripInterfacePath (anchor : GaussianInt) (r s : ℤ × ℤ) (hrs : r ≠ s) (hnadj : ¬TriangularLatticeAdjacent r s) (forward reverse : List (ℤ × ℤ)) (hforward : TriangularStripSegment r s forward) (hreverse : TriangularStripSegment s r reverse) :
have base := { cells := {anchor}, anchor := anchor }; have tileAt := fun (z : ℤ × ℤ) => TileTranslation base { re := z.1, im := z.2 }; ∃ (p : List GaussianInt), (∃ (x : GaussianInt), p.head? = some x ∧ x ∈ FootprintVertices (tileAt r)) ∧ (∃ (y : GaussianInt), p.getLast? = some y ∧ y ∈ FootprintVertices (tileAt s)) ∧ List.IsChain (fun (x y : GaussianInt) => y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 }) p ∧ (∀ x ∈ p, (∃ a ∈ (List.drop 1 forward).dropLast, x ∈ FootprintVertices (tileAt a)) ∧ ∃ b ∈ (List.drop 1 reverse).dropLast, x ∈ FootprintVertices (tileAt b)) ∧ ∀ (x y : GaussianInt) (l₁ l₂ : List GaussianInt), p = l₁ ++ x :: y :: l₂ → (∃ a ∈ (List.drop 1 forward).dropLast, {x, y} ∈ FootprintEdges (tileAt a)) ∧ ∃ b ∈ (List.drop 1 reverse).dropLast, {x, y} ∈ FootprintEdges (tileAt b)