AFTD Auto-Formalizing Theoretical Domains

minimally_k_extendable_uniform_surplus_three_degree_bound

theoremverified

For j≥8 and j≤k, every minimally k-extendable graph on 2k+2j vertices has minimum degree at most 2k+j−4.

Statement

theorem minimally_k_extendable_uniform_surplus_three_degree_bound
    (k j : ℕ) (hj : 8 ≤ j) (hjk : j ≤ k)
    (G : SimpleGraph (Fin (2*k+2*j))) [DecidableRel G.Adj]
    (hmin : is_minimally_k_extendable G k) : G.minDegree ≤ 2*k+j-4
Source
OP-1957: combine the even and odd surplus-three bounds. Not yet Lean-proved.
Verified
22 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3

The proof, explained

The proof proceeds by case analysis on the parity of j. If j is even, the bound follows directly from the previously proved theorem for even surplus. If j is odd, the condition j ≥ 8 implies j ≥ 9, and the result follows from the corresponding theorem for odd surplus.

  1. The minimum degree bound holds when j is even.

    We split into cases based on whether j is even or odd via `Nat.even_or_odd`. When j is even, the bound G.minDegree ≤ 2k+j-4 follows directly by applying the specialized theorem for even surplus, `minimally_k_extendable_even_j_surplus_three_degree_bound`, using the hypotheses 8 ≤ j and j ≤ k.

    lines 5–6

    uses Nat.even_or_odd, minimally_k_extendable_even_j_surplus_three_degree_bound

      obtain heven | hodd := Nat.even_or_odd j
      · exact minimally_k_extendable_even_j_surplus_three_degree_bound k j hj heven hjk G hmin
  2. The minimum degree bound holds when j is odd, completing the proof.

    When j is odd, we express it as j = 2m + 1 for some natural number m. Because 2m + 1 ≥ 8 and 2m + 1 is odd, linear integer arithmetic (`omega`) establishes that 9 ≤ 2m + 1. We then invoke `minimally_k_extendable_odd_j_surplus_three_degree_bound` with parameter 2m + 1 and lower bound 9 ≤ 2m + 1 to conclude G.minDegree ≤ 2k+j-4.

    lines 7–9

    uses minimally_k_extendable_odd_j_surplus_three_degree_bound

      · obtain ⟨m, rfl⟩ := hodd
        have hj9 : 9 ≤ 2 * m + 1 := by omega
        exact minimally_k_extendable_odd_j_surplus_three_degree_bound k (2 * m + 1) hj9 ⟨m, rfl⟩ hjk G hmin
Nat.even_or_odd
Every natural number is either even or odd.
minimally_k_extendable_even_j_surplus_three_degree_bound
For any even natural number j satisfying 8 ≤ j ≤ k, every minimally k-extendable graph on 2k+2j vertices has minimum degree at most 2k+j-4.
minimally_k_extendable_odd_j_surplus_three_degree_bound
For any odd natural number j satisfying 9 ≤ j ≤ k, every minimally k-extendable graph on 2k+2j vertices has minimum degree at most 2k+j-4.

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 minimally_k_extendable_uniform_surplus_three_degree_bound    (k j : ℕ) (hj : 8 ≤ j) (hjk : j ≤ k)    (G : SimpleGraph (Fin (2*k+2*j))) [DecidableRel G.Adj]    (hmin : is_minimally_k_extendable G k) : G.minDegree ≤ 2*k+j-4 := by  obtain heven | hodd := Nat.even_or_odd j  · exact minimally_k_extendable_even_j_surplus_three_degree_bound k j hj heven hjk G hmin  · obtain ⟨m, rfl⟩ := hodd    have hj9 : 9 ≤ 2 * m + 1 := by omega    exact minimally_k_extendable_odd_j_surplus_three_degree_bound k (2 * m + 1) hj9 ⟨m, rfl⟩ hjk G hmin
See it in the graphDiscuss this resultChallenge it