boundary_five_block_extra_part_card_le_four
In a four-block boundary graph with five vertices in each selected small block and minimum degree at least 2k+2, every set disjoint from the two selected vertices and anticomplete to both has at most four vertices.
Statement
theorem boundary_five_block_extra_part_card_le_four
(k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
(A B C D : Finset (Fin (4*k)))
(hAB : Disjoint A B) (hCD : Disjoint C D) (hBD : Disjoint B D)
(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)
(hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)
(x y : Fin (4*k)) (hx : x ∈ A) (hy : y ∈ C)
(U : Finset (Fin (4*k))) (hxU : x ∉ U) (hyU : y ∉ U)
(hUx : ∀ u ∈ U, ¬ G.Adj x u) (hUy : ∀ u ∈ U, ¬ G.Adj y u) :
U.card ≤ 4- Source
- OP-1957: nonclique four-block forced-bridge route; experiment 37135.
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- 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.
- Used by 1
- boundary_five_blocks_forced_cross_edge_is_bridgeFor every k at least five, in a four-block boundary partition with the two displayed opposite blocks of size five and minimum degree at…
The proof, explained
The proof bounds |U| by showing that every vertex in U must be a non-neighbor of either x outside B ∪ {x} or y outside D ∪ {y}. Because the minimum degree is at least 2k+2 and B (respectively D) is completely anticomplete to x (respectively y), the number of non-neighbors of x outside B ∪ {x} is at most 2, and similarly at most 2 for y outside D ∪ {y}. Since B and D are disjoint, every vertex of U belongs to at least one of these two defect sets, forcing |U| ≤ 2 + 2 = 4.
x ∉ B and y ∉ D
Because A and B are disjoint and x ∈ A, x cannot belong to B. Symmetrically, C and D are disjoint and y ∈ C, so y cannot belong to D.
uses
Finset.disjoint_left.mpclassical have hxB : x ∉ B := (Finset.disjoint_left.mp hAB) hx have hyD : y ∉ D := (Finset.disjoint_left.mp hCD) hy
The total vertex count decomposes as |B| + (2k+4) + 1 and |D| + (2k+4) + 1, and the degrees of x and y satisfy 2k+4 ≤ deg(x) + 2 and 2k+4 ≤ deg(y) + 2
The graph has 4k vertices. Since |A| = 5 and |A| + |B| = 2k, the size of B is 2k - 5, so 4k = |B| + (2k + 4) + 1. The exact same arithmetic holds for D since |C| = 5 and |C| + |D| = 2k. Furthermore, the minimum degree assumption deg(v) ≥ 2k + 2 applied to x and y rearranges by linear arithmetic to 2k+4 ≤ deg(x) + 2 and 2k+4 ≤ deg(y) + 2.
uses
Fintype.card_finhave hcardB : Fintype.card (Fin (4*k)) = B.card+(2*k+4)+1 := by simp only [Fintype.card_fin] omega have hcardD : Fintype.card (Fin (4*k)) = D.card+(2*k+4)+1 := by simp only [Fintype.card_fin] omega have hdgx : 2*k+4 ≤ (G.neighborFinset x).card+2 := by have := hdegree x; omega have hdgy : 2*k+4 ≤ (G.neighborFinset y).card+2 := by have := hdegree y; omega
The defect sets X = (V \ (B ∪ {x})) \ N(x) and Y = (V \ (D ∪ {y})) \ N(y) each contain at most two vertices
Define X as the set of non-neighbors of x outside B ∪ {x}, and Y as the set of non-neighbors of y outside D ∪ {y}. Since x has no neighbors in B, |V| = |B| + (2k+4) + 1, and 2k+4 ≤ deg(x) + 2, the lemma anticomplete_neighbor_defect_bound with d = 2k+4 and defect bound r = 2 implies |X| ≤ 2. The identical bound applies to y and D to give |Y| ≤ 2.
uses
anticomplete_neighbor_defect_boundlet X := ((Finset.univ \ B).erase x) \ G.neighborFinset x let Y := ((Finset.univ \ D).erase y) \ G.neighborFinset y have hX : X.card ≤ 2 := anticomplete_neighbor_defect_bound G B x hxB (hnoAB x hx) (2*k+4) 2 hcardB hdgx have hY : Y.card ≤ 2 := anticomplete_neighbor_defect_bound G D y hyD (hnoCD y hy) (2*k+4) 2 hcardD hdgy
U ⊆ X ∪ Y
Take any vertex u ∈ U. If u ∈ B, then u ∉ D because B and D are disjoint. Since y ∉ U, u ≠ y, and by assumption u is not adjacent to y, so u lies in Y. If instead u ∉ B, then u ≠ x (since x ∉ U) and u is not adjacent to x, so u lies in X. Thus every u ∈ U belongs to X ∪ Y.
uses
Finset.disjoint_left.mp,Finset.mem_union_right,Finset.mem_union_lefthave hsubset : U ⊆ X ∪ Y := by intro u hu by_cases huB : u ∈ B · have huD : u ∉ D := (Finset.disjoint_left.mp hBD) huB apply Finset.mem_union_right simp only [Y, Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, G.mem_neighborFinset] exact ⟨⟨fun h => hyU (h ▸ hu), huD⟩, hUy u hu⟩ · apply Finset.mem_union_left simp only [X, Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, G.mem_neighborFinset] exact ⟨⟨fun h => hxU (h ▸ hu), huB⟩, hUx u hu⟩
|U| ≤ 4
Since U is a subset of X ∪ Y, |U| ≤ |X ∪ Y| ≤ |X| + |Y|. Because |X| ≤ 2 and |Y| ≤ 2, linear arithmetic yields |U| ≤ 4.
uses
Finset.card_le_card,Finset.card_union_lehave hcard := Finset.card_le_card hsubset have hunion := Finset.card_union_le X Y omega
Finset.disjoint_left.mp- if two finite sets are disjoint, an element of the first set cannot belong to the second set
Fintype.card_fin- the cardinality of the standard finite type Fin n is n
anticomplete_neighbor_defect_bound- if a vertex x does not belong to B and has no neighbors in B, the total number of vertices is |B| + d + 1, and d ≤ deg(x) + r, then the number of non-neighbors of x outside B ∪ {x} is at most r
Finset.mem_union_right- an element belonging to a set t also belongs to the union s ∪ t
Finset.mem_union_left- an element belonging to a set s also belongs to the union s ∪ t
Finset.card_le_card- if one finite set is a subset of another, its cardinality is at most the cardinality of the superset
Finset.card_union_le- the cardinality of the union of two finite sets is at most the sum of their cardinalities
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 boundary_five_block_extra_part_card_le_four (k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj] (A B C D : Finset (Fin (4*k))) (hAB : Disjoint A B) (hCD : Disjoint C D) (hBD : Disjoint B D) (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) (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card) (x y : Fin (4*k)) (hx : x ∈ A) (hy : y ∈ C) (U : Finset (Fin (4*k))) (hxU : x ∉ U) (hyU : y ∉ U) (hUx : ∀ u ∈ U, ¬ G.Adj x u) (hUy : ∀ u ∈ U, ¬ G.Adj y u) : U.card ≤ 4 := by classical have hxB : x ∉ B := (Finset.disjoint_left.mp hAB) hx have hyD : y ∉ D := (Finset.disjoint_left.mp hCD) hy have hcardB : Fintype.card (Fin (4*k)) = B.card+(2*k+4)+1 := by simp only [Fintype.card_fin] omega have hcardD : Fintype.card (Fin (4*k)) = D.card+(2*k+4)+1 := by simp only [Fintype.card_fin] omega have hdgx : 2*k+4 ≤ (G.neighborFinset x).card+2 := by have := hdegree x; omega have hdgy : 2*k+4 ≤ (G.neighborFinset y).card+2 := by have := hdegree y; omega let X := ((Finset.univ \ B).erase x) \ G.neighborFinset x let Y := ((Finset.univ \ D).erase y) \ G.neighborFinset y have hX : X.card ≤ 2 := anticomplete_neighbor_defect_bound G B x hxB (hnoAB x hx) (2*k+4) 2 hcardB hdgx have hY : Y.card ≤ 2 := anticomplete_neighbor_defect_bound G D y hyD (hnoCD y hy) (2*k+4) 2 hcardD hdgy have hsubset : U ⊆ X ∪ Y := by intro u hu by_cases huB : u ∈ B · have huD : u ∉ D := (Finset.disjoint_left.mp hBD) huB apply Finset.mem_union_right simp only [Y, Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, G.mem_neighborFinset] exact ⟨⟨fun h => hyU (h ▸ hu), huD⟩, hUy u hu⟩ · apply Finset.mem_union_left simp only [X, Finset.mem_sdiff, Finset.mem_erase, Finset.mem_univ, true_and, G.mem_neighborFinset] exact ⟨⟨fun h => hxU (h ▸ hu), huB⟩, hUx u hu⟩ have hcard := Finset.card_le_card hsubset have hunion := Finset.card_union_le X Y omega