EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero
theoremverifiedformalizationimported Lean
Mixed-strategy version of the zero-sum axiom: expected payoffs sum to 0.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {U : Type*} in set_option linter.unusedSectionVars false in variable [Field U] [LinearOrder U] [IsStrictOrderedRing U] in variable {G : EconCSLib.StrategicGame (Fin 2) U} in variable [∀ i, Fintype (G.strategy i)] in @[simp] theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : EconCSLib.StrategicGame.expectedPayoff G p 0 + EconCSLib.StrategicGame.expectedPayoff G p 1 = 0
- Formalizes
- EconCSLib, `StrategicGame.IsZeroSum.expectedPayoff_add_zero`
- Lean proof
- By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero← StrategicGame.IsZeroSum.expectedPayoff_add_zero (EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:299): adapted
What was changed in
EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero--- EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:299 (StrategicGame.IsZeroSum.expectedPayoff_add_zero) +++ as compiled here @@ -1,5 +1,11 @@ -/-- Mixed-strategy version of the zero-sum axiom: expected payoffs sum to `0`. -/ -@[simp] theorem IsZeroSum.expectedPayoff_add_zero - (hzs : IsZeroSum G) (p : StrategicGame.MixedProfile G) : - StrategicGame.expectedPayoff G p 0 + StrategicGame.expectedPayoff G p 1 = 0 := by +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +variable {U : Type*} in +set_option linter.unusedSectionVars false in +variable [Field U] [LinearOrder U] [IsStrictOrderedRing U] in +variable {G : EconCSLib.StrategicGame (Fin 2) U} in +variable [∀ i, Fintype (G.strategy i)] in +@[simp] theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero + (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : + EconCSLib.StrategicGame.expectedPayoff G p 0 + EconCSLib.StrategicGame.expectedPayoff G p 1 = 0 := by rw [hzs.expectedPayoff_neg]; ring - Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- EconCSLib.StrategicGame.IsZeroSumA two-player game is zero-sum if payoffs sum to zero at every profile. [MSZ 4.39]
- EconCSLib.StrategicGame.IsZeroSum.decidableStrategicGame.IsZeroSum.decidable
- EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_negIn a zero-sum game, player 1's expected payoff is the negation of player 0's.
- EconCSLib.StrategicGameA strategic game (normal-form game) with players
Nand utilities inU. The structure records only the bare data: strategy spaces and a… - EconCSLib.StrategicGame.expectedPayoffExpected payoff for player
whounder mixed profilep.EU(p, who) = ∑_{σ : Profile} (∏_i p_i(σ_i)) · payoff(σ, who)Requires… - EconCSLib.StrategicGame.MixedProfileA mixed profile: each player has a mixed strategy. No finiteness constraint on
N(player set can be arbitrary).
- Used by 7
- MatrixGame.expectedPayoff_toStrategicGame_zeroBridge lemma:
expectedPayoff A.toStrategicGame p 0 = A.E (p 0) (p 1). Reduces both sides to the canonical double sum… - MatrixGame.exists_strategic_game_nash_equilibriumThe strategic-game embedding of a finite matrix game admits a mixed Nash equilibrium. Combines…
- MatrixGame.toStrategicGame_isZeroSum
A.toStrategicGamesatisfies the abstract zero-sum predicate: by construction player 1's payoff is the negation of player 0's. - MatrixGame.toMixedProfile_zeroMatrixGame.toMixedProfile_zero
- MatrixGame.expectedPayoff_toStrategicGame_oneMirror:
expectedPayoff A.toStrategicGame p 1 = -(A.E (p 0) (p 1)). - MatrixGame.toMixedProfileBuild a
MixedProfileoftoStrategicGamefrom a saddle-point pair. - MatrixGame.toMixedProfile_oneMatrixGame.toMixedProfile_one
- MatrixGame.expectedPayoff_toStrategicGame_zeroBridge lemma:
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {U : Type*} inset_option linter.unusedSectionVars false invariable [Field U] [LinearOrder U] [IsStrictOrderedRing U] invariable {G : EconCSLib.StrategicGame (Fin 2) U} invariable [∀ i, Fintype (G.strategy i)] in/-- Mixed-strategy version of the zero-sum axiom: expected payoffs sum to `0`. -/@[simp] theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zero (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : EconCSLib.StrategicGame.expectedPayoff G p 0 + EconCSLib.StrategicGame.expectedPayoff G p 1 = 0 := by rw [hzs.expectedPayoff_neg]; ring