Documentation

LeanPool.Brouwer.Simplex

Mixed strategies on the standard simplex #

This file equips stdSimplex over a finite type with a FunLike coercion and records the basic arithmetic facts about pure strategies and weighted sums used when reasoning about mixed strategies, including the key inequality wsum_magic_ineq relating a weighted sum to a uniform bound.

@[implicit_reducible]
instance stdSimplex.funlike (k : Type u_2) [CommRing k] [LinearOrder k] (α : Type u_3) [Fintype α] :
FunLike (↑(stdSimplex k α)) α k
Equations
theorem stdSimplex.funlike_eval1 (k : Type u_2) [CommRing k] [LinearOrder k] (α : Type u_3) [Fintype α] (f : (stdSimplex k α)) :
f = f
theorem stdSimplex.funlike_eval2 (k : Type u_2) [CommRing k] [LinearOrder k] (α : Type u_3) [Fintype α] (f : (stdSimplex k α)) (x : α) :
f x = f x
@[reducible, inline]
abbrev stdSimplex.pure {k : Type u_2} [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] {α : Type u_3} [Fintype α] [DecidableEq α] (i : α) :
(stdSimplex k α)

The pure strategy concentrated at i, as a point of the standard simplex.

Equations
Instances For
    theorem stdSimplex.pure_eval_eq {k : Type u_2} [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] {α : Type u_3} [Fintype α] [DecidableEq α] {i j : α} (h : i = j) :
    (pure i) j = 1
    theorem stdSimplex.pure_eval_neq {k : Type u_2} [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] {α : Type u_3} [Fintype α] [DecidableEq α] {i j : α} (h : ¬i = j) :
    (pure i) j = 0
    @[implicit_reducible]
    noncomputable instance stdSimplex.SInhabitedOfInhabited (k : Type u_2) [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] (α : Type u_3) [Fintype α] [DecidableEq α] [Inhabited α] :
    Equations
    theorem stdSimplex.wsum_magic_ineq {k : Type u_2} [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] {α : Type u_3} [Fintype α] [PosMulMono k] {σ : (stdSimplex k α)} {f : αk} {c : k} :
    i : α, σ i * f i = c∃ (i : α), 0 < σ i f i c
    @[reducible, inline]
    abbrev MixedStrategy (α : Type u_1) [Fintype α] :
    Set (α)

    The standard simplex over α with real coefficients, used as mixed strategies.

    Equations
    Instances For