EconCSLib.StrategicGame.IsConstantSum.welfare_eq
theoremverifiedformalizationimported Lean
Two-player constant-sum games have constant social welfare at every profile.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {U : Type*} in theorem EconCSLib.StrategicGame.IsConstantSum.welfare_eq [AddCommMonoid U] {G : EconCSLib.StrategicGame (Fin 2) U} {c : U} (hcs : IsConstantSum G c) (σ : G.Profile) : welfare G σ = c
- Formalizes
- EconCSLib, `StrategicGame.IsConstantSum.welfare_eq`
- 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.IsConstantSum.welfare_eq← StrategicGame.IsConstantSum.welfare_eq (EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:95): adapted
What was changed in
EconCSLib.StrategicGame.IsConstantSum.welfare_eq--- EconCSLib/GameTheory/StrategicGame/ZeroSum/Basic.lean:95 (StrategicGame.IsConstantSum.welfare_eq) +++ as compiled here @@ -1,4 +1,6 @@ -/-- Two-player constant-sum games have constant social welfare at every profile. -/ -theorem IsConstantSum.welfare_eq [AddCommMonoid U] - {G : StrategicGame (Fin 2) U} {c : U} (hcs : IsConstantSum G c) (σ : G.Profile) : +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +variable {U : Type*} in +theorem EconCSLib.StrategicGame.IsConstantSum.welfare_eq [AddCommMonoid U] + {G : EconCSLib.StrategicGame (Fin 2) U} {c : U} (hcs : IsConstantSum G c) (σ : G.Profile) : welfare G σ = c := by - Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- 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.welfareThe social welfare of a profile: the sum of all players' payoffs. Requires
[Fintype N]and[AddCommMonoid U]. - EconCSLib.StrategicGame.IsConstantSumA two-player game is constant-sum if payoffs sum to
cat every profile. - 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.ProfileThe type of strategy profiles for game
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*} in/-- Two-player constant-sum games have constant social welfare at every profile. -/theorem EconCSLib.StrategicGame.IsConstantSum.welfare_eq [AddCommMonoid U] {G : EconCSLib.StrategicGame (Fin 2) U} {c : U} (hcs : IsConstantSum G c) (σ : G.Profile) : welfare G σ = c := by unfold welfare rw [Fin.sum_univ_two] exact hcs σ