Documentation

LeanPool.ApollonianSuperharmonic.ConnectedGridEdgeCarrierGraph

ConnectedGridEdgeCarrierGraph #

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.ConnectedGridEdgeCarrierGraph (E : Set (Finset GaussianInt)) (hEfinite : E.Finite) (hgrid : ∀ e ∈ E, ∃ (a : GaussianInt) (b : GaussianInt), e = {a, b} ∧ FourNeighborAdjacent a b) (hconnected : IsConnected (⋃ e ∈ E, GridEdgeCarrier e)) :
have X := {x : GaussianInt | ∃ e ∈ E, x ∈ e}; have G := SimpleGraph.fromRel fun (a b : ↑X) => {↑a, ↑b} ∈ E; G.Connected