boundary_clique_opposite_shore_count_impossible
The displayed small-block defect and separator counts are inconsistent.
Statement
theorem boundary_clique_opposite_shore_count_impossible
(a c : ℕ) (ha : 1 ≤ a) (hc : 1 ≤ c) (ha3 : a ≤ 3) (hc3 : c ≤ 3)
(hpair : 2 ≤ a → 2 ≤ c → a ≤ 2 ∧ c ≤ 2)
(hsep : 5 ≤ a+c) : False- Source
- OP-1957: arithmetic in the clique-block essential-edge classification; experiment 37117.
- Verified
- 22 Nov 2026
- Axioms
Quot.soundpropext
The proof, explained
The theorem is proved by contradiction through case analysis on whether a ≥ 2 and c ≥ 2. When both a ≥ 2 and c ≥ 2, the pairing hypothesis hpair forces both a ≤ 2 and c ≤ 2, so a + c ≤ 4, contradicting 5 ≤ a + c. If either variable is at most 1, the upper bounds a, c ≤ 3 likewise ensure that the sum a + c cannot exceed 4, contradicting 5 ≤ a + c in all remaining cases.
The subcase where 2 ≤ a and 2 ≤ c leads to a contradiction.
We perform case splits on whether 2 ≤ a and whether 2 ≤ c. When both 2 ≤ a and 2 ≤ c hold, applying the pairing hypothesis (hpair) yields a ≤ 2 and c ≤ 2. Together, these imply a + c ≤ 4, which contradicts the separator assumption 5 ≤ a + c (hsep). The Presburger arithmetic tactic (omega) detects this contradiction and closes the branch.
by_cases ha2 : 2 ≤ a · by_cases hc2 : 2 ≤ c · obtain ⟨h1,h2⟩ := hpair ha2 hc2 omega
The subcase where 2 ≤ a and c < 2 leads to a contradiction.
In the second subcase, 2 ≤ a holds but c < 2 (that is, c ≤ 1). Combining this with the upper bound a ≤ 3 (ha3) gives a + c ≤ 3 + 1 = 4, which contradicts 5 ≤ a + c. Linear integer arithmetic (omega) derives the contradiction and closes this goal.
· omegaThe case where a < 2 leads to a contradiction, completing the proof.
In the remaining case, a < 2 (that is, a ≤ 1). Combining this with the upper bound c ≤ 3 (hc3) gives a + c ≤ 1 + 3 = 4, which again contradicts 5 ≤ a + c. Linear integer arithmetic (omega) closes this final branch, establishing False.
· omega
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_clique_opposite_shore_count_impossible (a c : ℕ) (ha : 1 ≤ a) (hc : 1 ≤ c) (ha3 : a ≤ 3) (hc3 : c ≤ 3) (hpair : 2 ≤ a → 2 ≤ c → a ≤ 2 ∧ c ≤ 2) (hsep : 5 ≤ a+c) : False := by by_cases ha2 : 2 ≤ a · by_cases hc2 : 2 ≤ c · obtain ⟨h1,h2⟩ := hpair ha2 hc2 omega · omega · omega