op869_bounded_adversary_forces_pad
A winning position on Fin n stays winning on Fin (n+m) when the extra vertices are added as isolated vertices with empty predecessor and colour sets.
Statement
theorem op869_bounded_adversary_forces_pad {n m : ℕ} (k t K D : ℕ) (hk : 1 ≤ k) (fuel i : ℕ) (P : Fin n → Finset (Fin n)) (C : Fin n → Finset ℕ) (h : op869_bounded_adversary_forces k t K D fuel i P C) : op869_bounded_adversary_forces k t K D fuel i (fun j : Fin (n + m) => if hj : (j : ℕ) < n then (P ⟨j, hj⟩).image (Fin.castLE (Nat.le_add_right n m)) else ∅) (fun j : Fin (n + m) => if hj : (j : ℕ) < n then C ⟨j, hj⟩ else ∅)
- Source
- step towards op869_online_coloring_deterministic_lower_bound
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- 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_vertex_paddingFor a positive colorability bound, a bounded adversary winning position remains winning after padding its entire graph and color history…
- op869_extend_predecessorsExtend a predecessor presentation to a larger initial-segment universe, leaving added vertices isolated.
- op869_extend_colorsExtend color histories to a larger vertex universe by assigning no colors to new vertices.
- 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 theorem establishes that a winning bounded-adversary position on $n$ vertices remains winning when padded with $m$ isolated vertices that have empty predecessor and color sets. The argument invokes the general vertex padding theorem (`op869_bounded_vertex_padding`) using the inequality $n \le n + m$. Because the general theorem expresses predecessor extension via `Finset.map` along an embedding while the theorem statement uses `Finset.image`, the proof reconciles the two representations using `Finset.map_eq_image`. Since the color extension already matches by definition, substituting this equality finishes the proof.
The adversary forces a win on the extended vertex set $\mathrm{Fin}(n+m)$ under the canonical predecessor extension `op869_extend_predecessors` and color extension `op869_extend_colors`.
Apply `op869_bounded_vertex_padding` with the inequality $n \le n + m$ supplied by `Nat.le_add_right n m`. Since $(P, C)$ is a winning position on $\mathrm{Fin}(n)$ by hypothesis $h$ and $1 \le k$ by $hk$, the padded position on $\mathrm{Fin}(n+m)$ is winning.
uses
op869_bounded_vertex_padding,Nat.le_add_righthave hp := op869_bounded_vertex_padding (Nat.le_add_right n m) k t K D hk fuel i P C hThe canonical predecessor extension `op869_extend_predecessors (Nat.le_add_right n m) P` equals the function that assigns $(P\langle j, hj \rangle).\mathrm{image}(\mathrm{Fin.castLE} \dots)$ to each vertex $j < n$ and $\emptyset$ to vertices $j \ge n$.
By function extensionality (`funext j`), it suffices to show that both predecessor functions agree on an arbitrary vertex $j$. The definition of `op869_extend_predecessors` assigns $(P\langle j, hj\rangle).\mathrm{map}(\mathrm{Fin.castLEEmb} \dots)$ when $j < n$ and $\emptyset$ otherwise. Simplifying by unfolding this definition and applying `Finset.map_eq_image` replaces mapping along the embedding with the set image under `Fin.castLE`, matching the desired pointwise expression.
uses
op869_extend_predecessors,Finset.map_eq_imagehave hpred : op869_extend_predecessors (Nat.le_add_right n m) P = (fun j : Fin (n + m) => if hj : (j : ℕ) < n then (P ⟨j, hj⟩).image (Fin.castLE (Nat.le_add_right n m)) else ∅) := by funext j simp [op869_extend_predecessors, Finset.map_eq_image]
The adversary forces a win on $\mathrm{Fin}(n+m)$ with the predecessor and color assignments specified in the theorem statement.
Substitute the equality `hpred` into `hp` (`hpred ▸ hp`). This replaces the canonical predecessor extension with the explicit image-based predecessor function. Since `op869_extend_colors` is already definitionally identical to the conditional color assignment in the goal, this concludes the proof.
exact hpred ▸ hp
op869_bounded_vertex_padding- If a position on $n$ vertices is winning for the bounded adversary and $n \le m$, then the canonically extended position on $m$ vertices (with empty predecessor and color sets for new vertices) is also winning.
Nat.le_add_right- For any natural numbers $n$ and $m$, $n \le n + m$.
op869_extend_predecessors- The canonical extension of a predecessor map from $\mathrm{Fin}(n)$ to $\mathrm{Fin}(m)$ when $n \le m$, embedding existing predecessors into $\mathrm{Fin}(m)$ and assigning the empty set to new vertices.
Finset.map_eq_image- Mapping a finite set along an embedding is equal to taking its image under the underlying function.
- The color extension `op869_extend_colors` is definitionally identical to the conditional expression `fun j => if hj : (j : ℕ) < n then C ⟨j, hj⟩ else ∅`, so no rewriting is needed for color sets. By contrast, `op869_extend_predecessors` is defined using `Finset.map` along an embedding rather than `Finset.image`, requiring the explicit rewrite lemma `Finset.map_eq_image`.
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.
/-- Padding a winning bounded-adversary position by isolated vertices gives a winning position on the larger vertex set. -/theorem op869_bounded_adversary_forces_pad {n m : ℕ} (k t K D : ℕ) (hk : 1 ≤ k) (fuel i : ℕ) (P : Fin n → Finset (Fin n)) (C : Fin n → Finset ℕ) (h : op869_bounded_adversary_forces k t K D fuel i P C) : op869_bounded_adversary_forces k t K D fuel i (fun j : Fin (n + m) => if hj : (j : ℕ) < n then (P ⟨j, hj⟩).image (Fin.castLE (Nat.le_add_right n m)) else ∅) (fun j : Fin (n + m) => if hj : (j : ℕ) < n then C ⟨j, hj⟩ else ∅) := by have hp := op869_bounded_vertex_padding (Nat.le_add_right n m) k t K D hk fuel i P C h have hpred : op869_extend_predecessors (Nat.le_add_right n m) P = (fun j : Fin (n + m) => if hj : (j : ℕ) < n then (P ⟨j, hj⟩).image (Fin.castLE (Nat.le_add_right n m)) else ∅) := by funext j simp [op869_extend_predecessors, Finset.map_eq_image] exact hpred ▸ hp