Documentation

LeanPool.ApollonianSuperharmonic.OpposingStringInterfacePath

OpposingStringInterfacePath #

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.OpposingStringInterfacePath (C : BandCircle) (orientation : Bool) (base R S : ProtoTile) (hRS : R ≠ S) (hnadj : ¬if (↑↑C).1 = 1 then ∃ (v : GaussianInt), UnitTriangularStep orientation v ∧ TileCentroid S - TileCentroid R = GaussianRealPoint v else TileTouching R S) (forward reverse : List ProtoTile) (hf : TileString C orientation base R S forward) (hr : TileString C orientation base S R reverse) :
∃ (p : List GaussianInt), (∃ (x : GaussianInt), p.head? = some x ∧ x ∈ FootprintVertices R) ∧ (∃ (y : GaussianInt), p.getLast? = some y ∧ y ∈ FootprintVertices 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 a) ∧ ∃ b ∈ (List.drop 1 reverse).dropLast, x ∈ FootprintVertices b) ∧ ∀ (x y : GaussianInt) (l₁ l₂ : List GaussianInt), p = l₁ ++ x :: y :: l₂ → (∃ a ∈ (List.drop 1 forward).dropLast, {x, y} ∈ FootprintEdges a) ∧ ∃ b ∈ (List.drop 1 reverse).dropLast, {x, y} ∈ FootprintEdges b