parity_game_even_wins_from_counterexample_game
In the parity game on the four vertices 0, 1, 2, 3 in which Even owns vertices 0 and 1, Odd owns vertices 2 and 3, the priorities are 4, 0, 3, 4 (in this order), and the edges are 0→3, 1→2, 2→0, 2→1, 3→0, 3→1 (no self-loops, every vertex has a successor), Even wins from every vertex v with a positional strategy (min-parity condition).
Statement
theorem parity_game_even_wins_from_counterexample_game (v : Fin 4) : parity_game_even_wins_from (![true, true, false, false] : Fin 4 → Bool) (fun v w => (![![false, false, false, true], ![false, false, true, false], ![true, true, false, false], ![true, true, false, false]] : Fin 4 → Fin 4 → Bool) v w) (![4, 0, 3, 4] : Fin 4 → ℕ) v
- Source
- arXiv:2511.03752 (Attractors Is All You Need: Parity Games In Polynomial Time): sanity lemma for the positional winning definition, on the counterexample game to Theorem 2
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- parity_game_even_wins_fromA game on a finite vertex type V is given by own : V → Bool (own v = true means Even owns v, false means Odd owns v), E : V → V → Bool (E…
- parity_game_peel_claimed_dominion_counterexampleConsider the parity game on the four vertices 0, 1, 2, 3 in which Even owns vertices 0 and 1, Odd owns vertices 2 and 3, the priorities…
- parity_game_even_wins_playFor a priority map prio : V → ℕ and an infinite sequence of vertices π : ℕ → V, Even wins the play π (min-parity condition) if there is an…
- parity_game_peel_seqA game on a finite vertex type V is given by own : V → Bool (own v = true means Even owns v, false means Odd owns v), E : V → V → Bool (E…
The proof, explained
To show that Even wins from any vertex v, we propose the positional strategy choosing edges 0 → 3 and 1 → 2, which is verified valid by finite evaluation. It then suffices to show that any play following valid edges is winning for Even. This follows immediately from an established lemma showing that every infinite path in this graph satisfies the min-parity winning condition for Even.
Even specifies the positional strategy σ sending 0 to 3 and 1 to 2, reducing the goal to showing that any play following the game's edges is winning for Even.
By definition, Even wins from v if there exists a positional strategy σ choosing valid outgoing edges from Even-owned vertices (0 and 1) such that any play π starting at v and conforming to both the graph edges and σ is won by Even. We supply σ = (3, 2, 0, 0), where σ(0) = 3 and σ(1) = 2. A direct finite check (`decide`) confirms these are valid edges in the adjacency matrix. We then introduce an arbitrary play π with its edge-validity hypothesis hπ, leaving the task of proving that Even wins π.
refine ⟨![3, 2, 0, 0], by decide, fun π _ hπ _ => ?_⟩
Even wins the play π.
By `parity_game_peel_claimed_dominion_counterexample.2`, every valid infinite path in this parity game satisfies Even's min-parity winning condition. Applying this lemma to π and the edge-adherence hypothesis hπ completes the proof.
uses
parity_game_peel_claimed_dominion_counterexample.2exact parity_game_peel_claimed_dominion_counterexample.2 π hπ
parity_game_peel_claimed_dominion_counterexample.2- In this four-vertex parity game, every infinite path respecting the edge relation satisfies the min-parity condition for Even (the minimum priority visited infinitely often is even).
- Even's victory does not actually rely on restricting Odd via Even's strategy during the play: as shown by the referenced lemma, every valid infinite path in this graph satisfies the min-parity winning condition for Even, so the hypothesis that Even follows the chosen strategy is simply discarded.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem parity_game_even_wins_from_counterexample_game (v : Fin 4) : parity_game_even_wins_from (![true, true, false, false] : Fin 4 → Bool) (fun v w => (![![false, false, false, true], ![false, false, true, false], ![true, true, false, false], ![true, true, false, false]] : Fin 4 → Fin 4 → Bool) v w) (![4, 0, 3, 4] : Fin 4 → ℕ) v := by refine ⟨![3, 2, 0, 0], by decide, fun π _ hπ _ => ?_⟩ exact parity_game_peel_claimed_dominion_counterexample.2 π hπ