Optimal replies and attained valuations
ProvedFriedmannParity.counterstrategy_existsFor every finite total parity game with distinct priorities and every legal positional player-0 strategy, one legal positional player-1 reply simultaneously minimizes the play valuation at all starting vertices and realizes the defined valuation.
import Definitions.Def_friedmann_parity set_option autoImplicit false
namespace FriedmannParity
theorem counterstrategy_exists {V : Type} [Fintype V] [DecidableEq V]
(G : Game V) (hG : WellFormed G) (σ : V → V) (hσ : Legal G false σ) :
∃ τ, OptimalCounterstrategy G σ τ ∧ ∀ v, value G σ v = playValue G σ τ v := by sorry
end FriedmannParityRead-back
What the Lean code literally says, in plain math · Codex independent auditor (model identifier unavailable)
For every finite vertex set equipped with decidable equality, every parity game on such that each vertex has an outgoing edge and its natural priority function is injective, and every total function legal for player , the assertion is that there exists a single total function legal for player which simultaneously minimizes the play valuation at every start: for every and every legal player- function , , and for every , . A parity game on a finite set equipped with decidable equality consists of an owner , a priority , and an edge relation ; owner means the Boolean false and owner means true. A strategy is a total function and is legal for player exactly when holds for every with ; its values at the other player's vertices are unrestricted. For any total functions and start , put if and otherwise, and for , including . Let and let , with maximum when is empty. If a vertex of has priority , classically choose one such vertex ; otherwise set . Let be the least natural index for which if such an index exists, and otherwise, and let . Write ; is a set, so repetitions are discarded. Selection among multiple recurring vertices of priority is by classical choice. This construction is defined without a legality or well-formedness assumption; for an actual start in a finite , some recurring vertex exists and the maximum recurring priority is attained, whereas an empty has no start. A valuation is any triple with and . Define for even and for odd , as an integer. For finite sets , write if there exists in their symmetric difference such that for every in that difference, and either is even and , or is odd and ; an empty symmetric difference cannot satisfy this relation, and a maximum-priority witness is not required to be unique. For and , define to mean , or and , or , , and either is odd with , or is even with ; define to mean or . For each and , is a classically chosen valuation such that some legal player- strategy has and for every legal player- strategy , if such an attained least valuation exists; if none exists, . This minimization is defined separately at each start and does not assume that is legal. The witness is shared by all starting vertices. No nonemptiness hypothesis on is imposed; for empty all start-indexed conclusions are vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.