PeriodicTileIntersectionPaths #
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.PeriodicTileIntersectionPaths
{ι : Type}
(P : PeriodicTileComplex ι)
(contact_regular : PeriodicTileAdjacentContactRegularity P)
(a b : ι)
(hab : a ≠ b)
:
((P.plane.adjacent a b ∧ ∃ (f : P.plane.Face) (g : P.plane.Face),
f ≠ g ∧ ((∃ (i : Fin 3), P.plane.faceVertex f i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex f i = b) ∧ ((∃ (i : Fin 3), P.plane.faceVertex g i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex g i = b) ∧ (∀ (h : P.plane.Face),
((∃ (i : Fin 3), P.plane.faceVertex h i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex h i = b) →
h = f ∨ h = g) ∧ SimpleGridPathBetween (CommonFootprintEdgeVertices (P.tile a) (P.tile b))
(FootprintEdges (P.tile a) ∩ FootprintEdges (P.tile b)) (P.rho f) (P.rho g)) ↔ (FootprintEdges (P.tile a) ∩ FootprintEdges (P.tile b)).Nonempty) ∧ ((FootprintVertices (P.tile a) ∩ FootprintVertices (P.tile b)).Nonempty →
(P.plane.adjacent a b ∧ ∃ (f : P.plane.Face) (g : P.plane.Face),
f ≠ g ∧ ((∃ (i : Fin 3), P.plane.faceVertex f i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex f i = b) ∧ ((∃ (i : Fin 3), P.plane.faceVertex g i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex g i = b) ∧ (∀ (h : P.plane.Face),
((∃ (i : Fin 3), P.plane.faceVertex h i = a) ∧ ∃ (i : Fin 3), P.plane.faceVertex h i = b) →
h = f ∨ h = g) ∧ SimpleGridPathBetween (CommonFootprintEdgeVertices (P.tile a) (P.tile b))
(FootprintEdges (P.tile a) ∩ FootprintEdges (P.tile b)) (P.rho f) (P.rho g)) ∨ ¬P.plane.adjacent a b ∧ FootprintEdges (P.tile a) ∩ FootprintEdges (P.tile b) = ∅)