k7_at_most_four_odd_components
In the stated order-28 high-degree graph, a 14-vertex induced side has at most four odd components.
Statement
theorem k7_at_most_four_odd_components
(G : SimpleGraph (Fin 28)) [DecidableRel G.Adj]
(hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card)
(C : Finset (Fin 28)) (hcard : C.card=14) :
(G.induce {v | v ∉ C}).oddComponents.ncard ≤ 4- 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 1
- op1957_odd_components_ambient_partitionOdd components ambient partition.
- Used by 1
- k7_balanced_cut_bound_of_deficiency_barrierUnder the displayed extendibility, separator, degree and independence conditions, the matching-deficiency barrier hypothesis implies at…
The proof, explained
The proof proceeds by contradiction. Because the induced subgraph on the 14-vertex complement U = Cᶜ has an even number of vertices, the number of its odd components must be even. If there were more than four odd components, there would be at least six, allowing U to be partitioned into six disconnected parts of odd size. But every vertex has degree at least 15, so any vertex in a part must have a neighbor outside C, forcing that neighbor into the same part; this makes each part have at least two vertices, and being odd, at least three. Six parts of size at least three require at least 18 vertices, contradicting |U| = 14.
The complement set U = Cᶜ has cardinality 14, and the induced subgraph H = G[U] has 14 vertices.
Define U to be the complement of C in the 28-vertex ambient graph. Since |C| = 14, its complement U has cardinality 28 - 14 = 14 using Finset.card_compl and Fintype.card_fin. We then identify the induced subgraph H = G[U] and establish that its vertex set has cardinality 14 via Nat.card_coe_set_eq and Set.ncard_coe_finset.
uses
Finset.card_compl,Fintype.card_fin,Nat.card_coe_set_eq,Set.ncard_coe_finsetset_option maxHeartbeats 4000000 in classical 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 | 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]
If H has more than 4 odd components, it must have at least 6 odd components.
By SimpleGraph.odd_ncard_oddComponents, the number of odd components of any finite simple graph has the same parity as its vertex count. Because |V(H)| = 14 is even, H must have an even number of odd components. Assuming for contradiction that the number of odd components is not at most 4, the parity condition forces it to be at least 6.
uses
SimpleGraph.odd_ncard_oddComponents,Nat.odd_iffhave hpar := SimpleGraph.odd_ncard_oddComponents H rw [hHcard,Nat.odd_iff,Nat.odd_iff] at hpar by_contra hnot have hq : 6 ≤ H.oddComponents.ncard := by have hn' : ¬ H.oddComponents.ncard ≤ 4 := by change ¬ (G.induce {v | v ∈ U}).oddComponents.ncard ≤ 4 rw [hs] exact hnot omega
There exists a partition of U into 6 mutually disconnected subsets of odd size.
Since |U| = 14 and 6 share the same parity (both even) and H has at least 6 odd components, lemma op1957_odd_components_ambient_partition yields a partition of U into 6 pairwise disjoint subsets F₀, ..., F₅, each of odd cardinality, such that no two distinct parts share an edge in G.
uses
op1957_odd_components_ambient_partitionobtain ⟨F,hF,hdis,hcover⟩ := op1957_odd_components_ambient_partition G U 6 (by omega) hq (by omega)
Each of the six parts Fᵢ contains at least 3 vertices.
For each part Fᵢ, its odd cardinality guarantees it contains at least one vertex u. Since every vertex has degree at least 15 in G, the neighborhood of u cannot be entirely contained in C (which has size 14). Thus u has a neighbor v ∉ C, so v ∈ U. Because U is the union of the parts and there are no edges between different parts, v must lie in the same part Fᵢ. Since G has no loops, u and v are distinct, showing {u, v} ⊆ Fᵢ and hence |Fᵢ| ≥ 2. Because |Fᵢ| is odd, it cannot equal 2, so |Fᵢ| ≥ 3.
uses
Finset.card_pos.mp,Finset.card_le_card,Finset.not_subset.mp,Finset.mem_biUnion.mp,False.elim,G.ne_of_adj,Finset.mem_insert,Finset.mem_singleton,Finset.card_pair,Nat.odd_iffhave hmin : ∀ i : Fin 6, 3 ≤ (F i).card := by intro i have hi := (hF i).2 have hpos : 0 < (F i).card := hi.pos obtain ⟨u,hu⟩ := Finset.card_pos.mp hpos have hnot : ¬ G.neighborFinset u ⊆ C := by intro h have hh := Finset.card_le_card h have hd := hdegree u omega obtain ⟨v,hvN,hvC⟩ := Finset.not_subset.mp hnot have huv : G.Adj u v := by simpa using hvN have hvU : v ∈ U := by simpa [U] using hvC have hvcover : v ∈ Finset.univ.biUnion F := by rw [hcover]; exact hvU obtain ⟨j,_,hvj⟩ := Finset.mem_biUnion.mp hvcover have hvF : v ∈ F i := by by_cases hij : i=j · simpa [hij] using hvj · exact False.elim ((hdis i j hij).2 u hu v hvj huv) have hne : u ≠ v := G.ne_of_adj huv have hpair : ({u,v} : Finset (Fin 28)) ⊆ F i := by intro x hx simp only [Finset.mem_insert,Finset.mem_singleton] at hx rcases hx with rfl | rfl <;> assumption have hh := Finset.card_le_card hpair rw [Finset.card_pair hne] at hh rw [Nat.odd_iff] at hi omega
Summing the cardinalities of the six parts yields a contradiction.
Since the six parts Fᵢ are pairwise disjoint and cover U, the sum of their cardinalities equals |U| = 14 by Finset.card_biUnion. However, since each part has cardinality at least 3, their sum must be at least 6 × 3 = 18 by Finset.sum_le_sum. This yields 18 ≤ 14, an arithmetic contradiction that completes the proof.
uses
Finset.card_biUnion,Finset.sum_le_sumhave hpairdis : (↑(Finset.univ : Finset (Fin 6)) : Set (Fin 6)).PairwiseDisjoint F := by intro i hi j hj hij exact (hdis i j hij).1 have hsum : ∑ i : Fin 6, (F i).card = 14 := by rw [← Finset.card_biUnion hpairdis,hcover,hUcard] have hlower : (∑ i : Fin 6, 3) ≤ ∑ i : Fin 6, (F i).card := by apply Finset.sum_le_sum intro i hi exact hmin i simp at hlower omega
Finset.card_compl- The cardinality of the complement of a subset is the total number of elements in the ambient finite type minus the cardinality of the subset.
Fintype.card_fin- The number of elements in the standard finite type Fin n is n.
Nat.card_coe_set_eq- The cardinality (as a natural number) of a coerced set equals its set-theoretic cardinality.
Set.ncard_coe_finset- The set-theoretic cardinality of a coerced finite set equals its finset cardinality.
SimpleGraph.odd_ncard_oddComponents- In any finite simple graph, the number of odd connected components has the same parity as the total number of vertices.
Nat.odd_iff- A natural number is odd if and only if its remainder modulo 2 is 1.
op1957_odd_components_ambient_partition- If an induced subgraph on a vertex subset U has at least s odd components, s ≥ 1, and |U| and s have the same parity, then U can be partitioned into s pairwise disjoint odd-sized subsets with no edges between distinct subsets.
Finset.card_pos.mp- A finite set has strictly positive cardinality if and only if it is nonempty.
Finset.card_le_card- If one finite set is contained in another, its cardinality is less than or equal to that of the other.
Finset.not_subset.mp- If a set s is not a subset of t, then there exists an element in s that does not belong to t.
Finset.mem_biUnion.mp- An element belongs to a union of a family of sets if and only if it belongs to at least one set in the family.
False.elim- From a contradiction (False), any conclusion follows.
G.ne_of_adj- Two adjacent vertices in a simple graph cannot be equal (simple graphs contain no self-loops).
Finset.mem_insert- An element is in insert b s if and only if it equals b or is in s.
Finset.mem_singleton- An element is in the singleton {a} if and only if it equals a.
Finset.card_pair- The cardinality of a pair set containing two distinct elements is 2.
Finset.card_biUnion- The cardinality of the union of pairwise disjoint finite sets equals the sum of their individual cardinalities.
Finset.sum_le_sum- If f(i) ≤ g(i) for all elements i of a finite index set, then the sum of f(i) is less than or equal to the sum of g(i).
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem k7_at_most_four_odd_components (G : SimpleGraph (Fin 28)) [DecidableRel G.Adj] (hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card) (C : Finset (Fin 28)) (hcard : C.card=14) : (G.induce {v | v ∉ C}).oddComponents.ncard ≤ 4 := by set_option maxHeartbeats 4000000 in classical 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 | 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 by_contra hnot have hq : 6 ≤ H.oddComponents.ncard := by have hn' : ¬ H.oddComponents.ncard ≤ 4 := by change ¬ (G.induce {v | v ∈ U}).oddComponents.ncard ≤ 4 rw [hs] exact hnot omega obtain ⟨F,hF,hdis,hcover⟩ := op1957_odd_components_ambient_partition G U 6 (by omega) hq (by omega) have hmin : ∀ i : Fin 6, 3 ≤ (F i).card := by intro i have hi := (hF i).2 have hpos : 0 < (F i).card := hi.pos obtain ⟨u,hu⟩ := Finset.card_pos.mp hpos have hnot : ¬ G.neighborFinset u ⊆ C := by intro h have hh := Finset.card_le_card h have hd := hdegree u omega obtain ⟨v,hvN,hvC⟩ := Finset.not_subset.mp hnot have huv : G.Adj u v := by simpa using hvN have hvU : v ∈ U := by simpa [U] using hvC have hvcover : v ∈ Finset.univ.biUnion F := by rw [hcover]; exact hvU obtain ⟨j,_,hvj⟩ := Finset.mem_biUnion.mp hvcover have hvF : v ∈ F i := by by_cases hij : i=j · simpa [hij] using hvj · exact False.elim ((hdis i j hij).2 u hu v hvj huv) have hne : u ≠ v := G.ne_of_adj huv have hpair : ({u,v} : Finset (Fin 28)) ⊆ F i := by intro x hx simp only [Finset.mem_insert,Finset.mem_singleton] at hx rcases hx with rfl | rfl <;> assumption have hh := Finset.card_le_card hpair rw [Finset.card_pair hne] at hh rw [Nat.odd_iff] at hi omega have hpairdis : (↑(Finset.univ : Finset (Fin 6)) : Set (Fin 6)).PairwiseDisjoint F := by intro i hi j hj hij exact (hdis i j hij).1 have hsum : ∑ i : Fin 6, (F i).card = 14 := by rw [← Finset.card_biUnion hpairdis,hcover,hUcard] have hlower : (∑ i : Fin 6, 3) ≤ ∑ i : Fin 6, (F i).card := by apply Finset.sum_le_sum intro i hi exact hmin i simp at hlower omega