five_odd_saturated_large_shore_arithmetic_core
The displayed natural-number endpoint, degree, separator and B-component inequalities cannot all hold in the A-rich aggregate obstruction.
Statement
theorem five_odd_saturated_large_shore_arithmetic_core (k c m eb a b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (ha : 3 ≤ a ∧ a ≤ 4) (hodd : Odd (a+b0+c0+d)) (hb : b0+b1+eb+5 ≤ 2*k) (htotal : a+b0+b1+eb+c0+1+d+m = 2*k) (hrooty : a+b0+c0+eb+2 ≤ c) (hrepB : 1 ≤ b0 → b1+eb+9 ≤ 2*k) (hrepC : 1 ≤ c0 → b1+eb+4 ≤ c) (hcutD : 1 ≤ d → d+b1+eb+c ≤ 2*k) (hcrit : (b0+b1+eb+5 < 2*k → m+b0+b1+eb+6 ≤ 2*k) ∧ (b0+b1+eb+5 = 2*k → m ≤ 1 ∧ (if 1 ≤ b0 then 1 else 0) + (if 1 ≤ b1 then 1 else 0) + m ≤ 1)) : False
- Source
- OP-1957: small arithmetic core for the unbounded saturated large-shore count reduction.
- Verified
- 24 Nov 2026
- Axioms
Quot.soundpropext- Used by 3
- boundary_five_odd_positive_barrier_forces_patterns_with_extendibilityThe displayed positive-barrier defect patterns hold under the original saturated five-by-odd assumptions together with explicit…
- five_odd_saturated_large_shore_aggregate_patternThe displayed nonnegative aggregate component counts, endpoint budgets, degree bounds, separator inequalities and B-block odd-group…
- boundary_five_odd_saturated_two_odd_shores_force_patternsUnder the displayed five-by-odd block, degree, separator, B-block connectedness and saturation hypotheses, two disjoint odd shores of…
The proof, explained
The proof shows by contradiction that the system of inequalities and parity condition is inconsistent. First, the cut and separator bounds force the boundary parameters $d$ and $c_0$ to vanish. Next, the criticality condition forces the inequality $b_0 + b_1 + eb + 5 \le 2k$ to hold as an exact equality, which activates a constraint bounding a sum of indicator variables and $m$ by 1; since $b_1 \ge 1$, this forces both $m = 0$ and $b_0 = 0$. Finally, comparing the simplified total sum with this equality yields $a = 4$, which contradicts the assumption that $a + b_0 + c_0 + d$ is odd.
$d = 0$
Assume for contradiction that $d \ne 0$, so $d \ge 1$. The hypothesis `hcutD` then gives $d + b_1 + eb + c \le 2k$. Combining this with the lower bound on $c$ from `hrooty` ($a + b_0 + c_0 + eb + 2 \le c$) and the total sum equation `htotal` ($a + b_0 + b_1 + eb + c_0 + 1 + d + m = 2k$) yields an arithmetic contradiction via `omega`. Thus $d = 0$.
have hd : d = 0 := by by_contra hn have h := hcutD (by omega) omega
$c_0 = 0$
Assume for contradiction that $c_0 \ne 0$, so $1 \le c_0$. The hypothesis `hrepC` then yields $b_1 + eb + 4 \le c$. Together with $c \le k$ (`hkc`), $a + b_0 + c_0 + eb + 2 \le c$ (`hrooty`), and $d = 0$, linear arithmetic shows this is incompatible with the total sum equation `htotal`, so $c_0 = 0$.
have hc0 : c0 = 0 := by by_contra hn have h := hrepC (by omega) omega
$b_0 + b_1 + eb + 5 = 2k$
From `hb`, we have $b_0 + b_1 + eb + 5 \le 2k$. If strict inequality held, the first conjunct of `hcrit` would imply $m + b_0 + b_1 + eb + 6 \le 2k$. However, with $c_0 = 0$ and $d = 0$, the total sum equation is $a + b_0 + b_1 + eb + 1 + m = 2k$. Since $a \ge 3$ by `ha`, this contradicts the upper bound, so equality must hold.
have heq : b0+b1+eb+5 = 2*k := by by_contra hn have h := hcrit.1 (by omega) omega
$b_1 \ge 1$ and $m = 0$
Specializing the second branch of `hcrit` with the equality $b_0 + b_1 + eb + 5 = 2k$ gives $(\text{if } 1 \le b_0 \text{ then } 1 \text{ else } 0) + (\text{if } 1 \le b_1 \text{ then } 1 \text{ else } 0) + m \le 1$. Linear arithmetic on the existing bounds forces $b_1 \ge 1$. Rewriting with `if_pos` simplifies the second indicator to $1$, leaving $(\text{if } 1 \le b_0 \text{ then } 1 \text{ else } 0) + 1 + m \le 1$. Since all terms are non-negative natural numbers, this forces $m = 0$.
uses
if_poshave hconnected := (hcrit.2 heq).2 have hb1 : 1 ≤ b1 := by omega rw [if_pos hb1] at hconnected have hm : m = 0 := by omega
$b_0 = 0$
Suppose for contradiction that $b_0 \ne 0$, so $1 \le b_0$. Rewriting with `if_pos` replaces the remaining indicator with $1$, producing $1 + 1 + m \le 1$, which is impossible in $\mathbb{N}$. Hence $b_0 = 0$.
uses
if_poshave hb0 : b0 = 0 := by by_contra hn have hb0pos : 1 ≤ b0 := by omega rw [if_pos hb0pos] at hconnected omega
$a = 4$
Substituting $b_0 = 0$, $c_0 = 0$, $d = 0$, and $m = 0$ into the total sum equation gives $a + b_1 + eb + 1 = 2k$. Comparing this with $b_1 + eb + 5 = 2k$ (from the equality proved earlier with $b_0 = 0$) forces $a + 1 = 5$, hence $a = 4$.
have ha4 : a = 4 := by omega
False (the hypotheses are contradictory)
The hypothesis `hodd` states that $a + b_0 + c_0 + d$ is odd, so $a + b_0 + c_0 + d = 2t + 1$ for some natural number $t$. But having established $b_0 = 0$, $c_0 = 0$, $d = 0$, and $a = 4$, the sum evaluates to $4$. Since $4 = 2t + 1$ has no solution in $\mathbb{N}$, `omega` derives the final contradiction.
obtain ⟨t, ht⟩ := hodd omega
if_pos- If a condition $c$ is true, the conditional expression `if c then t else e` evaluates to `t`.
- The proof relies on the `omega` decision procedure to resolve linear arithmetic over natural numbers at several intermediate steps and to detect the final parity contradiction.
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.
set_option maxHeartbeats 1000000theorem five_odd_saturated_large_shore_arithmetic_core (k c m eb a b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (ha : 3 ≤ a ∧ a ≤ 4) (hodd : Odd (a+b0+c0+d)) (hb : b0+b1+eb+5 ≤ 2*k) (htotal : a+b0+b1+eb+c0+1+d+m = 2*k) (hrooty : a+b0+c0+eb+2 ≤ c) (hrepB : 1 ≤ b0 → b1+eb+9 ≤ 2*k) (hrepC : 1 ≤ c0 → b1+eb+4 ≤ c) (hcutD : 1 ≤ d → d+b1+eb+c ≤ 2*k) (hcrit : (b0+b1+eb+5 < 2*k → m+b0+b1+eb+6 ≤ 2*k) ∧ (b0+b1+eb+5 = 2*k → m ≤ 1 ∧ (if 1 ≤ b0 then 1 else 0) + (if 1 ≤ b1 then 1 else 0) + m ≤ 1)) : False := by have hd : d = 0 := by by_contra hn have h := hcutD (by omega) omega have hc0 : c0 = 0 := by by_contra hn have h := hrepC (by omega) omega have heq : b0+b1+eb+5 = 2*k := by by_contra hn have h := hcrit.1 (by omega) omega have hconnected := (hcrit.2 heq).2 have hb1 : 1 ≤ b1 := by omega rw [if_pos hb1] at hconnected have hm : m = 0 := by omega have hb0 : b0 = 0 := by by_contra hn have hb0pos : 1 ≤ b0 := by omega rw [if_pos hb0pos] at hconnected omega have ha4 : a = 4 := by omega obtain ⟨t, ht⟩ := hodd omega