Documentation

LeanPool.ApollonianSuperharmonic.P5532T1ForestAttachment

P5532T1ForestAttachment #

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.P5532T1ForestAttachment (D P R : Finset GaussianInt) (σ : GaussianInt → ℤ) (hP : P ⊆ D) (o : AcyclicIndegreeOrientation P σ) (hf : RootedFourNeighborForest (D \ P) R) (hres : ∀ x ∈ D \ P, σ x - ↑{y ∈ P | decide (FourNeighborAdjacent y x) = true}.card = 1 - if x ∈ R then 1 else 0) :
∃ (t : AcyclicIndegreeOrientation D σ), (∀ x ∈ P, ∀ y ∈ P, t.edge x y ↔ o.edge x y) ∧ (∀ x ∈ P, ∀ y ∈ D \ P, FourNeighborAdjacent x y → t.edge x y) ∧ (∀ x ∈ P, t.rank x = o.rank x) ∧ ∀ x ∈ D \ P, P.sup o.rank < t.rank x