Documentation

LeanPool.CarlsonFunctions.StdSimplexMeasure.Intrinsic

The intrinsic simplex and its finite coordinate realization #

Convexity.StdSimplex is the simplex object. Its coordinateSet is the carrier of its realization in the ambient vector space, used for measures, restrictions, and neighborhoods. The membership description is kept explicit for ambient calculus; range_coordinates identifies it with the intrinsic object.

The intrinsic simplex uses Mathlib's topology and compactness instance. For finite index types, Mathlib's coordinate embedding identifies this topology with the topology induced by the weights.

def Convexity.StdSimplex.coordinates {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} (s : StdSimplex R ι) :
ι → R

The ambient coordinate function of an intrinsic simplex point.

Equations
Instances For
    def Convexity.StdSimplex.coordinateSet (R : Type u_3) (ι : Type u_4) [Semiring R] [PartialOrder R] [Fintype ι] :
    Set (ι → R)

    The coordinate carrier of the intrinsic simplex, not a second simplex type.

    Equations
    Instances For
      theorem Convexity.StdSimplex.mem_coordinateSet {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} [Fintype ι] {u : ι → R} :
      u ∈ coordinateSet R ι ↔ (∀ (i : ι), 0 ≤ u i) ∧ ∑ i : ι, u i = 1
      noncomputable def Convexity.StdSimplex.ofCoordinates {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} [Fintype ι] (u : ι → R) (hu : u ∈ coordinateSet R ι) :

      Recover an intrinsic point from its ambient coordinates and membership proof.

      Equations
      Instances For
        @[simp]
        theorem Convexity.StdSimplex.coordinates_ofCoordinates {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} [Fintype ι] (u : ι → R) (hu : u ∈ coordinateSet R ι) :
        noncomputable def Convexity.StdSimplex.coordinateEquiv {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} [Fintype ι] :

        The intrinsic simplex is equivalent to its coordinate carrier.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem Convexity.StdSimplex.mem_Icc_of_mem_coordinateSet {R : Type u_1} [Semiring R] [PartialOrder R] {ι : Type u_2} [Fintype ι] [IsOrderedAddMonoid R] {u : ι → R} (hu : u ∈ coordinateSet R ι) (i : ι) :
          u i ∈ Set.Icc 0 1

          The intrinsic simplex and its coordinate realization have the same topology.

          Equations
          Instances For