four_block_anticomplete_shores_separator_bound
In a finite four-block partition with A and B together of size L, C nonempty and anticomplete to D, suppose every separator has size at least L. For any disjoint anticomplete sets Q,W with D intersecting Q, the number of D vertices in Q or W plus the number of B vertices in W is at most the size of D.
Statement
theorem four_block_anticomplete_shores_separator_bound {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (A B C D : Finset V) (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) (hC : C.Nonempty) (L : ℕ) (hsizeAB : A.card+B.card=L) (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d) (hsep : ∀ X U V' : Finset V, 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) → L ≤ X.card) (Q W : Finset V) (hQW : Disjoint Q W) (hcross : ∀ q ∈ Q, ∀ w ∈ W, ¬ G.Adj q w) (hQD : (D ∩ Q).Nonempty) : (D ∩ Q).card + (B ∩ W).card + (D ∩ W).card ≤ D.card
- Source
- OP-1957: strengthened separator for arbitrary-sized four-block bridge shores.
- Verified
- 24 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 7
- boundary_five_odd_blocks_one_defect_component_barrier_impossibleFor the stated 5, 2k−5, c, 2k−c block partition with c odd and at most k, minimum degree 2k+2, the separator property and factor-critical…
- op1957_one_defect_separator_numeric_boundsUnder the displayed four-block partition and separator hypotheses, the two displayed D-shore count inequalities follow when the…
- op1957_four_shore_first_D_separator_boundFour shore first d separator bound.
- boundary_five_odd_blocks_one_defect_essential_edge_forces_twoFor an odd c with 5≤c≤k, consider the explicitly displayed order-4k four-block partition with |A|=5, |C|=c, factor-critical B, minimum…
- op1957_saturated_b_only_connected_shore_impossibleThe displayed disjoint connected endpoint shores and B-only odd reservoir cannot satisfy the four-block degree, separator and…
- op1957_one_defect_empty_barrier_impossibleIn the displayed five-by-odd partition with degree, separator and factor-criticality hypotheses, two disjoint endpoint shores covering 2k…
- boundary_five_odd_saturated_two_odd_shores_force_patternsUnder the displayed five-by-odd block, degree, separator, B-block connectedness and saturation hypotheses, two disjoint odd shores of…
The proof, explained
The proof constructs a tripartite partition of the vertex set into a separator X := A ∪ (B \ W) ∪ (D \ (Q ∪ W)) and two shores U := C ∪ (B ∩ W) ∪ (D ∩ W) and V := D ∩ Q. The anticompleteness assumptions between C and D and between Q and W ensure that there are no edges between U and V, so the separator hypothesis implies |X| ≥ L. Decomposing the cardinalities of B and D and comparing |X| with |A| + |B| = L then yields the upper bound by linear arithmetic.
Define a candidate separator X and two shores U and V partitioning the graph.
Set X := A ∪ (B \ W) ∪ (D \ (Q ∪ W)), U := C ∪ (B ∩ W) ∪ (D ∩ W), and V := D ∩ Q. The strategy is to show that X separates U from V in G, so that the separator lower bound hypothesis applies.
classical let X := A ∪ (B \ W) ∪ (D \ (Q ∪ W)) let U := C ∪ (B ∩ W) ∪ (D ∩ W) let V := D ∩ Q
Both shores U and V are nonempty.
Since C is nonempty (by hypothesis hC), choosing any element c ∈ C gives c ∈ U, showing U is nonempty. The shore V = D ∩ Q is nonempty directly by the hypothesis hQD.
have hUne : U.Nonempty := by obtain ⟨c,hc⟩ := hC exact ⟨c, by simp [U,hc]⟩ have hVne : V.Nonempty := hQD
The candidate separator X is disjoint from the shore U.
Suppose, for contradiction, that some vertex v belongs to both X and U. Then v lies in one of the three constituents of X (A, B \ W, or D \ (Q ∪ W)) and in one of the three constituents of U (C, B ∩ W, or D ∩ W). In each of the nine cases, this contradicts either the assumed pairwise disjointness of A, B, C, D, or the conflicting membership conditions regarding W or Q ∪ W.
uses
Finset.disjoint_left.mpr,Finset.mem_union,Finset.mem_sdiff,Finset.mem_inter,Finset.disjoint_left.mp,Or.inrhave hXU : Disjoint X U := by apply Finset.disjoint_left.mpr intro v hv hu simp only [X, U, Finset.mem_union, Finset.mem_sdiff, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv <;> rcases hu with (hu | hu) | hu · exact Finset.disjoint_left.mp hAC hv hu · exact Finset.disjoint_left.mp hAB hv hu.1 · exact Finset.disjoint_left.mp hAD hv hu.1 · exact Finset.disjoint_left.mp hBC hv.1 hu · exact hv.2 hu.2 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact Finset.disjoint_left.mp hCD hu hv.1 · exact Finset.disjoint_left.mp hBD hu.1 hv.1 · exact hv.2 (Or.inr hu.2)
The candidate separator X is disjoint from the shore V.
Suppose, for contradiction, that some vertex v belongs to both X and V = D ∩ Q. If v ∈ A or v ∈ B \ W, this contradicts the disjointness of A or B with D. If v ∈ D \ (Q ∪ W), this contradicts v ∈ Q.
uses
Finset.disjoint_left.mpr,Finset.mem_union,Finset.mem_sdiff,Finset.mem_inter,Finset.disjoint_left.mp,Or.inlhave hXV : Disjoint X V := by apply Finset.disjoint_left.mpr intro v hv hu simp only [X, V, Finset.mem_union, Finset.mem_sdiff, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv · exact Finset.disjoint_left.mp hAD hv hu.1 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact hv.2 (Or.inl hu.2)
The two shores U and V are disjoint.
Suppose, for contradiction, that some vertex v belongs to both U and V = D ∩ Q. If v ∈ C or v ∈ B ∩ W, this contradicts the disjointness of C or B with D. If v ∈ D ∩ W, this contradicts the hypothesis hQW that Q and W are disjoint.
uses
Finset.disjoint_left.mpr,Finset.mem_union,Finset.mem_inter,Finset.disjoint_left.mphave hUV : Disjoint U V := by apply Finset.disjoint_left.mpr intro v hv hu simp only [U, V, Finset.mem_union, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv · exact Finset.disjoint_left.mp hCD hv hu.1 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact Finset.disjoint_left.mp hQW hu.2 hv.2
The sets X, U, and V together cover the entire vertex set: X ∪ U ∪ V = univ.
By the covering hypothesis hcover, every vertex v lies in A, B, C, or D. If v ∈ A, then v ∈ X. If v ∈ B, case analysis on whether v ∈ W places v in U or X. If v ∈ C, then v ∈ U. If v ∈ D, case analysis on v ∈ Q and v ∈ W places v into V, U, or X. Hence every vertex belongs to X ∪ U ∪ V.
uses
Finset.eq_univ_iff_forall.mpr,Finset.mem_univ,Finset.mem_union,or_assochave hXUV : X ∪ U ∪ V = Finset.univ := by apply Finset.eq_univ_iff_forall.mpr intro v have hall : v ∈ A ∨ v ∈ B ∨ v ∈ C ∨ v ∈ D := by have h : v ∈ A ∪ B ∪ C ∪ D := by rw [hcover]; exact Finset.mem_univ v simpa only [Finset.mem_union, or_assoc] using h rcases hall with ha | hb | hc | hd · simp [X,ha] · by_cases hw : v ∈ W <;> simp [X,U,hb,hw] · simp [U,hc] · by_cases hq : v ∈ Q · simp [V,hd,hq] · by_cases hw : v ∈ W <;> simp [X,U,hd,hq,hw]
There are no edges in G between U and V.
Let u ∈ U and v ∈ V = D ∩ Q, and suppose they are adjacent. If u ∈ C, this contradicts the hypothesis hnoCD that C and D are anticomplete. If u ∈ B ∩ W or u ∈ D ∩ W, then u ∈ W and v ∈ Q, which contradicts the hypothesis hcross that Q and W are anticomplete.
uses
Finset.mem_union,Finset.mem_interhave hanti : ∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v := by intro u hu v hv huv simp only [U,V,Finset.mem_union,Finset.mem_inter] at hu hv rcases hu with (hu | hu) | hu · exact hnoCD u hu v hv.1 huv · exact hcross v hv.2 u hu.2 huv.symm · exact hcross v hv.2 u hu.2 huv.symm
The candidate separator X has size at least L: L ≤ |X|.
Because U and V are nonempty, mutually disjoint from each other and from X, cover the remainder of the graph, and have no edges between them, the separator hypothesis hsep applies to (X, U, V) and yields L ≤ |X|.
have hcut := hsep X U V hUne hVne hXU hXV hUV hXUV hantiThe size of X is bounded above by |A| + |B \ W| + |D \ (Q ∪ W)|.
By definition X = A ∪ (B \ W) ∪ (D \ (Q ∪ W)). Subadditivity of cardinality across unions bounds |X| by the sum of the cardinalities of its three constituent subsets.
uses
Finset.card_union_le,Nat.add_le_add_righthave hXcard : X.card ≤ A.card + (B \ W).card + (D \ (Q ∪ W)).card := (Finset.card_union_le _ _).trans (Nat.add_le_add_right (Finset.card_union_le _ _) _)The sizes of B and D decompose as |B| = |B \ W| + |B ∩ W| and |D| = |D \ (Q ∪ W)| + |D ∩ Q| + |D ∩ W|.
Decomposing B relative to W gives |B| = |B \ W| + |B ∩ W|. Decomposing D relative to Q ∪ W gives |D| = |D \ (Q ∪ W)| + |D ∩ (Q ∪ W)|. Since intersection distributes over union and D ∩ Q is disjoint from D ∩ W (as Q and W are disjoint), |D ∩ (Q ∪ W)| splits into |D ∩ Q| + |D ∩ W|.
uses
Finset.card_sdiff_add_card_inter,Finset.inter_union_distrib_left,Finset.disjoint_of_subset_left,Finset.inter_subset_right,Finset.disjoint_of_subset_right,Finset.card_union_of_disjointhave hBcard := Finset.card_sdiff_add_card_inter B W have hDcard := Finset.card_sdiff_add_card_inter D (Q ∪ W) have hDinter : D ∩ (Q ∪ W) = (D ∩ Q) ∪ (D ∩ W) := by exact Finset.inter_union_distrib_left D Q W have hDdis : Disjoint (D ∩ Q) (D ∩ W) := by exact Finset.disjoint_of_subset_left Finset.inter_subset_right (Finset.disjoint_of_subset_right Finset.inter_subset_right hQW) rw [hDinter, Finset.card_union_of_disjoint hDdis] at hDcard
The desired inequality |D ∩ Q| + |B ∩ W| + |D ∩ W| ≤ |D| holds. automation
Combining L = |A| + |B| with L ≤ |X| and the upper bound on |X| gives |A| + |B \ W| + |B ∩ W| ≤ |A| + |B \ W| + |D \ (Q ∪ W)|, which simplifies to |B ∩ W| ≤ |D \ (Q ∪ W)|. Substituting |D \ (Q ∪ W)| = |D| - |D ∩ Q| - |D ∩ W| and rearranging yields the result. Linear arithmetic closes the goal.
omega
Finset.disjoint_left.mpr- Two finite sets are disjoint if no element of the first belongs to the second.
Finset.disjoint_left.mp- If two finite sets are disjoint, an element of the first cannot belong to the second.
Finset.mem_union- An element belongs to the union of two sets if and only if it belongs to the first or to the second.
Finset.mem_sdiff- An element belongs to the set difference s \ t if and only if it belongs to s and not to t.
Finset.mem_inter- An element belongs to the intersection of two sets if and only if it belongs to both.
Or.inr- If a proposition B holds, then A ∨ B holds.
Or.inl- If a proposition A holds, then A ∨ B holds.
Finset.eq_univ_iff_forall.mpr- A finite set equals the universal set if every element of the underlying type belongs to it.
Finset.mem_univ- Every element of a finite type belongs to the universal finset.
or_assoc- Associativity of propositional disjunction: (A ∨ B) ∨ C ↔ A ∨ B ∨ C.
Finset.card_union_le- The cardinality of the union of two finite sets is at most the sum of their cardinalities.
Nat.add_le_add_right- Adding the same natural number to both sides of an inequality preserves the inequality.
Finset.card_sdiff_add_card_inter- The cardinality of s \ t plus the cardinality of s ∩ t equals the cardinality of s.
Finset.inter_union_distrib_left- Intersection distributes over union from the left: s ∩ (t ∪ u) = (s ∩ t) ∪ (s ∩ u).
Finset.disjoint_of_subset_left- If s ⊆ u and u is disjoint from t, then s is disjoint from t.
Finset.inter_subset_right- The intersection s₁ ∩ s₂ is a subset of s₂.
Finset.disjoint_of_subset_right- If t ⊆ u and s is disjoint from u, then s is disjoint from t.
Finset.card_union_of_disjoint- The cardinality of the union of two disjoint finite sets is the sum of their cardinalities.
- The local definition `V := D ∩ Q` on line 19 shadows the type variable `V` of graph vertices for the remainder of the proof.
- The final step relies on Presburger arithmetic automation (`omega`) to deduce the theorem statement from the derived bounds and decompositions.
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 four_block_anticomplete_shores_separator_bound {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (A B C D : Finset V) (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) (hC : C.Nonempty) (L : ℕ) (hsizeAB : A.card+B.card=L) (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d) (hsep : ∀ X U V' : Finset V, 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) → L ≤ X.card) (Q W : Finset V) (hQW : Disjoint Q W) (hcross : ∀ q ∈ Q, ∀ w ∈ W, ¬ G.Adj q w) (hQD : (D ∩ Q).Nonempty) : (D ∩ Q).card + (B ∩ W).card + (D ∩ W).card ≤ D.card := by classical let X := A ∪ (B \ W) ∪ (D \ (Q ∪ W)) let U := C ∪ (B ∩ W) ∪ (D ∩ W) let V := D ∩ Q have hUne : U.Nonempty := by obtain ⟨c,hc⟩ := hC exact ⟨c, by simp [U,hc]⟩ have hVne : V.Nonempty := hQD have hXU : Disjoint X U := by apply Finset.disjoint_left.mpr intro v hv hu simp only [X, U, Finset.mem_union, Finset.mem_sdiff, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv <;> rcases hu with (hu | hu) | hu · exact Finset.disjoint_left.mp hAC hv hu · exact Finset.disjoint_left.mp hAB hv hu.1 · exact Finset.disjoint_left.mp hAD hv hu.1 · exact Finset.disjoint_left.mp hBC hv.1 hu · exact hv.2 hu.2 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact Finset.disjoint_left.mp hCD hu hv.1 · exact Finset.disjoint_left.mp hBD hu.1 hv.1 · exact hv.2 (Or.inr hu.2) have hXV : Disjoint X V := by apply Finset.disjoint_left.mpr intro v hv hu simp only [X, V, Finset.mem_union, Finset.mem_sdiff, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv · exact Finset.disjoint_left.mp hAD hv hu.1 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact hv.2 (Or.inl hu.2) have hUV : Disjoint U V := by apply Finset.disjoint_left.mpr intro v hv hu simp only [U, V, Finset.mem_union, Finset.mem_inter] at hv hu rcases hv with (hv | hv) | hv · exact Finset.disjoint_left.mp hCD hv hu.1 · exact Finset.disjoint_left.mp hBD hv.1 hu.1 · exact Finset.disjoint_left.mp hQW hu.2 hv.2 have hXUV : X ∪ U ∪ V = Finset.univ := by apply Finset.eq_univ_iff_forall.mpr intro v have hall : v ∈ A ∨ v ∈ B ∨ v ∈ C ∨ v ∈ D := by have h : v ∈ A ∪ B ∪ C ∪ D := by rw [hcover]; exact Finset.mem_univ v simpa only [Finset.mem_union, or_assoc] using h rcases hall with ha | hb | hc | hd · simp [X,ha] · by_cases hw : v ∈ W <;> simp [X,U,hb,hw] · simp [U,hc] · by_cases hq : v ∈ Q · simp [V,hd,hq] · by_cases hw : v ∈ W <;> simp [X,U,hd,hq,hw] have hanti : ∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v := by intro u hu v hv huv simp only [U,V,Finset.mem_union,Finset.mem_inter] at hu hv rcases hu with (hu | hu) | hu · exact hnoCD u hu v hv.1 huv · exact hcross v hv.2 u hu.2 huv.symm · exact hcross v hv.2 u hu.2 huv.symm have hcut := hsep X U V hUne hVne hXU hXV hUV hXUV hanti have hXcard : X.card ≤ A.card + (B \ W).card + (D \ (Q ∪ W)).card := (Finset.card_union_le _ _).trans (Nat.add_le_add_right (Finset.card_union_le _ _) _) have hBcard := Finset.card_sdiff_add_card_inter B W have hDcard := Finset.card_sdiff_add_card_inter D (Q ∪ W) have hDinter : D ∩ (Q ∪ W) = (D ∩ Q) ∪ (D ∩ W) := by exact Finset.inter_union_distrib_left D Q W have hDdis : Disjoint (D ∩ Q) (D ∩ W) := by exact Finset.disjoint_of_subset_left Finset.inter_subset_right (Finset.disjoint_of_subset_right Finset.inter_subset_right hQW) rw [hDinter, Finset.card_union_of_disjoint hDdis] at hDcard omega