four_shore_saturated_y_root_count_bound
Under the displayed four-shore and block-disjointness assumptions, the degree of y forces the listed root count inequality.
Statement
theorem four_shore_saturated_y_root_count_bound
(k c : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k)
(G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
(A B C D E : Finset (Fin (4*k))) (F : Fin 4 → Finset (Fin (4*k)))
(x y : 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)
(hFdis : ∀ i j, i ≠ j → Disjoint (F i) (F j))
(hEdis : ∀ i, Disjoint (F i) E) (hEB : E ⊆ B)
(h2A : Disjoint (F 2) A) (h2D : Disjoint (F 2) D)
(h3A : Disjoint (F 3) A) (h3D : Disjoint (F 3) D)
(hxA : x ∈ A) (hxF : x ∈ F 0) (hyC : y ∈ C) (hyF : y ∈ F 1)
(hD : D.card=2*k-c)
(hcross : ∀ i j : Fin 4, i ≠ j → ∀ a ∈ F i, ∀ b ∈ F j, G.Adj a b →
(i=0 ∧ j=1 ∧ a=x ∧ b=y) ∨ (i=1 ∧ j=0 ∧ a=y ∧ b=x))
(hEanti : ∀ i, ∀ a ∈ F i, ∀ b ∈ E, ¬ G.Adj a b)
(hnoCD : ∀ a ∈ C, ∀ b ∈ D, ¬ G.Adj a b)
(hdegree : 2*k+2 ≤ (G.neighborFinset y).card) :
(F 0 ∩ A).card+(F 0 ∩ B).card+(F 0 ∩ C).card+
(F 2 ∩ B).card+(F 2 ∩ C).card+(F 3 ∩ B).card+(F 3 ∩ C).card+
E.card+2 ≤ c- Source
- OP-1957; positive-separator graph-to-count root degree transfer.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- 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.
- finset_card_eq_sum_four_block_interIf four pairwise disjoint finite sets cover a finite type, every finite set has size equal to the sum of the sizes of its intersections…
- op1957_endpoint_residual_nonneighbor_budgetEndpoint residual nonneighbor budget.
- Used by 6
- boundary_five_odd_positive_barrier_forces_patterns_with_extendibilityThe displayed positive-barrier defect patterns hold under the original saturated five-by-odd assumptions together with explicit…
- boundary_five_odd_positive_large_shore_forces_common_defectsUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
- 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_positive_small_shore_forces_independent_tripleUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
- op1957_small_shore_four_group_numeric_assemblyFor four anticomplete shores and a B-only pool under the displayed saturated five-by-odd, degree, separator, extendibility, independence…
- boundary_five_odd_large_shore_B_only_positive_barrier_impossibleUnder the displayed five-by-odd partition, degree, separator and connected factor-critical block conditions, a positive barrier supported…
The proof, explained
The argument applies the residual non-neighbor budget theorem (op1957_endpoint_residual_nonneighbor_budget) to y ∈ F(1), setting X = F(0) and U = F(2) ∪ F(3) ∪ E. The high degree of y and the structural prohibition on edges between F(1) and U ∪ D yield the bound |(F(0) \ {x}) \ D| + |U| + 3 ≤ c. Expanding |U| and |F(0) \ D| into intersections with the partition blocks A, B, C, D and eliminating the disjoint intersections directly gives the required inequality.
The set U = F(2) ∪ F(3) ∪ E is disjoint from F(0), F(1), and D, and y ∉ D.
We define U as F(2) ∪ F(3) ∪ E. By the pairwise disjointness hypotheses (hFdis, hEdis), F(0) and F(1) are disjoint from F(2), F(3), and E, hence from U. Since F(2), F(3), and B are disjoint from D and E ⊆ B, U is disjoint from D. Since y ∈ C and C is disjoint from D, y ∉ D.
uses
Finset.disjoint_union_right.mpr,Finset.disjoint_union_left.mpr,Finset.disjoint_of_subset_left,Finset.disjoint_left.mpclassical let U := F 2 ∪ F 3 ∪ E have h0U : Disjoint (F 0) U := Finset.disjoint_union_right.mpr ⟨Finset.disjoint_union_right.mpr ⟨hFdis 0 2 (by decide),hFdis 0 3 (by decide)⟩,hEdis 0⟩ have h1U : Disjoint (F 1) U := Finset.disjoint_union_right.mpr ⟨Finset.disjoint_union_right.mpr ⟨hFdis 1 2 (by decide),hFdis 1 3 (by decide)⟩,hEdis 1⟩ have hUD : Disjoint U D := Finset.disjoint_union_left.mpr ⟨Finset.disjoint_union_left.mpr ⟨h2D,h3D⟩,Finset.disjoint_of_subset_left hEB hBD⟩ have hyD : y ∉ D := fun h => Finset.disjoint_left.mp hCD hyC h
The vertex y has no neighbors in U.
Any element u ∈ U belongs to F(2), F(3), or E. If u ∈ F(2) or u ∈ F(3), an edge to y ∈ F(1) contradicts hcross, which permits cross-edges only between F(0) and F(1). If u ∈ E, hypothesis hEanti forbids any edges between F(1) and E.
uses
Finset.mem_union.mphave hnoU : ∀ u ∈ U, ¬ G.Adj y u := by intro u hu hadj rcases Finset.mem_union.mp hu with hu23 | huE · rcases Finset.mem_union.mp hu23 with hu2 | hu3 · have hh := hcross 1 2 (by decide) y hyF u hu2 hadj simp at hh · have hh := hcross 1 3 (by decide) y hyF u hu3 hadj simp at hh · exact hEanti 1 y hyF u huE hadj
The only edge between F(0) and F(1) is the edge {x, y}.
Specializing the cross-edge restriction hcross to indices 0 and 1, any edge between a ∈ F(0) and b ∈ F(1) must satisfy a = x and b = y, as the symmetric alternative would require 0 = 1.
have hxy : ∀ a ∈ F 0, ∀ b ∈ F 1, G.Adj a b → a=x ∧ b=y := by intro a ha b hb hadj have hh := hcross 0 1 (by decide) a ha b hb hadj simpa using hh
The budget inequality |(F(0) \\ {x}) \\ D| + |U| + 3 ≤ c holds.
We invoke op1957_endpoint_residual_nonneighbor_budget with X = F(0), Y = F(1), U, and D. All requirements are satisfied: pairwise disjointness of the sets, x ∈ F(0), y ∈ F(1) \\ D, |D| = 2k - c, the uniqueness of the edge {x, y} between F(0) and F(1), the absence of edges from y to U or D, and the degree lower bound deg(y) ≥ 2k + 2.
uses
op1957_endpoint_residual_nonneighbor_budgethave hroot := op1957_endpoint_residual_nonneighbor_budget k c hc hkc G (F 0) (F 1) U D x y (hFdis 0 1 (by decide)) h0U h1U hUD hxF hyF hyD hD hxy hnoU (fun v hv => hnoCD y hyC v hv) hdegree
The cardinalities of F(2) and F(3) simplify to |F(i) ∩ B| + |F(i) ∩ C|, and |F(0)| decomposes into its four block intersections.
By finset_card_eq_sum_four_block_inter, the size of any set equals the sum of its intersections with the four partition blocks A, B, C, D. For F(2) and F(3), the intersections with A and D are empty because they are disjoint from A and D (h2A, h2D, h3A, h3D), leaving only the terms for B and C.
uses
finset_card_eq_sum_four_block_inter,Finset.disjoint_iff_inter_eq_empty.mp,Finset.card_empty,zero_add,add_zerohave h0sum := finset_card_eq_sum_four_block_inter A B C D (F 0) hAB hAC hAD hBC hBD hCD hcover have h2sum := finset_card_eq_sum_four_block_inter A B C D (F 2) hAB hAC hAD hBC hBD hCD hcover have h3sum := finset_card_eq_sum_four_block_inter A B C D (F 3) hAB hAC hAD hBC hBD hCD hcover have h2A0 : F 2 ∩ A = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h2A have h2D0 : F 2 ∩ D = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h2D have h3A0 : F 3 ∩ A = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h3A have h3D0 : F 3 ∩ D = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h3D rw [h2A0,h2D0] at h2sum rw [h3A0,h3D0] at h3sum simp only [Finset.card_empty,zero_add,add_zero] at h2sum h3sum
|U| = |F(2)| + |F(3)| + |E|.
The sets F(2) and F(3) are disjoint, and their union is disjoint from E by hEdis. Thus, the cardinality of their union U is the sum of their individual cardinalities.
uses
Finset.disjoint_union_left.mpr,Finset.card_union_of_disjointhave h23E : Disjoint (F 2 ∪ F 3) E := Finset.disjoint_union_left.mpr ⟨hEdis 2,hEdis 3⟩ have hUcard : U.card = (F 2).card+(F 3).card+E.card := by dsimp [U] rw [Finset.card_union_of_disjoint h23E,Finset.card_union_of_disjoint (hFdis 2 3 (by decide))]
|((F(0) \\ {x}) \\ D)| + 1 = |F(0) ∩ A| + |F(0) ∩ B| + |F(0) ∩ C|.
Since x ∈ A and A is disjoint from D, x ∉ D, so x ∈ F(0) \\ D. Removing x from F(0) \\ D subtracts 1 from its cardinality. Combining this with |F(0) \\ D| + |F(0) ∩ D| = |F(0)| and the four-block decomposition of |F(0)|, linear arithmetic yields the formula.
uses
Finset.disjoint_left.mp,Finset.mem_sdiff.mpr,and_comm,and_left_comm,and_assoc,Finset.card_erase_add_one,Finset.card_sdiff_add_card_interhave hxD : x ∉ D := fun h => Finset.disjoint_left.mp hAD hxA h have hx0D : x ∈ F 0 \ D := Finset.mem_sdiff.mpr ⟨hxF,hxD⟩ have herase : ((F 0).erase x) \ D = (F 0 \ D).erase x := by ext z simp [and_comm, and_left_comm, and_assoc] have h0count : (((F 0).erase x) \ D).card+1 = (F 0 ∩ A).card+(F 0 ∩ B).card+(F 0 ∩ C).card := by rw [herase,Finset.card_erase_add_one hx0D] have hh := Finset.card_sdiff_add_card_inter (F 0) D omega
The desired root count bound holds: |F(0) ∩ A| + |F(0) ∩ B| + |F(0) ∩ C| + |F(2) ∩ B| + |F(2) ∩ C| + |F(3) ∩ B| + |F(3) ∩ C| + |E| + 2 ≤ c.
Linear arithmetic over ℕ combines the budget inequality |(F(0) \\ {x}) \\ D| + |U| + 3 ≤ c with the expressions for |((F(0) \\ {x}) \\ D)| + 1, |U|, |F(2)|, and |F(3)| to produce the final inequality.
omega
Finset.disjoint_union_right.mpr- A set is disjoint from a union s ∪ t if it is disjoint from both s and t.
Finset.disjoint_union_left.mpr- A union s ∪ t is disjoint from a set u if both s and t are disjoint from u.
Finset.disjoint_of_subset_left- If s ⊆ u and u is disjoint from t, then s is disjoint from t.
Finset.disjoint_left.mp- If two sets are disjoint, any element in the first set is not in the second.
Finset.mem_union.mp- If an element belongs to the union s ∪ t, it belongs to s or to t.
op1957_endpoint_residual_nonneighbor_budget- For disjoint sets X, Y, U, D with x ∈ X, y ∈ Y \\ D, and |D| = 2k - c, where (x, y) is the only edge between X and Y, y has no neighbors in U ∪ D, and deg(y) ≥ 2k + 2, the residual non-neighbor count satisfies |(X \\ {x}) \\ D| + |U| + 3 ≤ c.
finset_card_eq_sum_four_block_inter- The cardinality of a finite set partitioned across four pairwise disjoint sets covering the universe equals the sum of the cardinalities of its intersections with the four parts.
Finset.disjoint_iff_inter_eq_empty.mp- If two sets are disjoint, their intersection is the empty set.
Finset.card_empty- The cardinality of the empty set is 0.
zero_add- Adding zero on the left is the identity: 0 + a = a.
add_zero- Adding zero on the right is the identity: a + 0 = a.
Finset.card_union_of_disjoint- The cardinality of the union of two disjoint finite sets is the sum of their cardinalities.
Finset.mem_sdiff.mpr- An element belongs to the set difference s \\ t if it belongs to s and not to t.
and_comm- Conjunction is commutative: a ∧ b ↔ b ∧ a.
and_left_comm- Conjunction satisfies the left-exchange law: a ∧ b ∧ c ↔ b ∧ a ∧ c.
and_assoc- Conjunction is associative: (a ∧ b) ∧ c ↔ a ∧ b ∧ c.
Finset.card_erase_add_one- Removing an element a from a set s where a ∈ s yields a set with cardinality |s| - 1.
Finset.card_sdiff_add_card_inter- For any finite sets s and t, |s \\ t| + |s ∩ t| = |s|.
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.
set_option maxHeartbeats 2000000theorem four_shore_saturated_y_root_count_bound (k c : ℕ) (hc : 7 ≤ c) (hkc : c ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj] (A B C D E : Finset (Fin (4*k))) (F : Fin 4 → Finset (Fin (4*k))) (x y : 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) (hFdis : ∀ i j, i ≠ j → Disjoint (F i) (F j)) (hEdis : ∀ i, Disjoint (F i) E) (hEB : E ⊆ B) (h2A : Disjoint (F 2) A) (h2D : Disjoint (F 2) D) (h3A : Disjoint (F 3) A) (h3D : Disjoint (F 3) D) (hxA : x ∈ A) (hxF : x ∈ F 0) (hyC : y ∈ C) (hyF : y ∈ F 1) (hD : D.card=2*k-c) (hcross : ∀ i j : Fin 4, i ≠ j → ∀ a ∈ F i, ∀ b ∈ F j, G.Adj a b → (i=0 ∧ j=1 ∧ a=x ∧ b=y) ∨ (i=1 ∧ j=0 ∧ a=y ∧ b=x)) (hEanti : ∀ i, ∀ a ∈ F i, ∀ b ∈ E, ¬ G.Adj a b) (hnoCD : ∀ a ∈ C, ∀ b ∈ D, ¬ G.Adj a b) (hdegree : 2*k+2 ≤ (G.neighborFinset y).card) : (F 0 ∩ A).card+(F 0 ∩ B).card+(F 0 ∩ C).card+ (F 2 ∩ B).card+(F 2 ∩ C).card+(F 3 ∩ B).card+(F 3 ∩ C).card+ E.card+2 ≤ c := by classical let U := F 2 ∪ F 3 ∪ E have h0U : Disjoint (F 0) U := Finset.disjoint_union_right.mpr ⟨Finset.disjoint_union_right.mpr ⟨hFdis 0 2 (by decide),hFdis 0 3 (by decide)⟩,hEdis 0⟩ have h1U : Disjoint (F 1) U := Finset.disjoint_union_right.mpr ⟨Finset.disjoint_union_right.mpr ⟨hFdis 1 2 (by decide),hFdis 1 3 (by decide)⟩,hEdis 1⟩ have hUD : Disjoint U D := Finset.disjoint_union_left.mpr ⟨Finset.disjoint_union_left.mpr ⟨h2D,h3D⟩,Finset.disjoint_of_subset_left hEB hBD⟩ have hyD : y ∉ D := fun h => Finset.disjoint_left.mp hCD hyC h have hnoU : ∀ u ∈ U, ¬ G.Adj y u := by intro u hu hadj rcases Finset.mem_union.mp hu with hu23 | huE · rcases Finset.mem_union.mp hu23 with hu2 | hu3 · have hh := hcross 1 2 (by decide) y hyF u hu2 hadj simp at hh · have hh := hcross 1 3 (by decide) y hyF u hu3 hadj simp at hh · exact hEanti 1 y hyF u huE hadj have hxy : ∀ a ∈ F 0, ∀ b ∈ F 1, G.Adj a b → a=x ∧ b=y := by intro a ha b hb hadj have hh := hcross 0 1 (by decide) a ha b hb hadj simpa using hh have hroot := op1957_endpoint_residual_nonneighbor_budget k c hc hkc G (F 0) (F 1) U D x y (hFdis 0 1 (by decide)) h0U h1U hUD hxF hyF hyD hD hxy hnoU (fun v hv => hnoCD y hyC v hv) hdegree have h0sum := finset_card_eq_sum_four_block_inter A B C D (F 0) hAB hAC hAD hBC hBD hCD hcover have h2sum := finset_card_eq_sum_four_block_inter A B C D (F 2) hAB hAC hAD hBC hBD hCD hcover have h3sum := finset_card_eq_sum_four_block_inter A B C D (F 3) hAB hAC hAD hBC hBD hCD hcover have h2A0 : F 2 ∩ A = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h2A have h2D0 : F 2 ∩ D = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h2D have h3A0 : F 3 ∩ A = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h3A have h3D0 : F 3 ∩ D = ∅ := Finset.disjoint_iff_inter_eq_empty.mp h3D rw [h2A0,h2D0] at h2sum rw [h3A0,h3D0] at h3sum simp only [Finset.card_empty,zero_add,add_zero] at h2sum h3sum have h23E : Disjoint (F 2 ∪ F 3) E := Finset.disjoint_union_left.mpr ⟨hEdis 2,hEdis 3⟩ have hUcard : U.card = (F 2).card+(F 3).card+E.card := by dsimp [U] rw [Finset.card_union_of_disjoint h23E,Finset.card_union_of_disjoint (hFdis 2 3 (by decide))] have hxD : x ∉ D := fun h => Finset.disjoint_left.mp hAD hxA h have hx0D : x ∈ F 0 \ D := Finset.mem_sdiff.mpr ⟨hxF,hxD⟩ have herase : ((F 0).erase x) \ D = (F 0 \ D).erase x := by ext z simp [and_comm, and_left_comm, and_assoc] have h0count : (((F 0).erase x) \ D).card+1 = (F 0 ∩ A).card+(F 0 ∩ B).card+(F 0 ∩ C).card := by rw [herase,Finset.card_erase_add_one hx0D] have hh := Finset.card_sdiff_add_card_inter (F 0) D omega omega