P3544T1IndexedGluing #
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.P3544T1IndexedGluing
{n : ℕ}
{p : P3381T1PolygonBoundary n}
(S : P3544T1DiagonalSplit p)
{XL XR : Set (ℝ × ℝ)}
(L : P3511T1SourceDissection S.left XL)
(R : P3511T1SourceDissection S.right XR)
(hL : XL = P3544T1RayParity S.left ∪ P3544T1BoundaryCarrier S.left)
(hR : XR = P3544T1RayParity S.right ∪ P3544T1BoundaryCarrier S.right)
(hcL : IsPathConnected (P3544T1RayParity S.left))
(hcR : IsPathConnected (P3544T1RayParity S.right))
:
∃ (Z : P3511T1SourceDissection p (XL ∪ XR)),
(List.ofFn Z.face = (List.ofFn fun (k : Fin L.count) => S.il ∘ L.face k) ++ List.ofFn fun (k : Fin R.count) => S.ir ∘ R.face k) ∧ XL ∪ XR = P3544T1RayParity p ∪ P3544T1BoundaryCarrier p ∧ IsPathConnected (P3544T1RayParity p)