AFTD Auto-Formalizing Theoretical Domains

extendible_high_degree_balanced_cut_odd_bound_no_separator

theoremverified

In the displayed high-degree extendible graph with independence bound k, every balanced half has at most two odd components, with no separate separator assumption.

Statement

theorem extendible_high_degree_balanced_cut_odd_bound_no_separator
    (k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (hext : is_k_extendable G k)
    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)
    (hind : ∀ I : Finset (Fin (4*k)),
      (∀ x ∈ I, ∀ y ∈ I, x ≠ y → ¬ G.Adj x y) → I.card ≤ k)
    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k) :
    (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 2
Source
Balanced-cut reduction for OP-1957; https://arxiv.org/abs/1011.3384.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6

The proof, explained

To bound the odd components of the induced subgraph on the complement R = Cᶜ of a balanced cut C in a k-extendable graph on 4k vertices, the proof selects maximum matchings M on C and N on R. By symmetry and deficiency theorems for high-degree extendible graphs, M and N have equal size with deficiency at most 1, so |N| ≥ k - 1. Consequently, N saturates at least 2k - 2 of the 2k vertices in R, leaving at most 2 vertices unmatched. Because every odd component of an induced subgraph must contain at least one vertex not covered by any matching on that subgraph, G[Cᶜ] can have at most 2 odd components.

  1. The complement R = Cᶜ has size 2k and coincides with Cᶜ as a set of vertices.

    Define R as the complement Cᶜ in the (4k)-element vertex set. Using the complement cardinality formula (Finset.card_compl) and the fact that Fin (4*k) has size 4k (Fintype.card_fin), linear arithmetic gives |R| = 4k - 2k = 2k. Extensionality confirms that R as a set is identical to Cᶜ.

    lines 9–17

    uses Finset.card_compl, Fintype.card_fin

      set_option maxHeartbeats 4000000 in
        classical
        let R : Finset (Fin (4*k)) := Cᶜ
        have hRcard : R.card = 2*k := by
          have hh := Finset.card_compl C
          simp only [Fintype.card_fin] at hh
          dsimp [R]
          omega
        have hRset : (R : Set (Fin (4*k))) = (C : Set (Fin (4*k)))ᶜ := by ext x; simp [R]
  2. There exist maximum matchings M supported on C and N supported on R = Cᶜ.

    By finite_subset_has_maximum_matching, there exists a maximum matching M with vertices in C, and a maximum matching N with vertices in R. Identifying R with Cᶜ shows that N is supported on Cᶜ and is maximal among all matchings on Cᶜ.

    lines 18–22

    uses finite_subset_has_maximum_matching

        obtain ⟨M,hM,hMC,hmaxM⟩ := finite_subset_has_maximum_matching G C
        obtain ⟨N,hN,hNR,hmaxNR⟩ := finite_subset_has_maximum_matching G R
        have hNC : N.verts ⊆ (C : Set (Fin (4*k)))ᶜ := by simpa [hRset] using hNR
        have hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k)))ᶜ → T.edgeSet.ncard ≤ N.edgeSet.ncard := by
          simpa [hRset] using hmaxNR
  3. The maximum matchings M and N have equal size, and their deficiency is at most 1, so |N| ≥ k - 1.

    Because G is k-extendable and has independence number at most k, the maximum matchings on C and Cᶜ have the same size, |M| = |N| (extendible_balanced_cut_matching_symmetry_of_independence). With the minimum degree condition (at least 2k + 1), this matching size satisfies k ≤ |M| + 1 (extendible_equal_cut_maximum_matching_deficiency_at_most_one), so |N| = |M| ≥ k - 1.

    lines 23–24

    uses extendible_balanced_cut_matching_symmetry_of_independence, extendible_equal_cut_maximum_matching_deficiency_at_most_one

        have heq := extendible_balanced_cut_matching_symmetry_of_independence k G hext hind C hcard M N hM hN hMC hNC hmaxM hmaxN
        have hnear := extendible_equal_cut_maximum_matching_deficiency_at_most_one k G hext hdegree C hcard M N hM hN hMC hNC hmaxM hmaxN heq hind
  4. The matching N covers 2|N| vertices, leaving at most 2 vertices of R unmatched.

    Let D be the vertex set of N. Because N is a matching, it spans |D| = 2|N| vertices (in1076_matching_twice_card, converted via Set.ncard_eq_toFinset_card'). Since D ⊆ R, partitioning R into matched and unmatched vertices gives |R \ D| + |D| = |R| (Finset.card_sdiff_add_card_eq_card). Since |R| = 2k and |D| = 2|N| ≥ 2(k - 1) = 2k - 2, the number of unmatched vertices |R \ D| is at most 2.

    lines 25–33

    uses Set.ncard_eq_toFinset_card', in1076_matching_twice_card, Finset.card_sdiff_add_card_eq_card

        let D : Finset (Fin (4*k)) := N.verts.toFinset
        have hDR : D ⊆ R := by intro x hx; exact hNR (by simpa [D] using hx)
        have hDcard : D.card=2*N.edgeSet.ncard := by
          dsimp [D]
          rw [← Set.ncard_eq_toFinset_card']
          exact (in1076_matching_twice_card hN).symm
        have hmiss : (R \ D).card ≤ 2 := by
          have hh := Finset.card_sdiff_add_card_eq_card hDR
          omega
  5. The induced subgraph G[Cᶜ] has at most 2 odd components.

    In any induced subgraph G[R], the number of odd components is bounded by the number of vertices left uncovered by any matching on R (induced_odd_components_le_unmatched_matching_vertices), because every odd component must contain at least one vertex unmatched by the matching. Since R = Cᶜ has at most 2 unmatched vertices, G[Cᶜ] has at most 2 odd components.

    lines 34–38

    uses induced_odd_components_le_unmatched_matching_vertices

        have hodd := induced_odd_components_le_unmatched_matching_vertices G R N hN hNR
        have hRcomp : {v : Fin (4*k) | v ∈ R} = {v | v ∉ C} := by ext x; simp [R]
        rw [hRcomp] at hodd
        change (G.induce {v | v ∉ C}).oddComponents.ncard ≤ (R \ D).card at hodd
        omega
Finset.card_compl
The cardinality of the complement of a finite set s in a finite type α equals |α| - |s|.
Fintype.card_fin
The cardinality of the finite type Fin n is n.
finite_subset_has_maximum_matching
In any finite graph, every subset of vertices contains a matching of maximum size among all matchings supported on that subset.
extendible_balanced_cut_matching_symmetry_of_independence
In a k-extendable graph on 4k vertices with independence number at most k, maximum matchings on both sides of a balanced cut of size 2k have equal size.
extendible_equal_cut_maximum_matching_deficiency_at_most_one
In a k-extendable graph on 4k vertices with minimum degree at least 2k + 1 and independence number at most k, if maximum matchings on both sides of a balanced cut have equal size, then each has deficiency at most 1 (size at least k - 1).
Set.ncard_eq_toFinset_card'
The cardinality of a finite set as a Set equals its cardinality when converted to a Finset.
in1076_matching_twice_card
In any matching, the number of vertices is twice the number of edges.
Finset.card_sdiff_add_card_eq_card
For any subset s ⊆ t of a finite set, |t \ s| + |s| = |t|.
induced_odd_components_le_unmatched_matching_vertices
For any matching supported on a vertex set R, the number of odd components of the induced subgraph G[R] is at most the number of vertices in R not saturated by the matching.

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 extendible_high_degree_balanced_cut_odd_bound_no_separator    (k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (hext : is_k_extendable G k)    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)    (hind : ∀ I : Finset (Fin (4*k)),      (∀ x ∈ I, ∀ y ∈ I, x ≠ y → ¬ G.Adj x y) → I.card ≤ k)    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k) :    (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 2 := by  set_option maxHeartbeats 4000000 in    classical    let R : Finset (Fin (4*k)) := Cᶜ    have hRcard : R.card = 2*k := by      have hh := Finset.card_compl C      simp only [Fintype.card_fin] at hh      dsimp [R]      omega    have hRset : (R : Set (Fin (4*k))) = (C : Set (Fin (4*k)))ᶜ := by ext x; simp [R]    obtain ⟨M,hM,hMC,hmaxM⟩ := finite_subset_has_maximum_matching G C    obtain ⟨N,hN,hNR,hmaxNR⟩ := finite_subset_has_maximum_matching G R    have hNC : N.verts ⊆ (C : Set (Fin (4*k)))ᶜ := by simpa [hRset] using hNR    have hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k)))ᶜ → T.edgeSet.ncard ≤ N.edgeSet.ncard := by      simpa [hRset] using hmaxNR    have heq := extendible_balanced_cut_matching_symmetry_of_independence k G hext hind C hcard M N hM hN hMC hNC hmaxM hmaxN    have hnear := extendible_equal_cut_maximum_matching_deficiency_at_most_one k G hext hdegree C hcard M N hM hN hMC hNC hmaxM hmaxN heq hind    let D : Finset (Fin (4*k)) := N.verts.toFinset    have hDR : D ⊆ R := by intro x hx; exact hNR (by simpa [D] using hx)    have hDcard : D.card=2*N.edgeSet.ncard := by      dsimp [D]      rw [← Set.ncard_eq_toFinset_card']      exact (in1076_matching_twice_card hN).symm    have hmiss : (R \ D).card ≤ 2 := by      have hh := Finset.card_sdiff_add_card_eq_card hDR      omega    have hodd := induced_odd_components_le_unmatched_matching_vertices G R N hN hNR    have hRcomp : {v : Fin (4*k) | v ∈ R} = {v | v ∉ C} := by ext x; simp [R]    rw [hRcomp] at hodd    change (G.induce {v | v ∉ C}).oddComponents.ncard ≤ (R \ D).card at hodd    omega
See it in the graphDiscuss this resultChallenge it