k7_four_odd_groups_internal_degree_bound
In an order-28 graph with the stated degree bound, four odd components on a 14-vertex side force each vertex there to have at most four neighbors on that side.
Statement
theorem k7_four_odd_groups_internal_degree_bound (G : SimpleGraph (Fin 28)) [DecidableRel G.Adj] (hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card) (C : Finset (Fin 28)) (hcard : C.card=14) (hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard) : ∀ x, x ∉ C → ((G.neighborFinset x).filter (fun v => v ∉ C)).card ≤ 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 2
- k7_balanced_cut_bound_of_deficiency_barrierUnder the displayed extendibility, separator, degree and independence conditions, the matching-deficiency barrier hypothesis implies at…
- extendible_k7_balanced_cut_odd_component_boundIn the stated 28-vertex, 7-extendible, high-degree setting with the separator and independence assumptions, any balanced cut has at most…
The proof, explained
We consider the complement U = Cᶜ, which has size 28 - 14 = 14 and at least 4 odd components in the induced subgraph G[U]. The lemma op1957_odd_components_ambient_partition decomposes U into four pairwise disjoint sets F₀, F₁, F₂, F₃ of odd size with no edges between distinct parts. Since every vertex has degree at least 15 > |C|, every vertex in F_i has a neighbor outside C which must also lie in F_i, showing |F_i| ≥ 2 and thus |F_i| ≥ 3 by parity. Because the sum of the four part sizes is 14, each part has size at most 14 - 3 × 3 = 5, which implies that any vertex x ∉ C has at most |F_i \ {x}| ≤ 4 neighbors outside C.
The complement U = Cᶜ has cardinality 14.
We define U as the complement of C in the 28-vertex ambient graph. Since the ambient vertex set has 28 elements and |C| = 14, the complement formula |Cᶜ| = 28 - |C| gives |U| = 14 by linear arithmetic.
uses
Finset.card_compl,Fintype.card_finset_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
The induced subgraph G[U] has at least 4 odd components.
The hypothesis states that the induced subgraph on {v | v ∉ C} has at least 4 odd components. Since {v | v ∈ U} is identical to {v | v ∉ C} by definition of U, rewriting along this set equality transfers the bound directly to G[U].
have hodd' : 4 ≤ (G.induce {v | v ∈ U}).oddComponents.ncard := by have hs : {v : Fin 28 | v ∈ U} = {v : Fin 28 | v ∉ C} := by ext v; simp [U] rw [hs] exact hodd
The set U is partitioned into four pairwise disjoint sets F₀, F₁, F₂, F₃ of odd cardinality with no edges between distinct parts.
We invoke op1957_odd_components_ambient_partition with s = 4. The hypotheses are satisfied: 1 ≤ 4, G[U] has at least 4 odd components, and |U| % 2 = 14 % 2 = 0 = 4 % 2. This produces an ambient partition F : Fin 4 → Finset (Fin 28) covering U, such that each part F_i ⊆ U has odd cardinality, parts are pairwise disjoint, and no edge connects a vertex in F_i to a vertex in F_j for i ≠ j.
uses
op1957_odd_components_ambient_partitionobtain ⟨F,hF,hdis,hcover⟩ := op1957_odd_components_ambient_partition G U 4 (by omega) hodd' (by omega)
Each part F_i contains at least 3 vertices.
For any i ∈ Fin 4, F_i has odd cardinality and is therefore nonempty, containing some vertex u. Because every vertex has degree at least 15 while |C| = 14, the neighborhood of u cannot be entirely contained in C. Hence u has a neighbor v ∉ C, so v ∈ U. Since the parts F cover U, v must belong to some part F_j; because there are no edges between distinct parts, j = i, so v ∈ F_i. As G has no self-loops, u ≠ v, meaning {u, v} ⊆ F_i and |F_i| ≥ 2. Because |F_i| is odd, it cannot be 2, forcing |F_i| ≥ 3.
uses
Finset.card_pos.mp,Finset.card_le_card,Finset.not_subset.mp,Finset.mem_biUnion.mp,False.elim,Finset.mem_insert,Finset.mem_singleton,Finset.card_pair,Nat.odd_iffhave hmin : ∀ i : Fin 4, 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
The sum of the cardinalities of the four parts is 14.
Because the four parts F_i are pairwise disjoint and cover U, the cardinality of their union equals the sum of their individual sizes, giving ∑_{i=0}^3 |F_i| = |U| = 14. Expanding the sum over Fin 4 yields |F_0| + |F_1| + |F_2| + |F_3| = 14.
uses
Finset.card_biUnion,Fin.sum_univ_succ,add_assochave hpairdis : (↑(Finset.univ : Finset (Fin 4)) : Set (Fin 4)).PairwiseDisjoint F := by intro i hi j hj hij exact (hdis i j hij).1 have hsum : ∑ i : Fin 4, (F i).card = 14 := by rw [← Finset.card_biUnion hpairdis,hcover,hUcard] have hsum' : (F 0).card+(F 1).card+(F 2).card+(F 3).card=14 := by simpa [Fin.sum_univ_succ,add_assoc] using hsum
Each part F_i contains at most 5 vertices.
Each of the four parts has cardinality at least 3. Since the sum of all four sizes is 14, any single part satisfies |F_i| ≤ 14 - 3 × 3 = 5 by linear arithmetic. Case analysis over the four values of i ∈ Fin 4 verifies this bound for every part.
have hmax : ∀ i : Fin 4, (F i).card ≤ 5 := by intro i have h0 := hmin 0 have h1 := hmin 1 have h2 := hmin 2 have h3 := hmin 3 have b0 : (F 0).card ≤ 5 := by omega have b1 : (F 1).card ≤ 5 := by omega have b2 : (F 2).card ≤ 5 := by omega have b3 : (F 3).card ≤ 5 := by omega fin_cases i <;> first | exact b0 | exact b1 | exact b2 | exact b3
Every vertex x ∉ C has at most 4 neighbors outside C.
Let x ∉ C, so x ∈ U. Since the partition covers U, x belongs to some part F_i. Any neighbor v of x outside C is an element of U adjacent to x; because there are no edges between distinct parts, v must also belong to F_i. Since G has no loops, v ≠ x, so v ∈ F_i \ {x}. Hence the neighbors of x outside C form a subset of F_i \ {x}. Because |F_i| ≤ 5, the set F_i \ {x} has cardinality |F_i| - 1 ≤ 4, which bounds the number of neighbors outside C by 4.
uses
Finset.mem_filter.mp,Finset.mem_biUnion.mp,False.elim,Finset.mem_erase.mpr,Finset.card_le_card,Finset.card_erase_add_oneintro x hxC have hxU : x ∈ U := by simpa [U] using hxC have hxcover : x ∈ Finset.univ.biUnion F := by rw [hcover]; exact hxU obtain ⟨i,_,hxi⟩ := Finset.mem_biUnion.mp hxcover have hsub : (G.neighborFinset x).filter (fun v => v ∉ C) ⊆ (F i).erase x := by intro v hv have hvN := (Finset.mem_filter.mp hv).1 have hvC := (Finset.mem_filter.mp hv).2 have hxv : G.Adj x 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 hvi : v ∈ F i := by by_cases hij : i=j · simpa [hij] using hvj · exact False.elim ((hdis i j hij).2 x hxi v hvj hxv) exact Finset.mem_erase.mpr ⟨(G.ne_of_adj hxv).symm,hvi⟩ have hh := Finset.card_le_card hsub have he := Finset.card_erase_add_one hxi have hmaxi := hmax i omega
add_assoc- Addition is associative: a + b + c = a + (b + c).
False.elim- From a contradiction (a proof of False), any conclusion follows.
Fin.sum_univ_succ- The sum of a function over Fin(n + 1) equals the value at 0 plus the sum over the remaining indices.
Finset.card_biUnion- The cardinality of a pairwise disjoint union of finite sets is the sum of their individual cardinalities.
Finset.card_compl- The cardinality of the complement of a subset s is the cardinality of the ambient finite type minus the cardinality of s.
Finset.card_erase_add_one- If an element belongs to a finite set, removing it decreases the cardinality of the set by 1.
Finset.card_le_card- If s is a subset of t, then the cardinality of s is at most the cardinality of t.
Finset.card_pair- The set {a, b} consisting of two distinct elements has cardinality 2.
Finset.card_pos.mp- A finite set has positive cardinality if and only if it is nonempty.
Finset.mem_erase.mpr- An element belongs to the set s \ {a} if and only if it is in s and is not equal to a.
Finset.mem_filter.mp- An element belongs to the filtered subset {x ∈ s | p x} if and only if it belongs to s and satisfies p.
Finset.mem_insert- An element belongs to insert b s if and only if it equals b or is in s.
Finset.mem_singleton- An element belongs to the singleton {a} if and only if it equals a.
Finset.mem_biUnion.mp- An element belongs to a union of sets indexed by a finite set if and only if it belongs to at least one of those sets.
Finset.not_subset.mp- If s is not a subset of t, there exists an element of s that does not belong to t.
Fintype.card_fin- The standard finite type Fin(n) has cardinality n.
Nat.odd_iff- A natural number n is odd if and only if n % 2 = 1.
op1957_odd_components_ambient_partition- If the induced subgraph G[U] has at least s odd components and |U| ≡ s (mod 2) with 1 ≤ s, then U can be partitioned into s pairwise disjoint sets of odd cardinality with no edges between distinct parts.
- The lemma `op1957_odd_components_ambient_partition` is a project-specific result that converts a lower bound on the number of odd components into a partition of the ambient subset into odd-cardinality blocks with no edges between distinct blocks.
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_four_odd_groups_internal_degree_bound (G : SimpleGraph (Fin 28)) [DecidableRel G.Adj] (hdegree : ∀ v, 15 ≤ (G.neighborFinset v).card) (C : Finset (Fin 28)) (hcard : C.card=14) (hodd : 4 ≤ (G.induce {v | v ∉ C}).oddComponents.ncard) : ∀ x, x ∉ C → ((G.neighborFinset x).filter (fun v => v ∉ C)).card ≤ 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 hodd' : 4 ≤ (G.induce {v | v ∈ U}).oddComponents.ncard := by have hs : {v : Fin 28 | v ∈ U} = {v : Fin 28 | v ∉ C} := by ext v; simp [U] rw [hs] exact hodd obtain ⟨F,hF,hdis,hcover⟩ := op1957_odd_components_ambient_partition G U 4 (by omega) hodd' (by omega) have hmin : ∀ i : Fin 4, 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 4)) : Set (Fin 4)).PairwiseDisjoint F := by intro i hi j hj hij exact (hdis i j hij).1 have hsum : ∑ i : Fin 4, (F i).card = 14 := by rw [← Finset.card_biUnion hpairdis,hcover,hUcard] have hsum' : (F 0).card+(F 1).card+(F 2).card+(F 3).card=14 := by simpa [Fin.sum_univ_succ,add_assoc] using hsum have hmax : ∀ i : Fin 4, (F i).card ≤ 5 := by intro i have h0 := hmin 0 have h1 := hmin 1 have h2 := hmin 2 have h3 := hmin 3 have b0 : (F 0).card ≤ 5 := by omega have b1 : (F 1).card ≤ 5 := by omega have b2 : (F 2).card ≤ 5 := by omega have b3 : (F 3).card ≤ 5 := by omega fin_cases i <;> first | exact b0 | exact b1 | exact b2 | exact b3 intro x hxC have hxU : x ∈ U := by simpa [U] using hxC have hxcover : x ∈ Finset.univ.biUnion F := by rw [hcover]; exact hxU obtain ⟨i,_,hxi⟩ := Finset.mem_biUnion.mp hxcover have hsub : (G.neighborFinset x).filter (fun v => v ∉ C) ⊆ (F i).erase x := by intro v hv have hvN := (Finset.mem_filter.mp hv).1 have hvC := (Finset.mem_filter.mp hv).2 have hxv : G.Adj x 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 hvi : v ∈ F i := by by_cases hij : i=j · simpa [hij] using hvj · exact False.elim ((hdis i j hij).2 x hxi v hvj hxv) exact Finset.mem_erase.mpr ⟨(G.ne_of_adj hxv).symm,hvi⟩ have hh := Finset.card_le_card hsub have he := Finset.card_erase_add_one hxi have hmaxi := hmax i omega