d11_disjoint_four_six_shore_bicliques_impossible
In the displayed degree-eleven configuration, disjoint four- and six-vertex shores cannot have the indicated complete opposite shores when the first opposite shore has one to four internal vertices.
Statement
theorem d11_disjoint_four_six_shore_bicliques_impossible {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (x y : V) (hxy : x ≠ y) (S A B D Q : Finset V) (hS : S.card = 10) (hA : A ⊆ S) (hD : D ⊆ S) (hAc : A.card = 4) (hDc : D.card = 6) (hBc : B.card = 8) (hQc : Q.card = 6) (hAD : Disjoint A D) (hAB : Disjoint A B) (hDQ : Disjoint D Q) (hxS : x ∉ S) (hyS : y ∉ S) (hxB : x ∉ B) (hyB : y ∉ B) (hxQ : x ∉ Q) (hyQ : y ∉ Q) (hinner : 1 ≤ (B ∩ S).card ∧ (B ∩ S).card ≤ 4) (hmax : ∀ v, (H.neighborFinset v).card ≤ 11) (hSxy : ∀ v ∈ S, H.Adj v x ∧ H.Adj v y) (hBA : ∀ b ∈ B, ∀ a ∈ A, H.Adj b a) (hQD : ∀ q ∈ Q, ∀ a ∈ D, H.Adj q a) : False
- Source
- OP-1957 crossing-shore structural reduction, session IN-1122.
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The proof proceeds by contradiction by showing that the degree of a suitable vertex exceeds the maximum degree bound of 11. First, the 10-vertex set S is partitioned into disjoint shores A (of size 4) and D (of size 6), which forces the opposing shore Q to be disjoint from A, since any hypothetical vertex in A ∩ Q would have at least 2 + |B ∪ D| ≥ 12 neighbors. Second, the hypothesis 1 ≤ |B ∩ S| provides a vertex b ∈ B ∩ S, which must lie in D because A and B are disjoint. This vertex b is adjacent to x, y, all 4 vertices of A, and all 6 vertices of Q, yielding deg(b) ≥ 12 > 11, a contradiction.
A ∪ D = S
Since A ⊆ S and D ⊆ S, their union A ∪ D is contained in S. Because A and D are disjoint sets of sizes 4 and 6, their union has cardinality 4 + 6 = 10. Since |S| = 10, a subset with the same cardinality as S must be equal to S.
uses
Finset.eq_of_subset_of_card_le,Finset.union_subset,Finset.card_union_of_disjointclassical have hpart : A ∪ D = S := by apply Finset.eq_of_subset_of_card_le (Finset.union_subset hA hD) rw [Finset.card_union_of_disjoint hAD, hAc, hDc, hS]
|B ∩ D| ≤ 4
Since D ⊆ S, any element in B ∩ D also belongs to B ∩ S, so B ∩ D ⊆ B ∩ S. The cardinality |B ∩ D| is therefore at most |B ∩ S|, which is at most 4 by hypothesis.
uses
Finset.mem_inter.mpr,Finset.mem_inter.mp,Finset.card_le_cardhave hBD : (B ∩ D).card ≤ 4 := by have hsub : B ∩ D ⊆ B ∩ S := by intro a ha exact Finset.mem_inter.mpr ⟨(Finset.mem_inter.mp ha).1, hD (Finset.mem_inter.mp ha).2⟩ exact (Finset.card_le_card hsub).trans hinner.2
A and Q are disjoint
Suppose for contradiction that there exists a vertex q ∈ A ∩ Q. Since q ∈ A ⊆ S, q is adjacent to both x and y. Because q ∈ A, it is adjacent to all 8 vertices of B; because q ∈ Q, it is adjacent to all 6 vertices of D. Furthermore, x and y are distinct vertices outside of S (hence outside D) and outside of B. Thus {x, y} ∪ B ∪ D is a set of neighbors of q of size 2 + |B ∪ D|, implying 2 + |B ∪ D| ≤ deg(q) ≤ 11, so |B ∪ D| ≤ 9. But by inclusion-exclusion, |B ∪ D| = |B| + |D| - |B ∩ D| = 8 + 6 - |B ∩ D| ≥ 14 - 4 = 10, a contradiction.
uses
Finset.disjoint_left.mpr,H.mem_neighborFinset,Finset.mem_insert,Finset.mem_union,Finset.card_le_card,Finset.card_insert_of_notMem,Finset.card_inter_add_card_unionhave hAQ : Disjoint A Q := by apply Finset.disjoint_left.mpr intro q hqA hqQ have hqx : H.Adj q x := (hSxy q (hA hqA)).1 have hqy : H.Adj q y := (hSxy q (hA hqA)).2 have hxD : x ∉ D := fun h => hxS (hD h) have hyD : y ∉ D := fun h => hyS (hD h) have hxU : x ∉ B ∪ D := by simp [hxB, hxD] have hyU : y ∉ B ∪ D := by simp [hyB, hyD] have hsub : insert x (insert y (B ∪ D)) ⊆ H.neighborFinset q := by intro v hv rw [H.mem_neighborFinset] simp only [Finset.mem_insert, Finset.mem_union] at hv rcases hv with rfl | rfl | hv | hv · exact hqx · exact hqy · exact (hBA v hv q hqA).symm · exact hQD q hqQ v hv have hn := (Finset.card_le_card hsub).trans (hmax q) rw [Finset.card_insert_of_notMem (by simp [hxy, hxU]), Finset.card_insert_of_notMem hyU] at hn have hu := Finset.card_inter_add_card_union B D omega
There exists a vertex b ∈ B ∩ D
Since 1 ≤ |B ∩ S|, the intersection B ∩ S is nonempty, so there exists some vertex b ∈ B ∩ S. Because S = A ∪ D, b must lie in A or D. However, b ∈ B and A is disjoint from B, so b cannot be in A. Therefore, b ∈ D.
uses
Finset.card_pos.mp,Finset.mem_inter.mp,Finset.mem_union.mp,False.elim,Finset.disjoint_left.mpobtain ⟨b,hb⟩ := Finset.card_pos.mp (by omega : 0 < (B ∩ S).card) have hbB := (Finset.mem_inter.mp hb).1 have hbS := (Finset.mem_inter.mp hb).2 have hbD : b ∈ D := by have hbU : b ∈ A ∪ D := by rwa [hpart] rcases Finset.mem_union.mp hbU with hbA | hbD · exact False.elim ((Finset.disjoint_left.mp hAB) hbA hbB) · exact hbD
A contradiction arises from bounding the degree of b
The vertex b belongs to S, so it is adjacent to both x and y. Because b ∈ B, it is adjacent to all 4 vertices of A; because b ∈ D, it is adjacent to all 6 vertices of Q. Since x and y are distinct, neither lies in S (hence neither lies in A), and neither lies in Q, the set {x, y} ∪ A ∪ Q consists of distinct neighbors of b. Since A and Q were shown to be disjoint, this neighborhood has size 2 + |A| + |Q| = 2 + 4 + 6 = 12. This contradicts the assumption that every vertex has degree at most 11.
uses
H.mem_neighborFinset,Finset.mem_insert,Finset.mem_union,Finset.card_le_card,Finset.card_insert_of_notMem,Finset.card_union_of_disjointhave hbx : H.Adj b x := (hSxy b hbS).1 have hby : H.Adj b y := (hSxy b hbS).2 have hxA : x ∉ A := fun h => hxS (hA h) have hyA : y ∉ A := fun h => hyS (hA h) have hxU : x ∉ A ∪ Q := by simp [hxQ, hxA] have hyU : y ∉ A ∪ Q := by simp [hyQ, hyA] have hsub : insert x (insert y (A ∪ Q)) ⊆ H.neighborFinset b := by intro v hv rw [H.mem_neighborFinset] simp only [Finset.mem_insert, Finset.mem_union] at hv rcases hv with rfl | rfl | hv | hv · exact hbx · exact hby · exact hBA b hbB v hv · exact (hQD v hv b hbD).symm have hn := (Finset.card_le_card hsub).trans (hmax b) rw [Finset.card_insert_of_notMem (by simp [hxy, hxU]), Finset.card_insert_of_notMem hyU, Finset.card_union_of_disjoint hAQ, hAc, hQc] at hn omega
Finset.eq_of_subset_of_card_le- A subset of a finite set is equal to the whole set if the whole set has cardinality at most that of the subset.
Finset.union_subset- The union of two sets is a subset of a third set if both sets are subsets of that third set.
Finset.card_union_of_disjoint- The cardinality of the union of two disjoint finite sets is the sum of their cardinalities.
Finset.mem_inter.mpr- An element belongs to the intersection of two sets if it belongs to both sets.
Finset.mem_inter.mp- If an element belongs to the intersection of two sets, it belongs to both sets.
Finset.card_le_card- If one finite set is a subset of another, its cardinality is at most the other's cardinality.
Finset.disjoint_left.mpr- Two sets are disjoint if no element of the first set belongs to the second set.
H.mem_neighborFinset- A vertex w belongs to the neighbor finset of v in graph H if and only if v and w are adjacent.
Finset.mem_insert- An element belongs to the insertion of an element into a set if and only if it equals the inserted element or already belongs to the set.
Finset.mem_union- An element belongs to the union of two sets if and only if it belongs to at least one of them.
Finset.card_insert_of_notMem- Inserting an element that is not in a finite set increases its cardinality by 1.
Finset.card_inter_add_card_union- The sum of the cardinalities of the intersection and union of two finite sets equals the sum of their individual cardinalities.
Finset.card_pos.mp- A finite set with strictly positive cardinality is nonempty.
Finset.mem_union.mp- If an element belongs to the union of two sets, it belongs to the first set or the second set.
False.elim- From False (a contradiction), any proposition can be deduced.
Finset.disjoint_left.mp- If two sets are disjoint, any element of the first set does not belong to the second set.
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 d11_disjoint_four_six_shore_bicliques_impossible {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (x y : V) (hxy : x ≠ y) (S A B D Q : Finset V) (hS : S.card = 10) (hA : A ⊆ S) (hD : D ⊆ S) (hAc : A.card = 4) (hDc : D.card = 6) (hBc : B.card = 8) (hQc : Q.card = 6) (hAD : Disjoint A D) (hAB : Disjoint A B) (hDQ : Disjoint D Q) (hxS : x ∉ S) (hyS : y ∉ S) (hxB : x ∉ B) (hyB : y ∉ B) (hxQ : x ∉ Q) (hyQ : y ∉ Q) (hinner : 1 ≤ (B ∩ S).card ∧ (B ∩ S).card ≤ 4) (hmax : ∀ v, (H.neighborFinset v).card ≤ 11) (hSxy : ∀ v ∈ S, H.Adj v x ∧ H.Adj v y) (hBA : ∀ b ∈ B, ∀ a ∈ A, H.Adj b a) (hQD : ∀ q ∈ Q, ∀ a ∈ D, H.Adj q a) : False := by classical have hpart : A ∪ D = S := by apply Finset.eq_of_subset_of_card_le (Finset.union_subset hA hD) rw [Finset.card_union_of_disjoint hAD, hAc, hDc, hS] have hBD : (B ∩ D).card ≤ 4 := by have hsub : B ∩ D ⊆ B ∩ S := by intro a ha exact Finset.mem_inter.mpr ⟨(Finset.mem_inter.mp ha).1, hD (Finset.mem_inter.mp ha).2⟩ exact (Finset.card_le_card hsub).trans hinner.2 have hAQ : Disjoint A Q := by apply Finset.disjoint_left.mpr intro q hqA hqQ have hqx : H.Adj q x := (hSxy q (hA hqA)).1 have hqy : H.Adj q y := (hSxy q (hA hqA)).2 have hxD : x ∉ D := fun h => hxS (hD h) have hyD : y ∉ D := fun h => hyS (hD h) have hxU : x ∉ B ∪ D := by simp [hxB, hxD] have hyU : y ∉ B ∪ D := by simp [hyB, hyD] have hsub : insert x (insert y (B ∪ D)) ⊆ H.neighborFinset q := by intro v hv rw [H.mem_neighborFinset] simp only [Finset.mem_insert, Finset.mem_union] at hv rcases hv with rfl | rfl | hv | hv · exact hqx · exact hqy · exact (hBA v hv q hqA).symm · exact hQD q hqQ v hv have hn := (Finset.card_le_card hsub).trans (hmax q) rw [Finset.card_insert_of_notMem (by simp [hxy, hxU]), Finset.card_insert_of_notMem hyU] at hn have hu := Finset.card_inter_add_card_union B D omega obtain ⟨b,hb⟩ := Finset.card_pos.mp (by omega : 0 < (B ∩ S).card) have hbB := (Finset.mem_inter.mp hb).1 have hbS := (Finset.mem_inter.mp hb).2 have hbD : b ∈ D := by have hbU : b ∈ A ∪ D := by rwa [hpart] rcases Finset.mem_union.mp hbU with hbA | hbD · exact False.elim ((Finset.disjoint_left.mp hAB) hbA hbB) · exact hbD have hbx : H.Adj b x := (hSxy b hbS).1 have hby : H.Adj b y := (hSxy b hbS).2 have hxA : x ∉ A := fun h => hxS (hA h) have hyA : y ∉ A := fun h => hyS (hA h) have hxU : x ∉ A ∪ Q := by simp [hxQ, hxA] have hyU : y ∉ A ∪ Q := by simp [hyQ, hyA] have hsub : insert x (insert y (A ∪ Q)) ⊆ H.neighborFinset b := by intro v hv rw [H.mem_neighborFinset] simp only [Finset.mem_insert, Finset.mem_union] at hv rcases hv with rfl | rfl | hv | hv · exact hbx · exact hby · exact hBA b hbB v hv · exact (hQD v hv b hbD).symm have hn := (Finset.card_le_card hsub).trans (hmax b) rw [Finset.card_insert_of_notMem (by simp [hxy, hxU]), Finset.card_insert_of_notMem hyU, Finset.card_union_of_disjoint hAQ, hAc, hQc] at hn omega