AFTD Auto-Formalizing Theoretical Domains

op869_integer_fold_schedule_conditional

theoremverified

Assuming the stated fold simulation bound with constant C, the integer schedule m, m squared, up to m to the m forces m to the m colors on any sufficiently large n, with explicit budget F to the m squared and post-degree F to the m, where F is C times K cubed times 2 to the C times (m+1), and K=m to the m.

Statement

theorem op869_integer_fold_schedule_conditional (C m : ℕ) (hC : 1 ≤ C) (hm : 2 ≤ m) (hsim : ∀ n q t K D : ℕ, 1 ≤ t → t ≤ q → q ≤ K → 1 ≤ D → op869_bounded_adversary_forces 3 q K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) → ∀ n' D' : ℕ, C * K^2 * q * n * D * 2^(C * ((q + t - 1) / t)) ≤ n' → C * K^2 * q * D * 2^(C * ((q + t - 1) / t)) ≤ D' → op869_bounded_adversary_forces 3 t K D' n' 0 (fun _ : Fin n' => ∅) (fun _ : Fin n' => ∅)) : let K := m^m; let F := C * K^3 * 2^(C * (m+1)); ∀ n : ℕ, F^(m^2) ≤ n → op869_bounded_adversary_forces 3 1 K (F^m) n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅)
Source
Iteration of the fold simulation in arXiv:2610.41516, Lemma 2.5 and Section 2.3; a step toward OP-869.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • 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_one_vertexWhen n and k are positive, an isolated vertex forces t colors in the bounded t-fold game in one move, for every post-degree bound D.
  • op869_bounded_fuel_monoIncreasing the number of remaining moves preserves a winning position in the bounded online coloring adversary game.
  • op869_integer_fold_stage_budgetFor an integer m-level fold schedule, each simulation stage fits in the next square-exponent vertex budget and the next power post-degree…
  • op869_bounded_initial_vertex_monoFor a positive colorability bound, an initially winning bounded adversary strategy remains winning on any larger vertex universe with its…
Used by 2

The proof, explained

The proof proceeds by induction on the folding stage index j from 0 up to m, tracking an adversary strategy that progressively scales down the request size from m^m to 1 while maintaining that K = m^m colors are forced. At stage 0, a single vertex trivially forces K colors when the adversary plays color sets of size K. At each inductive step, the simulation hypothesis hsim steps down the request size from m^(m-j) to m^(m-(j+1)), with the required vertex and degree bounds verified by the stage budget lemma op869_integer_fold_stage_budget. Reaching j = m yields a strategy forcing K colors with singleton requests on F^(m^2) vertices, which is then extended to any n ≥ F^(m^2) by initial vertex monotonicity.

  1. The constants m, C, and F = C * K^3 * 2^(C * (m+1)) (where K = m^m) are strictly positive.

    We fix the abbreviations K = m^m and F = C * K^3 * 2^(C * (m+1)) and restate the theorem goal. From the assumptions m ≥ 2 and C ≥ 1, linear arithmetic immediately establishes that m > 0 and C > 0. Since F is a product of powers of positive quantities, positivity of its factors guarantees F > 0.

    lines 2–8

      let K := m^m
      let F := C * K^3 * 2^(C * (m+1))
      change ∀ n : ℕ, F^(m^2) ≤ n →
          op869_bounded_adversary_forces 3 1 K (F^m) n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅)
      have hm0 : 0 < m := by omega
      have hC0 : 0 < C := by omega
      have hF0 : 0 < F := by dsimp [F,K]; positivity
  2. Base case (j = 0): the adversary forces K colors with request size K on a graph with 1 vertex and post-degree at most 1.

    We set up an induction on the stage index j ≤ m with invariant stating that at stage j, the adversary forces K colors against request size m^(m-j) on a graph of size F^(j^2) with post-degree at most F^j. For the base case j = 0, this requires forcing K colors against request size m^(m-0) = K on a graph of size F^0 = 1 with post-degree bound F^0 = 1. This holds by op869_bounded_adversary_one_vertex, which asserts that a single vertex suffices to force t colors when the adversary plays sets of size t in a 3-colorable graph.

    lines 9–17

    uses op869_bounded_adversary_one_vertex

      have hstages : ∀ j : ℕ, j ≤ m →
          op869_bounded_adversary_forces 3 (m^(m-j)) K (F^j) (F^(j^2)) 0
            (fun _ : Fin (F^(j^2)) => ∅) (fun _ : Fin (F^(j^2)) => ∅) := by
        intro j hj
        induction j with
        | zero =>
          change op869_bounded_adversary_forces 3 K K 1 1 0
            (fun _ : Fin 1 => ∅) (fun _ : Fin 1 => ∅)
          exact op869_bounded_adversary_one_vertex (n:=1) (k:=3) (t:=K) (D:=1) (by decide) (by decide)
  3. Inductive step: if the adversary forces K colors at stage j (with j < m), it also forces K colors at stage j + 1.

    Assuming the induction hypothesis holds at stage j, we transition from request size q = m^(m-j) down to t = m^(m-(j+1)). Since j < m, the order bounds 1 ≤ t ≤ q ≤ K and 1 ≤ F^j follow from the monotonicity of powers (pow_le_pow_right') and positivity (pow_pos). The stage budget lemma op869_integer_fold_stage_budget confirms that the vertex count and post-degree needed for the folding step are at most F^((j+1)^2) and F^(j+1) respectively. Invoking the fold simulation hypothesis hsim with these bounds yields the adversary forcing guarantee at stage j + 1, matching the successor stage definition via Nat.succ_eq_add_one.

    lines 18–31

    uses pow_pos, pow_le_pow_right', op869_integer_fold_stage_budget, Nat.succ_eq_add_one

        | succ j ih =>
          have hjm : j < m := by omega
          have hold := ih (by omega)
          have ht0 : 0 < m^(m-(j+1)) := by positivity
          have hD0 : 0 < F^j := pow_pos hF0 _
          have htq : m^(m-(j+1)) ≤ m^(m-j) :=
            pow_le_pow_right' (by omega : 1 ≤ m) (by omega)
          have hqK : m^(m-j) ≤ K := by
            dsimp [K]
            exact pow_le_pow_right' (by omega : 1 ≤ m) (by omega)
          have hbud := op869_integer_fold_stage_budget C m j hC hm hjm
          have hnew := hsim (F^(j^2)) (m^(m-j)) (m^(m-(j+1))) K (F^j)
            ht0 htq hqK hD0 hold (F^((j+1)^2)) (F^(j+1)) hbud.1 hbud.2
          simpa only [Nat.succ_eq_add_one] using hnew
  4. For any n ≥ F^(m^2), the adversary forces K = m^m colors on an initially empty graph of size n with request size 1 and post-degree at most F^m.

    Specializing the inductive invariant to j = m using reflexivity (le_refl), the adversary request size becomes m^(m-m) = m^0 = 1 on a graph with F^(m^2) vertices and post-degree F^m. Finally, since n ≥ F^(m^2) and 1 ≤ 3, vertex monotonicity (op869_bounded_initial_vertex_mono) lifts this forcing strategy from size F^(m^2) to any graph of size n.

    lines 32–37

    uses le_refl, op869_bounded_initial_vertex_mono

      intro n hn
      have hlast := hstages m (le_refl m)
      have hlast' : op869_bounded_adversary_forces 3 1 K (F^m) (F^(m^2)) 0
          (fun _ : Fin (F^(m^2)) => ∅) (fun _ : Fin (F^(m^2)) => ∅) := by
        simpa using hlast
      exact op869_bounded_initial_vertex_mono hn 3 1 K (F^m) (by decide) hlast'
op869_bounded_adversary_one_vertex
On a graph with at least one vertex and chromatic bound k > 0, an adversary with 1 unit of fuel forces t colors when the requested color sets have size t, with post-degree at most D.
pow_pos
A strictly positive element raised to any natural power is strictly positive.
pow_le_pow_right'
For a base at least 1, exponentiation preserves order: if n ≤ m, then a^n ≤ a^m.
op869_integer_fold_stage_budget
For stage index j < m, the fold simulation costs in vertices and post-degree to transition from request size m^(m-j) to m^(m-(j+1)) are bounded by F^((j+1)^2) and F^(j+1) respectively.
Nat.succ_eq_add_one
The successor of a natural number n equals n + 1.
le_refl
The preorder relation ≤ is reflexive, so a ≤ a for any a.
op869_bounded_initial_vertex_mono
If an adversary forces K colors starting with n vertices in a k-colorable graph (with 1 ≤ k), it also forces K colors starting with m vertices for any m ≥ n under the same parameters.

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

theorem op869_integer_fold_schedule_conditional (C m : ℕ) (hC : 1 ≤ C) (hm : 2 ≤ m) (hsim : ∀ n q t K D : ℕ, 1 ≤ t → t ≤ q → q ≤ K → 1 ≤ D → op869_bounded_adversary_forces 3 q K D n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) → ∀ n' D' : ℕ, C * K^2 * q * n * D * 2^(C * ((q + t - 1) / t)) ≤ n' → C * K^2 * q * D * 2^(C * ((q + t - 1) / t)) ≤ D' → op869_bounded_adversary_forces 3 t K D' n' 0 (fun _ : Fin n' => ∅) (fun _ : Fin n' => ∅)) : let K := m^m; let F := C * K^3 * 2^(C * (m+1)); ∀ n : ℕ, F^(m^2) ≤ n → op869_bounded_adversary_forces 3 1 K (F^m) n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅) := by  let K := m^m  let F := C * K^3 * 2^(C * (m+1))  change ∀ n : ℕ, F^(m^2) ≤ n →      op869_bounded_adversary_forces 3 1 K (F^m) n 0 (fun _ : Fin n => ∅) (fun _ : Fin n => ∅)  have hm0 : 0 < m := by omega  have hC0 : 0 < C := by omega  have hF0 : 0 < F := by dsimp [F,K]; positivity  have hstages : ∀ j : ℕ, j ≤ m →      op869_bounded_adversary_forces 3 (m^(m-j)) K (F^j) (F^(j^2)) 0        (fun _ : Fin (F^(j^2)) => ∅) (fun _ : Fin (F^(j^2)) => ∅) := by    intro j hj    induction j with    | zero =>      change op869_bounded_adversary_forces 3 K K 1 1 0        (fun _ : Fin 1 => ∅) (fun _ : Fin 1 => ∅)      exact op869_bounded_adversary_one_vertex (n:=1) (k:=3) (t:=K) (D:=1) (by decide) (by decide)    | succ j ih =>      have hjm : j < m := by omega      have hold := ih (by omega)      have ht0 : 0 < m^(m-(j+1)) := by positivity      have hD0 : 0 < F^j := pow_pos hF0 _      have htq : m^(m-(j+1)) ≤ m^(m-j) :=        pow_le_pow_right' (by omega : 1 ≤ m) (by omega)      have hqK : m^(m-j) ≤ K := by        dsimp [K]        exact pow_le_pow_right' (by omega : 1 ≤ m) (by omega)      have hbud := op869_integer_fold_stage_budget C m j hC hm hjm      have hnew := hsim (F^(j^2)) (m^(m-j)) (m^(m-(j+1))) K (F^j)        ht0 htq hqK hD0 hold (F^((j+1)^2)) (F^(j+1)) hbud.1 hbud.2      simpa only [Nat.succ_eq_add_one] using hnew  intro n hn  have hlast := hstages m (le_refl m)  have hlast' : op869_bounded_adversary_forces 3 1 K (F^m) (F^(m^2)) 0      (fun _ : Fin (F^(m^2)) => ∅) (fun _ : Fin (F^(m^2)) => ∅) := by    simpa using hlast  exact op869_bounded_initial_vertex_mono hn 3 1 K (F^m) (by decide) hlast'
See it in the graphDiscuss this resultChallenge it