op1957_large_shore_nonempty_B_pool_contradiction
For a positive B-only pool in the A-rich large-shore case, the displayed total, root-degree, representative-degree, separator and factor-criticality counts are inconsistent; no parity or B-representative inequality is required.
Statement
theorem op1957_large_shore_nonempty_B_pool_contradiction (k c m eb a b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (hm : 1 ≤ m) (ha : 3 ≤ a ∧ a ≤ 4) (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) (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 positive-barrier large-shore counting reduction
- Verified
- 29 Nov 2026
- Axioms
Quot.soundpropext- Used by 1
- boundary_five_odd_large_shore_B_only_positive_barrier_impossibleUnder the displayed five-by-odd partition, degree, separator and connected factor-critical block conditions, a positive barrier supported…
The proof, explained
The proof derives a contradiction by systematically eliminating the non-core counts d and c0, forcing the remaining parameters into a tight extremal equality, and then showing this violates factor-criticality connectivity. First, assuming d ≥ 1 or c0 ≥ 1 produces an arithmetic contradiction with the total count and degree bounds, establishing d = 0 and c0 = 0. Next, the first branch of the criticality condition forces the pool sum b0 + b1 + eb + 5 to equal exactly 2*k, which in turn forces b1 ≥ 1. Finally, substituting b1 ≥ 1 into the second criticality branch yields an impossible bound on m.
d = 0
Suppose, for contradiction, that d ≠ 0, so that 1 ≤ d. Then the separator cut inequality (`hcutD`) gives d + b1 + eb + c ≤ 2*k. Substituting the root-degree bound c ≥ a + b0 + c0 + eb + 2 (`hrooty`) into this inequality makes the left-hand side exceed the total vertex count 2*k (`htotal`), since eb ≥ m ≥ 1. Linear arithmetic (`omega`) detects this contradiction and concludes that d = 0.
have hd : d = 0 := by by_contra hn have h := hcutD (by omega) omega
c0 = 0
Suppose, for contradiction, that c0 ≠ 0, so that 1 ≤ c0. Then the representative-degree inequality (`hrepC`) gives b1 + eb + 4 ≤ c. Summing this with the root-degree bound a + b0 + c0 + eb + 2 ≤ c (`hrooty`) gives a + b0 + b1 + c0 + 2*eb + 6 ≤ 2*c ≤ 2*k. Comparing this with the total count equation (`htotal`, using d = 0) forces eb + 5 ≤ m, which contradicts m ≤ eb (`heb`). Linear arithmetic (`omega`) refutes this case, establishing c0 = 0.
have hc0 : c0 = 0 := by by_contra hn have h := hrepC (by omega) omega
b0 + b1 + eb + 5 = 2 * k
We already know b0 + b1 + eb + 5 ≤ 2*k (`hb`). If strict inequality held, the first clause of the factor-criticality condition (`hcrit.1`) would imply m + b0 + b1 + eb + 6 ≤ 2*k. But because d = 0 and c0 = 0, the total vertex count (`htotal`) yields 2*k = a + b0 + b1 + eb + 1 + m ≤ m + b0 + b1 + eb + 5 (using a ≤ 4 from `ha`), contradicting the lower bound. Thus the sum must equal 2*k.
have heq : b0+b1+eb+5 = 2*k := by by_contra hn have h := hcrit.1 (by omega) omega
1 ≤ b1
Since b0 + b1 + eb + 5 = 2*k and the total count gives 2*k = a + b0 + b1 + eb + 1 + m, we have a + m = 4. Because 3 ≤ a and 1 ≤ m, this requires a = 3 and m = 1. Then the root-degree bound gives 2*(b0 + eb + 5) ≤ 2*c ≤ 2*k = b0 + b1 + eb + 5, which implies b1 ≥ b0 + eb + 5 ≥ 5 ≥ 1. Linear arithmetic (`omega`) deduces 1 ≤ b1.
have hb1 : 1 ≤ b1 := by omega
False
With b0 + b1 + eb + 5 = 2*k, the second branch of the criticality hypothesis (`hcrit.2`) provides the connectivity condition (if 1 ≤ b0 then 1 else 0) + (if 1 ≤ b1 then 1 else 0) + m ≤ 1. Since 1 ≤ b1, the second conditional evaluates to 1 by `if_pos`. But then the sum is at least 1 + m ≥ 2 (as m ≥ 1), directly contradicting the upper bound of 1. Linear arithmetic (`omega`) closes the goal.
uses
if_poshave hconn := (hcrit.2 heq).2 rw [if_pos hb1] at hconn omega
if_pos- An `if-then-else` expression evaluates to its `then` branch whenever its condition holds.
- The proof relies on Presburger arithmetic automation (`omega`) to combine several simultaneous linear inequalities (the total vertex sum, root-degree inequality, representative-degree inequality, and separator cut bound) and derive the arithmetic contradictions.
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_large_shore_nonempty_B_pool_contradiction (k c m eb a b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (hm : 1 ≤ m) (ha : 3 ≤ a ∧ a ≤ 4) (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) (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 hb1 : 1 ≤ b1 := by omega have hconn := (hcrit.2 heq).2 rw [if_pos hb1] at hconn omega