AFTD Auto-Formalizing Theoretical Domains

op1957_large_shore_nonempty_B_pool_contradiction

theoremverified

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

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.

  1. 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.

    lines 13–16

      have hd : d = 0 := by
        by_contra hn
        have h := hcutD (by omega)
        omega
  2. 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.

    lines 17–20

      have hc0 : c0 = 0 := by
        by_contra hn
        have h := hrepC (by omega)
        omega
  3. 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.

    lines 21–24

      have heq : b0+b1+eb+5 = 2*k := by
        by_contra hn
        have h := hcrit.1 (by omega)
        omega
  4. 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.

    line 25

      have hb1 : 1 ≤ b1 := by omega
  5. 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.

    lines 26–28

    uses if_pos

      have 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.

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

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
See it in the graphDiscuss this resultChallenge it