op1957_half_pool_example_not_extendible
The explicit 52-vertex half-pool example is not 13-extendible.
Statement
theorem op1957_half_pool_example_not_extendible : ¬ is_k_extendable op1957_half_pool_example_graph 13- Source
- OP-1957; explicit 52-vertex half-pool graph, experiments 39914, 39920, and 39925.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- op1957_half_pool_example_graphThe 52-vertex graph whose edges are the distinct pairs forbidden in neither order.
- 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…
- extendible_matchable_two_k_vertices_complement_matchableIn a finite k-extendible graph, the complement of any matchable set of exactly 2k vertices is matchable.
- perfect_matching_of_adjacency_involutionA simple graph has a perfect matching if it has an involution that sends every vertex to an adjacent vertex.
- 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|.
- op1957_half_pool_example_forbiddenThe ordered forbidden pairs for the 52-vertex half-pool example.
The proof, explained
The theorem shows that the 52-vertex graph is not 13-extendible by contradiction. If it were 13-extendible, a 26-vertex matching would force a perfect matching in the complement, violating a neighborhood size bound.
Forbidden relation is decidable
Decidability follows by unfolding the definition.
instance : DecidableRel op1957_half_pool_example_forbidden := fun _ _ => by unfold op1957_half_pool_example_forbidden; infer_instance
Adjacency is decidable
Decidability of adjacency follows from decidability of the forbidden relation.
instance : DecidableRel op1957_half_pool_example_graph.Adj := fun u v => by change Decidable (u ≠ v ∧ ¬ op1957_half_pool_example_forbidden u v ∧ ¬ op1957_half_pool_example_forbidden v u) infer_instance
The theorem holds
By contradiction.
classical intro hext let S := {v : Fin 52 | v ∈ in1159_half_S} let f (v : S) : S := ⟨in1159_half_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, (op1957_half_pool_example_graph.induce S).Adj v (f v) := by intro v; revert v; decide have hS : ∃ P : (op1957_half_pool_example_graph.induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha have hsize : S.ncard = 2*13 := by change (in1159_half_S : Set (Fin 52)).ncard = 2*13 rw [Set.ncard_coe_finset] decide have hcomp : Sᶜ = {v : Fin 52 | v ∈ in1159_half_R} := by ext v simp [S,in1159_half_S] have hR := extendible_matchable_two_k_vertices_complement_matchable op1957_half_pool_example_graph 13 hext S hsize hS rw [hcomp] at hR have hU : in1159_half_U ⊆ in1159_half_R := by decide have hcover : ∀ u ∈ in1159_half_U, ∀ v ∈ in1159_half_R, op1957_half_pool_example_graph.Adj u v → v ∈ in1159_half_T := by decide have hb := induced_perfect_matching_neighbors_card_bound op1957_half_pool_example_graph in1159_half_R in1159_half_U in1159_half_T hU hcover hR have hn : ¬ in1159_half_U.card ≤ in1159_half_T.card := by decide exact hn hb
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 maxRecDepth 100000set_option maxHeartbeats 4000000instance : DecidableRel op1957_half_pool_example_forbidden := fun _ _ => by unfold op1957_half_pool_example_forbidden; infer_instanceinstance : DecidableRel op1957_half_pool_example_graph.Adj := fun u v => by change Decidable (u ≠ v ∧ ¬ op1957_half_pool_example_forbidden u v ∧ ¬ op1957_half_pool_example_forbidden v u) infer_instancedef in1159_half_R : Finset (Fin 52) := {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,26,27,28,39,40,41}def in1159_half_S : Finset (Fin 52) := Finset.univ \ in1159_half_Rdef in1159_half_U : Finset (Fin 52) := {12,13,14,15,16,17}def in1159_half_T : Finset (Fin 52) := {18,19}def in1159_half_mate : Fin 52 → Fin 52 := ![0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,20,23,22,25,24,26,27,28,30,29,32,31,34,33,36,35,38,37,39,40,41,43,42,45,44,47,46,49,48,51,50]theorem op1957_half_pool_example_not_extendible : ¬ is_k_extendable op1957_half_pool_example_graph 13 := by classical intro hext let S := {v : Fin 52 | v ∈ in1159_half_S} let f (v : S) : S := ⟨in1159_half_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, (op1957_half_pool_example_graph.induce S).Adj v (f v) := by intro v; revert v; decide have hS : ∃ P : (op1957_half_pool_example_graph.induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha have hsize : S.ncard = 2*13 := by change (in1159_half_S : Set (Fin 52)).ncard = 2*13 rw [Set.ncard_coe_finset] decide have hcomp : Sᶜ = {v : Fin 52 | v ∈ in1159_half_R} := by ext v simp [S,in1159_half_S] have hR := extendible_matchable_two_k_vertices_complement_matchable op1957_half_pool_example_graph 13 hext S hsize hS rw [hcomp] at hR have hU : in1159_half_U ⊆ in1159_half_R := by decide have hcover : ∀ u ∈ in1159_half_U, ∀ v ∈ in1159_half_R, op1957_half_pool_example_graph.Adj u v → v ∈ in1159_half_T := by decide have hb := induced_perfect_matching_neighbors_card_bound op1957_half_pool_example_graph in1159_half_R in1159_half_U in1159_half_T hU hcover hR have hn : ¬ in1159_half_U.card ≤ in1159_half_T.card := by decide exact hn hb