AffineOpposingStripCorridor #
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.AffineOpposingStripCorridor
(x y : ℤ × ℤ)
(hxy : x ≠ y)
(hnadj : ¬TriangularLatticeAdjacent x y)
(forward reverse : List (ℤ × ℤ))
(hforward : TriangularStripSegment x y forward)
(hreverse : TriangularStripSegment y x reverse)
:
∃ (faces : List AffineTriangularFace),
faces ≠ [] ∧ (∃ (f : AffineTriangularFace), faces.head? = some f ∧ x ∈ AffineTriangularFaceVertices f) ∧ (∃ (f : AffineTriangularFace), faces.getLast? = some f ∧ y ∈ AffineTriangularFaceVertices f) ∧ (∀ f ∈ faces,
(∃ a ∈ (List.drop 1 forward).dropLast, a ∈ AffineTriangularFaceVertices f) ∧ ∃ b ∈ (List.drop 1 reverse).dropLast, b ∈ AffineTriangularFaceVertices f) ∧ List.IsChain (AffineTriangularCorridorStep forward reverse) faces