P3913T1RoutedFaceSubdivision #
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.P3913T1RoutedFaceSubdivision
{ι : Type}
(P : PeriodicTileComplex ι)
(D : P3723T1AllContactRouting P)
(f : P.plane.Face)
(g : Fin 3 → ↑(Set.Icc 0 1) → ℝ × ℝ)
:
(∀ (k : Fin 3), Continuous (g k)) →
(∀ (k : Fin 3), Function.Injective (g k)) →
(∀ (k : Fin 3), Set.range (g k) = D.edgeArc (P.plane.faceVertex f k) (P.plane.faceVertex f (k + 1))) →
(∀ (k : Fin 3), g k ⟨0, P3913T1RoutedFaceSubdivision._proof_1⟩ = D.position (P.plane.faceVertex f k)) →
(∀ (k : Fin 3), g k ⟨1, P3913T1RoutedFaceSubdivision._proof_2⟩ = D.position (P.plane.faceVertex f (k + 1))) →
∀ (s : (k : Fin 3) → P3723T1PolygonalParameterization (g k)),
∃ (n : ℕ) (p : Fin (n + 3) → ℝ × ℝ),
n + 3 = ∑ k : Fin 3, (s k).count ∧ Function.Injective p ∧ (∀ (i j : Fin (n + 3)),
i ≠ j →
segment ℝ (p i) (p (i + 1)) ∩ segment ℝ (p j) (p (j + 1)) = {x : ℝ × ℝ | (x = p i ∨ x = p (i + 1)) ∧ (x = p j ∨ x = p (j + 1))}) ∧ ⋃ (i : Fin (n + 3)), segment ℝ (p i) (p (i + 1)) = D.edgeArc (P.plane.faceVertex f 0) (P.plane.faceVertex f 1) ∪
D.edgeArc (P.plane.faceVertex f 1) (P.plane.faceVertex f 2) ∪
D.edgeArc (P.plane.faceVertex f 2) (P.plane.faceVertex f 0) ∧ ∀ (k : Fin 3) (i : Fin ((s k).count + 1)),
∃ (t : ↑(Set.Icc 0 1)), ↑t = (s k).time i ∧ g k t ∈ Set.range p