op1957_two_exceptional_slots_force_independent_triple
If two disjoint anticomplete barrier slots each contain a C vertex, then saturation identifies them with the two exceptional vertices, which together with the second root are pairwise nonadjacent.
Statement
theorem op1957_two_exceptional_slots_force_independent_triple {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (C X Y U P Q : Finset V) (x y p q : V) (hxX : x ∈ X) (hyY : y ∈ Y) (hPU : P ⊆ U) (hQU : Q ⊆ U) (hPQ : Disjoint P Q) (hpC : (P ∩ C).Nonempty) (hqC : (Q ∩ C).Nonempty) (hfull : ∀ z ∈ C, z ≠ p → z ≠ q → G.Adj x z) (hXanti : ∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u) (hYanti : ∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u) (hPQanti : ∀ a ∈ P, ∀ b ∈ Q, ¬ G.Adj a b) : ¬ G.Adj p q ∧ ¬ G.Adj y p ∧ ¬ G.Adj y q
- Source
- OP-1957: small-shore singleton identification
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- 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…
The proof, explained
The theorem shows that the two exceptional vertices p, q and the root y form an independent set in G. Choosing representatives u ∈ P ∩ C and v ∈ Q ∩ C, the anticompleteness of X to U ⊇ P ∪ Q prevents x from being adjacent to either u or v, forcing each of them to be in {p, q} by the saturation condition on C. Because P and Q are disjoint, u and v are distinct, identifying the pair {u, v} with {p, q}. Finally, the anticompleteness of P to Q ensures p and q are non-adjacent, while the anticompleteness of Y to U ensures y is adjacent to neither p nor q.
There exist vertices u ∈ P ∩ C and v ∈ Q ∩ C, with u ∈ P, u ∈ C, v ∈ Q, and v ∈ C.
Since P ∩ C and Q ∩ C are assumed nonempty (hpC and hqC), we choose elements u ∈ P ∩ C and v ∈ Q ∩ C. Using Finset.mem_inter.mp, we extract the constituent membership facts: u ∈ P (huP), u ∈ C (huC), v ∈ Q (hvQ), and v ∈ C (hvC).
uses
Finset.mem_inter.mpclassical obtain ⟨u,hu⟩ := hpC obtain ⟨v,hv⟩ := hqC have huP := (Finset.mem_inter.mp hu).1 have huC := (Finset.mem_inter.mp hu).2 have hvQ := (Finset.mem_inter.mp hv).1 have hvC := (Finset.mem_inter.mp hv).2
The vertex u is either p or q (u = p ∨ u = q).
Suppose for contradiction that u ≠ p and u ≠ q. Since u ∈ C, the saturation condition hfull implies that x is adjacent to u. But u ∈ P ⊆ U, so hypothesis hXanti states that no vertex in X is adjacent to any vertex in U, contradicting the adjacency between x ∈ X and u ∈ U.
have hu' : u = p ∨ u = q := by by_contra hn push_neg at hn exact hXanti x hxX u (hPU huP) (hfull u huC hn.1 hn.2)
The vertex v is either p or q (v = p ∨ v = q).
Similarly, suppose for contradiction that v ≠ p and v ≠ q. By hfull, x must be adjacent to v since v ∈ C. However, v ∈ Q ⊆ U, which contradicts the anticompleteness assumption hXanti between X and U.
have hv' : v = p ∨ v = q := by by_contra hn push_neg at hn exact hXanti x hxX v (hQU hvQ) (hfull v hvC hn.1 hn.2)
The vertices u and v are distinct (u ≠ v).
Suppose u = v. Then u belongs to both P and Q. However, P and Q are assumed disjoint (hPQ), which by Finset.disjoint_left.mp means no element of P can be in Q, a contradiction.
uses
Finset.disjoint_left.mphave huv : u ≠ v := by intro he; subst v exact Finset.disjoint_left.mp hPQ huP hvQ
The vertices u and v are non-adjacent, and y is adjacent to neither u nor v.
Because u ∈ P and v ∈ Q, hypothesis hPQanti implies ¬G.Adj u v. Furthermore, since u, v ∈ U and y ∈ Y, hypothesis hYanti implies that y is adjacent to neither u nor v (hyp and hyq).
have hupq := hPQanti u huP v hvQ have hyp := hYanti y hyY u (hPU huP) have hyq := hYanti y hyY v (hQU hvQ)
The vertices p, q, and y are pairwise non-adjacent: ¬G.Adj p q ∧ ¬G.Adj y p ∧ ¬G.Adj y q.
We split into cases based on the possibilities u, v ∈ {p, q}. If u = v = p or u = v = q, we contradict u ≠ v and close the goal using False.elim. If u = p and v = q, the non-adjacencies established in the previous step give the goal directly. If u = q and v = p, symmetry of graph adjacency turns ¬G.Adj q p into ¬G.Adj p q, completing the independent triple.
uses
False.elimrcases hu' with rfl | rfl <;> rcases hv' with rfl | rfl · exact False.elim (huv rfl) · exact ⟨hupq,hyp,hyq⟩ · exact ⟨fun h => hupq h.symm,hyq,hyp⟩ · exact False.elim (huv rfl)
Finset.mem_inter.mp- If an element belongs to the intersection of two finite sets, then it belongs to both sets.
Finset.disjoint_left.mp- If two finite sets are disjoint, any element belonging to the first set does not belong to the second set.
False.elim- From a contradiction (False), any proposition follows.
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 op1957_two_exceptional_slots_force_independent_triple {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (C X Y U P Q : Finset V) (x y p q : V) (hxX : x ∈ X) (hyY : y ∈ Y) (hPU : P ⊆ U) (hQU : Q ⊆ U) (hPQ : Disjoint P Q) (hpC : (P ∩ C).Nonempty) (hqC : (Q ∩ C).Nonempty) (hfull : ∀ z ∈ C, z ≠ p → z ≠ q → G.Adj x z) (hXanti : ∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u) (hYanti : ∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u) (hPQanti : ∀ a ∈ P, ∀ b ∈ Q, ¬ G.Adj a b) : ¬ G.Adj p q ∧ ¬ G.Adj y p ∧ ¬ G.Adj y q := by classical obtain ⟨u,hu⟩ := hpC obtain ⟨v,hv⟩ := hqC have huP := (Finset.mem_inter.mp hu).1 have huC := (Finset.mem_inter.mp hu).2 have hvQ := (Finset.mem_inter.mp hv).1 have hvC := (Finset.mem_inter.mp hv).2 have hu' : u = p ∨ u = q := by by_contra hn push_neg at hn exact hXanti x hxX u (hPU huP) (hfull u huC hn.1 hn.2) have hv' : v = p ∨ v = q := by by_contra hn push_neg at hn exact hXanti x hxX v (hQU hvQ) (hfull v hvC hn.1 hn.2) have huv : u ≠ v := by intro he; subst v exact Finset.disjoint_left.mp hPQ huP hvQ have hupq := hPQanti u huP v hvQ have hyp := hYanti y hyY u (hPU huP) have hyq := hYanti y hyY v (hQU hvQ) rcases hu' with rfl | rfl <;> rcases hv' with rfl | rfl · exact False.elim (huv rfl) · exact ⟨hupq,hyp,hyq⟩ · exact ⟨fun h => hupq h.symm,hyq,hyp⟩ · exact False.elim (huv rfl)