AFTD Auto-Formalizing Theoretical Domains

op869_bounded_target_mono

theoremverified

Reducing the target number of colors preserves any winning position in the bounded adversary game.

Statement

theorem op869_bounded_target_mono {n : ℕ} (k t K K' D : ℕ) (hKK : K' ≤ 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 P C
Source
Monotonicity for the finite adversary game of arXiv:2610.41516 Section 2.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • 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_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…
  • op869_predecessor_postdegreeThe post-degree of a vertex in an ordered predecessor presentation is the number of later vertices that list it as a predecessor.

The proof, explained

The theorem is proved by induction on the fuel parameter. When fuel is zero or the vertex index i is out of bounds (i ≥ n), the game's definition is False, rendering the premise impossible. In the inductive step with i < n, the adversary plays the exact same predecessor set S as in the strategy for target K; against any valid response by the player, either the color count already exceeds K (and therefore K' ≤ K), or the position remains winning with target K' by the induction hypothesis.

  1. The claim holds vacuously when the fuel parameter is zero.

    We proceed by induction on fuel, generalizing the vertex index i, the predecessor assignment P, and the color assignment C. When fuel = 0, the adversary forcing predicate is defined to be False, so the hypothesis h is contradictory and the goal is dismissed.

    lines 6–7

      induction fuel generalizing i P C with
      | zero => simp [op869_bounded_adversary_forces] at h
  2. In the inductive step, we split into cases according to whether the vertex index i is within bounds (i < n).

    Assuming the inductive hypothesis for fuel, we consider fuel + 1 and perform a case distinction on whether i < n.

    lines 8–9

      | succ fuel ih =>
        by_cases hi : i < n
  3. When i < n, the adversary can choose the same predecessor set S as for target K.

    Because i < n, the forcing condition unfolds using dif_pos. We extract the adversary's predecessor choice S from h, which guarantees valid predecessor indices, preserves k-colorability of the graph, and respects the post-degree bound D. We supply this same S for the target K', which immediately fulfills all three graph-structure requirements.

    lines 10–12

    uses dif_pos

        · simp only [op869_bounded_adversary_forces, dif_pos hi] at h ⊢
          obtain ⟨S, hS, hcolor, hdegree, hnext⟩ := h
          refine ⟨S, hS, hcolor, hdegree, ?_⟩
  4. Against every valid response by the player, the adversary achieves target K'.

    Let c be any valid set of t colors chosen by the player that is disjoint from the colors on S. By the guarantee from h, either the total number of colors used reaches at least K (and therefore at least K' by transitivity le_trans, since K' ≤ K), or the adversary forces a win in the remaining fuel steps with target K. In the latter case, the induction hypothesis applies to show the adversary forces target K'.

    lines 13–16

    uses Or.inl, le_trans, Or.inr

          intro c hc hvalid
          rcases hnext c hc hvalid with hw | hrec
          · exact Or.inl (le_trans hKK hw)
          · exact Or.inr (ih (i + 1) _ _ hrec)
  5. The case i ≥ n is contradictory.

    When i ≥ n, the definition of the game specifies that the forcing predicate is False, which contradicts hypothesis h.

    line 17

        · simp [op869_bounded_adversary_forces, hi] at h
dif_pos
if a condition c holds, then the dependent if-then-else `if h : c then t else e` reduces to the `then` branch `t h`
Or.inl
proves a disjunction a ∨ b from a proof of the left disjunct a
le_trans
transitivity of less-than-or-equal: if a ≤ b and b ≤ c, then a ≤ c
Or.inr
proves a disjunction a ∨ b from a proof of the right disjunct b

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

/-- Reducing the target number of colors preserves any winning position in the bounded adversary game. -/theorem op869_bounded_target_mono {n : ℕ} (k t K K' D : ℕ) (hKK : K' ≤ 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 P C := by  induction fuel generalizing i P C with  | zero => simp [op869_bounded_adversary_forces] at h  | succ fuel ih =>    by_cases hi : i < n    · simp only [op869_bounded_adversary_forces, dif_pos hi] at h ⊢      obtain ⟨S, hS, hcolor, hdegree, hnext⟩ := h      refine ⟨S, hS, hcolor, hdegree, ?_⟩      intro c hc hvalid      rcases hnext c hc hvalid with hw | hrec      · exact Or.inl (le_trans hKK hw)      · exact Or.inr (ih (i + 1) _ _ hrec)    · simp [op869_bounded_adversary_forces, hi] at h
See it in the graphDiscuss this resultChallenge it