Documentation

LeanPool.ApollonianSuperharmonic.P3161T2PathSubwalk

P3161T2PathSubwalk #

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.P3161T2PathSubwalk {V : Set GaussianInt} {E : Set (Finset GaussianInt)} (hpath : SimpleGridPath V E) (x y : GaussianInt) (hx : x ∈ V) (hy : y ∈ V) :
∃ (w : List GaussianInt), w.head? = some x ∧ w.getLast? = some y ∧ (∀ z ∈ w, z ∈ V) ∧ ∀ (a b : GaussianInt) (l r : List GaussianInt), w = l ++ a :: b :: r → {a, b} ∈ E