saturated_small_shore_three_c_vertices_pool_card_eq
In the first small-shore arithmetic branch, the displayed degree, separator, criticality and count inequalities force the pool vertex count eb to equal its group count m.
Statement
theorem saturated_small_shore_three_c_vertices_pool_card_eq (k c m eb b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (hroot : b0+c0+eb+4=c) (htotal : b0+b1+eb+c0+d+m+4=2*k) (hb : b0+b1+eb+5≤2*k) (hrep0 : 1≤c0 → b1+eb+6≤c) (hcut : 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)) : eb=m
- Source
- OP-1957: arithmetic reduction of the saturated positive-barrier branches.
- Verified
- 27 Nov 2026
- Axioms
Quot.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 theorem proves that the pool vertex count eb equals the group count m by first showing 1 ≤ d through a contradiction argument. Assuming d = 0, the repository condition forces c₀ = 0, and the two branches of the criticality hypothesis both produce linear arithmetic contradictions against the total sum and the bound c ≤ k. Once 1 ≤ d is established, the cut inequality bounds d + b₁ + eb + c by 2k, which, combined with the total sum equation rewritten using the root formula, forces eb ≤ m and therefore eb = m.
Assuming d < 1 for contradiction forces d = 0.
To show 1 ≤ d, we assume the negation ¬(1 ≤ d). Because d is a natural number, this immediately implies d = 0.
have hd : 1 ≤ d := by by_contra h have hz : d = 0 := by omega
Under the assumption d = 0, c₀ must also be 0.
Suppose for contradiction that c₀ ≠ 0, so 1 ≤ c₀. Then hypothesis hrep0 gives b₁ + eb + 6 ≤ c. From hroot, we have c = b₀ + c₀ + eb + 4. Substituting this and d = 0 into the total sum htotal yields c + b₁ + m = 2k. Since c ≤ k, we have 2c ≤ 2k = c + b₁ + m, so c ≤ b₁ + m. Combined with b₁ + eb + 6 ≤ c, this yields eb + 6 ≤ m, which contradicts m ≤ eb.
have hc0 : c0 = 0 := by by_contra hh have hrep := hrep0 (by omega) omega
The case b₀ + b₁ + eb + 5 < 2k is impossible when d = 0 and c₀ = 0.
If b₀ + b₁ + eb + 5 < 2k, the first branch of the criticality condition hcrit gives m + b₀ + b₁ + eb + 6 ≤ 2k. However, with d = 0 and c₀ = 0, the total sum htotal reduces to m + b₀ + b₁ + eb + 4 = 2k. These two statements together would imply 2k + 2 ≤ 2k, an impossibility.
by_cases hlt : b0+b1+eb+5 < 2*k · have hh := hcrit.1 hlt omega
The equality b₀ + b₁ + eb + 5 = 2k is also impossible, establishing 1 ≤ d.
Since the strict inequality failed and b₀ + b₁ + eb + 5 ≤ 2k holds, we must have b₀ + b₁ + eb + 5 = 2k. Comparing this with the total sum equation b₀ + b₁ + eb + m + 4 = 2k forces m = 1. The second branch of hcrit then bounds the indicator terms for 1 ≤ b₀ and 1 ≤ b₁ plus m by 1, which requires b₀ = 0 and b₁ = 0. With b₀ = c₀ = 0, hroot gives c = eb + 4, while b₀ = b₁ = 0 gives 2k = eb + 5. But c ≤ k implies 2c ≤ 2k, meaning 2(eb + 4) ≤ eb + 5, or eb + 3 ≤ 0, which is impossible in ℕ. Thus, all cases fail and we have 1 ≤ d.
· have heq : b0+b1+eb+5=2*k := by omega obtain ⟨hm,hs⟩ := hcrit.2 heq split_ifs at hs <;> omega
eb = m.
Applying the cut condition hcut to 1 ≤ d yields d + b₁ + eb + c ≤ 2k. Regrouping the total sum htotal as (b₀ + c₀ + eb + 4) + b₁ + d + m = 2k and substituting hroot reveals that c + b₁ + d + m = 2k. Comparing the two relations gives c + b₁ + d + eb ≤ c + b₁ + d + m, which cancels down to eb ≤ m. Combined with the initial assumption m ≤ eb, we conclude eb = m.
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_three_c_vertices_pool_card_eq (k c m eb b0 b1 c0 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (hroot : b0+c0+eb+4=c) (htotal : b0+b1+eb+c0+d+m+4=2*k) (hb : b0+b1+eb+5≤2*k) (hrep0 : 1≤c0 → b1+eb+6≤c) (hcut : 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)) : eb=m := by have hd : 1 ≤ d := by by_contra h have hz : d = 0 := by omega have hc0 : c0 = 0 := by by_contra hh have hrep := hrep0 (by omega) omega by_cases hlt : b0+b1+eb+5 < 2*k · have hh := hcrit.1 hlt omega · have heq : b0+b1+eb+5=2*k := by omega obtain ⟨hm,hs⟩ := hcrit.2 heq split_ifs at hs <;> omega have hh := hcut hd omega