EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg
theoremverifiedformalizationimported Lean
In a zero-sum game, player 1's expected payoff is the negation of player 0's.
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 theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : EconCSLib.StrategicGame.expectedPayoff G p 1 = -(EconCSLib.StrategicGame.expectedPayoff G p 0)
- Formalizes
- EconCSLib, `StrategicGame.IsZeroSum.expectedPayoff_neg`
- 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_neg← StrategicGame.IsZeroSum.expectedPayoff_neg (EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:280): adapted
What was changed in
EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg--- EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:280 (StrategicGame.IsZeroSum.expectedPayoff_neg) +++ as compiled here @@ -1,7 +1,13 @@ -/-- In a zero-sum game, player 1's expected payoff is the negation of player 0's. -/ -theorem IsZeroSum.expectedPayoff_neg - (hzs : IsZeroSum G) (p : StrategicGame.MixedProfile G) : - StrategicGame.expectedPayoff G p 1 - = -(StrategicGame.expectedPayoff G p 0) := by - unfold StrategicGame.expectedPayoff +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 +theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg + (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : + EconCSLib.StrategicGame.expectedPayoff G p 1 + = -(EconCSLib.StrategicGame.expectedPayoff G p 0) := by + unfold EconCSLib.StrategicGame.expectedPayoff rw [← Finset.sum_neg_distrib] - Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- EconCSLib.StrategicGame.MixedStrategyA mixed strategy for player
i: a probability distribution over pure strategies. Requires[Fintype (G.strategy i)]but NOT[Fintype N]. - EconCSLib.StrategicGame.IsZeroSum.negIn a zero-sum game, player 1's payoff is the negation of player 0's. Purely algebraic: holds in any additive group, no order or field…
- EconCSLib.StrategicGame.IsZeroSumA two-player game is zero-sum if payoffs sum to zero at every profile. [MSZ 4.39]
- EconCSLib.StrategicGame.ProfileThe type of strategy profiles for game
G: each player picks a strategy. This is a dependent function∀ i, G.strategy i. The profile… - EconCSLib.StrategicGame.IsZeroSum.decidableStrategicGame.IsZeroSum.decidable
- 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).
- EconCSLib.StrategicGame.MixedStrategyA mixed strategy for player
- Used by 2
- EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zeroMixed-strategy version of the zero-sum axiom: expected payoffs sum to
0. - EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg'In a zero-sum game, player 0's expected payoff is the negation of player 1's.
- EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_add_zeroMixed-strategy version of the zero-sum axiom: expected payoffs sum to
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/-- In a zero-sum game, player 1's expected payoff is the negation of player 0's. -/theorem EconCSLib.StrategicGame.IsZeroSum.expectedPayoff_neg (hzs : IsZeroSum G) (p : EconCSLib.StrategicGame.MixedProfile G) : EconCSLib.StrategicGame.expectedPayoff G p 1 = -(EconCSLib.StrategicGame.expectedPayoff G p 0) := by unfold EconCSLib.StrategicGame.expectedPayoff rw [← Finset.sum_neg_distrib] apply Finset.sum_congr rfl intro σ _ rw [hzs.neg σ] ring