AFTD Auto-Formalizing Theoretical Domains

k7_balanced_cut_bound_of_deficiency_barrier

theoremverified

Under the displayed extendibility, separator, degree and independence conditions, the matching-deficiency barrier hypothesis implies at most two odd components on a balanced half.

Statement

theorem k7_balanced_cut_bound_of_deficiency_barrier
    (G : SimpleGraph (Fin 28)) [DecidableRel G.Adj]
    (hext : is_k_extendable G 7)
    (hsep : ∀ S P Q : Finset (Fin 28), 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) → 14 ≤ S.card)
    (hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card)
    (hind : ∀ U : Finset (Fin 28),
      (∀ u ∈ U, ∀ v ∈ U, u ≠ v → ¬ G.Adj u v) → U.card ≤ 7)
    (hbar : ∀ R : Finset (Fin 28), R.card=14 →
      (¬ ∃ N : G.Subgraph, N.IsMatching ∧ N.verts ⊆ (R : Set (Fin 28)) ∧ 5 ≤ N.edgeSet.ncard) →
      ∃ X : Finset (Fin 28), X ⊆ R ∧
        6+X.card ≤ (G.induce {v | v ∈ R ∧ v ∉ X}).oddComponents.ncard)
    (C : Finset (Fin 28)) (hcard : C.card = 14) :
    (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 2
Source
Balanced-cut k=7 reduction for OP-1957; https://arxiv.org/abs/2611.22690.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 10

The proof, explained

The proof proceeds by contradiction: assuming that the complement of a balanced cut C of size 14 has more than 2 odd components, parity and known cut bounds force it to have exactly 4 odd components. This structural constraint forces maximum matchings in both halves C and Cᶜ to have deficiency at least 3 (with the matching in C having size exactly 4), so the deficiency barrier hypothesis applies to R = Cᶜ to yield a barrier set X ⊆ R of size 1 with at least 6 + |X| = 7 odd components in G[R \ X]. Finally, degree and matching size bounds ensure the unique vertex of X has an unmatched neighbor in C, allowing an extendibility barrier bound to limit the odd components to at most 2(3) - 1 = 5, contradicting the lower bound of 7.

  1. Assume for contradiction that G[Cᶜ] has more than 2 odd components, and note that it has at most 4 odd components.

    We begin a proof by contradiction (by_contra hnot), assuming that the number of odd components of the induced subgraph G[Cᶜ] is not at most 2. By k7_at_most_four_odd_components, any balanced cut complement in a graph on 28 vertices with minimum degree at least 15 has at most 4 odd components, giving an upper bound of 4.

    lines 16–18

    uses k7_at_most_four_odd_components

      by_contra hnot
      have h4 : (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 4 :=
        k7_at_most_four_odd_components G hdegree C hcard
  2. The number of odd components of G[Cᶜ] is at least 4, and hence exactly 4.

    The complement U = Cᶜ has cardinality 28 - 14 = 14 by Finset.card_compl and Fintype.card_fin. By SimpleGraph.odd_ncard_oddComponents, the number of odd components of an induced subgraph has the same parity as the number of vertices in that subgraph. Since |U| = 14 is even (via Nat.odd_iff), the number of odd components must also be even. Being strictly greater than 2 and at most 4, it must be at least 4, forcing it to be exactly 4.

    lines 19–35

    uses Finset.card_compl, Fintype.card_fin, Nat.card_coe_set_eq, Set.ncard_coe_finset, SimpleGraph.odd_ncard_oddComponents, Nat.odd_iff

      have hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard := by
        let U : Finset (Fin 28) := Cᶜ
        have hUcard : U.card = 14 := by
          have hh := Finset.card_compl C
          simp only [Fintype.card_fin] at hh
          dsimp [U]; omega
        have hs : {v : Fin 28 | v ∈ U} = {v : Fin 28 | v ∉ C} := by ext v; simp [U]
        let H := G.induce {v : Fin 28 | v ∈ U}
        have hHcard : Nat.card {v : Fin 28 | v ∈ U} = 14 := by
          rw [Nat.card_coe_set_eq]
          change (U : Set (Fin 28)).ncard = 14
          rw [Set.ncard_coe_finset, hUcard]
        have hpar := SimpleGraph.odd_ncard_oddComponents H
        rw [hHcard, Nat.odd_iff, Nat.odd_iff] at hpar
        change (G.induce {v | v ∈ U}).oddComponents.ncard % 2 = 1 ↔ 14 % 2 = 1 at hpar
        rw [hs] at hpar
        omega
  3. Define R = Cᶜ with |R| = 14, and select maximum matchings M in C and N in R.

    We define R = Cᶜ and establish |R| = 14 and R = Cᶜ as sets using Finset.card_compl and Fintype.card_fin. Using finite_subset_has_maximum_matching, we obtain a maximum matching M with vertices in C and a maximum matching N with vertices in R. We also verify that the vertices of N lie in Cᶜ and that N is maximal among all matchings supported on Cᶜ.

    lines 36–51

    uses Finset.card_compl, Fintype.card_fin, finite_subset_has_maximum_matching

      let R : Finset (Fin 28) := Cᶜ
      have hRcard : R.card = 14 := by
        have hh := Finset.card_compl C
        simp only [Fintype.card_fin] at hh
        dsimp [R]; omega
      have hR_compl : ((R : Finset (Fin 28)) : Set (Fin 28)) = ((C : Set (Fin 28))ᶜ) := 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 28))ᶜ) := by
        rw [← hR_compl]; exact hNR
      have hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin 28))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard := by
        intro T hT hTNC
        have hTR : T.verts ⊆ (R : Set (Fin 28)) := by
          rw [hR_compl]; exact hTNC
        exact hmaxNR T hT hTR
  4. Both matchings have deficiency at least 3, and in fact |M| = 4 and |N| ≤ 4.

    Applying balanced_cut_four_odd_components_force_deficiency_three with k = 7 (using 2 ≤ 7), the presence of 4 odd components forces |M| + 3 ≤ 7 and |N| + 3 ≤ 7, so |M| ≤ 4 and |N| ≤ 4. Furthermore, by maximum_matching_size_from_independence, the size of C is bounded by 2|M| + α(G) ≤ 2|M| + 7. Since |C| = 14, this gives 14 ≤ 2|M| + 7, forcing |M| ≥ 4. Combined with |M| ≤ 4, we conclude |M| = 4.

    lines 52–55

    uses balanced_cut_four_odd_components_force_deficiency_three, maximum_matching_size_from_independence

      have hk : 2 ≤ 7 := by omega
      have hdef := balanced_cut_four_odd_components_force_deficiency_three 7 hk G hext hsep hdegree hind C hcard M N hM hN hMC hNC hmaxM hmaxN hodd
      have hMsize := maximum_matching_size_from_independence G C M hM hMC hmaxM 7 hind
      have hMcard : M.edgeSet.ncard = 4 := by omega
  5. There is no matching of size 5 in R, so the deficiency barrier hypothesis yields a barrier set X ⊆ R with 6 + |X| ≤ c_odd(G[R \ X]).

    Since any matching in R has size at most |N| ≤ 4, there can be no matching in R of size at least 5. We then instantiate the matching-deficiency barrier hypothesis (hbar) on R, which yields a subset X ⊆ R such that the number of odd components of G[R \ X] is at least 6 + |X|.

    lines 56–60

      have hno5 : ¬ ∃ N' : G.Subgraph, N'.IsMatching ∧ N'.verts ⊆ (R : Set (Fin 28)) ∧ 5 ≤ N'.edgeSet.ncard := by
        intro ⟨N', hN', hN'R, hN'card⟩
        have hle := hmaxNR N' hN' hN'R
        omega
      obtain ⟨X, hXR, hXodd⟩ := hbar R hRcard hno5
  6. The barrier set X has size exactly 1.

    By induced_odd_components_le_independence, the number of odd components of G[R \ X] is at most the independence number of G, which is at most 7. Thus 6 + |X| ≤ 7, which implies |X| ≤ 1. If |X| = 0, then X = ∅ (by Finset.card_eq_zero), so R \ X = R = Cᶜ. But then 6 + 0 ≤ c_odd(G[Cᶜ]) ≤ 4, which is impossible. Hence |X| = 1.

    lines 61–70

    uses induced_odd_components_le_independence, Finset.card_eq_zero

      have hXle7 := induced_odd_components_le_independence G {v | v ∈ R ∧ v ∉ X} 7 hind
      have hXcard : X.card = 1 := by
        have hcard_le : X.card ≤ 1 := by omega
        by_cases h0 : X.card = 0
        · rw [Finset.card_eq_zero] at h0
          have hset0 : {v : Fin 28 | v ∈ R ∧ v ∉ X} = {v : Fin 28 | v ∉ C} := by
            ext v; simp [h0, R]
          rw [hset0] at hXodd
          omega
        · omega
  7. The unique element x0 ∈ X does not belong to C and has at least 11 neighbors in C.

    Because |X| = 1, by Finset.card_eq_one.mp we have X = {x0} for some vertex x0. Since X ⊆ R = Cᶜ, Finset.singleton_subset_iff.mp implies x0 ∉ C. By k7_four_odd_groups_internal_degree_bound, any vertex outside C has at most 4 neighbors outside C. Splitting the neighborhood of x0 into neighbors in C and neighbors outside C via Finset.card_filter_add_card_filter_not, and using the degree bound deg(x0) ≥ 15 from hdegree, we obtain that x0 has at least 15 - 4 = 11 neighbors in C.

    lines 71–81

    uses Finset.card_eq_one.mp, Finset.singleton_subset_iff.mp, k7_four_odd_groups_internal_degree_bound, Finset.card_filter_add_card_filter_not

      obtain ⟨x0, hx0⟩ := Finset.card_eq_one.mp hXcard
      have hx0_not_C : x0 ∉ C := by
        have hx0R : x0 ∈ R := by
          rw [hx0] at hXR
          exact Finset.singleton_subset_iff.mp hXR
        simp [R] at hx0R
        exact hx0R
      have hhint := k7_four_odd_groups_internal_degree_bound G hdegree C hcard hodd x0 hx0_not_C
      have hsplit := Finset.card_filter_add_card_filter_not (s := G.neighborFinset x0) (· ∈ C)
      have hdeg := hdegree x0
      have hKcard : 11 ≤ ((G.neighborFinset x0).filter (· ∈ C)).card := by omega
  8. There exists a vertex u ∈ C adjacent to x0 that is not covered by M.

    By matching_vertices_card_at_most_twice_edges, the vertices spanned by the matching M of size 4 are contained in a subset SM of size at most 2 * 4 = 8. If all neighbors of x0 in C were covered by M, the filtered neighborhood of x0 in C (via Finset.mem_filter) would be a subset of SM. By Finset.card_le_card, this would mean x0 has at most 8 neighbors in C, contradicting the lower bound of 11. Using graph symmetry (G.adj_symm, G.mem_neighborFinset), there must exist an uncovered neighbor u ∈ C of x0.

    lines 82–96

    uses matching_vertices_card_at_most_twice_edges, Finset.mem_filter, G.adj_symm, G.mem_neighborFinset, Finset.card_le_card

      obtain ⟨SM, hSM_sub, hSM_card⟩ := matching_vertices_card_at_most_twice_edges M hM hMcard
      have hexist_u : ∃ u : Fin 28, u ∈ C ∧ u ∉ M.verts ∧ G.Adj u x0 := by
        by_contra! hcontra
        have hsub : (G.neighborFinset x0).filter (· ∈ C) ⊆ SM := by
          intro u hu
          simp only [Finset.mem_filter] at hu
          have hu_not_not : ¬ u ∉ M.verts := by
            intro hunot
            exact hcontra u hu.2 hunot (G.adj_symm ((G.mem_neighborFinset x0 u).mp hu.1))
          have hverts : u ∈ M.verts := by
            by_contra hnv
            exact hu_not_not hnv
          exact hSM_sub u hverts
        have hle := Finset.card_le_card hsub
        omega
  9. There is an injective map f : X → C sending each x ∈ X to an uncovered neighbor in C.

    Since X = {x0} is a singleton, the constant map sending the unique element of X to u is trivially injective. Using Finset.mem_singleton, any element of X equals x0, so the properties u ∈ C, u ∉ V(M), and u ~ x0 established previously satisfy all requirements for the exposing function f.

    lines 97–109

    uses Finset.mem_singleton

      obtain ⟨u, huC, huM, huAdj⟩ := hexist_u
      have hexpose : ∃ f : X → Fin 28, Function.Injective f ∧
          ∀ x : X, f x ∈ C ∧ f x ∉ M.verts ∧ G.Adj (f x) x.val := by
        use fun _ => u
        refine ⟨?_, ?_⟩
        · intro ⟨a, ha⟩ ⟨b, hb⟩ _
          rw [hx0, Finset.mem_singleton] at ha hb
          subst ha hb
          rfl
        · intro ⟨a, ha⟩
          rw [hx0, Finset.mem_singleton] at ha
          subst ha
          exact ⟨huC, huM, huAdj⟩
  10. The barrier odd component bound gives c_odd(G[Cᶜ \ X]) ≤ 5, contradicting the deficiency lower bound of 7.

    Since x0 ∉ C, C and X = {x0} are disjoint by Finset.disjoint_singleton_right. We instantiate extendible_balanced_cut_exposed_barrier_odd_bound with k = 7 and deficiency r = 3 (since |M| + 3 = 4 + 3 = 7 and |X| = 1 ≤ 3). This bounds the number of odd components of G[Cᶜ \ X] by 2r - |X| = 2(3) - 1 = 5. However, the barrier hypothesis gave c_odd(G[Cᶜ \ X]) = c_odd(G[R \ X]) ≥ 6 + |X| = 7. Thus 7 ≤ 5, an immediate arithmetic contradiction.

    lines 110–121

    uses Finset.disjoint_singleton_right, extendible_balanced_cut_exposed_barrier_odd_bound

      have hCX : Disjoint C X := by
        rw [hx0, Finset.disjoint_singleton_right]
        exact hx0_not_C
      have hm : M.edgeSet.ncard + 3 = 7 := by omega
      have hXle : X.card ≤ 3 := by omega
      have hbound := extendible_balanced_cut_exposed_barrier_odd_bound 7 3 G hext hsep C X hcard hCX M hM hMC hm hXle hexpose
      have hset_eq : {v : Fin 28 | v ∈ R ∧ v ∉ X} = {v : Fin 28 | v ∉ C ∧ v ∉ X} := by
        ext v; simp [R]
      rw [hset_eq] at hXodd
      have heq : (G.induce {v : Fin (4 * 7) | v ∉ C ∧ v ∉ X}).oddComponents.ncard =
                 (G.induce {v : Fin 28 | v ∉ C ∧ v ∉ X}).oddComponents.ncard := rfl
      omega
k7_at_most_four_odd_components
In a graph on 28 vertices with minimum degree at least 15, the complement of any 14-vertex set induces a subgraph with at most 4 odd components.
Finset.card_compl
The cardinality of the complement of a finite set s in a finite universe α equals |α| - |s|.
Fintype.card_fin
The cardinality of the finite type Fin n is n.
Nat.card_coe_set_eq
For a set coerced to a type, its cardinality as a type equals its set cardinality.
Set.ncard_coe_finset
The set cardinality of a coerced finset equals the finset cardinality.
SimpleGraph.odd_ncard_oddComponents
In any finite graph, the number of odd components has the same parity as the number of vertices.
Nat.odd_iff
A natural number n is odd if and only if n % 2 = 1.
finite_subset_has_maximum_matching
Every induced subgraph on a finite subset of vertices contains a maximum matching.
balanced_cut_four_odd_components_force_deficiency_three
In a k-extendable graph satisfying the degree, separator, and independence conditions, if a balanced cut of size 2k has at least 4 odd components on one side, then maximum matchings M and N on both sides satisfy |M| + 3 ≤ k and |N| + 3 ≤ k.
maximum_matching_size_from_independence
For any finite subset S and maximum matching M in G[S], |S| ≤ 2|M| + α(G).
induced_odd_components_le_independence
The number of odd components of any induced subgraph is at most the graph's independence number.
Finset.card_eq_zero
A finite set has cardinality 0 if and only if it is empty.
Finset.card_eq_one.mp
If a finite set has cardinality 1, then it is a singleton {a} for some element a.
Finset.singleton_subset_iff.mp
A singleton {a} is a subset of s if and only if a ∈ s.
k7_four_odd_groups_internal_degree_bound
When a balanced cut of size 14 has at least 4 odd components on its complement, each vertex in the complement has at most 4 neighbors within the complement.
Finset.card_filter_add_card_filter_not
For any predicate p on a finite set s, the number of elements satisfying p plus the number of elements not satisfying p equals |s|.
matching_vertices_card_at_most_twice_edges
The vertices spanned by a matching of k edges can be covered by a finite set of at most 2k vertices.
Finset.mem_filter
An element belongs to the filtered subset {x ∈ s | p(x)} if and only if it belongs to s and satisfies p.
G.adj_symm
Adjacency in a simple graph is symmetric: u ~ v implies v ~ u.
G.mem_neighborFinset
A vertex u belongs to the neighbor finset of v if and only if v ~ u.
Finset.card_le_card
If s ⊆ t, then |s| ≤ |t|.
Finset.mem_singleton
An element x is in the singleton {a} if and only if x = a.
Finset.disjoint_singleton_right
A set s is disjoint from a singleton {a} if and only if a ∉ s.
extendible_balanced_cut_exposed_barrier_odd_bound
For a k-extendable graph and a balanced cut C with a disjoint barrier set X and deficiency r = k - |M|, if each vertex of X can be injectively matched to an exposed vertex in C, then the number of odd components of G[Cᶜ \ X] is at most 2r - |X|.

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 k7_balanced_cut_bound_of_deficiency_barrier    (G : SimpleGraph (Fin 28)) [DecidableRel G.Adj]    (hext : is_k_extendable G 7)    (hsep : ∀ S P Q : Finset (Fin 28), 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) → 14 ≤ S.card)    (hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card)    (hind : ∀ U : Finset (Fin 28),      (∀ u ∈ U, ∀ v ∈ U, u ≠ v → ¬ G.Adj u v) → U.card ≤ 7)    (hbar : ∀ R : Finset (Fin 28), R.card=14 →      (¬ ∃ N : G.Subgraph, N.IsMatching ∧ N.verts ⊆ (R : Set (Fin 28)) ∧ 5 ≤ N.edgeSet.ncard) →      ∃ X : Finset (Fin 28), X ⊆ R ∧        6+X.card ≤ (G.induce {v | v ∈ R ∧ v ∉ X}).oddComponents.ncard)    (C : Finset (Fin 28)) (hcard : C.card = 14) :    (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 2 := by  by_contra hnot  have h4 : (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 4 :=    k7_at_most_four_odd_components G hdegree C hcard  have hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard := by    let U : Finset (Fin 28) := Cᶜ    have hUcard : U.card = 14 := by      have hh := Finset.card_compl C      simp only [Fintype.card_fin] at hh      dsimp [U]; omega    have hs : {v : Fin 28 | v ∈ U} = {v : Fin 28 | v ∉ C} := by ext v; simp [U]    let H := G.induce {v : Fin 28 | v ∈ U}    have hHcard : Nat.card {v : Fin 28 | v ∈ U} = 14 := by      rw [Nat.card_coe_set_eq]      change (U : Set (Fin 28)).ncard = 14      rw [Set.ncard_coe_finset, hUcard]    have hpar := SimpleGraph.odd_ncard_oddComponents H    rw [hHcard, Nat.odd_iff, Nat.odd_iff] at hpar    change (G.induce {v | v ∈ U}).oddComponents.ncard % 2 = 1 ↔ 14 % 2 = 1 at hpar    rw [hs] at hpar    omega  let R : Finset (Fin 28) := Cᶜ  have hRcard : R.card = 14 := by    have hh := Finset.card_compl C    simp only [Fintype.card_fin] at hh    dsimp [R]; omega  have hR_compl : ((R : Finset (Fin 28)) : Set (Fin 28)) = ((C : Set (Fin 28))ᶜ) := 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 28))ᶜ) := by    rw [← hR_compl]; exact hNR  have hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin 28))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard := by    intro T hT hTNC    have hTR : T.verts ⊆ (R : Set (Fin 28)) := by      rw [hR_compl]; exact hTNC    exact hmaxNR T hT hTR  have hk : 2 ≤ 7 := by omega  have hdef := balanced_cut_four_odd_components_force_deficiency_three 7 hk G hext hsep hdegree hind C hcard M N hM hN hMC hNC hmaxM hmaxN hodd  have hMsize := maximum_matching_size_from_independence G C M hM hMC hmaxM 7 hind  have hMcard : M.edgeSet.ncard = 4 := by omega  have hno5 : ¬ ∃ N' : G.Subgraph, N'.IsMatching ∧ N'.verts ⊆ (R : Set (Fin 28)) ∧ 5 ≤ N'.edgeSet.ncard := by    intro ⟨N', hN', hN'R, hN'card⟩    have hle := hmaxNR N' hN' hN'R    omega  obtain ⟨X, hXR, hXodd⟩ := hbar R hRcard hno5  have hXle7 := induced_odd_components_le_independence G {v | v ∈ R ∧ v ∉ X} 7 hind  have hXcard : X.card = 1 := by    have hcard_le : X.card ≤ 1 := by omega    by_cases h0 : X.card = 0    · rw [Finset.card_eq_zero] at h0      have hset0 : {v : Fin 28 | v ∈ R ∧ v ∉ X} = {v : Fin 28 | v ∉ C} := by        ext v; simp [h0, R]      rw [hset0] at hXodd      omega    · omega  obtain ⟨x0, hx0⟩ := Finset.card_eq_one.mp hXcard  have hx0_not_C : x0 ∉ C := by    have hx0R : x0 ∈ R := by      rw [hx0] at hXR      exact Finset.singleton_subset_iff.mp hXR    simp [R] at hx0R    exact hx0R  have hhint := k7_four_odd_groups_internal_degree_bound G hdegree C hcard hodd x0 hx0_not_C  have hsplit := Finset.card_filter_add_card_filter_not (s := G.neighborFinset x0) (· ∈ C)  have hdeg := hdegree x0  have hKcard : 11 ≤ ((G.neighborFinset x0).filter (· ∈ C)).card := by omega  obtain ⟨SM, hSM_sub, hSM_card⟩ := matching_vertices_card_at_most_twice_edges M hM hMcard  have hexist_u : ∃ u : Fin 28, u ∈ C ∧ u ∉ M.verts ∧ G.Adj u x0 := by    by_contra! hcontra    have hsub : (G.neighborFinset x0).filter (· ∈ C) ⊆ SM := by      intro u hu      simp only [Finset.mem_filter] at hu      have hu_not_not : ¬ u ∉ M.verts := by        intro hunot        exact hcontra u hu.2 hunot (G.adj_symm ((G.mem_neighborFinset x0 u).mp hu.1))      have hverts : u ∈ M.verts := by        by_contra hnv        exact hu_not_not hnv      exact hSM_sub u hverts    have hle := Finset.card_le_card hsub    omega  obtain ⟨u, huC, huM, huAdj⟩ := hexist_u  have hexpose : ∃ f : X → Fin 28, Function.Injective f ∧      ∀ x : X, f x ∈ C ∧ f x ∉ M.verts ∧ G.Adj (f x) x.val := by    use fun _ => u    refine ⟨?_, ?_⟩    · intro ⟨a, ha⟩ ⟨b, hb⟩ _      rw [hx0, Finset.mem_singleton] at ha hb      subst ha hb      rfl    · intro ⟨a, ha⟩      rw [hx0, Finset.mem_singleton] at ha      subst ha      exact ⟨huC, huM, huAdj⟩  have hCX : Disjoint C X := by    rw [hx0, Finset.disjoint_singleton_right]    exact hx0_not_C  have hm : M.edgeSet.ncard + 3 = 7 := by omega  have hXle : X.card ≤ 3 := by omega  have hbound := extendible_balanced_cut_exposed_barrier_odd_bound 7 3 G hext hsep C X hcard hCX M hM hMC hm hXle hexpose  have hset_eq : {v : Fin 28 | v ∈ R ∧ v ∉ X} = {v : Fin 28 | v ∉ C ∧ v ∉ X} := by    ext v; simp [R]  rw [hset_eq] at hXodd  have heq : (G.induce {v : Fin (4 * 7) | v ∉ C ∧ v ∉ X}).oddComponents.ncard =             (G.induce {v : Fin 28 | v ∉ C ∧ v ∉ X}).oddComponents.ncard := rfl  omega
See it in the graphDiscuss this resultChallenge it