op869_gadget_explicit_parameters
For q at least t at least one, 4 ceil(q/t) growth rounds give at least 2q colors and a complete binary construction fits within 2^(5 ceil(q/t)) vertices.
Statement
theorem op869_gadget_explicit_parameters (q t : ℕ) (ht : 1 ≤ t) (htq : t ≤ q) : let r := (q+t-1)/t 2*q ≤ t + (4*r)*((t+1)/2) ∧ 2^(4*r+1) ≤ 2^(5*r)
- Source
- arXiv:2610.41516, Lemmas 2.3 and 2.4
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or… - LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder.
- TotalPreorderA total preorder: a preorder where
The proof, explained
The theorem verifies two bounds for gadget parameters with q ≥ t ≥ 1 and r = ⌈q/t⌉ = (q+t-1)/t: that 2q ≤ t + 4r⌊(t+1)/2⌋ and 2^(4r+1) ≤ 2^(5r). Integer division bounds establish that q ≤ tr and 1 ≤ r. Multiplying the elementary bound t ≤ 2⌊(t+1)/2⌋ by r yields 2q ≤ 2tr ≤ 4r⌊(t+1)/2⌋, and the exponent inequality follows by base-2 monotonicity because 1 ≤ r implies 4r+1 ≤ 5r.
Define r = (q + t - 1) / t and restate the goal in terms of r.
We introduce r = (q + t - 1) / t (representing ⌈q/t⌉) into the local context and rephrase the goal as the conjunction 2*q ≤ t + 4*r*((t+1)/2) ∧ 2^(4*r+1) ≤ 2^(5*r).
dsimp only let r := (q+t-1)/t change 2*q ≤ t + (4*r)*((t+1)/2) ∧ 2^(4*r+1) ≤ 2^(5*r)
0 < t and q ≤ t * r.
From 1 ≤ t, linear arithmetic gives 0 < t. Applying the division identity Nat.mod_add_div and the remainder bound Nat.mod_lt to (q + t - 1) and t, linear arithmetic concludes that q ≤ t * r.
uses
Nat.mod_add_div,Nat.mod_lthave hpos : 0 < t := by omega have hdiv := Nat.mod_add_div (q+t-1) t have hmod := Nat.mod_lt (q+t-1) hpos have hq : q ≤ t*r := by dsimp [r]; omega
1 ≤ r.
Since t ≤ q and 1 ≤ t, we have t ≤ q + t - 1 and 0 < t. By Nat.div_pos, the quotient r = (q + t - 1) / t is strictly positive, meaning 1 ≤ r.
uses
Nat.div_poshave hr : 1 ≤ r := by dsimp [r] apply Nat.div_pos · omega · omega
t * r ≤ 2 * ((t + 1) / 2) * r.
By integer division arithmetic, t ≤ 2 * ((t + 1) / 2). Multiplying both sides on the right by r via Nat.mul_le_mul_right preserves the inequality, giving t * r ≤ 2 * ((t + 1) / 2) * r.
uses
Nat.mul_le_mul_righthave hhalf : t ≤ 2*((t+1)/2) := by omega have hmul := Nat.mul_le_mul_right r hhalf
2 * q ≤ t + 4 * r * ((t + 1) / 2).
Splitting the conjunction leaves the first inequality 2*q ≤ t + 4*r*((t+1)/2). This follows by non-linear arithmetic from q ≤ t * r and t * r ≤ 2*((t+1)/2)*r, since 2*q ≤ 2*(t*r) ≤ 4*r*((t+1)/2) ≤ t + 4*r*((t+1)/2).
constructor · nlinarith
2^(4*r+1) ≤ 2^(5*r).
Because 1 ≤ r, linear arithmetic shows 4*r + 1 ≤ 5*r. Since the base satisfies 2 > 0, Nat.pow_le_pow_right concludes that 2^(4*r+1) ≤ 2^(5*r).
uses
Nat.pow_le_pow_right· exact Nat.pow_le_pow_right (by omega : 0 < 2) (by omega)
Nat.mod_add_div- For natural numbers m and k, m % k + k * (m / k) = m.
Nat.mod_lt- If y > 0, then the remainder x % y is strictly less than y.
Nat.div_pos- If b ≤ a and 0 < b, then 0 < a / b (so 1 ≤ a / b in ℕ).
Nat.mul_le_mul_right- Multiplying both sides of an inequality n ≤ m on the right by k preserves the inequality: n * k ≤ m * k.
Nat.pow_le_pow_right- For base n > 0, if i ≤ j then n^i ≤ n^j.
- In natural number arithmetic, `(q + t - 1) / t` computes the ceiling division ⌈q/t⌉, and `(t + 1) / 2` represents the integer division ⌊(t + 1) / 2⌋.
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.
/-- Explicit parameters for the bipartite gadget. -/theorem op869_gadget_explicit_parameters (q t : ℕ) (ht : 1 ≤ t) (htq : t ≤ q) : let r := (q+t-1)/t 2*q ≤ t + (4*r)*((t+1)/2) ∧ 2^(4*r+1) ≤ 2^(5*r) := by dsimp only let r := (q+t-1)/t change 2*q ≤ t + (4*r)*((t+1)/2) ∧ 2^(4*r+1) ≤ 2^(5*r) have hpos : 0 < t := by omega have hdiv := Nat.mod_add_div (q+t-1) t have hmod := Nat.mod_lt (q+t-1) hpos have hq : q ≤ t*r := by dsimp [r]; omega have hr : 1 ≤ r := by dsimp [r] apply Nat.div_pos · omega · omega have hhalf : t ≤ 2*((t+1)/2) := by omega have hmul := Nat.mul_le_mul_right r hhalf constructor · nlinarith · exact Nat.pow_le_pow_right (by omega : 0 < 2) (by omega)