DisjointBoundaryCommonEdgeGraphAcyclic #
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.DisjointBoundaryCommonEdgeGraphAcyclic
(U V : ProtoTile)
(hdisjoint : Disjoint U.cells V.cells)
(hUcycle : SimpleGridCycle (BoundaryFootprintVertices U) (BoundaryFootprintEdges U))
(hVcycle : SimpleGridCycle (BoundaryFootprintVertices V) (BoundaryFootprintEdges V))
(hcommon : (FootprintEdges U ∩ FootprintEdges V).Nonempty)
(hedges : FootprintEdges U ∩ FootprintEdges V = BoundaryFootprintEdges U ∩ BoundaryFootprintEdges V)
:
have X := CommonFootprintEdgeVertices U V;
have G := SimpleGraph.fromRel fun (a b : ↑X) => {↑a, ↑b} ∈ FootprintEdges U ∩ FootprintEdges V;
G.IsAcyclic