boundary_five_blocks_vertex_nonneighbor_defects
In the four-block boundary graph on 4k vertices with blocks A and C of size five, A anticomplete to B, C anticomplete to D and minimum degree at least 2k+2, four pairwise disjoint sets of non-neighbors of a vertex v have at most 2 vertices outside B in total if v is in A, at most 2k-8 outside A if v is in B, at most 2 outside D if v is in C, and at most 2k-8 outside C if v is in D.
Statement
theorem boundary_five_blocks_vertex_nonneighbor_defects
(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)
(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)
(v : Fin (4*k)) (s1 s2 s3 s4 : Finset (Fin (4*k)))
(hs : ∀ w, (w ∈ s1 ∨ w ∈ s2 ∨ w ∈ s3 ∨ w ∈ s4) → w ≠ v ∧ ¬ G.Adj v w)
(d12 : Disjoint s1 s2) (d13 : Disjoint s1 s3) (d14 : Disjoint s1 s4)
(d23 : Disjoint s2 s3) (d24 : Disjoint s2 s4) (d34 : Disjoint s3 s4) :
(v ∈ A → (s1 \ B).card + (s2 \ B).card + (s3 \ B).card + (s4 \ B).card ≤ 2) ∧
(v ∈ B → (s1 \ A).card + (s2 \ A).card + (s3 \ A).card + (s4 \ A).card + 8 ≤ 2*k) ∧
(v ∈ C → (s1 \ D).card + (s2 \ D).card + (s3 \ D).card + (s4 \ D).card ≤ 2) ∧
(v ∈ D → (s1 \ C).card + (s2 \ C).card + (s3 \ C).card + (s4 \ C).card + 8 ≤ 2*k)- Source
- OP-1957: graph-to-count transfer for the size-five block forced-edge route (IN-1126).
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- anticomplete_vertex_four_disjoint_nonneighbor_sets_boundIf a vertex is anticomplete to a block and its degree is within r of the number of vertices outside the block other than itself, then four…
- Used by 5
- 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…
- boundary_five_blocks_two_extra_shores_impossibleIn the displayed degree-bounded four-block graph, a 2k-vertex residual cannot split into two endpoint shores with no cross edge except…
- boundary_four_five_blocks_even_shores_impossibleIn a 20-vertex graph partitioned into four five-vertex blocks A, B, C, D with A anticomplete to B and C anticomplete to D, minimum degree…
- boundary_five_blocks_single_odd_extra_shore_impossibleIn the displayed degree-bounded four-block graph, a 2k-vertex residual cannot split into two endpoint shores with no cross edge except…
- boundary_five_blocks_bridge_shore_defect_constraintsFor the displayed four-block graph with min degree at least 2k+2 and disjoint even nonendpoint bridge shores, the stated block…
The proof, explained
The theorem establishes defect bounds on any four pairwise disjoint sets of non-neighbors of a vertex v, depending on which block (A, B, C, or D) contains v. Because v is anticomplete to its opposite block (B for A, A for B, D for C, and C for D), all of its neighbors lie outside that block. Applying the general lemma anticomplete_vertex_four_disjoint_nonneighbor_sets_bound with parameters calibrated by the block sizes and the minimum degree deg(v) ≥ 2k + 2 bounds the defect outside the anticomplete block by 2 when the block has size 2k - 5 (for v ∈ A or v ∈ C), and by 2k - 8 when the block has size 5 (for v ∈ B or v ∈ D).
The graph has 4k vertices, the degree of v is at least 2k + 2, and the goal reduces to four conditional bounds corresponding to v ∈ A, v ∈ B, v ∈ C, and v ∈ D.
We evaluate the total vertex count of Fin (4k) as 4k using Fintype.card_fin and instantiate the minimum degree hypothesis at v to obtain deg(v) ≥ 2k + 2. We then split the conjunction of four implications into four subgoals.
uses
Fintype.card_finhave hcard : Fintype.card (Fin (4*k)) = 4*k := Fintype.card_fin _ have hdv := hdegree v refine ⟨fun hv => ?_, fun hv => ?_, fun hv => ?_, fun hv => ?_⟩
If v ∈ A, then (s1 \ B).card + (s2 \ B).card + (s3 \ B).card + (s4 \ B).card ≤ 2.
Assuming v ∈ A, disjointness of A and B implies v ∉ B (via Finset.disjoint_left.mp), and the hypothesis hnoAB shows v is anticomplete to B. Since |A| = 5 and |A| + |B| = 2k, we have |B| = 2k - 5. We apply anticomplete_vertex_four_disjoint_nonneighbor_sets_bound with Q = B, d = 2k + 4, and defect bound r = 2. The size condition |V| = |B| + (2k + 4) + 1 = 4k and degree condition 2k + 4 ≤ deg(v) + 2 are verified by linear arithmetic (omega).
uses
anticomplete_vertex_four_disjoint_nonneighbor_sets_bound,Finset.disjoint_left.mp· exact anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G B v (Finset.disjoint_left.mp hAB hv) (hnoAB v hv) (2*k+4) 2 (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34
If v ∈ B, then (s1 \ A).card + (s2 \ A).card + (s3 \ A).card + (s4 \ A).card + 8 ≤ 2k.
Assuming v ∈ B, disjointness gives v ∉ A (via Finset.disjoint_right.mp), and symmetry of non-adjacency ensures v is anticomplete to A. Since |A| = 5, we invoke anticomplete_vertex_four_disjoint_nonneighbor_sets_bound with Q = A, d = 4k - 6, and defect bound r = 2k - 8. The size condition 4k = 5 + (4k - 6) + 1 and degree condition 4k - 6 ≤ deg(v) + (2k - 8) hold by linear arithmetic (omega). This bounds the defect sum outside A by 2k - 8, which linear arithmetic rearranges to the required inequality.
uses
anticomplete_vertex_four_disjoint_nonneighbor_sets_bound,Finset.disjoint_right.mp· have := anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G A v (Finset.disjoint_right.mp hAB hv) (fun a ha h => hnoAB a ha v hv h.symm) (4*k-6) (2*k-8) (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 omega
If v ∈ C, then (s1 \ D).card + (s2 \ D).card + (s3 \ D).card + (s4 \ D).card ≤ 2.
Assuming v ∈ C, disjointness gives v ∉ D (via Finset.disjoint_left.mp), and v is anticomplete to D. With |C| = 5 and |C| + |D| = 2k, |D| = 2k - 5. We apply anticomplete_vertex_four_disjoint_nonneighbor_sets_bound with Q = D, d = 2k + 4, and r = 2, with the size and degree conditions confirmed by linear arithmetic (omega), matching the v ∈ A case.
uses
anticomplete_vertex_four_disjoint_nonneighbor_sets_bound,Finset.disjoint_left.mp· exact anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G D v (Finset.disjoint_left.mp hCD hv) (hnoCD v hv) (2*k+4) 2 (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34
If v ∈ D, then (s1 \ C).card + (s2 \ C).card + (s3 \ C).card + (s4 \ C).card + 8 ≤ 2k.
Assuming v ∈ D, disjointness yields v ∉ C (via Finset.disjoint_right.mp), and symmetry ensures v is anticomplete to C. Since |C| = 5, applying anticomplete_vertex_four_disjoint_nonneighbor_sets_bound with Q = C, d = 4k - 6, and r = 2k - 8 bounds the defect sum outside C by 2k - 8. Linear arithmetic (omega) then rearranges this to the claimed inequality.
uses
anticomplete_vertex_four_disjoint_nonneighbor_sets_bound,Finset.disjoint_right.mp· have := anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G C v (Finset.disjoint_right.mp hCD hv) (fun a ha h => hnoCD a ha v hv h.symm) (4*k-6) (2*k-8) (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 omega
Fintype.card_fin- The cardinality of the standard finite type Fin n is n.
Finset.disjoint_left.mp- If two finite sets are disjoint, any element of the first set does not belong to the second set.
Finset.disjoint_right.mp- If two finite sets are disjoint, any element of the second set does not belong to the first set.
anticomplete_vertex_four_disjoint_nonneighbor_sets_bound- For a vertex v disjoint and anticomplete to a set Q in a graph on V, if |V| = |Q| + d + 1 and d ≤ deg(v) + r, then any four pairwise disjoint sets of non-neighbors of v have at most r elements outside Q in total.
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_blocks_vertex_nonneighbor_defects (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) (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) (v : Fin (4*k)) (s1 s2 s3 s4 : Finset (Fin (4*k))) (hs : ∀ w, (w ∈ s1 ∨ w ∈ s2 ∨ w ∈ s3 ∨ w ∈ s4) → w ≠ v ∧ ¬ G.Adj v w) (d12 : Disjoint s1 s2) (d13 : Disjoint s1 s3) (d14 : Disjoint s1 s4) (d23 : Disjoint s2 s3) (d24 : Disjoint s2 s4) (d34 : Disjoint s3 s4) : (v ∈ A → (s1 \ B).card + (s2 \ B).card + (s3 \ B).card + (s4 \ B).card ≤ 2) ∧ (v ∈ B → (s1 \ A).card + (s2 \ A).card + (s3 \ A).card + (s4 \ A).card + 8 ≤ 2*k) ∧ (v ∈ C → (s1 \ D).card + (s2 \ D).card + (s3 \ D).card + (s4 \ D).card ≤ 2) ∧ (v ∈ D → (s1 \ C).card + (s2 \ C).card + (s3 \ C).card + (s4 \ C).card + 8 ≤ 2*k) := by have hcard : Fintype.card (Fin (4*k)) = 4*k := Fintype.card_fin _ have hdv := hdegree v refine ⟨fun hv => ?_, fun hv => ?_, fun hv => ?_, fun hv => ?_⟩ · exact anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G B v (Finset.disjoint_left.mp hAB hv) (hnoAB v hv) (2*k+4) 2 (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 · have := anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G A v (Finset.disjoint_right.mp hAB hv) (fun a ha h => hnoAB a ha v hv h.symm) (4*k-6) (2*k-8) (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 omega · exact anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G D v (Finset.disjoint_left.mp hCD hv) (hnoCD v hv) (2*k+4) 2 (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 · have := anticomplete_vertex_four_disjoint_nonneighbor_sets_bound G C v (Finset.disjoint_right.mp hCD hv) (fun a ha h => hnoCD a ha v hv h.symm) (4*k-6) (2*k-8) (by omega) (by omega) s1 s2 s3 s4 hs d12 d13 d14 d23 d24 d34 omega