AFTD Auto-Formalizing Theoretical Domains

five_odd_saturated_large_shore_aggregate_pattern

theoremverified

The displayed nonnegative aggregate component counts, endpoint budgets, degree bounds, separator inequalities and B-block odd-group inequalities force at least two C vertices outside the A-rich first component, assuming that component has three or four A vertices. The parameter m permits arbitrarily many additional odd B-only components.

Statement

theorem five_odd_saturated_large_shore_aggregate_pattern
    (k c m eb : ℕ) (g : Fin 4 → Fin 4 → ℕ)
    (hc : 7 ≤ c) (hkc : c ≤ k)
    (hEB : m ≤ eb)
    (hzero : ∀ j : Fin 4, j ≠ 0 → g j 0 = 0 ∧ g j 3 = 0)
    (hgroup0 : Odd (∑ b : Fin 4, g 0 b))
    (hgroup1 : Odd (∑ b : Fin 4, g 1 b))
    (hgroupE : ∀ j : Fin 4, j = 2 ∨ j = 3 →
      (g j 2 = 0 ∧ g j 1 = 0) ∨ 1 ≤ g j 2)
    (hroot : 3 ≤ g 0 0 ∧ g 0 0 ≤ 4 ∧ 1 ≤ g 1 2)
    (hcounts : let s := m + (if 1 ≤ g 2 2 then 1 else 0) + (if 1 ≤ g 3 2 then 1 else 0);
      let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];
      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);
      s+1 ≤ c ∧ s+1 ≤ k ∧ (∀ b, tot b ≤ sz b) ∧
      (∑ b : Fin 4, tot b) + s = 2*k ∧ g 1 2 + g 2 2 + g 3 2 ≤ 3 ∧
      (∑ j ∈ (Finset.univ : Finset (Fin 4)).erase 0, (g j 0 + g j 2 + g j 3)) ≤ 3 ∧
      (∑ j ∈ (Finset.univ : Finset (Fin 4)).erase 1, (g j 0 + g j 1 + g j 2)) + eb + 2 ≤ c)
    (hrep : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];
      let forbid : Fin 4 → Fin 4 := ![1,0,3,2];
      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);
      ∀ j b : Fin 4,
        (if (j = 0 ∧ b = 0) ∨ (j = 1 ∧ b = 2) then 2 else 1) ≤ g j b →
        (∑ t ∈ (Finset.univ : Finset (Fin 4)).erase (forbid b), (tot t - g j t)) + 3 ≤ sz b)
    (hcuts : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];
      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);
      (∀ j b : Fin 4, (b = 1 ∨ b = 3) → 1 ≤ g j b →
        g j b + (tot 1 - g j 1) + (tot 3 - g j 3) ≤ sz b) ∧
      (m > 0 → tot 1 + tot 3 ≤ sz 1) ∧
      (∀ j : Fin 4,
        (1 ≤ g j 0 - (if j = 0 then 1 else 0) →
          g j 0 - (if j = 0 then 1 else 0) + (tot 3 - g j 3) ≤ 5) ∧
        (1 ≤ g j 2 - (if j = 1 then 1 else 0) →
          g j 2 - (if j = 1 then 1 else 0) + (tot 1 - g j 1) ≤ c) ∧
        (1 ≤ tot 0 - g j 0 - (if j = 1 then 1 else 0) →
          g j 0 + g j 2 + g j 3 + (tot 0 - g j 0 - (if j = 1 then 1 else 0)) ≤ 5 + (tot 1 - g j 1)) ∧
        (1 ≤ tot 2 - g j 2 - (if j = 0 then 1 else 0) →
          g j 0 + g j 1 + g j 2 + (tot 2 - g j 2 - (if j = 0 then 1 else 0)) ≤ c + (tot 3 - g j 3))))
    (hcrit : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];
      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);
      let groups : Fin 4 → ℕ := fun b => (∑ j : Fin 4, if 1 ≤ g j b then 1 else 0) + (if b = 1 then m else 0);
      (tot 1 < sz 1 → m + tot 1 + 1 ≤ sz 1) ∧
        (tot 1 = sz 1 → m ≤ 1 ∧ groups 1 ≤ 1))
    (hconnected : (g 0 0 = 1 → g 0 2 + g 0 3 = 0 → g 0 1 = 0) ∧
      (g 1 2 = 1 → g 1 0 + g 1 1 = 0 → g 1 3 = 0)) :
    2 ≤ g 1 2 + g 2 2 + g 3 2
Source
OP-1957: unbounded aggregate integer reduction for the saturated five-by-odd large-shore branch.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
Used by 2

The proof, explained

The theorem establishes that under the aggregate component model and separator constraints, at least two C-vertices must lie outside component 0 (i.e., g 1 2 + g 2 2 + g 3 2 ≥ 2). The proof proceeds by contradiction: assuming the sum is at most 1, the assumption 1 ≤ g 1 2 forces g 1 2 = 1 and g 2 2 = g 3 2 = 0. Combined with group constraints and degree bounds, this eliminates almost all matrix entries outside components 0 and 1, reducing the system to five integer variables. All constraints simplify directly into the premises of `five_odd_saturated_large_shore_arithmetic_core`, which proves that no such integer configuration exists, deriving a contradiction.

  1. It suffices to derive a contradiction assuming g 1 2 + g 2 2 + g 3 2 < 2.

    We proceed by contradiction (`by_contra hn`), negating the goal 2 ≤ g 1 2 + g 2 2 + g 3 2 to obtain the hypothesis g 1 2 + g 2 2 + g 3 2 < 2.

    lines 48–49

      classical
      by_contra hn
  2. The C-vertex counts outside component 0 are uniquely determined: g 1 2 = 1, g 2 2 = 0, and g 3 2 = 0.

    From the root assumption `hroot`, we have 1 ≤ g 1 2. Combined with the contradictory assumption g 1 2 + g 2 2 + g 3 2 < 2 and nonnegativity of the counts, linear integer arithmetic (`omega`) forces g 1 2 = 1 and g 2 2 = g 3 2 = 0.

    lines 50–52

      have hc1 : g 1 2 = 1 := by omega
      have hc2 : g 2 2 = 0 := by omega
      have hc3 : g 3 2 = 0 := by omega
  3. Components 2 and 3 have no B vertices: g 2 1 = 0 and g 3 1 = 0.

    Hypothesis `hgroupE` states that for j = 2 and j = 3, either (g j 2 = 0 ∧ g j 1 = 0) or 1 ≤ g j 2. Applying this with `Or.inl` for j = 2 and `Or.inr` for j = 3, the second branch is impossible because g 2 2 = 0 and g 3 2 = 0, which leaves the first branch and establishes g 2 1 = 0 and g 3 1 = 0.

    lines 53–60

    uses Or.inl, Or.inr

      have hb2 : g 2 1 = 0 := by
        rcases hgroupE 2 (Or.inl rfl) with h | h
        · exact h.2
        · omega
      have hb3 : g 3 1 = 0 := by
        rcases hgroupE 3 (Or.inr rfl) with h | h
        · exact h.2
        · omega
  4. Non-root components have no A or D vertices: g j 0 = 0 and g j 3 = 0 for each j ∈ {1, 2, 3}.

    Hypothesis `hzero` states that whenever j ≠ 0, both g j 0 = 0 and g j 3 = 0. We evaluate this directly for j = 1, 2, 3.

    lines 61–66

      have hz10 := (hzero 1 (by decide)).1
      have hz20 := (hzero 2 (by decide)).1
      have hz30 := (hzero 3 (by decide)).1
      have hz13 := (hzero 1 (by decide)).2
      have hz23 := (hzero 2 (by decide)).2
      have hz33 := (hzero 3 (by decide)).2
  5. The erased index sets univ ∖ {0}, univ ∖ {1}, and univ ∖ {3} evaluate to {1, 2, 3}, {0, 2, 3}, and {0, 1, 2} respectively.

    Direct finite-set computation (`by decide`) determines the remaining index sets when removing single elements from Fin 4.

    lines 67–69

      have e0 : (Finset.univ : Finset (Fin 4)).erase 0 = {1,2,3} := by decide
      have e1 : (Finset.univ : Finset (Fin 4)).erase 1 = {0,2,3} := by decide
      have e3 : (Finset.univ : Finset (Fin 4)).erase 3 = {0,1,2} := by decide
  6. The A-count in component 0 satisfies 3 ≤ g 0 0 ≤ 4, and the total vertex count of component 0 is odd: Odd (g 0 0 + g 0 1 + g 0 2 + g 0 3).

    We extract the bounds on g 0 0 from `hroot`, and expand the sum in `hgroup0` using `Fin.sum_univ_four` to conclude that the sum across row 0 is odd.

    lines 70–72

    uses Fin.sum_univ_four

      have ha := hroot
      have ho : Odd (g 0 0 + g 0 1 + g 0 2 + g 0 3) := by
        simpa [Fin.sum_univ_four] using hgroup0
  7. The global sum identity simplifies to g 0 0 + g 0 1 + g 1 1 + eb + g 0 2 + 1 + g 0 3 + m = 2*k.

    From `hcounts`, the sum of all column totals plus s equals 2*k. Expanding the summation via `Fin.sum_univ_four` and substituting the known vanishing entries, g 1 2 = 1, and s = m, linear arithmetic simplifies the relation to the stated equality.

    lines 73–76

    uses Fin.sum_univ_four

      have ht : g 0 0 + g 0 1 + g 1 1 + eb + g 0 2 + 1 + g 0 3 + m = 2*k := by
        have hh := hcounts.2.2.2.1
        simp [Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh
        omega
  8. The B-block total budget bound simplifies to g 0 1 + g 1 1 + eb + 5 ≤ 2*k.

    From `hcounts`, column total tot 1 ≤ sz 1 = 2*k - 5. Expanding tot 1 = (∑ j, g j 1) + eb using `Fin.sum_univ_four` and substituting g 2 1 = g 3 1 = 0 yields g 0 1 + g 1 1 + eb + 5 ≤ 2*k.

    lines 77–80

    uses Fin.sum_univ_four

      have hb : g 0 1 + g 1 1 + eb + 5 ≤ 2*k := by
        have hh := hcounts.2.2.1 (1 : Fin 4)
        simp [Fin.sum_univ_four, hb2,hb3] at hh
        omega
  9. The rootshore separator inequality simplifies to g 0 0 + g 0 1 + g 0 2 + eb + 2 ≤ c.

    From `hcounts`, the sum of non-component-1 vertices across types 0, 1, 2 plus eb + 2 is at most c. Expanding over the erased index set {0, 2, 3} and substituting the known vanishing values for components 2 and 3 leaves only component 0 entries.

    lines 81–84

    uses Fin.sum_univ_four

      have hry : g 0 0 + g 0 1 + g 0 2 + eb + 2 ≤ c := by
        have hh := hcounts.2.2.2.2.2.2
        simp [e1, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh
        omega
  10. If 1 ≤ g 0 1, then g 1 1 + eb + 9 ≤ 2*k.

    We specialize the representative inequality `hrep` to component j = 0 and type b = 1. Expanding the sums outside the forbidden type forbid(1) = 0 using `Fin.sum_univ_four` and simplifying with the known vanishing matrix entries yields the bound.

    lines 85–90

    uses Fin.sum_univ_four

      have hrb : 1 ≤ g 0 1 → g 1 1 + eb + 9 ≤ 2*k := by
        intro h
        have hh := hrep 0 1 (by simpa using h)
        dsimp at hh
        simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh
        omega
  11. If 1 ≤ g 0 2, then g 1 1 + eb + 4 ≤ c.

    We specialize `hrep` to component j = 0 and type b = 2. Expanding the sum outside forbid(2) = 3 using `Fin.sum_univ_four` and simplifying gives g 1 1 + eb + 4 ≤ c.

    lines 91–96

    uses Fin.sum_univ_four

      have hrc : 1 ≤ g 0 2 → g 1 1 + eb + 4 ≤ c := by
        intro h
        have hh := hrep 0 2 (by simpa using h)
        dsimp at hh
        simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh
        omega
  12. If 1 ≤ g 0 3, then g 0 3 + g 1 1 + eb + c ≤ 2*k.

    We instantiate the cut inequality `hcuts` at component 0 and type 3 (using `Or.inr` to select b = 3). Expanding with `Fin.sum_univ_four` and substituting the known zeros reduces the inequality to g 0 3 + g 1 1 + eb + c ≤ 2*k.

    lines 97–102

    uses Fin.sum_univ_four, Or.inr

      have hcd : 1 ≤ g 0 3 → g 0 3 + g 1 1 + eb + c ≤ 2*k := by
        intro h
        have hh := hcuts.1 0 3 (Or.inr rfl) h
        dsimp at hh
        simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh
        omega
  13. The critical budget dichotomy holds for the B-block: if g 0 1 + g 1 1 + eb + 5 < 2*k, then m + g 0 1 + g 1 1 + eb + 6 ≤ 2*k; and if equality holds, then m ≤ 1 and (if 1 ≤ g 0 1 then 1 else 0) + (if 1 ≤ g 1 1 then 1 else 0) + m ≤ 1.

    We split into two goals (`constructor`) corresponding to the two implications of `hcrit`. Expanding the sums in the definition of tot 1 and groups 1 with `Fin.sum_univ_four` and substituting g 2 1 = g 3 1 = 0 reduces both cases to the required inequalities.

    lines 103–118

    uses Fin.sum_univ_four

      have hcrit' : (g 0 1 + g 1 1 + eb + 5 < 2*k → m + g 0 1 + g 1 1 + eb + 6 ≤ 2*k) ∧
        (g 0 1 + g 1 1 + eb + 5 = 2*k → m ≤ 1 ∧
          (if 1 ≤ g 0 1 then 1 else 0) + (if 1 ≤ g 1 1 then 1 else 0) + m ≤ 1) := by
        constructor
        · intro h
          have hh := hcrit.1
          simp [Fin.sum_univ_four, hb2,hb3] at hh
          have hh' := hh (by omega)
          omega
        · intro h
          have hh := hcrit.2
          dsimp at hh
          simp only [Fin.sum_univ_four] at hh
          simp [Fin.sum_univ_four, hb2,hb3] at hh
          have hh' := hh (by omega)
          exact hh'
  14. A contradiction is reached, completing the proof.

    We invoke the core arithmetic lemma `five_odd_saturated_large_shore_arithmetic_core` with parameters k, c, m, eb and variables a = g 0 0, b0 = g 0 1, b1 = g 1 1, c0 = g 0 2, and d = g 0 3. All premises have been verified by the preceding steps, and the lemma concludes False.

    lines 119–120

    uses five_odd_saturated_large_shore_arithmetic_core

      exact five_odd_saturated_large_shore_arithmetic_core k c m eb (g 0 0) (g 0 1) (g 1 1)
        (g 0 2) (g 0 3) hc hkc hEB ⟨ha.1,ha.2.1⟩ ho hb ht hry hrb hrc hcd hcrit'
Fin.sum_univ_four
In an additive commutative monoid, a summation over the four elements of Fin 4 expands as f 0 + f 1 + f 2 + f 3.
Or.inl
Injects a proof of proposition a into a proof of the disjunction a ∨ b.
Or.inr
Injects a proof of proposition b into a proof of the disjunction a ∨ b.
five_odd_saturated_large_shore_arithmetic_core
States that no tuple of natural numbers (k, c, m, eb, a, b0, b1, c0, d) can simultaneously satisfy the aggregate size bounds, parity constraints, representative separator inequalities, cut inequalities, and critical budget dichotomy.

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

set_option maxHeartbeats 3000000theorem five_odd_saturated_large_shore_aggregate_pattern    (k c m eb : ℕ) (g : Fin 4 → Fin 4 → ℕ)    (hc : 7 ≤ c) (hkc : c ≤ k)    (hEB : m ≤ eb)    (hzero : ∀ j : Fin 4, j ≠ 0 → g j 0 = 0 ∧ g j 3 = 0)    (hgroup0 : Odd (∑ b : Fin 4, g 0 b))    (hgroup1 : Odd (∑ b : Fin 4, g 1 b))    (hgroupE : ∀ j : Fin 4, j = 2 ∨ j = 3 →      (g j 2 = 0 ∧ g j 1 = 0) ∨ 1 ≤ g j 2)    (hroot : 3 ≤ g 0 0 ∧ g 0 0 ≤ 4 ∧ 1 ≤ g 1 2)    (hcounts : let s := m + (if 1 ≤ g 2 2 then 1 else 0) + (if 1 ≤ g 3 2 then 1 else 0);      let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);      s+1 ≤ c ∧ s+1 ≤ k ∧ (∀ b, tot b ≤ sz b) ∧      (∑ b : Fin 4, tot b) + s = 2*k ∧ g 1 2 + g 2 2 + g 3 2 ≤ 3 ∧      (∑ j ∈ (Finset.univ : Finset (Fin 4)).erase 0, (g j 0 + g j 2 + g j 3)) ≤ 3 ∧      (∑ j ∈ (Finset.univ : Finset (Fin 4)).erase 1, (g j 0 + g j 1 + g j 2)) + eb + 2 ≤ c)    (hrep : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];      let forbid : Fin 4 → Fin 4 := ![1,0,3,2];      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);      ∀ j b : Fin 4,        (if (j = 0 ∧ b = 0) ∨ (j = 1 ∧ b = 2) then 2 else 1) ≤ g j b →        (∑ t ∈ (Finset.univ : Finset (Fin 4)).erase (forbid b), (tot t - g j t)) + 3 ≤ sz b)    (hcuts : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);      (∀ j b : Fin 4, (b = 1 ∨ b = 3) → 1 ≤ g j b →        g j b + (tot 1 - g j 1) + (tot 3 - g j 3) ≤ sz b) ∧      (m > 0 → tot 1 + tot 3 ≤ sz 1) ∧      (∀ j : Fin 4,        (1 ≤ g j 0 - (if j = 0 then 1 else 0) →          g j 0 - (if j = 0 then 1 else 0) + (tot 3 - g j 3) ≤ 5) ∧        (1 ≤ g j 2 - (if j = 1 then 1 else 0) →          g j 2 - (if j = 1 then 1 else 0) + (tot 1 - g j 1) ≤ c) ∧        (1 ≤ tot 0 - g j 0 - (if j = 1 then 1 else 0) →          g j 0 + g j 2 + g j 3 + (tot 0 - g j 0 - (if j = 1 then 1 else 0)) ≤ 5 + (tot 1 - g j 1)) ∧        (1 ≤ tot 2 - g j 2 - (if j = 0 then 1 else 0) →          g j 0 + g j 1 + g j 2 + (tot 2 - g j 2 - (if j = 0 then 1 else 0)) ≤ c + (tot 3 - g j 3))))    (hcrit : let sz : Fin 4 → ℕ := ![5, 2*k-5, c, 2*k-c];      let tot : Fin 4 → ℕ := fun b => (∑ j : Fin 4, g j b) + (if b = 1 then eb else 0);      let groups : Fin 4 → ℕ := fun b => (∑ j : Fin 4, if 1 ≤ g j b then 1 else 0) + (if b = 1 then m else 0);      (tot 1 < sz 1 → m + tot 1 + 1 ≤ sz 1) ∧        (tot 1 = sz 1 → m ≤ 1 ∧ groups 1 ≤ 1))    (hconnected : (g 0 0 = 1 → g 0 2 + g 0 3 = 0 → g 0 1 = 0) ∧      (g 1 2 = 1 → g 1 0 + g 1 1 = 0 → g 1 3 = 0)) :    2 ≤ g 1 2 + g 2 2 + g 3 2 := by  classical  by_contra hn  have hc1 : g 1 2 = 1 := by omega  have hc2 : g 2 2 = 0 := by omega  have hc3 : g 3 2 = 0 := by omega  have hb2 : g 2 1 = 0 := by    rcases hgroupE 2 (Or.inl rfl) with h | h    · exact h.2    · omega  have hb3 : g 3 1 = 0 := by    rcases hgroupE 3 (Or.inr rfl) with h | h    · exact h.2    · omega  have hz10 := (hzero 1 (by decide)).1  have hz20 := (hzero 2 (by decide)).1  have hz30 := (hzero 3 (by decide)).1  have hz13 := (hzero 1 (by decide)).2  have hz23 := (hzero 2 (by decide)).2  have hz33 := (hzero 3 (by decide)).2  have e0 : (Finset.univ : Finset (Fin 4)).erase 0 = {1,2,3} := by decide  have e1 : (Finset.univ : Finset (Fin 4)).erase 1 = {0,2,3} := by decide  have e3 : (Finset.univ : Finset (Fin 4)).erase 3 = {0,1,2} := by decide  have ha := hroot  have ho : Odd (g 0 0 + g 0 1 + g 0 2 + g 0 3) := by    simpa [Fin.sum_univ_four] using hgroup0  have ht : g 0 0 + g 0 1 + g 1 1 + eb + g 0 2 + 1 + g 0 3 + m = 2*k := by    have hh := hcounts.2.2.2.1    simp [Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh    omega  have hb : g 0 1 + g 1 1 + eb + 5 ≤ 2*k := by    have hh := hcounts.2.2.1 (1 : Fin 4)    simp [Fin.sum_univ_four, hb2,hb3] at hh    omega  have hry : g 0 0 + g 0 1 + g 0 2 + eb + 2 ≤ c := by    have hh := hcounts.2.2.2.2.2.2    simp [e1, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh    omega  have hrb : 1 ≤ g 0 1 → g 1 1 + eb + 9 ≤ 2*k := by    intro h    have hh := hrep 0 1 (by simpa using h)    dsimp at hh    simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh    omega  have hrc : 1 ≤ g 0 2 → g 1 1 + eb + 4 ≤ c := by    intro h    have hh := hrep 0 2 (by simpa using h)    dsimp at hh    simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh    omega  have hcd : 1 ≤ g 0 3 → g 0 3 + g 1 1 + eb + c ≤ 2*k := by    intro h    have hh := hcuts.1 0 3 (Or.inr rfl) h    dsimp at hh    simp [e0, e1, e3, Fin.sum_univ_four, hc1,hc2,hc3,hb2,hb3,hz10,hz20,hz30,hz13,hz23,hz33] at hh    omega  have hcrit' : (g 0 1 + g 1 1 + eb + 5 < 2*k → m + g 0 1 + g 1 1 + eb + 6 ≤ 2*k) ∧    (g 0 1 + g 1 1 + eb + 5 = 2*k → m ≤ 1 ∧      (if 1 ≤ g 0 1 then 1 else 0) + (if 1 ≤ g 1 1 then 1 else 0) + m ≤ 1) := by    constructor    · intro h      have hh := hcrit.1      simp [Fin.sum_univ_four, hb2,hb3] at hh      have hh' := hh (by omega)      omega    · intro h      have hh := hcrit.2      dsimp at hh      simp only [Fin.sum_univ_four] at hh      simp [Fin.sum_univ_four, hb2,hb3] at hh      have hh' := hh (by omega)      exact hh'  exact five_odd_saturated_large_shore_arithmetic_core k c m eb (g 0 0) (g 0 1) (g 1 1)    (g 0 2) (g 0 3) hc hkc hEB ⟨ha.1,ha.2.1⟩ ho hb ht hry hrb hrc hcd hcrit'
See it in the graphDiscuss this resultChallenge it