minimally_k_extendable_five_block_boundary_degree_bound_with_separator
For every natural number k at least five, let G be a connected minimally k-extendible simple graph on Fin (4k) with decidable adjacency. Let A, B, C, D be pairwise disjoint sets covering all vertices, with |A|=|C|=5, |A|+|B|=|C|+|D|=2k, no edges between A and B, and no edges between C and D. Assume that every partition of all vertices into pairwise disjoint sets X, U, V, with U and V nonempty and anticomplete to each other, satisfies |X|≥2k. Then some vertex of G has degree at most 2k+1.
Statement
theorem minimally_k_extendable_five_block_boundary_degree_bound_with_separator
(k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
(hconn : G.Connected) (hmin : is_minimally_k_extendable G k)
(A B C D : Finset (Fin (4*k)))
(hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D)
(hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D)
(hcover : A ∪ B ∪ C ∪ D = Finset.univ)
(hA : A.card=5) (hC : C.card=5)
(hsizeAB : A.card+B.card=2*k) (hsizeCD : C.card+D.card=2*k)
(hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)
(hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d)
(hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty →
Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →
(∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card)
: ∃ v, (G.neighborFinset v).card ≤ 2*k+1- Related work
- OP-1957; the associated four-block boundary structure is in arXiv:1011.3384, Theorem 2.1. This result explicitly assumes the separator property and that both selected blocks have size five.
- Verified
- 25 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- is_minimally_k_extendableFor a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_minimally_k_extendable G k is the Prop…
- boundary_five_blocks_essential_edge_cross_defect_patternIn the displayed four-block partition with both selected blocks of size five, minimum degree at least 2k+2, a separator property and…
- five_by_five_sparse_defects_have_good_pairFor a relation between two five-element sets, if every row and column has one or two related entries and no related pair has both row and…
- boundary_five_blocks_minimal_no_full_crossIn the stated four-block partition with two five-vertex selected blocks, minimum degree at least 2k+2, the 2k separator property and…
- anticomplete_neighbor_defect_boundA vertex anticomplete to a specified block misses at most r of its allowed neighbors when its degree is within r of their total number.
- is_k_extendableFor a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_k_extendable G k is the Prop that is the…
Read back from the Lean
For any natural number $k \ge 5$, let $G$ be a simple graph on the vertex set $\text{Fin}(4k)$ with decidable adjacency.
Assume:
1. $G$ is connected (G.Connected).
2. $G$ is minimally $k$-extendable (is_minimally_k_extendable G k).
3. $A, B, C, D$ are pairwise disjoint finite subsets of $\text{Fin}(4k)$ whose union is all of $\text{Fin}(4k)$ (Finset.univ).
4. $|A| = 5$ and $|C| = 5$.
5. $|A| + |B| = 2k$ and $|C| + |D| = 2k$.
6. There are no edges in $G$ between $A$ and $B$ (for all $a \in A$ and $b \in B$, $\neg G.\text{Adj } a\ b$).
7. There are no edges in $G$ between $C$ and $D$ (for all $c \in C$ and $d \in D$, $\neg G.\text{Adj } c\ d$).
8. For any subsets $X, U, V \subseteq \text{Fin}(4k)$, if $U$ and $V$ are non-empty, $X, U, V$ are pairwise disjoint, $X \cup U \cup V = \text{Finset.univ}$, and there are no edges in $G$ between $U$ and $V$, then $|X| \ge 2k$.
Then, there exists a vertex $v \in \text{Fin}(4k)$ whose degree in $G$ (the cardinality of its neighbor finset) is at most $2k + 1$.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The proof proceeds by contradiction: suppose every vertex has degree at least 2k+2. Under this assumption, counting non-neighbors against the disjoint anticomplete sets B and D bounds each vertex's non-neighbor count between A and C between 1 and 2, with no non-adjacent pair having two non-neighbors each. A combinatorial lemma for 5 × 5 defect graphs then guarantees an edge ac between A and C where both a and c have exactly one non-neighbor across. However, because ac is an essential edge in the minimally extendable graph, the structural defect pattern forces c to have two non-neighbors in A, producing a contradiction.
Assume for contradiction that every vertex in G has degree at least 2k+2.
We argue by contradiction: assume no vertex v satisfies deg(v) ≤ 2k+1. Pushing the negation through the existential quantifier yields that every vertex v satisfies deg(v) ≥ 2k+2.
classical by_contra hnone push_neg at hnone have hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card := by intro v have h := hnone v omega
Every vertex in A has at most 2 non-neighbors in C.
For any a ∈ A, disjointness implies a ∉ B, and by hypothesis a has no edges to B. Applying anticomplete_neighbor_defect_bound with d = 2k+4 and defect bound r = 2, since |V| = 4k = |B| + (2k+4) + 1 (as |B| = 2k - 5) and deg(a) ≥ 2k+2, the number of non-neighbors of a outside B ∪ {a} is at most 2. Because C is disjoint from B and does not contain a, the non-neighbors of a in C form a subset of these non-neighbors, so their count is also at most 2.
uses
Finset.disjoint_left.mp,anticomplete_neighbor_defect_bound,le_trans,Finset.card_le_card,Finset.mem_filter,Finset.mem_sdiff,Finset.mem_erase,Finset.mem_univ,true_and,SimpleGraph.mem_neighborFinsethave hrowupper : ∀ a ∈ A, (C.filter (fun c => ¬ G.Adj a c)).card ≤ 2 := by intro a ha have haB : a ∉ B := fun h => Finset.disjoint_left.mp hAB ha h have hh := anticomplete_neighbor_defect_bound G B a haB (hnoAB a ha) (2*k+4) 2 (by simp; omega) (by have := hdegree a; omega) apply le_trans (Finset.card_le_card ?_) hh intro c hc simp only [Finset.mem_filter] at hc have hcB : c ∉ B := fun h => Finset.disjoint_left.mp hBC h hc.1 have hca : c ≠ a := fun h => Finset.disjoint_left.mp hAC ha (h ▸ hc.1) simp only [Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, SimpleGraph.mem_neighborFinset] exact ⟨⟨hca,hcB⟩,hc.2⟩
Every vertex in C has at most 2 non-neighbors in A.
Symmetrically, for any c ∈ C, c ∉ D and c has no edges to D. Applying anticomplete_neighbor_defect_bound with set D shows that the number of non-neighbors of c outside D ∪ {c} is at most 2. Since A is disjoint from D and does not contain c, the non-neighbors of c in A form a subset of these non-neighbors, establishing the bound of at most 2.
uses
Finset.disjoint_left.mp,anticomplete_neighbor_defect_bound,le_trans,Finset.card_le_card,Finset.mem_filter,Finset.mem_sdiff,Finset.mem_erase,Finset.mem_univ,true_and,SimpleGraph.mem_neighborFinsethave hcolupper : ∀ c ∈ C, (A.filter (fun a => ¬ G.Adj a c)).card ≤ 2 := by intro c hc have hcD : c ∉ D := fun h => Finset.disjoint_left.mp hCD hc h have hh := anticomplete_neighbor_defect_bound G D c hcD (hnoCD c hc) (2*k+4) 2 (by simp; omega) (by have := hdegree c; omega) apply le_trans (Finset.card_le_card ?_) hh intro a ha simp only [Finset.mem_filter] at ha have haD : a ∉ D := fun h => Finset.disjoint_left.mp hAD ha.1 h have hac : a ≠ c := fun h => Finset.disjoint_left.mp hAC ha.1 (h ▸ hc) simp only [Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, SimpleGraph.mem_neighborFinset] exact ⟨⟨hac,haD⟩,fun h => ha.2 h.symm⟩
Every vertex in A has at least 1 non-neighbor in C.
By boundary_five_blocks_minimal_no_full_cross, in a minimally k-extendable graph with minimum degree at least 2k+2 satisfying the separator condition, no vertex in A can be adjacent to all five vertices of C. Hence, every vertex a ∈ A has at least 1 non-neighbor in C.
uses
boundary_five_blocks_minimal_no_full_crosshave hrowlower := boundary_five_blocks_minimal_no_full_cross k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hminEvery vertex in C has at least 1 non-neighbor in A.
Rearranging the vertex partition cover as C ∪ D ∪ A ∪ B = univ allows us to apply boundary_five_blocks_minimal_no_full_cross with the roles of (A, B) and (C, D) swapped. By symmetry of adjacency, this establishes that every vertex c ∈ C has at least 1 non-neighbor in A.
uses
boundary_five_blocks_minimal_no_full_cross,Finset.mem_filterhave hcover' : C ∪ D ∪ A ∪ B = Finset.univ := by calc C ∪ D ∪ A ∪ B = A ∪ B ∪ C ∪ D := by ac_rfl _ = Finset.univ := hcover have hcollo' := boundary_five_blocks_minimal_no_full_cross k hk G C D A B hCD hAC.symm hBC.symm hAD.symm hBD.symm hAB hcover' hC hA hsizeCD hsizeAB hnoCD hnoAB hdegree hsep hmin have hcollower : ∀ c ∈ C, 1 ≤ (A.filter (fun a => ¬ G.Adj a c)).card := by intro c hc have heq : A.filter (fun a => ¬ G.Adj c a) = A.filter (fun a => ¬ G.Adj a c) := by ext a simp only [Finset.mem_filter] constructor · rintro ⟨ha,hn⟩; exact ⟨ha,fun h => hn h.symm⟩ · rintro ⟨ha,hn⟩; exact ⟨ha,fun h => hn h.symm⟩ simpa only [heq] using hcollo' c hc
No non-adjacent pair a ∈ A and c ∈ C can both have exactly 2 non-neighbors in the other set.
Suppose for contradiction that a ∈ A and c ∈ C are non-adjacent and each has 2 non-neighbors in the other set. Since |C| = 5 and a has only 2 non-neighbors in C, a must have at least one neighbor y ∈ C. Since G is minimally k-extendable, deleting the edge ay destroys k-extendability. Applying the defect pattern lemma boundary_five_blocks_essential_edge_cross_defect_pattern to the edge ay, the fact that a has 2 non-neighbors in C forces every non-neighbor of a in C (in particular, c) to have exactly 1 non-neighbor in A. This contradicts the assumption that c has 2 non-neighbors in A.
uses
Finset.mem_filter,And.left,boundary_five_blocks_essential_edge_cross_defect_patternhave hno22 : ∀ a ∈ A, ∀ c ∈ C, ¬ G.Adj a c → (C.filter (fun y => ¬ G.Adj a y)).card = 2 → (A.filter (fun v => ¬ G.Adj v c)).card ≠ 2 := by intro a ha c hc hac ha2 hc2 have hex : ∃ y ∈ C, G.Adj a y := by by_contra hn push_neg at hn have heq : C.filter (fun y => ¬ G.Adj a y) = C := by ext y simp only [Finset.mem_filter] exact ⟨And.left, fun hy => ⟨hy,hn y hy⟩⟩ rw [heq,hC] at ha2 omega obtain ⟨y,hy,hay⟩ := hex have he : ¬ is_k_extendable (G.deleteEdges {s(a,y)}) k := hmin.2 s(a,y) (by simpa using hay) have hp := boundary_five_blocks_essential_edge_cross_defect_pattern k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hmin.1 a y ha hy hay he have hh := hp.1 ha2 c hc hac omega
There exists an adjacent pair a ∈ A, c ∈ C such that a has exactly 1 non-neighbor in C and c has exactly 1 non-neighbor in A.
We view non-adjacency between A and C as a bipartite relation on two sets of size 5. The previous steps established that every row and column has between 1 and 2 non-neighbors, and no non-adjacent pair both have 2 non-neighbors across. The combinatorial lemma five_by_five_sparse_defects_have_good_pair then guarantees the existence of a pair a ∈ A and c ∈ C that are adjacent in G, such that each has defect degree exactly 1 in the other set.
uses
five_by_five_sparse_defects_have_good_pairobtain ⟨a,ha,c,hc,hn,ha1,hc1⟩ := five_by_five_sparse_defects_have_good_pair A C (fun a c => ¬ G.Adj a c) hA hC (fun a ha => ⟨hrowlower a ha,hrowupper a ha⟩) (fun c hc => ⟨hcollower c hc,hcolupper c hc⟩) hno22
A contradiction is reached, completing the proof.
Since a and c are adjacent, minimality of G implies that deleting the edge ac destroys k-extendability. Applying boundary_five_blocks_essential_edge_cross_defect_pattern to ac, its second clause states that because a has at most 1 non-neighbor in C, c must have exactly 2 non-neighbors in A. However, the previous step established that c has exactly 1 non-neighbor in A, giving a contradiction (1 = 2).
uses
Classical.not_not.mp,boundary_five_blocks_essential_edge_cross_defect_patternhave hac : G.Adj a c := Classical.not_not.mp hn have he : ¬ is_k_extendable (G.deleteEdges {s(a,c)}) k := hmin.2 s(a,c) (by simpa using hac) have hp := boundary_five_blocks_essential_edge_cross_defect_pattern k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hmin.1 a c ha hc hac he have hh := hp.2 (by omega) omega
And.left- From a conjunction a ∧ b, deduce the left conjunct a.
Classical.not_not.mp- Double negation elimination: from ¬¬p, deduce p.
Finset.card_le_card- If a finset s is a subset of a finset t, then the cardinality of s is at most the cardinality of t.
Finset.disjoint_left.mp- If two finsets s and t are disjoint, then any element of s is not in t.
Finset.mem_erase- An element a belongs to s.erase b if and only if a ≠ b and a ∈ s.
Finset.mem_filter- An element a belongs to {x ∈ s | p x} if and only if a ∈ s and p a holds.
Finset.mem_sdiff- An element a belongs to s \ t if and only if a ∈ s and a ∉ t.
Finset.mem_univ- Every element of a finite type belongs to the universal finset Finset.univ.
SimpleGraph.mem_neighborFinset- A vertex w belongs to the neighbor finset of v if and only if v and w are adjacent in G.
anticomplete_neighbor_defect_bound- In a graph on a finite vertex set V, if x ∉ B has no edges to B, |V| = |B| + d + 1, and d ≤ deg(x) + r, then the number of non-neighbors of x outside B ∪ {x} is at most r.
boundary_five_blocks_essential_edge_cross_defect_pattern- For an edge xy between x ∈ A and y ∈ C whose deletion destroys k-extendability in the five-block setup with minimum degree at least 2k+2: if x has 2 non-neighbors in C, then every non-neighbor of x in C has exactly 1 non-neighbor in A; and if x has at most 1 non-neighbor in C, then y has exactly 2 non-neighbors in A.
boundary_five_blocks_minimal_no_full_cross- Under the five-block partition hypotheses with minimum degree at least 2k+2, separator bound 2k, and minimal k-extendability, no vertex in A is adjacent to all vertices of C (each vertex in A has at least 1 non-neighbor in C).
five_by_five_sparse_defects_have_good_pair- In any bipartite relation on two 5-element sets where each row and column has between 1 and 2 related elements, and no related pair has both row-degree 2 and column-degree 2, there exists an unrelated pair where both the row and column degrees are exactly 1.
le_trans- Transitivity of inequality: if a ≤ b and b ≤ c, then a ≤ c.
true_and- The conjunction True ∧ p is equivalent to p.
- The proof translates graph non-adjacency between the 5-element sets A and C into a bipartite 'defect' relation, using a combinatorial lemma (five_by_five_sparse_defects_have_good_pair) to find a suitable edge.
- Classical logic (Classical.not_not.mp) is used to eliminate double negation to deduce G.Adj a c from ¬(¬G.Adj a c).
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 minimally_k_extendable_five_block_boundary_degree_bound_with_separator (k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj] (hconn : G.Connected) (hmin : is_minimally_k_extendable G k) (A B C D : Finset (Fin (4*k))) (hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D) (hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D) (hcover : A ∪ B ∪ C ∪ D = Finset.univ) (hA : A.card=5) (hC : C.card=5) (hsizeAB : A.card+B.card=2*k) (hsizeCD : C.card+D.card=2*k) (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b) (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d) (hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty → Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ → (∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card) : ∃ v, (G.neighborFinset v).card ≤ 2*k+1 := by classical by_contra hnone push_neg at hnone have hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card := by intro v have h := hnone v omega have hrowupper : ∀ a ∈ A, (C.filter (fun c => ¬ G.Adj a c)).card ≤ 2 := by intro a ha have haB : a ∉ B := fun h => Finset.disjoint_left.mp hAB ha h have hh := anticomplete_neighbor_defect_bound G B a haB (hnoAB a ha) (2*k+4) 2 (by simp; omega) (by have := hdegree a; omega) apply le_trans (Finset.card_le_card ?_) hh intro c hc simp only [Finset.mem_filter] at hc have hcB : c ∉ B := fun h => Finset.disjoint_left.mp hBC h hc.1 have hca : c ≠ a := fun h => Finset.disjoint_left.mp hAC ha (h ▸ hc.1) simp only [Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, SimpleGraph.mem_neighborFinset] exact ⟨⟨hca,hcB⟩,hc.2⟩ have hcolupper : ∀ c ∈ C, (A.filter (fun a => ¬ G.Adj a c)).card ≤ 2 := by intro c hc have hcD : c ∉ D := fun h => Finset.disjoint_left.mp hCD hc h have hh := anticomplete_neighbor_defect_bound G D c hcD (hnoCD c hc) (2*k+4) 2 (by simp; omega) (by have := hdegree c; omega) apply le_trans (Finset.card_le_card ?_) hh intro a ha simp only [Finset.mem_filter] at ha have haD : a ∉ D := fun h => Finset.disjoint_left.mp hAD ha.1 h have hac : a ≠ c := fun h => Finset.disjoint_left.mp hAC ha.1 (h ▸ hc) simp only [Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, SimpleGraph.mem_neighborFinset] exact ⟨⟨hac,haD⟩,fun h => ha.2 h.symm⟩ have hrowlower := boundary_five_blocks_minimal_no_full_cross k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hmin have hcover' : C ∪ D ∪ A ∪ B = Finset.univ := by calc C ∪ D ∪ A ∪ B = A ∪ B ∪ C ∪ D := by ac_rfl _ = Finset.univ := hcover have hcollo' := boundary_five_blocks_minimal_no_full_cross k hk G C D A B hCD hAC.symm hBC.symm hAD.symm hBD.symm hAB hcover' hC hA hsizeCD hsizeAB hnoCD hnoAB hdegree hsep hmin have hcollower : ∀ c ∈ C, 1 ≤ (A.filter (fun a => ¬ G.Adj a c)).card := by intro c hc have heq : A.filter (fun a => ¬ G.Adj c a) = A.filter (fun a => ¬ G.Adj a c) := by ext a simp only [Finset.mem_filter] constructor · rintro ⟨ha,hn⟩; exact ⟨ha,fun h => hn h.symm⟩ · rintro ⟨ha,hn⟩; exact ⟨ha,fun h => hn h.symm⟩ simpa only [heq] using hcollo' c hc have hno22 : ∀ a ∈ A, ∀ c ∈ C, ¬ G.Adj a c → (C.filter (fun y => ¬ G.Adj a y)).card = 2 → (A.filter (fun v => ¬ G.Adj v c)).card ≠ 2 := by intro a ha c hc hac ha2 hc2 have hex : ∃ y ∈ C, G.Adj a y := by by_contra hn push_neg at hn have heq : C.filter (fun y => ¬ G.Adj a y) = C := by ext y simp only [Finset.mem_filter] exact ⟨And.left, fun hy => ⟨hy,hn y hy⟩⟩ rw [heq,hC] at ha2 omega obtain ⟨y,hy,hay⟩ := hex have he : ¬ is_k_extendable (G.deleteEdges {s(a,y)}) k := hmin.2 s(a,y) (by simpa using hay) have hp := boundary_five_blocks_essential_edge_cross_defect_pattern k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hmin.1 a y ha hy hay he have hh := hp.1 ha2 c hc hac omega obtain ⟨a,ha,c,hc,hn,ha1,hc1⟩ := five_by_five_sparse_defects_have_good_pair A C (fun a c => ¬ G.Adj a c) hA hC (fun a ha => ⟨hrowlower a ha,hrowupper a ha⟩) (fun c hc => ⟨hcollower c hc,hcolupper c hc⟩) hno22 have hac : G.Adj a c := Classical.not_not.mp hn have he : ¬ is_k_extendable (G.deleteEdges {s(a,c)}) k := hmin.2 s(a,c) (by simpa using hac) have hp := boundary_five_blocks_essential_edge_cross_defect_pattern k hk G A B C D hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep hmin.1 a c ha hc hac he have hh := hp.2 (by omega) omega