AFTD Auto-Formalizing Theoretical Domains

EconCSLib.StrategicGame.Profile.deviate_same

theoremverifiedformalizationimported Lean

At the deviated player, the updated profile returns the new strategy.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {N U : Type*} in
variable {G : EconCSLib.StrategicGame N U} [DecidableEq N] in
@[simp]
theorem EconCSLib.StrategicGame.Profile.deviate_same (σ : G.Profile) (i : N) (s' : G.strategy i) :
    deviate σ i s' i = s'
Formalizes
EconCSLib, `StrategicGame.Profile.deviate_same`
Lean proof
By xbei, Claude (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.Profile.deviate_same
--- EconCSLib/GameTheory/StrategicGame/Basic.lean:75 (StrategicGame.Profile.deviate_same)
+++ as compiled here
@@ -1,5 +1,8 @@
-/-- At the deviated player, the updated profile returns the new strategy. -/
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+variable {N U : Type*} in
+variable {G : EconCSLib.StrategicGame N U} [DecidableEq N] in
 @[simp]
-theorem deviate_same (σ : G.Profile) (i : N) (s' : G.strategy i) :
+theorem EconCSLib.StrategicGame.Profile.deviate_same (σ : G.Profile) (i : N) (s' : G.strategy i) :
     deviate σ i s' i = s' := by
-  simp [StrategicGame.deviate]
+  simp [EconCSLib.StrategicGame.deviate]
Verified
08 Oct 2026
Axioms
propext
Built on 5
Used by 61

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {N U : Type*} invariable {G : EconCSLib.StrategicGame N U} [DecidableEq N] in/-- At the deviated player, the updated profile returns the new strategy. -/@[simp]theorem EconCSLib.StrategicGame.Profile.deviate_same (σ : G.Profile) (i : N) (s' : G.strategy i) :    deviate σ i s' i = s' := by  simp [EconCSLib.StrategicGame.deviate]
See it in the graphDiscuss this resultChallenge it