Coordinates on the standard simplex and its affine hull #
This file develops algebraic and ordered coordinate constructions for Convexity.StdSimplex R ι.
The affine coordinate chart is available over a commutative ring, while statements involving
simplex inequalities use a compatible partial order. The final section gives the topological
properties of these coordinate charts over ℝ.
For a finite index type ι and a chosen coordinate i : ι, the affine hyperplane
∑ j, u j = 1 is parametrized by the remaining card ι - 1 coordinates, with the omitted
coordinate reconstructed as 1 - ∑ j, u j.
The ambient coordinate declarations remain in the root namespace. Declarations whose target is
Mathlib's intrinsic simplex are placed in Convexity.StdSimplex. None of this material belongs
to a measure-theory namespace.
Main definitions and results #
stdSimplexAffineSet: the affine hyperplane∑ j, u j = 1.stdSimplexAffineBasis: the standard vertices as an affine basis of that hyperplane.stdSimplexCoordEquiv: its parametrization bycard ι - 1free coordinates.stdSimplexFreeCoords: the filled simplex in free coordinates.Convexity.StdSimplex.equivFreeCoords: the corresponding parametrization of Mathlib's intrinsic standard simplex.
The affine hyperplane is identified with Mathlib's fintypeAffineCoords. The standard
vertices form an affine basis of this hyperplane, and its barycentric coordinates are the
ordinary ambient coordinates. We nevertheless retain the explicit omitted-coordinate chart:
its computational formulas are used by the measure and integral theory.
The affine hyperplane {x | ∑ j, x j = 1} (the affine hull of the standard simplex),
viewed as a plain set. This is the carrier of Mathlib's fintypeAffineCoords.
Equations
Instances For
The affine hyperplane {x | ∑ j, x j = 1} as an AffineSubspace.
Equations
Instances For
The elements of the affine subspace are exactly the elements of the affine set.
The standard vertex indexed by i, regarded as a point of the affine coordinate
hyperplane.
Equations
- stdSimplexAffineVertex i = ⟨Pi.single i 1, ⋯⟩
Instances For
Every point of the affine coordinate hyperplane is the affine combination of the standard vertices with weights given by its ambient coordinates.
The standard vertices form an affine basis of Mathlib's affine coordinate hyperplane.
Equations
- stdSimplexAffineBasis = { toFun := stdSimplexAffineVertex, ind' := ⋯, tot' := ⋯ }
Instances For
The points of stdSimplexAffineBasis are the standard affine vertices.
Barycentric coordinates for the standard affine basis are the ordinary ambient coordinates.
Map from the free-coordinate space that omits coordinate i to stdSimplexAffineSet,
constructed by pairing the recovered dependent coordinate with x, then applying the inverse of
Equiv.funSplitAt i R.
Equations
Instances For
Applying the coordinate map after projecting recovers the vector on
stdSimplexAffineSet.
The range of stdSimplexCoordMap is the affine hyperplane stdSimplexAffineSet.
The linear part of the change of free coordinates induced by swapping the omitted
coordinate i with a different coordinate j.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Swapping i and j in ambient coordinates corresponds to
stdSimplexFreeCoordSwap in the chart omitting i.
The free coordinates obtained by omitting i are equivalent to
stdSimplexAffineSet.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The coordinate map is injective.
The filled (card ι - 1)-dimensional simplex of free coordinates corresponding to
points of Convexity.StdSimplex.coordinateSet R ι. (Not to be confused with
Convexity.StdSimplex.coordinateSet R {j // j ≠ i}.)
Equations
Instances For
Omitted-coordinate parametrization of Mathlib's intrinsic standard simplex.
The forward map stores the reconstructed coordinates as finitely supported weights; the
inverse map drops coordinate i. This is the algebraic precursor of the corresponding
homeomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The weights of the intrinsic simplex point associated to free coordinates are the
coordinates reconstructed by stdSimplexCoordMap.
The inverse of equivFreeCoords drops the chosen coordinate from the weight function.
stdSimplexAffineSet is closed over the reals.
The free-coordinate swap is continuous over the reals.
The real coordinate map is continuous.
The real coordinate projection is continuous.
The real free-coordinate equivalence with stdSimplexAffineSet is a homeomorphism.
Equations
- stdSimplexCoordHomeomorph i = { toEquiv := stdSimplexCoordEquiv i, continuous_toFun := ⋯, continuous_invFun := ⋯ }
Instances For
The real coordinate map gives a closed embedding.