OAI/Geometry/ProjectionBody/SimplexVolume.lean
12 declarations, 0 contain sorry, 0 declared as axioms
Volumes of standard simplices and their products
The simplex-volume calculation below uses Tonelli's theorem and induction on the
dimension. At first coordinate t, the remaining section is a simplex of radius
r - t; its volume is integrated over 0 ≤ t ≤ r. The Euclidean versions use
the measure-preserving equivalence between coordinate space and EuclideanSpace.
The product formula is proved using the product Lebesgue measure under the
canonical splitting of Fin (p + q).
- def
OAI.ProjectionCounterexample.coordinateSimplexline 31Source documentation
The coordinate standard simplex with nonnegative coordinates and sum at most
r.def coordinateSimplex (n : ℕ) (r : ℝ) : Set (Fin n → ℝ) := …
- theorem
OAI.ProjectionCounterexample.coordinateSimplex_measurableSetline 34 - theorem
OAI.ProjectionCounterexample.coordinateSimplex_eq_empty_of_negline 39 - theorem
OAI.ProjectionCounterexample.integral_simplex_sliceline 46 - theorem
OAI.ProjectionCounterexample.volume_coordinateSimplexline 63 - theorem
OAI.ProjectionCounterexample.volume_unit_coordinateSimplexline 113Source documentation
The standard simplex has ordinary Lebesgue volume
1 / n!.theorem volume_unit_coordinateSimplex (n : ℕ) : volume (coordinateSimplex n 1) = ENNReal.ofReal (1 / (n.factorial : ℝ)) := by … - theorem
OAI.ProjectionCounterexample.volume_linearImage_unit_coordinateSimplexline 118Source documentation
Exact volume of a possibly degenerate linear image of the coordinate simplex.
theorem volume_linearImage_unit_coordinateSimplex (n : ℕ) (f : (Fin n → ℝ) →ₗ[ℝ] (Fin n → ℝ)) : volume (f '' coordinateSimplex n 1) = ENNReal.ofReal (|LinearMap.det f| / (n.factorial : ℝ)) := by … - theorem
OAI.ProjectionCounterexample.volume_unit_euclideanSimplexline 128Source documentation
The same volume statement in Euclidean space with its canonical Euclidean measure.
theorem volume_unit_euclideanSimplex (n : ℕ) : volume {x : EuclideanSpace ℝ (Fin n) | (∀ i, 0 ≤ x i) ∧ ∑ i, x i ≤ 1} = ENNReal.ofReal (1 / (n.factorial : ℝ)) := by … - theorem
OAI.ProjectionCounterexample.realVolume_unit_euclideanSimplexline 138Source documentation
Real-valued version of the Euclidean simplex volume.
theorem realVolume_unit_euclideanSimplex (n : ℕ) : (volume {x : EuclideanSpace ℝ (Fin n) | (∀ i, 0 ≤ x i) ∧ ∑ i, x i ≤ 1}).toReal = 1 / (n.factorial : ℝ) := by … - def
OAI.ProjectionCounterexample.coordinateSimplexProductline 146Source documentation
The coordinate product, with the first
pand lastqcoordinates separated.def coordinateSimplexProduct (p q : ℕ) : Set (Fin (p + q) → ℝ) := …
- theorem
OAI.ProjectionCounterexample.volume_coordinateSimplexProductline 151Source documentation
The product-volume identity uses the actual product Lebesgue measure.
theorem volume_coordinateSimplexProduct (p q : ℕ) : volume (coordinateSimplexProduct p q) = ENNReal.ofReal (1 / ((p.factorial : ℝ) * (q.factorial : ℝ))) := by …Mentions: OAI.ProjectionCounterexample.coordinateSimplexProduct
- theorem
OAI.ProjectionCounterexample.volume_euclideanSimplexProductline 175Source documentation
Product-simplex volume in the canonical Euclidean coordinates.
theorem volume_euclideanSimplexProduct (p q : ℕ) : volume {x : EuclideanSpace ℝ (Fin (p + q)) | ((∀ i : Fin p, 0 ≤ x (Fin.castAdd q i)) ∧ ∑ i : Fin p, x (Fin.castAdd q i) ≤ 1) ∧ ((∀ i : Fin q, 0 ≤ x (Fin.natAdd p i)) ∧ ∑ i : Fin q, x (Fin.natAdd p i) ≤ 1)} = ENNReal.ofReal (1 / ((p.factorial : ℝ) * (q.factorial : ℝ))) := by …