in1261_seven_control_separator
Every separator of the displayed control graph between two nonempty anticomplete sets has at least fourteen vertices.
Statement
theorem in1261_seven_control_separator :
∀ X U V : Finset (Fin 28), U.Nonempty → V.Nonempty →
Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →
(∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) → 14 ≤ X.card- Source
- OP-1957: seven-by-seven boundary control, experiment 43349, arXiv:2611.22690.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- in1261_seven_graphThe symmetric graph on 28 vertices whose unequal ordered endpoints avoid the displayed forbidden pairs.
- in1261_seven_forbidden_orderedOrdered forbidden pairs of the explicit seven-by-seven boundary control graph.
- Used by 1
- in1277_seven_control_example_of_extendibleIf the explicit seven-block control is 7-extendible, then there is a graph G on vertices 0 through 27. Let A={0,1,2,3,4,5,6},…
The proof, explained
To show that any separator X between nonempty anticomplete sets U and V has size at least 14, we show that |U| + |V| ≤ 14. The 28 vertices are decomposed into four sets A', B, C', D' and a 6-element remainder. If either U or V intersects A', B, C', or D', non-neighborhood bounds force U and V into a 14-element set or bound their sizes by 11 and 1, ensuring |U| + |V| ≤ 14. Otherwise, both U and V lie in the 6-element remainder, giving |U| + |V| ≤ 6. Since X, U, and V partition the 28 vertices, |X| = 28 - (|U| + |V|) ≥ 14.
Adjacency in the graph is decidable. automation
Unfolding the definition of adjacency in in1261_seven_graph reduces it to decidable operations on Fin 28 and ℕ, which Lean infers automatically.
local instance aftdLocal_877c11e6ecf3e567_0 : DecidableRel in1261_seven_graph.Adj := by unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instance
Structural properties and sizes of the vertex sets are verified by exhaustive computation. automation
Lean's decide tactic checks all 17 finite properties of the 28-vertex graph, including non-neighborhood inclusions and set cardinalities.
private theorem in1277_separator_non_A_prime : ∀ u ∈ in1277_separator_A_prime, in1277_separator_non u ⊆ in1277_separator_B := by decide private theorem in1277_separator_non_B : ∀ u ∈ in1277_separator_B, in1277_separator_non u ⊆ in1277_separator_A ∪ in1277_separator_B := by decide private theorem in1277_separator_non_D_prime : ∀ u ∈ in1277_separator_D_prime, in1277_separator_non u ⊆ in1277_separator_C := by decide private theorem in1277_separator_non_C_prime : ∀ u ∈ in1277_separator_C_prime, in1277_separator_non u ⊆ in1277_separator_C ∪ in1277_separator_D := by decide private theorem in1277_separator_non_E : ∀ u ∈ in1277_separator_E, in1277_separator_non u ⊆ in1277_separator_B ∪ {0,14,21} := by decide private theorem in1277_separator_non_all : ∀ u, (in1277_separator_non u).card ≤ 11 := by decide private theorem in1277_separator_ab_card : (in1277_separator_A ∪ in1277_separator_B).card = 14 := by decide private theorem in1277_separator_cd_card : (in1277_separator_C ∪ in1277_separator_D).card = 14 := by decide private theorem in1277_separator_extra_card : (in1277_separator_B ∪ ({0,14,21} : Finset (Fin 28))).card = 10 := by decide private theorem in1277_separator_small_A : in1277_separator_A \ in1277_separator_A_prime ⊆ {0,1,2,3} := by decide private theorem in1277_separator_small_A_card : ({0,1,2,3} : Finset (Fin 28)).card = 4 := by decide private theorem in1277_separator_no_E_zero : ({0,1,2,3} : Finset (Fin 28)) \ in1277_separator_E ⊆ {0} := by decide private theorem in1277_separator_small_C : in1277_separator_C \ in1277_separator_C_prime ⊆ {14} := by decide private theorem in1277_separator_small_D : in1277_separator_D \ in1277_separator_D_prime ⊆ {21} := by decide private theorem in1277_separator_C_prime_adj14 : ∀ u ∈ in1277_separator_C_prime, in1261_seven_graph.Adj u 14 := by decide private theorem in1277_separator_rem_cover : (in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) ∪ ({0,1,2,3,14,21} : Finset (Fin 28)) = Finset.univ := by decide private theorem in1277_separator_rem_card : ({0,1,2,3,14,21} : Finset (Fin 28)).card = 6 := by decide
If U and V are disjoint and anticomplete, then V is a subset of the non-neighbors of any vertex in U.
For any vertex v in V, disjointness of U and V implies u ≠ v, and the hypothesis that no vertex in U is adjacent to any vertex in V implies ¬ Adj u v. By definition of non, v is in non(u).
private theorem in1277_separator_sub_non {U V : Finset (Fin 28)} (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) : V ⊆ in1277_separator_non u := by intro v hv simp only [in1277_separator_non, Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨Finset.disjoint_iff_ne.mp hUV u hu v hv, hno u hu v hv⟩
Disjoint subsets of a set of size at most 14 have sum of cardinalities at most 14.
Since U and V are disjoint and both subsets of T, their union is a subset of T with cardinality |U| + |V| ≤ |T| ≤ 14.
uses
Finset.card_le_cardprivate theorem in1277_separator_packed {U V T : Finset (Fin 28)} (hUV : Disjoint U V) (hU : U ⊆ T) (hV : V ⊆ T) (hT : T.card ≤ 14) : U.card + V.card ≤ 14 := by have hh := Finset.card_le_card (Finset.union_subset hU hV) rw [Finset.card_union_of_disjoint hUV] at hh omega
If U contains a vertex of A', then |U| + |V| ≤ 14.
If u ∈ U is in A', then V ⊆ B. Picking v ∈ V, we have U ⊆ A ∪ B. Since both U and V are contained in A ∪ B of cardinality 14, their sizes sum to at most 14.
private theorem in1277_separator_from_A_prime {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hA : u ∈ in1277_separator_A_prime) : U.card + V.card ≤ 14 := by have hvB : V ⊆ in1277_separator_B := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_A_prime u hA) obtain ⟨v,hv⟩ := hV have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm have huAB : U ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_B v (hvB hv)) exact in1277_separator_packed hUV huAB (hvB.trans Finset.subset_union_right) (by rw [in1277_separator_ab_card])
If U contains a vertex of D', then |U| + |V| ≤ 14.
If u ∈ U is in D', then V ⊆ C. If V meets C', then U ⊆ C ∪ D, so both lie in C ∪ D of size 14. If V is disjoint from C', then V ⊆ {14} has size at most 1, while U has size at most 11, so |U| + |V| ≤ 12 ≤ 14.
private theorem in1277_separator_from_D_prime {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hD : u ∈ in1277_separator_D_prime) : U.card + V.card ≤ 14 := by have hvC : V ⊆ in1277_separator_C := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_D_prime u hD) by_cases hex : ∃ v ∈ V, v ∈ in1277_separator_C_prime · obtain ⟨v,hv,hvC'⟩ := hex have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm have huCD : U ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_C_prime v hvC') exact in1277_separator_packed hUV huCD (hvC.trans Finset.subset_union_left) (by rw [in1277_separator_cd_card]) · have hvsmall : V ⊆ {14} := by intro v hv apply in1277_separator_small_C exact Finset.mem_sdiff.mpr ⟨hvC hv, by intro h; exact hex ⟨v,hv,h⟩⟩ obtain ⟨v,hv⟩ := hV have huN := in1277_separator_sub_non hUV.symm (by intro v hv u hu hh; exact hno u hu v hv hh.symm) hv have hcU := Finset.card_le_card huN have hcV := Finset.card_le_card hvsmall have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omega
If U contains a vertex of B, then |U| + |V| ≤ 14.
If u ∈ U is in B, then V ⊆ A ∪ B. If V meets B, then both U and V lie in A ∪ B of size 14. If V meets A', we apply the A' lemma symmetrically. If V meets neither, V ⊆ {0,1,2,3}. Then if V meets E, U has size at most 10 and V at most 4; if not, V ⊆ {0} has size at most 1 and U at most 11. In all cases |U| + |V| ≤ 14.
private theorem in1277_separator_from_B {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hB : u ∈ in1277_separator_B) : U.card + V.card ≤ 14 := by have hvAB : V ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_B u hB) have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm by_cases hexB : ∃ v ∈ V, v ∈ in1277_separator_B · obtain ⟨v,hv,hvB⟩ := hexB have huAB : U ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_B v hvB) exact in1277_separator_packed hUV huAB hvAB (by rw [in1277_separator_ab_card]) by_cases hexA : ∃ v ∈ V, v ∈ in1277_separator_A_prime · obtain ⟨v,hv,hvA⟩ := hexA have hh := in1277_separator_from_A_prime (show U.Nonempty from ⟨u,hu⟩) hUV.symm hno' hv hvA omega have hvsmall : V ⊆ {0,1,2,3} := by intro v hv have hvA : v ∈ in1277_separator_A := by rcases Finset.mem_union.mp (hvAB hv) with hh | hh · exact hh · exact False.elim (hexB ⟨v,hv,hh⟩) apply in1277_separator_small_A exact Finset.mem_sdiff.mpr ⟨hvA, by intro hh; exact hexA ⟨v,hv,hh⟩⟩ by_cases hexE : ∃ v ∈ V, v ∈ in1277_separator_E · obtain ⟨v,hv,hvE⟩ := hexE have huExtra : U ⊆ in1277_separator_B ∪ {0,14,21} := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_E v hvE) have h1 := Finset.card_le_card huExtra have h2 := Finset.card_le_card hvsmall rw [in1277_separator_extra_card] at h1 rw [in1277_separator_small_A_card] at h2 omega · have hvzero : V ⊆ {0} := by intro v hv apply in1277_separator_no_E_zero exact Finset.mem_sdiff.mpr ⟨hvsmall hv, by intro hh; exact hexE ⟨v,hv,hh⟩⟩ obtain ⟨v,hv⟩ := hV have hcU := Finset.card_le_card (in1277_separator_sub_non hUV.symm hno' hv) have hcV := Finset.card_le_card hvzero have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omega
If U contains a vertex of C', then |U| + |V| ≤ 14.
If u ∈ U is in C', then V ⊆ C ∪ D. If V meets C', both lie in C ∪ D of size 14. If V meets D', we apply the D' lemma symmetrically. If V meets neither, V ⊆ {14, 21}; but u is adjacent to 14, so V ⊆ {21} has size at most 1 and U at most 11. Thus |U| + |V| ≤ 14.
private theorem in1277_separator_from_C_prime {U V : Finset (Fin 28)} (hU : U.Nonempty) (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hC : u ∈ in1277_separator_C_prime) : U.card + V.card ≤ 14 := by have hvCD : V ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_C_prime u hC) have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm by_cases hexC : ∃ v ∈ V, v ∈ in1277_separator_C_prime · obtain ⟨v,hv,hvC⟩ := hexC have huCD : U ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_C_prime v hvC) exact in1277_separator_packed hUV huCD hvCD (by rw [in1277_separator_cd_card]) by_cases hexD : ∃ v ∈ V, v ∈ in1277_separator_D_prime · obtain ⟨v,hv,hvD⟩ := hexD have hh := in1277_separator_from_D_prime hU hUV.symm hno' hv hvD omega have hvsmall : V ⊆ {21} := by intro v hv rcases Finset.mem_union.mp (hvCD hv) with hvC | hvD · have hv14 : v ∈ ({14} : Finset (Fin 28)) := in1277_separator_small_C (Finset.mem_sdiff.mpr ⟨hvC,by intro hh; exact hexC ⟨v,hv,hh⟩⟩) have heq : v = 14 := Finset.mem_singleton.mp hv14 subst v exact False.elim (hno u hu 14 hv (in1277_separator_C_prime_adj14 u hC)) · exact in1277_separator_small_D (Finset.mem_sdiff.mpr ⟨hvD,by intro hh; exact hexD ⟨v,hv,hh⟩⟩) obtain ⟨v,hv⟩ := hV have hcU := Finset.card_le_card (in1277_separator_sub_non hUV.symm hno' hv) have hcV := Finset.card_le_card hvsmall have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omega
If U contains a vertex in A' ∪ B ∪ C' ∪ D', then |U| + |V| ≤ 14.
We case split on which of the four sets A', B, C', or D' contains the vertex, and apply the corresponding lemma proved above in each case.
private theorem in1277_separator_from_large {U V : Finset (Fin 28)} (hU : U.Nonempty) (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hlarge : u ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) : U.card + V.card ≤ 14 := by simp only [Finset.mem_union] at hlarge rcases hlarge with (((ha | hb) | hc) | hd) · exact in1277_separator_from_A_prime hV hUV hno hu ha · exact in1277_separator_from_B hV hUV hno hu hb · exact in1277_separator_from_C_prime hU hV hUV hno hu hc · exact in1277_separator_from_D_prime hV hUV hno hu hd
By symmetry, V is also anticomplete to U.
We introduce the hypotheses for the separator X and anticomplete sets U and V. Using the symmetry of graph non-adjacency, no vertex in V is adjacent to any vertex in U.
theorem in1261_seven_control_separator : ∀ X U V : Finset (Fin 28), U.Nonempty → V.Nonempty → Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ → (∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) → 14 ≤ X.card := by intro X U V hU hV hXU hXV hUV hcover hno have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm
The sum of the sizes of U and V is at most 14.
If U meets A' ∪ B ∪ C' ∪ D', the bound holds by the combined lemma. If V meets it, the bound holds by swapping U and V. Otherwise, U ∪ V is contained in the 6-element remainder {0,1,2,3,14,21}, so |U| + |V| ≤ 6 ≤ 14.
have hsum : U.card + V.card ≤ 14 := by by_cases hexU : ∃ u ∈ U, u ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime · obtain ⟨u,hu,hlarge⟩ := hexU exact in1277_separator_from_large hU hV hUV hno hu hlarge by_cases hexV : ∃ v ∈ V, v ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime · obtain ⟨v,hv,hlarge⟩ := hexV have hh := in1277_separator_from_large hV hU hUV.symm hno' hv hlarge omega have hsub : U ∪ V ⊆ ({0,1,2,3,14,21} : Finset (Fin 28)) := by intro x hx have hxuniv : x ∈ (in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) ∪ ({0,1,2,3,14,21} : Finset (Fin 28)) := by rw [in1277_separator_rem_cover]; exact Finset.mem_univ x rcases Finset.mem_union.mp hxuniv with hbig | hsmall · rcases Finset.mem_union.mp hx with hu | hv · exact False.elim (hexU ⟨x,hu,hbig⟩) · exact False.elim (hexV ⟨x,hv,hbig⟩) · exact hsmall have hh := Finset.card_le_card hsub rw [Finset.card_union_of_disjoint hUV,in1277_separator_rem_card] at hh omega
The separator X has at least 14 vertices.
Since X, U, and V are pairwise disjoint and cover all 28 vertices, |X| = 28 - (|U| + |V|) ≥ 28 - 14 = 14.
have hdisj : Disjoint (X ∪ U) V := Finset.disjoint_union_left.mpr ⟨hXV,hUV⟩ have hcard : (X ∪ U ∪ V).card = X.card + U.card + V.card := by rw [Finset.card_union_of_disjoint hdisj, Finset.card_union_of_disjoint hXU] rw [hcover,Finset.card_univ,Fintype.card_fin] at hcard omega
Finset.card_le_card- A set subset of another has smaller or equal cardinality.
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 4000000set_option maxRecDepth 10000set_option linter.all falselocal instance aftdLocal_877c11e6ecf3e567_0 : DecidableRel in1261_seven_graph.Adj := by unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instanceprivate def in1277_separator_A : Finset (Fin 28) := {0,1,2,3,4,5,6}private def in1277_separator_A_prime : Finset (Fin 28) := {4,5,6}private def in1277_separator_E : Finset (Fin 28) := {1,2,3}private def in1277_separator_B : Finset (Fin 28) := {7,8,9,10,11,12,13}private def in1277_separator_C : Finset (Fin 28) := {14,15,16,17,18,19,20}private def in1277_separator_C_prime : Finset (Fin 28) := {15,16,17,18,19,20}private def in1277_separator_D : Finset (Fin 28) := {21,22,23,24,25,26,27}private def in1277_separator_D_prime : Finset (Fin 28) := {22,23,24,25,26,27}private def in1277_separator_non (u : Fin 28) : Finset (Fin 28) := Finset.univ.filter fun v => u ≠ v ∧ ¬ in1261_seven_graph.Adj u vprivate theorem in1277_separator_non_A_prime : ∀ u ∈ in1277_separator_A_prime, in1277_separator_non u ⊆ in1277_separator_B := by decideprivate theorem in1277_separator_non_B : ∀ u ∈ in1277_separator_B, in1277_separator_non u ⊆ in1277_separator_A ∪ in1277_separator_B := by decideprivate theorem in1277_separator_non_D_prime : ∀ u ∈ in1277_separator_D_prime, in1277_separator_non u ⊆ in1277_separator_C := by decideprivate theorem in1277_separator_non_C_prime : ∀ u ∈ in1277_separator_C_prime, in1277_separator_non u ⊆ in1277_separator_C ∪ in1277_separator_D := by decideprivate theorem in1277_separator_non_E : ∀ u ∈ in1277_separator_E, in1277_separator_non u ⊆ in1277_separator_B ∪ {0,14,21} := by decideprivate theorem in1277_separator_non_all : ∀ u, (in1277_separator_non u).card ≤ 11 := by decideprivate theorem in1277_separator_ab_card : (in1277_separator_A ∪ in1277_separator_B).card = 14 := by decideprivate theorem in1277_separator_cd_card : (in1277_separator_C ∪ in1277_separator_D).card = 14 := by decideprivate theorem in1277_separator_extra_card : (in1277_separator_B ∪ ({0,14,21} : Finset (Fin 28))).card = 10 := by decideprivate theorem in1277_separator_small_A : in1277_separator_A \ in1277_separator_A_prime ⊆ {0,1,2,3} := by decideprivate theorem in1277_separator_small_A_card : ({0,1,2,3} : Finset (Fin 28)).card = 4 := by decideprivate theorem in1277_separator_no_E_zero : ({0,1,2,3} : Finset (Fin 28)) \ in1277_separator_E ⊆ {0} := by decideprivate theorem in1277_separator_small_C : in1277_separator_C \ in1277_separator_C_prime ⊆ {14} := by decideprivate theorem in1277_separator_small_D : in1277_separator_D \ in1277_separator_D_prime ⊆ {21} := by decideprivate theorem in1277_separator_C_prime_adj14 : ∀ u ∈ in1277_separator_C_prime, in1261_seven_graph.Adj u 14 := by decideprivate theorem in1277_separator_rem_cover : (in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) ∪ ({0,1,2,3,14,21} : Finset (Fin 28)) = Finset.univ := by decideprivate theorem in1277_separator_rem_card : ({0,1,2,3,14,21} : Finset (Fin 28)).card = 6 := by decideprivate theorem in1277_separator_sub_non {U V : Finset (Fin 28)} (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) : V ⊆ in1277_separator_non u := by intro v hv simp only [in1277_separator_non, Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨Finset.disjoint_iff_ne.mp hUV u hu v hv, hno u hu v hv⟩private theorem in1277_separator_packed {U V T : Finset (Fin 28)} (hUV : Disjoint U V) (hU : U ⊆ T) (hV : V ⊆ T) (hT : T.card ≤ 14) : U.card + V.card ≤ 14 := by have hh := Finset.card_le_card (Finset.union_subset hU hV) rw [Finset.card_union_of_disjoint hUV] at hh omegaprivate theorem in1277_separator_from_A_prime {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hA : u ∈ in1277_separator_A_prime) : U.card + V.card ≤ 14 := by have hvB : V ⊆ in1277_separator_B := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_A_prime u hA) obtain ⟨v,hv⟩ := hV have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm have huAB : U ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_B v (hvB hv)) exact in1277_separator_packed hUV huAB (hvB.trans Finset.subset_union_right) (by rw [in1277_separator_ab_card])private theorem in1277_separator_from_D_prime {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hD : u ∈ in1277_separator_D_prime) : U.card + V.card ≤ 14 := by have hvC : V ⊆ in1277_separator_C := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_D_prime u hD) by_cases hex : ∃ v ∈ V, v ∈ in1277_separator_C_prime · obtain ⟨v,hv,hvC'⟩ := hex have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm have huCD : U ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_C_prime v hvC') exact in1277_separator_packed hUV huCD (hvC.trans Finset.subset_union_left) (by rw [in1277_separator_cd_card]) · have hvsmall : V ⊆ {14} := by intro v hv apply in1277_separator_small_C exact Finset.mem_sdiff.mpr ⟨hvC hv, by intro h; exact hex ⟨v,hv,h⟩⟩ obtain ⟨v,hv⟩ := hV have huN := in1277_separator_sub_non hUV.symm (by intro v hv u hu hh; exact hno u hu v hv hh.symm) hv have hcU := Finset.card_le_card huN have hcV := Finset.card_le_card hvsmall have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omegaprivate theorem in1277_separator_from_B {U V : Finset (Fin 28)} (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hB : u ∈ in1277_separator_B) : U.card + V.card ≤ 14 := by have hvAB : V ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_B u hB) have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm by_cases hexB : ∃ v ∈ V, v ∈ in1277_separator_B · obtain ⟨v,hv,hvB⟩ := hexB have huAB : U ⊆ in1277_separator_A ∪ in1277_separator_B := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_B v hvB) exact in1277_separator_packed hUV huAB hvAB (by rw [in1277_separator_ab_card]) by_cases hexA : ∃ v ∈ V, v ∈ in1277_separator_A_prime · obtain ⟨v,hv,hvA⟩ := hexA have hh := in1277_separator_from_A_prime (show U.Nonempty from ⟨u,hu⟩) hUV.symm hno' hv hvA omega have hvsmall : V ⊆ {0,1,2,3} := by intro v hv have hvA : v ∈ in1277_separator_A := by rcases Finset.mem_union.mp (hvAB hv) with hh | hh · exact hh · exact False.elim (hexB ⟨v,hv,hh⟩) apply in1277_separator_small_A exact Finset.mem_sdiff.mpr ⟨hvA, by intro hh; exact hexA ⟨v,hv,hh⟩⟩ by_cases hexE : ∃ v ∈ V, v ∈ in1277_separator_E · obtain ⟨v,hv,hvE⟩ := hexE have huExtra : U ⊆ in1277_separator_B ∪ {0,14,21} := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_E v hvE) have h1 := Finset.card_le_card huExtra have h2 := Finset.card_le_card hvsmall rw [in1277_separator_extra_card] at h1 rw [in1277_separator_small_A_card] at h2 omega · have hvzero : V ⊆ {0} := by intro v hv apply in1277_separator_no_E_zero exact Finset.mem_sdiff.mpr ⟨hvsmall hv, by intro hh; exact hexE ⟨v,hv,hh⟩⟩ obtain ⟨v,hv⟩ := hV have hcU := Finset.card_le_card (in1277_separator_sub_non hUV.symm hno' hv) have hcV := Finset.card_le_card hvzero have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omegaprivate theorem in1277_separator_from_C_prime {U V : Finset (Fin 28)} (hU : U.Nonempty) (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hC : u ∈ in1277_separator_C_prime) : U.card + V.card ≤ 14 := by have hvCD : V ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV hno hu).trans (in1277_separator_non_C_prime u hC) have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm by_cases hexC : ∃ v ∈ V, v ∈ in1277_separator_C_prime · obtain ⟨v,hv,hvC⟩ := hexC have huCD : U ⊆ in1277_separator_C ∪ in1277_separator_D := (in1277_separator_sub_non hUV.symm hno' hv).trans (in1277_separator_non_C_prime v hvC) exact in1277_separator_packed hUV huCD hvCD (by rw [in1277_separator_cd_card]) by_cases hexD : ∃ v ∈ V, v ∈ in1277_separator_D_prime · obtain ⟨v,hv,hvD⟩ := hexD have hh := in1277_separator_from_D_prime hU hUV.symm hno' hv hvD omega have hvsmall : V ⊆ {21} := by intro v hv rcases Finset.mem_union.mp (hvCD hv) with hvC | hvD · have hv14 : v ∈ ({14} : Finset (Fin 28)) := in1277_separator_small_C (Finset.mem_sdiff.mpr ⟨hvC,by intro hh; exact hexC ⟨v,hv,hh⟩⟩) have heq : v = 14 := Finset.mem_singleton.mp hv14 subst v exact False.elim (hno u hu 14 hv (in1277_separator_C_prime_adj14 u hC)) · exact in1277_separator_small_D (Finset.mem_sdiff.mpr ⟨hvD,by intro hh; exact hexD ⟨v,hv,hh⟩⟩) obtain ⟨v,hv⟩ := hV have hcU := Finset.card_le_card (in1277_separator_sub_non hUV.symm hno' hv) have hcV := Finset.card_le_card hvsmall have hnn := in1277_separator_non_all v simp only [Finset.card_singleton] at hcV omegaprivate theorem in1277_separator_from_large {U V : Finset (Fin 28)} (hU : U.Nonempty) (hV : V.Nonempty) (hUV : Disjoint U V) (hno : ∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) {u : Fin 28} (hu : u ∈ U) (hlarge : u ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) : U.card + V.card ≤ 14 := by simp only [Finset.mem_union] at hlarge rcases hlarge with (((ha | hb) | hc) | hd) · exact in1277_separator_from_A_prime hV hUV hno hu ha · exact in1277_separator_from_B hV hUV hno hu hb · exact in1277_separator_from_C_prime hU hV hUV hno hu hc · exact in1277_separator_from_D_prime hV hUV hno hu hdtheorem in1261_seven_control_separator : ∀ X U V : Finset (Fin 28), U.Nonempty → V.Nonempty → Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ → (∀ u ∈ U, ∀ v ∈ V, ¬ in1261_seven_graph.Adj u v) → 14 ≤ X.card := by intro X U V hU hV hXU hXV hUV hcover hno have hno' : ∀ v ∈ V, ∀ u ∈ U, ¬ in1261_seven_graph.Adj v u := by intro v hv u hu hadj; exact hno u hu v hv hadj.symm have hsum : U.card + V.card ≤ 14 := by by_cases hexU : ∃ u ∈ U, u ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime · obtain ⟨u,hu,hlarge⟩ := hexU exact in1277_separator_from_large hU hV hUV hno hu hlarge by_cases hexV : ∃ v ∈ V, v ∈ in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime · obtain ⟨v,hv,hlarge⟩ := hexV have hh := in1277_separator_from_large hV hU hUV.symm hno' hv hlarge omega have hsub : U ∪ V ⊆ ({0,1,2,3,14,21} : Finset (Fin 28)) := by intro x hx have hxuniv : x ∈ (in1277_separator_A_prime ∪ in1277_separator_B ∪ in1277_separator_C_prime ∪ in1277_separator_D_prime) ∪ ({0,1,2,3,14,21} : Finset (Fin 28)) := by rw [in1277_separator_rem_cover]; exact Finset.mem_univ x rcases Finset.mem_union.mp hxuniv with hbig | hsmall · rcases Finset.mem_union.mp hx with hu | hv · exact False.elim (hexU ⟨x,hu,hbig⟩) · exact False.elim (hexV ⟨x,hv,hbig⟩) · exact hsmall have hh := Finset.card_le_card hsub rw [Finset.card_union_of_disjoint hUV,in1277_separator_rem_card] at hh omega have hdisj : Disjoint (X ∪ U) V := Finset.disjoint_union_left.mpr ⟨hXV,hUV⟩ have hcard : (X ∪ U ∪ V).card = X.card + U.card + V.card := by rw [Finset.card_union_of_disjoint hdisj, Finset.card_union_of_disjoint hXU] rw [hcover,Finset.card_univ,Fintype.card_fin] at hcard omega