op1957_empty_pool_c_control_not_extendible
The explicit control with z=17 is not 7-extendible.
Statement
theorem op1957_empty_pool_c_control_not_extendible : ¬ is_k_extendable (op1957_empty_pool_control_graph 17) 7- Source
- OP-1957; explicit exceptional empty-pool controls, experiments 41527, 41538 and 41541.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- op1957_empty_pool_control_graphThe graph on 28 vertices obtained by excluding the displayed ordered forbidden pairs in both directions.
- extendible_matchable_two_k_vertices_complement_matchableIn a finite k-extendible graph, the complement of any matchable set of exactly 2k vertices is matchable.
- induced_perfect_matching_neighbors_card_boundIf an induced vertex set has a perfect matching, then any subset whose neighbors within it all lie in C has cardinality at most |C|.
- perfect_matching_of_adjacency_involutionA simple graph has a perfect matching if it has an involution that sends every vertex to an adjacent vertex.
- is_k_extendableFor a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_k_extendable G k is the Prop that is the…
- op1957_empty_pool_control_forbiddenOrdered forbidden pairs in the two finite control graphs; z chooses the extra first-shore vertex.
The proof, explained
We argue by contradiction, assuming that the control graph with parameter z = 17 is 7-extendable. We define an explicit 14-vertex subset S and an involution on S that pairs adjacent vertices, showing that the induced subgraph on S has a perfect matching. Because the graph is assumed to be 7-extendable and |S| = 2 * 7, the complement induced subgraph on R = Sᶜ must also admit a perfect matching. However, within R, we identify a 4-vertex subset U whose entire neighborhood in R is contained in a 3-vertex subset T, which requires |U| ≤ |T| for any matching that saturates U. Since 4 ≤ 3 is false, we reach a contradiction.
Adjacency in the control graph is decidable for all parameter values z. automation
We establish a DecidableRel instance for the adjacency relation of op1957_empty_pool_control_graph z. Unfolding the definitions of the graph and its forbidden edge conditions reduces adjacency to boolean combinations of decidable linear inequalities on vertex indices, which typeclass inference (infer_instance) resolves.
instance (z : Fin 28) : DecidableRel (op1957_empty_pool_control_graph z).Adj := fun _ _ => by unfold op1957_empty_pool_control_graph op1957_empty_pool_control_forbidden infer_instance
Assume for contradiction that the control graph with parameter z = 17 is 7-extendable.
We assume the hypothesis hext that the control graph is 7-extendable, aiming to derive False under classical logic with an increased heartbeat budget for computation.
set_option maxHeartbeats 4000000 in classical intro hext
The induced subgraph on the 14-vertex subset S has a perfect matching.
We define the 14-element subset S = {1, 2, ..., 13, 20} and candidate mate function f on S given by in1214_control_mate. By finite evaluation with decide, f maps S to S, is an involution (f (f v) = v), and pairs adjacent vertices in the induced subgraph on S. Applying perfect_matching_of_adjacency_involution concludes that the induced subgraph on S has a perfect matching.
uses
perfect_matching_of_adjacency_involutionlet S := {v : Fin 28 | v ∈ in1214_control_S} let f (v : S) : S := ⟨in1214_control_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, ((op1957_empty_pool_control_graph 17).induce S).Adj v (f v) := by intro v revert v decide have hS : ∃ P : ((op1957_empty_pool_control_graph 17).induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha
The cardinality of S is 2 * 7 = 14.
We rewrite the cardinality of S as a set to the cardinality of the underlying finset using Set.ncard_coe_finset, and evaluate the resulting arithmetic computation 14 = 2 * 7 using decide.
uses
Set.ncard_coe_finsethave hsize : S.ncard = 2*7 := by change (in1214_control_S : Set (Fin 28)).ncard = 2*7 rw [Set.ncard_coe_finset] decide
The induced subgraph on the complement R = Sᶜ has a perfect matching.
We establish by extensionality and simplification that the complement Sᶜ equals R = Finset.univ \ in1214_control_S. Since the graph is 7-extendable, |S| = 2 * 7, and S has a perfect matching, extendible_matchable_two_k_vertices_complement_matchable implies that the complement induced subgraph on R admits a perfect matching.
uses
extendible_matchable_two_k_vertices_complement_matchablehave hcomp : Sᶜ = {v : Fin 28 | v ∈ in1214_control_R} := by ext v simp [S,in1214_control_R] have hR := extendible_matchable_two_k_vertices_complement_matchable (op1957_empty_pool_control_graph 17) 7 hext S hsize hS rw [hcomp] at hR
The subset U = {14, 15, 16, 17} is contained in R, and all its neighbors in R lie in T = {0, 18, 19}. automation
Using exhaustive evaluation via decide, we verify both that every vertex in U belongs to R and that every edge in the graph connecting a vertex of U to a vertex of R has its other endpoint in T.
have hU : in1214_control_U ⊆ in1214_control_R := by decide have hcover : ∀ u ∈ in1214_control_U, ∀ v ∈ in1214_control_R, (op1957_empty_pool_control_graph 17).Adj u v → v ∈ in1214_control_T := by decide
A cardinality contradiction is reached, completing the proof that the control graph is not 7-extendable.
Because the induced subgraph on R has a perfect matching and all neighbors of U in R lie in T, induced_perfect_matching_neighbors_card_bound gives |U| ≤ |T|. However, |U| = 4 and |T| = 3, so decide establishes ¬(|U| ≤ |T|). Applying this negation to the bound derives False.
uses
induced_perfect_matching_neighbors_card_boundhave hb := induced_perfect_matching_neighbors_card_bound (op1957_empty_pool_control_graph 17) in1214_control_R in1214_control_U in1214_control_T hU hcover hR have hn : ¬ in1214_control_U.card ≤ in1214_control_T.card := by decide exact hn hb
perfect_matching_of_adjacency_involution- If an involution on the vertices of a simple graph pairs only adjacent vertices, the graph admits a perfect matching.
Set.ncard_coe_finset- The cardinality (ncard) of a finite set viewed as a set equals the cardinality (card) of the underlying Finset.
extendible_matchable_two_k_vertices_complement_matchable- In a k-extendable graph, if an induced subgraph on 2k vertices admits a perfect matching, then the induced subgraph on the complement of those vertices also admits a perfect matching.
induced_perfect_matching_neighbors_card_bound- If an induced subgraph on a vertex subset R has a perfect matching, and all neighbors in R of a subset U ⊆ R are contained in T ⊆ R, then |U| ≤ |T|.
- Several finite checks—namely that the mate mapping is an involution pairing adjacent vertices in S, the neighborhood containment in R, and the refutation of the inequality 4 ≤ 3—are verified by Lean's computational decision procedure (`decide`).
- The proof relies on the preliminary `DecidableRel` instance for adjacency in the control graph (lines 1–3) to make these finite checks computationally decidable.
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.
instance (z : Fin 28) : DecidableRel (op1957_empty_pool_control_graph z).Adj := fun _ _ => by unfold op1957_empty_pool_control_graph op1957_empty_pool_control_forbidden infer_instanceprivate def in1214_control_S : Finset (Fin 28) := {1,2,3,4,5,6,7,8,9,10,11,12,13,20}private def in1214_control_R : Finset (Fin 28) := Finset.univ \ in1214_control_Sprivate def in1214_control_U : Finset (Fin 28) := {14,15,16,17}private def in1214_control_T : Finset (Fin 28) := {0,18,19}private def in1214_control_mate : Fin 28 → Fin 28 := ![0,2,1,4,3,13,12,11,10,20,8,7,6,5,14,15,16,17,18,19,9,21,22,23,24,25,26,27]theorem op1957_empty_pool_c_control_not_extendible : ¬ is_k_extendable (op1957_empty_pool_control_graph 17) 7 := by set_option maxHeartbeats 4000000 in classical intro hext let S := {v : Fin 28 | v ∈ in1214_control_S} let f (v : S) : S := ⟨in1214_control_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, ((op1957_empty_pool_control_graph 17).induce S).Adj v (f v) := by intro v revert v decide have hS : ∃ P : ((op1957_empty_pool_control_graph 17).induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha have hsize : S.ncard = 2*7 := by change (in1214_control_S : Set (Fin 28)).ncard = 2*7 rw [Set.ncard_coe_finset] decide have hcomp : Sᶜ = {v : Fin 28 | v ∈ in1214_control_R} := by ext v simp [S,in1214_control_R] have hR := extendible_matchable_two_k_vertices_complement_matchable (op1957_empty_pool_control_graph 17) 7 hext S hsize hS rw [hcomp] at hR have hU : in1214_control_U ⊆ in1214_control_R := by decide have hcover : ∀ u ∈ in1214_control_U, ∀ v ∈ in1214_control_R, (op1957_empty_pool_control_graph 17).Adj u v → v ∈ in1214_control_T := by decide have hb := induced_perfect_matching_neighbors_card_bound (op1957_empty_pool_control_graph 17) in1214_control_R in1214_control_U in1214_control_T hU hcover hR have hn : ¬ in1214_control_U.card ≤ in1214_control_T.card := by decide exact hn hb