EconCSLib.GameTheory.StrategicGame.MixedStrategy #
Mixed strategies and mixed Nash equilibrium for arbitrary player sets,
polymorphic in the payoff field U.
Design #
MixedProfile G= a mixed strategy for each player, for anyNIsCompletelyMixed G p i= playeriassigns positive probability to every pure strategyIsCompletelyMixedProfile G p= every player is completely mixedexpectedPayoff G p who= expected payoff (requires[Fintype N]and[∀ i, Fintype (G.strategy i)])IsMixedNashEq G p= no player can improve by deviating to any pure strategy
The payoff type U is polymorphic with [Field U] [LinearOrder U] [IsStrictOrderedRing U]. This covers both ℚ (for native_decide-style
constructive examples) and ℝ (for the Loomis minimax theorem).
Key Bourbaki point: StrategicGame and MixedProfile have NO finiteness
constraints. [Fintype N] is only added to theorems/definitions that need
computation.
References #
- [MSZ] Chapter 5
Mixed strategies and profiles #
A mixed strategy for player i: a probability distribution over pure strategies.
Requires [Fintype (G.strategy i)] but NOT [Fintype N].
Equations
- G.MixedStrategy i = stdSimplex U (G.strategy i)
Instances For
A mixed profile: each player has a mixed strategy.
No finiteness constraint on N (player set can be arbitrary).
Equations
- G.MixedProfile = ((i : N) → ↑(G.MixedStrategy i))
Instances For
Complete mixing #
A player's mixed strategy is completely mixed if every pure strategy is assigned positive probability. This is the strategic-form mixed-strategy part of MSZ Definition 7.6.
Equations
- G.IsCompletelyMixed p = ∀ (s : G.strategy i), 0 < ↑p s
Instances For
A mixed profile is completely mixed if every player's mixed strategy is completely mixed.
Equations
- G.IsCompletelyMixedProfile p = ∀ (i : N), G.IsCompletelyMixed (p i)
Instances For
A completely mixed profile gives a completely mixed strategy for each player.
Constructors #
Embed a pure strategy as a mixed strategy (point mass).
Instances For
The uniform mixed strategy over a finite nonempty strategy set.
Equations
- StrategicGame.uniformMixed = ⟨fun (x : G.strategy i) => 1 / ↑(Fintype.card (G.strategy i)), ⋯⟩
Instances For
Every pure strategy has positive probability under the uniform mixed strategy.
The uniform mixed strategy is completely mixed on any finite nonempty strategy set.
The profile where every player uses the uniform mixed strategy.
Equations
Instances For
The uniform mixed profile is completely mixed.
A point-mass mixed strategy is not completely mixed when there is another pure strategy available.
Embed a pure profile as a mixed profile.
Equations
Instances For
Expected payoff #
Expected payoff for player who under mixed profile p.
EU(p, who) = ∑_{σ : Profile} (∏_i p_i(σ_i)) · payoff(σ, who)
Requires [Fintype N] (to sum over all profiles) and
[∀ i, Fintype (G.strategy i)] (finite strategy sets).
Equations
- G.expectedPayoff p who = ∑ σ : G.Profile, (∏ i : N, ↑(p i) (σ i)) * G.payoff σ who
Instances For
Deviate player who to pure strategy s', keeping others' mixed strategies.
Equations
- G.deviateMixed p who s' = Function.update p who (StrategicGame.pureToMixed s')
Instances For
Mixed Nash equilibrium #
A mixed profile is a mixed Nash equilibrium if no player can improve their expected payoff by deviating to any pure strategy.
By linearity of expected payoff in each player's mixed strategy, checking pure deviations suffices. [MSZ 5.5, 5.18]
Requires [Fintype N] for expected payoff computation.
Equations
- G.IsMixedNashEq p = ∀ (who : N) (s' : G.strategy who), G.expectedPayoff (G.deviateMixed p who s') who ≤ G.expectedPayoff p who