AFTD Auto-Formalizing Theoretical Domains

EconCSLib.StrategicGame.Profile.deviate_self

theoremverifiedformalizationimported Lean

Deviating to the same strategy is the identity.

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_self (σ : G.Profile) (i : N) :
    deviate σ i (σ i) = σ
Formalizes
EconCSLib, `StrategicGame.Profile.deviate_self`
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_self
--- EconCSLib/GameTheory/StrategicGame/Basic.lean:69 (StrategicGame.Profile.deviate_self)
+++ as compiled here
@@ -1,5 +1,8 @@
-/-- Deviating to the same strategy is the identity. -/
+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_self (σ : G.Profile) (i : N) :
+theorem EconCSLib.StrategicGame.Profile.deviate_self (σ : G.Profile) (i : N) :
     deviate σ i (σ i) = σ := by
-  simp [StrategicGame.deviate]
+  simp [EconCSLib.StrategicGame.deviate]
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.StrategicGameA strategic game (normal-form game) with players N and utilities in U. The structure records only the bare data: strategy spaces and a…
  • EconCSLib.StrategicGame.deviateUnilateral deviation in a game-bound profile: player i switches to s', while all other players keep their current strategies.
  • Profile.deviate_selfDeviating to the same value is the identity.
Used by 62

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/-- Deviating to the same strategy is the identity. -/@[simp]theorem EconCSLib.StrategicGame.Profile.deviate_self (σ : G.Profile) (i : N) :    deviate σ i (σ i) = σ := by  simp [EconCSLib.StrategicGame.deviate]
See it in the graphDiscuss this resultChallenge it