P4733T1WalkExtension #
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.P4733T1WalkExtension
{u v : GaussianInt}
{L : AddSubgroup GaussianInt}
(D : P4677T2DrawingData u v L)
(hinj : Function.Injective (P4733T1FacePairOrbit D))
(p : Fin 18 → List GaussianInt)
:
∃ (path : PeriodicSubtileFaceIndex → PeriodicSubtileFaceIndex → List GaussianInt),
(∀ (f g : PeriodicSubtileFaceIndex), path g f = (path f g).reverse) ∧ (∀ (w : ↥L) (f g : PeriodicSubtileFaceIndex),
path (D.faceShift w f) (D.faceShift w g) = List.map (fun (x : GaussianInt) => x + ↑w) (path f g)) ∧ (∀ (t : Fin 18 × ↥L × Bool),
path (P4733T1FacePairOrbit D t).1 (P4733T1FacePairOrbit D t).2 = if t.2.2 = true then List.map (fun (x : GaussianInt) => x + ↑t.2.1) (p t.1)
else (List.map (fun (x : GaussianInt) => x + ↑t.2.1) (p t.1)).reverse) ∧ (∀ (f : PeriodicSubtileFaceIndex), path f f = []) ∧ ∀ (f g : PeriodicSubtileFaceIndex),
(¬∃ (t : Fin 18 × ↥L × Bool), P4733T1FacePairOrbit D t = (f, g)) → path f g = []