AFTD Auto-Formalizing Theoretical Domains

ExtensiveGame.BehaviorProfile.deviate_same

theoremverifiedformalizationimported Lean

ExtensiveGame.BehaviorProfile.deviate_same

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open ExtensiveGame ExtensiveGame.BehaviorProfile in
variable {iota U : Type*} in
@[simp]
theorem ExtensiveGame.BehaviorProfile.deviate_same {G : ExtensiveGame iota U}
    [(s : G.State) -> Fintype (G.Action s)] [DecidableEq iota]
    (beta : G.BehaviorProfile) (who : iota) (beta' : G.BehaviorStrategy who) :
    beta.deviate who beta' who = beta'
Formalizes
EconCSLib, `ExtensiveGame.BehaviorProfile.deviate_same`
Lean proof
By xbei, Lazyfill (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 ExtensiveGame.BehaviorProfile.deviate_same
--- EconCSLib/GameTheory/ExtensiveGame/BehaviorStrategy.lean:212 (ExtensiveGame.BehaviorProfile.deviate_same)
+++ as compiled here
@@ -1,3 +1,7 @@
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open ExtensiveGame ExtensiveGame.BehaviorProfile in
+variable {iota U : Type*} in
 @[simp]
-theorem deviate_same {G : ExtensiveGame iota U}
+theorem ExtensiveGame.BehaviorProfile.deviate_same {G : ExtensiveGame iota U}
     [(s : G.State) -> Fintype (G.Action s)] [DecidableEq iota]
@@ -5,2 +9,3 @@
     beta.deviate who beta' who = beta' := by
-  simp [deviate]
+  unfold ExtensiveGame.BehaviorProfile.deviate
+  exact Function.update_self ..
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 32

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen ExtensiveGame ExtensiveGame.BehaviorProfile invariable {iota U : Type*} in@[simp]theorem ExtensiveGame.BehaviorProfile.deviate_same {G : ExtensiveGame iota U}    [(s : G.State) -> Fintype (G.Action s)] [DecidableEq iota]    (beta : G.BehaviorProfile) (who : iota) (beta' : G.BehaviorStrategy who) :    beta.deviate who beta' who = beta' := by  unfold ExtensiveGame.BehaviorProfile.deviate  exact Function.update_self ..
See it in the graphDiscuss this resultChallenge it