Documentation

LeanPool.ApollonianSuperharmonic.SimpleGridCycleSubgraphDegreeTwo

SimpleGridCycleSubgraphDegreeTwo #

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.SimpleGridCycleSubgraphDegreeTwo (X W : Set GaussianInt) (E F : Set (Finset GaussianInt)) (hcycle : SimpleGridCycle W F) (hX : X ⊆ W) (hE : E ⊆ F) :
have G := SimpleGraph.fromRel fun (a b : ↑X) => {↑a, ↑b} ∈ E; ∀ (v : ↑X), (G.neighborSet v).ncard ≤ 2