Documentation

LeanPool.ApollonianSuperharmonic.FiniteCycleComponentList

FiniteCycleComponentList #

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.FiniteCycleComponentList {V : Type u_1} [Finite V] [DecidableEq V] (G : SimpleGraph V) (hG : G.IsCycles) (c : G.ConnectedComponent) (v : V) (hv : v ∈ c.supp) (hn : (G.neighborSet v).Nonempty) :
∃ (p : List V) (x : V) (y : V), p.Nodup ∧ 3 ≤ p.length ∧ p.head? = some x ∧ p.getLast? = some y ∧ ↑p.toFinset = c.supp ∧ G.Adj y x ∧ List.IsChain G.Adj p ∧ ∀ (a b : V), a ∈ c.supp → (G.Adj a b ↔ s(a, b) = s(y, x) ∨ s(a, b) ∈ List.zipWith (fun (x1 x2 : V) => s(x1, x2)) p p.tail)