op1957_positive_deficit_degree_arithmetic
The degree, separator and odd-component count budgets imply the strengthened common-nonneighbor restriction.
Statement
theorem op1957_positive_deficit_degree_arithmetic
(k t r s q n : ℕ) (ht : r+1 ≤ t)
(hsep : t ≤ s+1) (hodd : t+1+s ≤ q) (halpha : q ≤ k)
(hcard : n+s+1 = 2*k+t)
(hlarge : s+2 ≤ t+r → 3*q ≤ n) :
2*t+r ≤ k- Source
- OP-1957; scalar matching-deficiency model, experiment 40090.
- Verified
- 26 Nov 2026
- Axioms
Quot.soundpropext
The proof, explained
The proof proceeds by case analysis on whether $s + 2 \le t + r$. When $s + 2 \le t + r$, the hypothesis `hlarge` yields $3q \le n$, which combines with the separator and odd-component budgets to force $k \ge 3t > 2t + r$. In the opposite case, $s + 1 \ge t + r$, so the lower bound $k \ge q \ge t + s + 1$ immediately gives $k \ge 2t + r$.
It suffices to prove the inequality $2t + r \le k$ in the two cases $s + 2 \le t + r$ and $s + 2 > t + r$.
We split into two cases (`by_cases`) depending on whether $s + 2 \le t + r$.
by_cases h : s+2 ≤ t+rIn the case where $s + 2 \le t + r$, the inequality $2t + r \le k$ holds.
Applying the implication `hlarge` to the case assumption gives $3q \le n$. Together with $n + s + 1 = 2k + t$, $q \ge t + s + 1$, and $s + 1 \ge t$, we have $2k = n + s + 1 - t \ge 3(t + s + 1) + s + 1 - t = 2t + 4(s+1) \ge 6t$. Since $r + 1 \le t$, we have $k \ge 3t > 2t + r$. The linear integer arithmetic tactic `omega` confirms this deduction.
· have hthree := hlarge h omega
In the case where $\neg(s + 2 \le t + r)$, the inequality $2t + r \le k$ holds.
The negation $\neg(s + 2 \le t + r)$ over the natural numbers means $s + 1 \ge t + r$. Combining this with $k \ge q \ge t + 1 + s = t + (s + 1)$ immediately yields $k \ge t + (t + r) = 2t + r$. The linear integer arithmetic tactic `omega` closes the goal.
· omega
- Both subgoals are discharged by Lean's `omega` tactic for Presburger arithmetic over the natural numbers.
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.
theorem op1957_positive_deficit_degree_arithmetic (k t r s q n : ℕ) (ht : r+1 ≤ t) (hsep : t ≤ s+1) (hodd : t+1+s ≤ q) (halpha : q ≤ k) (hcard : n+s+1 = 2*k+t) (hlarge : s+2 ≤ t+r → 3*q ≤ n) : 2*t+r ≤ k := by by_cases h : s+2 ≤ t+r · have hthree := hlarge h omega · omega