AFTD Auto-Formalizing Theoretical Domains

EconCSLib.StrategicGame.IsZeroSum.neg

theoremverifiedformalizationimported Lean

In 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 needed.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {U : Type*} in
theorem EconCSLib.StrategicGame.IsZeroSum.neg [AddGroup U]
    {G : EconCSLib.StrategicGame (Fin 2) U} (hzs : IsZeroSum G) (σ : G.Profile) :
    G.payoff σ 1 = - G.payoff σ 0
Formalizes
EconCSLib, `StrategicGame.IsZeroSum.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.neg
--- EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:115 (StrategicGame.IsZeroSum.neg)
+++ as compiled here
@@ -1,6 +1,6 @@
-/-- In 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 needed. -/
-theorem IsZeroSum.neg [AddGroup U]
-    {G : StrategicGame (Fin 2) U} (hzs : IsZeroSum G) (σ : G.Profile) :
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+variable {U : Type*} in
+theorem EconCSLib.StrategicGame.IsZeroSum.neg [AddGroup U]
+    {G : EconCSLib.StrategicGame (Fin 2) U} (hzs : IsZeroSum G) (σ : G.Profile) :
     G.payoff σ 1 = - G.payoff σ 0 :=
Verified
08 Oct 2026
Axioms
propext
Built on 3
  • 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.StrategicGameA strategic game (normal-form game) with players N and utilities in U. The structure records only the bare data: strategy spaces and a…
Used by 3

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {U : Type*} in
/-- In 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 needed. -/
theorem EconCSLib.StrategicGame.IsZeroSum.neg [AddGroup U]
    {G : EconCSLib.StrategicGame (Fin 2) U} (hzs : IsZeroSum G) (σ : G.Profile) :
    G.payoff σ 1 = - G.payoff σ 0 :=
  add_eq_zero_iff_eq_neg'.mp (hzs σ)
See it in the graphDiscuss this resultChallenge it