Documentation

LeanPool.ApollonianSuperharmonic.P3381T1AffineTriangleMap

P3381T1AffineTriangleMap #

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.P3381T1AffineTriangleMap (p q : Fin 3 → ℝ × ℝ) (hp : P3381T1TriangleDeterminant p ≠ 0) (hq : P3381T1TriangleDeterminant q ≠ 0) :
∃ (h : ℝ × ℝ ≃ₜ ℝ × ℝ), ∀ (w : Fin 3 → ℝ), ∑ i : Fin 3, w i = 1 → h (∑ i : Fin 3, w i • p i) = ∑ i : Fin 3, w i • q i
theorem ApollonianSuperharmonic.barycentricCoordinates_weighted_sum {ι κ E : Type} [Fintype ι] [Fintype κ] [AddCommMonoid E] [Module ℝ E] (vertices : κ → E) (coordinates : E → κ → ℝ) (sum_coordinates : ∀ (z : E), ∑ j : κ, coordinates z j = 1) (reconstruct : ∀ (z : E), ∑ j : κ, coordinates z j • vertices j = z) (unique_coordinates : ∀ (w : κ → ℝ), ∑ j : κ, w j = 1 → coordinates (∑ j : κ, w j • vertices j) = w) (weights : ι → ℝ) (points : ι → E) (sum_weights : ∑ r : ι, weights r = 1) (j : κ) :
coordinates (∑ r : ι, weights r • points r) j = ∑ r : ι, weights r * coordinates (points r) j

Coordinates with normalized weights, reconstruction, and uniqueness preserve affine sums.