Documentation

LeanPool.ApollonianSuperharmonic.P4630T1GridComplementCriterion

P4630T1GridComplementCriterion #

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.P4630T1GridComplementCriterion (B C : Set LatticeCell) (hfinite : C.Finite) (hC : FourNeighborConnected C) (hdisjoint : C ⊆ Bᶜ) (hboundary : ∀ x ∈ C, ∀ (y : LatticeCell), FourNeighborAdjacent x y → y ∉ C → y ∈ B) (hexterior : ∀ x ∉ C, x ∉ B → ∃ (f : ℕ → LatticeCell), Function.Injective f ∧ ∀ (n : ℕ), Relation.ReflTransGen (fun (a b : LatticeCell) => FourNeighborAdjacent a b ∧ a ∉ B ∧ b ∉ B) x (f n)) :