AFTD Auto-Formalizing Theoretical Domains

balanced_cut_four_odd_components_force_deficiency_three

theoremverified

With the stated extendibility, separator, degree and independence conditions, four odd components force maximum matching deficiency at least three on each side.

Statement

theorem balanced_cut_four_odd_components_force_deficiency_three
    (k : ℕ) (hk : 2 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (hext : is_k_extendable G k)
    (hsep : ∀ S P Q : Finset (Fin (4*k)), P.Nonempty → Q.Nonempty →
      Disjoint S P → Disjoint S Q → Disjoint P Q → S ∪ P ∪ Q = Finset.univ →
      (∀ u ∈ P, ∀ v ∈ Q, ¬ G.Adj u v) → 2*k ≤ S.card)
    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)
    (hind : ∀ U : Finset (Fin (4*k)),
      (∀ u ∈ U, ∀ v ∈ U, u ≠ v → ¬ G.Adj u v) → U.card ≤ k)
    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k)
    (M N : G.Subgraph) (hM : M.IsMatching) (hN : N.IsMatching)
    (hMC : M.verts ⊆ (C : Set (Fin (4*k))))
    (hNC : N.verts ⊆ ((C : Set (Fin (4*k)))ᶜ))
    (hmaxM : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k))) → T.edgeSet.ncard ≤ M.edgeSet.ncard)
    (hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin (4*k)))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard)
    (hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard) :
    M.edgeSet.ncard + 3 ≤ k ∧ N.edgeSet.ncard + 3 ≤ k
Source
Balanced-cut matching symmetry for OP-1957; https://arxiv.org/abs/2611.22690.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
Used by 2

The proof, explained

The theorem is proved by contradiction on the size of the maximum matching M inside the balanced cut C, then transferring the bound to N by symmetry. Assuming |M| ≥ k - 2, M contains a submatching T of size exactly k - 2. By a known odd-component bound for deficiency-two matchings across balanced cuts, such a matching forces the complement V \ C to induce at most two odd components, directly contradicting the hypothesis that there are at least four. Hence |M| ≤ k - 3, and since |M| = |N|, both sides have deficiency at least three.

  1. The maximum matchings on C and on its complement have equal size: |M| = |N|.

    By extendible_balanced_cut_matching_symmetry_of_independence, the assumptions that G is k-extendable, C has size 2k, and the independence number is at most k guarantee that the maximum matchings M supported on C and N supported on V \ C have equal cardinality.

    lines 18–20

    uses extendible_balanced_cut_matching_symmetry_of_independence

      set_option maxHeartbeats 4000000 in
        classical
        have heq := extendible_balanced_cut_matching_symmetry_of_independence k G hext hind C hcard M N hM hN hMC hNC hmaxM hmaxN
  2. If |M| + 3 > k, then C contains a matching T of size exactly k - 2.

    We assume for contradiction that |M| + 3 > k, which over the integers means |M| ≥ k - 2. By finite_matching_has_submatching_of_each_smaller_size, the matching M contains a submatching T with |T| = k - 2. Because T is a subgraph of M and all vertices of M lie in C, the vertex set of T also lies in C.

    lines 21–25

    uses finite_matching_has_submatching_of_each_smaller_size

        have hm : M.edgeSet.ncard + 3 ≤ k := by
          by_contra hn
          have hle : k-2 ≤ M.edgeSet.ncard := by omega
          obtain ⟨T,hT,hTM,hTcard⟩ := finite_matching_has_submatching_of_each_smaller_size G M hM (k-2) hle
          have hTC : T.verts ⊆ (C : Set (Fin (4*k))) := hTM.1.trans hMC
  3. The maximum matching on C satisfies |M| + 3 ≤ k.

    Because T is a matching on C of size k - 2 (so |T| + 2 = k), extendible_balanced_cut_matching_deficiency_two_odd_bound shows that the induced subgraph G[V \ C] can have at most 2 odd components. But hypothesis hodd asserts that G[V \ C] has at least 4 odd components, a contradiction. This refutes the assumption, establishing |M| + 3 ≤ k.

    lines 26–27

    uses extendible_balanced_cut_matching_deficiency_two_odd_bound

          have hb := extendible_balanced_cut_matching_deficiency_two_odd_bound k G hext hsep hdegree C hcard T hT hTC (by omega)
          omega
  4. Both matchings have deficiency at least three: |M| + 3 ≤ k and |N| + 3 ≤ k.

    Splitting the conjunction into its two goals, the first goal |M| + 3 ≤ k is the bound just proved, and the second goal |N| + 3 ≤ k follows immediately by substituting |M| = |N|.

    lines 28–30

        constructor
        · exact hm
        · omega
extendible_balanced_cut_matching_symmetry_of_independence
In a k-extendable graph on 4k vertices with independence number at most k, any two maximum matchings supported on opposite sides of a balanced cut of size 2k have the same cardinality.
finite_matching_has_submatching_of_each_smaller_size
In any finite graph, a matching of cardinality at least m contains a submatching of cardinality exactly m.
extendible_balanced_cut_matching_deficiency_two_odd_bound
In a k-extendable graph on 4k vertices satisfying the separator and minimum degree conditions, the existence of a matching on a balanced cut C of deficiency two (|T| + 2 = k) forces the induced subgraph on the complement of C to have at most 2 odd components.

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 balanced_cut_four_odd_components_force_deficiency_three    (k : ℕ) (hk : 2 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (hext : is_k_extendable G k)    (hsep : ∀ S P Q : Finset (Fin (4*k)), P.Nonempty → Q.Nonempty →      Disjoint S P → Disjoint S Q → Disjoint P Q → S ∪ P ∪ Q = Finset.univ →      (∀ u ∈ P, ∀ v ∈ Q, ¬ G.Adj u v) → 2*k ≤ S.card)    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)    (hind : ∀ U : Finset (Fin (4*k)),      (∀ u ∈ U, ∀ v ∈ U, u ≠ v → ¬ G.Adj u v) → U.card ≤ k)    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k)    (M N : G.Subgraph) (hM : M.IsMatching) (hN : N.IsMatching)    (hMC : M.verts ⊆ (C : Set (Fin (4*k))))    (hNC : N.verts ⊆ ((C : Set (Fin (4*k)))ᶜ))    (hmaxM : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k))) → T.edgeSet.ncard ≤ M.edgeSet.ncard)    (hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin (4*k)))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard)    (hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard) :    M.edgeSet.ncard + 3 ≤ k ∧ N.edgeSet.ncard + 3 ≤ k := by  set_option maxHeartbeats 4000000 in    classical    have heq := extendible_balanced_cut_matching_symmetry_of_independence k G hext hind C hcard M N hM hN hMC hNC hmaxM hmaxN    have hm : M.edgeSet.ncard + 3 ≤ k := by      by_contra hn      have hle : k-2 ≤ M.edgeSet.ncard := by omega      obtain ⟨T,hT,hTM,hTcard⟩ := finite_matching_has_submatching_of_each_smaller_size G M hM (k-2) hle      have hTC : T.verts ⊆ (C : Set (Fin (4*k))) := hTM.1.trans hMC      have hb := extendible_balanced_cut_matching_deficiency_two_odd_bound k G hext hsep hdegree C hcard T hT hTC (by omega)      omega    constructor    · exact hm    · omega
See it in the graphDiscuss this resultChallenge it