saturated_small_shore_two_exceptional_singletons_pool_card_eq
In the second small-shore arithmetic branch, the displayed total, representative, separator and size inequalities force the pool vertex count eb to equal its group count m, and the second-shore B count b1 to vanish.
Statement
theorem saturated_small_shore_two_exceptional_singletons_pool_card_eq (k c m eb b0 b1 c0 d : ℕ)
(hkc : c ≤ k) (heb : m ≤ eb)
(htotal : b0+b1+eb+c0+d+m+6=2*k)
(hrep : b0+b1+eb+c0+6≤c)
(hcut : 1≤d → d+b1+eb+c≤2*k) : eb=m ∧ b1=0- Source
- OP-1957: arithmetic reduction of the saturated positive-barrier branches.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- saturated_positive_small_shore_forces_two_singleton_groupsUnder the displayed small-shore count conditions, a positive barrier, and the implication that a singleton pool has no groups, the B-only…
The proof, explained
The proof proceeds by linear integer arithmetic. It first establishes 1 ≤ d by contradiction, since d = 0 would force k ≤ m while the representative inequality guarantees m + 6 ≤ k. Applying this fact activates the conditional cut inequality d + b₁ + eb + c ≤ 2k, which when compared to the total count equation forces b₁ + eb ≤ m; together with m ≤ eb, this forces eb = m and b₁ = 0.
1 ≤ d
Suppose, for contradiction, that d < 1, which means d = 0 for natural numbers. Substituting d = 0 into the total count identity gives 2k = (b₀ + b₁ + eb + c₀ + 6) + m ≤ c + m ≤ k + m, which implies k ≤ m. On the other hand, combining m ≤ eb with the representative bound yields m + 6 ≤ eb + 6 ≤ c ≤ k, a contradiction since m + 6 ≤ m is impossible. Linear integer arithmetic (`omega`) detects this contradiction and closes the subproof.
have hd : 1≤d := by by_contra h omega
eb = m ∧ b₁ = 0
Specializing the conditional cut inequality `hcut` with the established fact 1 ≤ d yields d + b₁ + eb + c ≤ 2k. Comparing this upper bound against the total sum b₀ + b₁ + eb + c₀ + d + m + 6 = 2k implies c ≤ b₀ + c₀ + m + 6. Combining this with the representative lower bound b₀ + b₁ + eb + c₀ + 6 ≤ c cancels the common terms b₀ + c₀ + 6 to force b₁ + eb ≤ m. Since m ≤ eb and b₁ ≥ 0, this sandwich forces b₁ = 0 and eb = m. Linear integer arithmetic (`omega`) verifies these bounds and closes the goal.
have hh := hcut hd 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 saturated_small_shore_two_exceptional_singletons_pool_card_eq (k c m eb b0 b1 c0 d : ℕ) (hkc : c ≤ k) (heb : m ≤ eb) (htotal : b0+b1+eb+c0+d+m+6=2*k) (hrep : b0+b1+eb+c0+6≤c) (hcut : 1≤d → d+b1+eb+c≤2*k) : eb=m ∧ b1=0 := by have hd : 1≤d := by by_contra h omega have hh := hcut hd omega