AFTD Auto-Formalizing Theoretical Domains

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.
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
Used by 2

Lean source view module on GitHub

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
See it in the graphDiscuss this resultChallenge it