Documentation

ConvexAnalysis.Simplex

The probability simplex #

The probability simplex {p : ι → ℝ | p ≥ 0, ∑ i, p i = 1} on a finite type, a compact convex set of vectors, and its relation to Mathlib's Convexity.StdSimplex.

Main definitions #

Main statements #

Implementation notes #

The probability simplex is a set of vectors, probabilitySimplex ι ⊆ ι → ℝ, so that Brouwer's theorem applies to it. This is by definition the set stdSimplex ℝ ι of Mathlib, deprecated since 2026-08-29. Its replacement, the structure Convexity.StdSimplex of finitely supported weights, is a type and not a subset of ι → ℝ; it has the same points (probabilitySimplex_eq_range_weights). The simplex is the domain of the fixed-point arguments for Schauder's theorem and the KKM lemma, and the set of mixed strategies of a finite game (ConvexAnalysis.mixedStrategies).

Tags #

probability simplex, standard simplex, compact convex set, Brouwer fixed point theorem

def ConvexAnalysis.probabilitySimplex (ι : Type u_1) [Fintype ι] :
Set (ι → ℝ)

The probability simplex on a finite type ι: the vectors p : ι → ℝ with p i ≥ 0 and ∑ i, p i = 1.

Equations
Instances For

    The probability simplex is convex.

    The probability simplex is closed.

    The probability simplex lies in the unit cube.

    The probability simplex is compact.

    The vertices Pi.single i 1 lie in the probability simplex.

    The probability simplex on a nonempty type is nonempty.

    The probability simplex is nonempty iff ι is.

    The probability simplex consists of the points of Mathlib's standard simplex Convexity.StdSimplex.

    Brouwer's fixed point theorem for Mathlib's standard simplex Convexity.StdSimplex ℝ ι.