Documentation

LeanPool.ApollonianSuperharmonic.P5662T1TriangulationBarycentricCoordinates

P5662T1TriangulationBarycentricCoordinates #

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.P5662T1TriangulationBarycentricCoordinates {n : ℕ} (p : P3381T1PolygonBoundary n) (X K : Set (ℝ × ℝ)) (t : P3381T1PairedTriangulation p X K) :
(∃ (b : Fin t.count → ℝ × ℝ → Fin 3 → ℝ), (∀ (k : Fin t.count) (z : ℝ × ℝ), ∑ j : Fin 3, b k z j = 1) ∧ (∀ (k : Fin t.count) (z : ℝ × ℝ), ∑ j : Fin 3, b k z j • p.vertex (t.face k j) = z) ∧ (∀ (k : Fin t.count) (w : Fin 3 → ℝ), ∑ j : Fin 3, w j = 1 → b k (∑ j : Fin 3, w j • p.vertex (t.face k j)) = w) ∧ (∀ (k : Fin t.count) (j : Fin 3), Continuous fun (z : ℝ × ℝ) => b k z j) ∧ (∀ (k : Fin t.count) (z : ℝ × ℝ), z ∈ (convexHull ℝ) (Set.range (p.vertex ∘ t.face k)) ↔ ∀ (j : Fin 3), 0 ≤ b k z j) ∧ (∀ (k : Fin t.count) (i : Fin 3), b k (p.vertex (t.face k i)) = Pi.single i 1) ∧ ∀ (k l : Fin t.count), ∀ z ∈ (convexHull ℝ) (p.vertex '' (Set.range (t.face k) ∩ Set.range (t.face l))), ∀ (j : Fin 3), t.face k j ∉ Set.range (t.face l) → b k z j = 0) ∧ ∀ (i : Fin (n + 3)) (k : Fin t.count), p.vertex i ∈ (convexHull ℝ) (Set.range (p.vertex ∘ t.face k)) ↔ i ∈ Set.range (t.face k)