op869_bounded_adversary_forces_sound
A winning 1-fold bounded adversary position started from the empty position yields a k-colourable graph on which every causal proper algorithm uses at least K colours.
Statement
theorem op869_bounded_adversary_forces_sound {n : ℕ} (k K D : ℕ) (A : SimpleGraph (Fin n) → Fin n → ℕ) (hA : IsOnlineColoringAlg A) (hproper : ProperlyColorsKColorable k A) (h : op869_bounded_adversary_forces k 1 K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅)) : ∃ G : SimpleGraph (Fin n), G.Colorable k ∧ K ≤ colorsUsed (A G)
- Source
- step towards op869_online_coloring_deterministic_lower_bound
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- op869_bounded_adversary_forcesThe bounded t-fold adversary game is the t-fold game where, after each move, every vertex has post-degree at most D.
- op869_bounded_adversary_forces_unboundedA winning post-degree-bounded t-fold adversary position also wins the same game without the post-degree restriction.
- op869_adversary_forces_soundA winning one-fold adversary position, whose recorded earlier colors agree with a proper online algorithm on the current predecessor…
- op869_graph_from_predecessorsThe simple graph on the ordered vertices Fin n whose edge from an earlier vertex a to a later vertex b exists exactly when a is in the…
- colorsUsedThe number of distinct colors assigned by a vertex coloring c : Fin n → ℕ is the cardinality of the image of c on Finset.univ.
- op869_adversary_forcesA bounded t-fold online-coloring adversary position is winning if, before the move budget or vertex indices run out, the adversary can…
- IsOnlineColoringAlgA deterministic coloring algorithm A : SimpleGraph (Fin n) → (Fin n → ℕ) assigning natural number colors to vertices of graphs on Fin n is…
- ProperlyColorsKColorableFor an integer k and graph size n, a coloring algorithm A : SimpleGraph (Fin n) → (Fin n → ℕ) assigning natural number colors properly…
- Used by 1
- op869_three_colorable_lower_bound_of_forcingIf the bounded adversary game forces m^m colours on at most exp(C m³ log m) vertices for every m ≥ 2, then the three-colourable…
The proof, explained
The proof reduces the result to the soundness theorem for the unbounded online colouring adversary game (`op869_adversary_forces_sound`). It first relaxes the bounded-degree winning strategy to an unbounded strategy via `op869_bounded_adversary_forces_unbounded` by forgetting the postdegree bound D. It then applies the unbounded soundness theorem starting from round 0, where the invariant on already presented vertices holds vacuously because no vertex index is strictly less than 0.
The bounded adversary winning strategy induces a winning strategy for the adversary in the unbounded game.
Applying `op869_bounded_adversary_forces_unbounded` forgets the predecessor postdegree bound D, converting the winning strategy `h` in the bounded game into a winning strategy `hplay` for the unbounded adversary game starting at round 0 with empty histories.
uses
op869_bounded_adversary_forces_unboundedhave hplay := op869_bounded_adversary_forces_unbounded k 1 K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) h
The unbounded soundness theorem applies to A, producing a k-colourable graph on which A uses at least K colours.
We invoke `op869_adversary_forces_sound` with the strategy `hplay` on algorithm A. The only remaining hypothesis requires that every vertex presented before round 0 already matches the colour chosen by A; this holds vacuously because vertex indices in Fin n are non-negative, and linear arithmetic (`omega`) detects the contradiction from a < 0.
uses
op869_adversary_forces_soundexact op869_adversary_forces_sound k K A hA hproper n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) hplay (by intro a ha; omega)
op869_bounded_adversary_forces_unbounded- Any winning strategy for the adversary in the degree-bounded online colouring game is also a winning strategy in the unbounded game with the same parameters.
op869_adversary_forces_sound- In the 1-fold unbounded game, an adversary winning strategy from round i against a causal proper online colouring algorithm forces a k-colourable graph requiring at least K colours, provided prior vertex colours agree with the algorithm's choices.
- The initial invariant condition at round 0 requires all vertices strictly preceding 0 to match the algorithm's choices, which holds vacuously for natural number indices and is discharged by linear arithmetic (`omega`).
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.
/-- Bridge from the bounded game to the target's graph language: a win from the empty position beats every causal proper algorithm. -/theorem op869_bounded_adversary_forces_sound {n : ℕ} (k K D : ℕ) (A : SimpleGraph (Fin n) → Fin n → ℕ) (hA : IsOnlineColoringAlg A) (hproper : ProperlyColorsKColorable k A) (h : op869_bounded_adversary_forces k 1 K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅)) : ∃ G : SimpleGraph (Fin n), G.Colorable k ∧ K ≤ colorsUsed (A G) := by have hplay := op869_bounded_adversary_forces_unbounded k 1 K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) h exact op869_adversary_forces_sound k K A hA hproper n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) hplay (by intro a ha; omega)