boundary_two_extra_shores_positive_barrier_count_impossible
The displayed nonnegative block counts, positive barrier size, residual size, two extra-shore witnesses and defect inequalities are inconsistent.
Statement
theorem boundary_two_extra_shores_positive_barrier_count_impossible
(k s a0 b0 c0 d0 a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 : ℕ) (hk : 5 ≤ k) (hs : 1 ≤ s)
(hs4 : s ≤ 4) (hx : 1 ≤ a0) (hy : 1 ≤ c1)
(htotal : a0+b0+c0+d0+a1+b1+c1+d1+a2+b2+c2+d2+a3+b3+c3+d3+s = 2*k)
(hwsize : s ≤ a3+b3+c3+d3+1)
(hA : a0+a1+a2+a3 ≤ 5)
(hB : b0+b1+b2+b3+5 ≤ 2*k)
(hC : c0+c1+c2+c3 ≤ 5)
(hD : d0+d1+d2+d3+5 ≤ 2*k)
(hxdef : a1+c1+d1+a2+c2+d2+a3+c3+d3 ≤ 3)
(hydef : a0+b0+c0+a2+b2+c2+a3+b3+c3 ≤ 3)
(hz : (1 ≤ a2 ∧ a0+c0+d0+a1+c1+d1+a3+c3+d3 ≤ 2) ∨
(1 ≤ b2 ∧ b0+c0+d0+b1+c1+d1+b3+c3+d3+8 ≤ 2*k) ∨
(1 ≤ c2 ∧ a0+b0+c0+a1+b1+c1+a3+b3+c3 ≤ 2) ∨
(1 ≤ d2 ∧ a0+b0+d0+a1+b1+d1+a3+b3+d3+8 ≤ 2*k))
(hw : (1 ≤ a3 ∧ a0+c0+d0+a1+c1+d1+a2+c2+d2 ≤ 2) ∨
(1 ≤ b3 ∧ b0+c0+d0+b1+c1+d1+b2+c2+d2+8 ≤ 2*k) ∨
(1 ≤ c3 ∧ a0+b0+c0+a1+b1+c1+a2+b2+c2 ≤ 2) ∨
(1 ≤ d3 ∧ a0+b0+d0+a1+b1+d1+a2+b2+d2+8 ≤ 2*k)) : False- Source
- OP-1957: nonclique four-block forced-bridge route; experiment 37135.
- Verified
- 22 Nov 2026
- Axioms
Quot.soundpropext- Used by 1
- boundary_five_blocks_two_extra_shores_impossibleIn the displayed degree-bounded four-block graph, a 2k-vertex residual cannot split into two endpoint shores with no cross edge except…
The proof, explained
The theorem establishes that the given system of block count bounds, residual size, and defect inequalities is inconsistent. The proof proceeds by exhaustive case analysis on the locations of the two extra-shore witnesses z and w. Each witness satisfies a four-way disjunction specifying which shore part (a, b, c, or d) it belongs to, yielding 4 × 4 = 16 subcases. In every subcase, the accumulated linear equalities and inequalities form an unsatisfiable system of Presburger arithmetic over ℕ, which is refuted automatically.
Each of the 16 configurations for the extra-shore witnesses z and w yields an unsatisfiable system of linear constraints. automation
We perform an exhaustive case split on the four-way disjunction for the witness z (hz) and the four-way disjunction for the witness w (hw). Each disjunction specifies whether the corresponding witness contributes to block type a, b, c, or d (with index 2 for z and index 3 for w) along with an upper bound on its defect. Chaining these splits produces 4 × 4 = 16 subcases. In each subcase, the linear constraints on the block counts, the total sum 2k (htotal), the barrier size s ∈ [1, 4] (hs, hs4), the global bounds (hA, hB, hC, hD), and the defect bounds (hxdef, hydef) form an inconsistent system over ℕ. The omega tactic automatically refutes each of the 16 branches using linear integer arithmetic.
rcases hz with hz | hz | hz | hz <;> rcases hw with hw | hw | hw | hw <;> omega
- All 16 subcases are discharged automatically by the omega Presburger arithmetic solver without detailing the specific linear combinations of inequalities that produce the contradiction in each branch.
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 boundary_two_extra_shores_positive_barrier_count_impossible (k s a0 b0 c0 d0 a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 : ℕ) (hk : 5 ≤ k) (hs : 1 ≤ s) (hs4 : s ≤ 4) (hx : 1 ≤ a0) (hy : 1 ≤ c1) (htotal : a0+b0+c0+d0+a1+b1+c1+d1+a2+b2+c2+d2+a3+b3+c3+d3+s = 2*k) (hwsize : s ≤ a3+b3+c3+d3+1) (hA : a0+a1+a2+a3 ≤ 5) (hB : b0+b1+b2+b3+5 ≤ 2*k) (hC : c0+c1+c2+c3 ≤ 5) (hD : d0+d1+d2+d3+5 ≤ 2*k) (hxdef : a1+c1+d1+a2+c2+d2+a3+c3+d3 ≤ 3) (hydef : a0+b0+c0+a2+b2+c2+a3+b3+c3 ≤ 3) (hz : (1 ≤ a2 ∧ a0+c0+d0+a1+c1+d1+a3+c3+d3 ≤ 2) ∨ (1 ≤ b2 ∧ b0+c0+d0+b1+c1+d1+b3+c3+d3+8 ≤ 2*k) ∨ (1 ≤ c2 ∧ a0+b0+c0+a1+b1+c1+a3+b3+c3 ≤ 2) ∨ (1 ≤ d2 ∧ a0+b0+d0+a1+b1+d1+a3+b3+d3+8 ≤ 2*k)) (hw : (1 ≤ a3 ∧ a0+c0+d0+a1+c1+d1+a2+c2+d2 ≤ 2) ∨ (1 ≤ b3 ∧ b0+c0+d0+b1+c1+d1+b2+c2+d2+8 ≤ 2*k) ∨ (1 ≤ c3 ∧ a0+b0+c0+a1+b1+c1+a2+b2+c2 ≤ 2) ∨ (1 ≤ d3 ∧ a0+b0+d0+a1+b1+d1+a2+b2+d2+8 ≤ 2*k)) : False := by rcases hz with hz | hz | hz | hz <;> rcases hw with hw | hw | hw | hw <;> omega