five_odd_bridge_small_shore_arithmetic_no_criticality
For the displayed zero-separator small-shore scalar inequalities with no exceptional groups, the small-shore defect count follows without a B-block criticality inequality.
Statement
theorem five_odd_bridge_small_shore_arithmetic_no_criticality (k c m eb a b0 b1 b2 b3 c0 c1 c2 c3 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (ha : 1 ≤ a ∧ a ≤ 2) (hc1 : 1 ≤ c1) (he2 : (c2 = 0 ∧ b2 = 0) ∨ 1 ≤ c2) (he3 : (c3 = 0 ∧ b3 = 0) ∨ 1 ≤ c3) (hodd0 : Odd (a+b0+c0+d)) (hodd1 : Odd (b1+c1)) (hs : m + (if 1 ≤ c2 then 1 else 0) + (if 1 ≤ c3 then 1 else 0) + 1 ≤ c) (hb : b0+b1+b2+b3+eb+5 ≤ 2*k) (htotal : a+b0+b1+b2+b3+eb+c0+c1+c2+c3+d+m+ (if 1 ≤ c2 then 1 else 0) + (if 1 ≤ c3 then 1 else 0) = 2*k) (hsmall : c1+c2+c3 ≤ 3) (hrooty : a+b0+c0+b2+c2+b3+c3+eb+2 ≤ c) (hrepA : 2 ≤ a → c1+c2+c3 ≤ 2) (hrep0C : 1 ≤ c0 → b1+b2+b3+eb+c1+c2+c3+3 ≤ c) (hcutD : 1 ≤ d → d+b1+b2+b3+eb+c ≤ 2*k) (hrep1C : 2 ≤ c1 → a+b0+b2+b3+eb+c0+c2+c3+3 ≤ c) (hrep2C : 1 ≤ c2 → a+b0+b1+b3+eb+c0+c1+c3+3 ≤ c) (hrep3C : 1 ≤ c3 → a+b0+b1+b2+eb+c0+c1+c2+3 ≤ c) (hm : m=0) (heb0 : eb=0) (hb2 : b2=0) (hb3 : b3=0) (hc2 : c2=0) (hc3 : c3=0) : a=1 ∧ ((c1=3 ∧ c2+c3=0 ∧ b0+c0+b2+c2+b3+c3+eb+4=c) ∨ (c1=1 ∧ c2+c3=2 ∧ (1 ≤ c2 → c2=1 ∧ b2+c2=1) ∧ (1 ≤ c3 → c3=1 ∧ b3+c3=1)))
- Source
- OP-1957; forced-edge saturated barrier reduction.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem establishes that under the small-shore configuration with vanishing defect parameters (m = eb = b₂ = b₃ = c₂ = c₃ = 0), the remaining variables must satisfy a = 1, c₁ = 3, and b₀ + c₀ + 4 = c. The proof begins by substituting the known zero values into all hypotheses and the goal. Expressing the parity assumptions on a + b₀ + c₀ + d and b₁ + c₁ explicitly via witness equations allows simp_all to eliminate the second disjunctive branch. Finally, Lean's omega decision procedure solves the remaining system of linear arithmetic constraints to finish the proof.
The vanishing variables m, eb, b₂, b₃, c₂, and c₃ are eliminated by substituting zero.
The hypotheses hm, heb0, hb2, hb3, hc2, and hc3 assert that m = 0, eb = 0, b₂ = 0, b₃ = 0, c₂ = 0, and c₃ = 0. Repeated applications of subst replace each of these variables with 0 throughout all hypotheses and the goal.
subst m subst eb subst b2 subst b3 subst c2 subst c3
The oddness hypotheses are unpacked into explicit witness equations: a + b₀ + c₀ + d = 2 t₀ + 1 and b₁ + c₁ = 2 t₁ + 1.
The obtain tactic unpacks the existential definitions of the oddness hypotheses hodd0 and hodd1, introducing natural number witnesses t₀ and t₁ together with the parity equalities ht0 and ht1.
obtain ⟨t0,ht0⟩ := hodd0 obtain ⟨t1,ht1⟩ := hodd1
The goal simplifies to a = 1 ∧ c₁ = 3 ∧ b₀ + c₀ + 4 = c, and trivial zero terms in the hypotheses are simplified.
Since c₂ = 0 and c₃ = 0, the sum c₂ + c₃ = 0, which makes the second disjunct of the conclusion (which requires c₂ + c₃ = 2) false. Furthermore, conditional terms with conditions 1 ≤ c₂ and 1 ≤ c₃ simplify to 0. The simp_all tactic substitutes these known values, discards the false disjunctive branch, and reduces the goal to a = 1 ∧ c₁ = 3 ∧ b₀ + c₀ + 4 = c.
simp_allThe arithmetic constraints force a = 1, c₁ = 3, and b₀ + c₀ + 4 = c, completing the proof. automation
The remaining goal is solved by Presburger arithmetic: the omega decision procedure determines that the system of linear constraints—including the bounds c₁ ≤ 3, 1 ≤ a ≤ 2, the root inequality, the repair implications, the parity equations, and the total sum equation—forces a = 1, c₁ = 3, and b₀ + c₀ + 4 = c.
all_goals omega
- The deduction of the final values a = 1, c₁ = 3, and b₀ + c₀ + 4 = c is handled entirely by the omega decision procedure for linear integer arithmetic, without manual step-by-step bounding.
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 five_odd_bridge_small_shore_arithmetic_no_criticality (k c m eb a b0 b1 b2 b3 c0 c1 c2 c3 d : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (heb : m ≤ eb) (ha : 1 ≤ a ∧ a ≤ 2) (hc1 : 1 ≤ c1) (he2 : (c2 = 0 ∧ b2 = 0) ∨ 1 ≤ c2) (he3 : (c3 = 0 ∧ b3 = 0) ∨ 1 ≤ c3) (hodd0 : Odd (a+b0+c0+d)) (hodd1 : Odd (b1+c1)) (hs : m + (if 1 ≤ c2 then 1 else 0) + (if 1 ≤ c3 then 1 else 0) + 1 ≤ c) (hb : b0+b1+b2+b3+eb+5 ≤ 2*k) (htotal : a+b0+b1+b2+b3+eb+c0+c1+c2+c3+d+m+ (if 1 ≤ c2 then 1 else 0) + (if 1 ≤ c3 then 1 else 0) = 2*k) (hsmall : c1+c2+c3 ≤ 3) (hrooty : a+b0+c0+b2+c2+b3+c3+eb+2 ≤ c) (hrepA : 2 ≤ a → c1+c2+c3 ≤ 2) (hrep0C : 1 ≤ c0 → b1+b2+b3+eb+c1+c2+c3+3 ≤ c) (hcutD : 1 ≤ d → d+b1+b2+b3+eb+c ≤ 2*k) (hrep1C : 2 ≤ c1 → a+b0+b2+b3+eb+c0+c2+c3+3 ≤ c) (hrep2C : 1 ≤ c2 → a+b0+b1+b3+eb+c0+c1+c3+3 ≤ c) (hrep3C : 1 ≤ c3 → a+b0+b1+b2+eb+c0+c1+c2+3 ≤ c) (hm : m=0) (heb0 : eb=0) (hb2 : b2=0) (hb3 : b3=0) (hc2 : c2=0) (hc3 : c3=0) : a=1 ∧ ((c1=3 ∧ c2+c3=0 ∧ b0+c0+b2+c2+b3+c3+eb+4=c) ∨ (c1=1 ∧ c2+c3=2 ∧ (1 ≤ c2 → c2=1 ∧ b2+c2=1) ∧ (1 ≤ c3 → c3=1 ∧ b3+c3=1))) := by subst m subst eb subst b2 subst b3 subst c2 subst c3 obtain ⟨t0,ht0⟩ := hodd0 obtain ⟨t1,ht1⟩ := hodd1 simp_all all_goals omega