Every finite game has a mixed Nash equilibrium
ProvedAGT.nash_existenceEvery game with a finite set of players and finite, nonempty strategy sets has a Nash equilibrium of mixed strategies — Nash's 1951 theorem, stated as Theorem 1.8 of Algorithmic Game Theory, and the goal of this mission. Formally: for every finite family of finite nonempty strategy types and every payoff assignment , there is a mixed profile — each a lottery on , players randomizing independently — such that for every player and every lottery on ,
where is the expected payoff under the product distribution.
A note on the hypotheses. Both finiteness assumptions are load-bearing, as §1.3.5 of the book stresses: with infinitely many players, or with infinite strategy sets (the pricing game, Example 1.9), equilibria can fail to exist. Nonemptiness of each is likewise necessary — an empty strategy set admits no lottery at all. The player set itself may be empty, in which case the empty profile is vacuously an equilibrium. Deviations range over all mixed strategies, not only pure ones; the equivalence of the two conditions is a lemma a solution will likely prove along the way.
import Definitions.Def_agt_games
namespace AGT
/-- **Theorem 1.8 of *Algorithmic Game Theory* (Nash, 1951)**, the capstone
of Chapter 1: any game with a finite set of players and finite strategy sets
has a Nash equilibrium of mixed strategies.
Both finiteness hypotheses are essential, as the book stresses in §1.3.5:
with infinitely many players, or with infinite strategy sets (the pricing
game, Example 1.9), a mixed Nash equilibrium can fail to exist. The
nonemptiness of the strategy sets is likewise necessary — with an empty
strategy set there are no lotteries at all. `Nonempty ι` is not required:
in the playerless game the empty profile is (vacuously) an equilibrium. -/
theorem nash_existence {ι : Type*} [Fintype ι] [DecidableEq ι]
(S : ι → Type*) [∀ i, Fintype (S i)] [∀ i, Nonempty (S i)]
(u : ι → (∀ i, S i) → ℝ) :
∃ σ : ∀ i, S i → ℝ, IsMixedNash u σ := by
sorry
end AGTRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: nash_existence
Setting. Let be a type of players that is finite (and has decidable equality — a technical assumption with no mathematical content over a finite type). For each player let be a type of pure strategies that is finite and nonempty. Nothing else is assumed about or the ; in particular itself is allowed to be empty (there may be zero players). Let
be an arbitrary real-valued payoff function: is player 's payoff at the pure strategy profile . No continuity, boundedness, or other condition is placed on (none is needed: every domain here is finite).
What the theorem asserts. For every such , , and , there exists a family of real-valued functions
satisfying both of the following conditions (this conjunction is what the custom predicate "IsMixedNash" unfolds to):
-
is a mixed profile. For every player , the function is a probability distribution on in the finitary sense ("IsLottery"): for every , and .
-
No player gains by a unilateral mixed deviation. For every player and every function that is itself a probability distribution on (i.e. for all and ),
where denotes the profile obtained from by replacing player 's component with and leaving every other player's component unchanged, and where the expected payoff unfolds ("expectedPayoff") to the finite sum
That is, the expected payoff is computed under the product (independent) distribution over pure profiles, whose weight on a profile is ("profileProb"). Note the deviation bound is a non-strict inequality , and the deviation is by a single player only.
Points the quantifiers silently include.
- The theorem claims existence only (, not unique existence) of such a .
- The candidate in the existential ranges over all families of real-valued functions; the probability constraints are imposed by clause 1 of the conclusion, not by the type.
- If is empty, the conclusion is trivially satisfiable: clauses 1 and 2 quantify over players, so both hold vacuously for the empty family.
- The nonemptiness of each is a genuine hypothesis (a typeclass assumption ); without it clause 1 could not be met for a player with no strategies.
- In clause 2 the deviating object ranges over all mixed strategies (all distributions on ), not merely over pure strategies.
- The comparison in clause 2 is between the deviator's own expected payoff before and after the deviation; other players' payoffs play no role in the condition.
Definitions from the bundle that this theorem does not use. The context also defines predicates for a pure-strategy Nash equilibrium ("IsPureNash") and a dominant-strategy solution ("IsDominantSolution"); neither appears in the statement of this theorem, which concerns mixed profiles only.
Proof status. The declaration's proof is the placeholder sorry: the statement is asserted but not proved in the provided code.
Confirmed by the mission captain (proposal self-audit).