Integrate extensive game subgame restrictions - #22
Open
Szher111 wants to merge 4 commits into
Open
Conversation
Collaborator
|
Dear Szher111, thanks for rebuilding. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR supersedes #14 and formalizes subgame-oriented results for finite
perfect-information
GameTrees.optStrategy;finite trees.
The branch was rebuilt after #14 was closed. The current pushed commit is:
Scope
Affected Lean modules:
EconCSLib/GameTheory/ExtensiveGame/GameTree.leanEconCSLib/GameTheory/ExtensiveGame/GameTreeNE.leanEconCSLib/GameTheory/ExtensiveGame/GameTreeSPE.leanEconCSLib/GameTheory/ExtensiveGame/GameTreeStrategicForm.leanEconCSLib/GameTheory/ExtensiveGame/Zermelo.leanEconCSLib/GameTheory/ExtensiveGame/FiniteArenaExtraction.leanEconCSLib/GameTheory/ExtensiveGame/ImperfectInformation.leanEconCSLib/GameTheory/ExtensiveGame/Strategy.leanEconCSLib/Examples/SimpleGameTree.leanEconCSLib/Examples/EntryDeterrence.leanEconCSLib/Examples/UltimatumGame.leanEconCSLib/Examples/CentipedeGame.leanEconCSLib/Examples.leanEconCSLib/Foundation/Preference.leanVerification
lake buildlake build EconCSLib.Examplespython3 scripts/check_lean_placeholders.py EconCSLibpassedgit diff --checkdocs/knowledge/changedChecked locally:
Result:
No
docs/knowledge/files are changed in this PR, so the blueprint check is notapplicable.
Notes
This PR is limited to finite perfect-information game trees and pure strategies.
It does not attempt to formalize mixed strategies, belief systems, sequential
equilibrium, or general infinite games.
The table below gives the theoretical references and their correspondence to the
code diffs, following the request in #14.
GameTree,children,sizeinGameTree.lean; examples inSimpleGameTree.lean,EntryDeterrence.lean,UltimatumGame.lean,CentipedeGame.lean.Subtree,Subtree.head,Subtree.tail_mem,Subtree.child_mem,Subtree.transinGameTree.lean.ProperSubgame,ProperSubgame.toSubtree,ProperSubgame.ne,ProperSubgame.size_lt,properSubgame_Node_iff_exists_child_subtreeinGameTree.lean.IsSubgamePerfectOn,isSubgamePerfectOn_iff_forall_subtree_isNashAt,IsNashAt.toSubgamePerfectOn_of_forall_subtree_isNashAtinGameTreeNE.lean.IsSubgamePerfectOn.of_subtree,IsSubgamePerfectOn.toNashAt_of_subtree,IsSubgamePerfectOn.forall_subtree_isNashAt,IsSubgamePerfectOn.of_properSubgame,IsSubgamePerfectOn.toNashAt_of_properSubgameinGameTreeNE.lean.HasOnlyRootSubgamesinGameTree.lean;isSubgamePerfectOn_iff_isNashAt_of_hasOnlyRootSubgames,isSubgamePerfectOn_iff_isNashAt_of_no_properSubgameinGameTreeNE.lean.isSubgamePerfectOn_Node_iff,IsSubgamePerfectOn.toNashAt_and_head_tail,isSubgamePerfectOn_Node_iff_children,IsSubgamePerfectOn.toNashAt_and_childreninGameTreeNE.lean.optStrategy_isSubgamePerfectOn,optStrategy_isNashAt,Kuhn_exists_SPE_on,Kuhn_exists_NE,Kuhn_exists_SPE_on_subtrees,Kuhn_exists_NE_on_subtreesinGameTreeNE.lean;Kuhn_exists_SPEinGameTreeSPE.lean.IsNashAtstatements.profileStrategy,toStrategicGame_nash_iff_isNashAt,exists_toStrategicGame_nash_iff_exists_isNashAt,IsSubgamePerfectOn.toStrategicGame_nashinGameTreeStrategicForm.lean.entryDeterrenceSubgame,entryDeterrenceSubgame_properSubgame,stayOutFight_isNashAt_entryDeterrence,stayOutFight_not_isSubgamePerfectOn_entryDeterrence,enterAccommodate_isSubgamePerfectOn_entryDeterrenceinEntryDeterrence.lean.IsNashProfile,nashProfile_isNash,RickSequentiallyRational,rickSequentiallyRational_iff,isSubgamePerfectProfile_iff,ultimatum_has_spe_on,ultimatum_optStrategy_spe_on,ultimatum_strategic_form_has_nashinUltimatumGame.lean.centipedePrefixStop_isSubgamePerfectOn,centipedePrefixContinue_not_isNashAt,centipedeMSZStop_isSubgamePerfectOn_tree,centipedeMSZ100_stop_isSubgamePerfectOninCentipedeGame.lean.