op1957_barrier_count_example_not_extendible
The explicit 44-vertex barrier count example is not 11-extendible.
Statement
theorem op1957_barrier_count_example_not_extendible :
¬ is_k_extendable op1957_barrier_count_example_graph 11- Source
- OP-1957; explicit graph from the saturated barrier count model, experiments 39772, 39775 and 39778.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- op1957_barrier_count_example_graphThe simple graph on 44 vertices whose edges are the distinct pairs that are 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_barrier_count_example_forbiddenThe ordered forbidden vertex pairs defining the explicit 44-vertex barrier count example.
The proof, explained
The proof proceeds by contradiction, assuming the graph is 11-extendible. A 22-vertex subset S is shown to possess a perfect matching via an explicit involution f. By 11-extendibility, the 22-vertex complement R must also possess a perfect matching. However, a 7-vertex subset U of R has its entire neighborhood in R contained in a 6-vertex subset T, which contradicts Hall-like neighborhood bounds for matchings.
The forbidden relation and graph adjacency are decidable.
By unfolding the definition of forbidden pairs into finite arithmetic conditions and synthesizing the decidability instance, both the forbidden edge relation and graph adjacency are decidable.
instance : DecidableRel op1957_barrier_count_example_forbidden := fun _ _ => by unfold op1957_barrier_count_example_forbidden infer_instance instance : DecidableRel op1957_barrier_count_example_graph.Adj := fun u v => by change Decidable (u ≠ v ∧ ¬ op1957_barrier_count_example_forbidden u v ∧ ¬ op1957_barrier_count_example_forbidden v u) infer_instance
Assume for contradiction that the graph is 11-extendible.
Assume the graph is 11-extendible to derive a contradiction.
classical intro hextConstruct an involution f on S which matches each vertex to an adjacent vertex.
Define S as the complement of R, and define f by in1159_bad_mate, verifying by decision procedures that it is an involution on S and induces adjacent pairs.
uses
perfect_matching_of_adjacency_involutionlet S := {v : Fin 44 | v ∈ in1159_bad_S} let f (v : S) : S := ⟨in1159_bad_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, (op1957_barrier_count_example_graph.induce S).Adj v (f v) := by intro v; revert v; decide have hS : ∃ P : (op1957_barrier_count_example_graph.induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha
The cardinality of S is 22 = 2 * 11, and S complement is R.
Compute the size of S and show its complement is R.
uses
Set.ncard_coe_finsethave hsize : S.ncard = 2*11 := by change (in1159_bad_S : Set (Fin 44)).ncard = 2*11 rw [Set.ncard_coe_finset] decide have hcomp : Sᶜ = {v : Fin 44 | v ∈ in1159_bad_R} := by ext v simp [S,in1159_bad_S]
The induced subgraph on R admits a perfect matching.
Since the graph is 11-extendible and S has size 2*11 with a perfect matching, its complement R has a perfect matching.
uses
extendible_matchable_two_k_vertices_complement_matchablehave hR := extendible_matchable_two_k_vertices_complement_matchable op1957_barrier_count_example_graph 11 hext S hsize hS rw [hcomp] at hR
All neighbors of U in R belong to T.
Check by decision procedure that U is a subset of R and every edge from U into R ends in T.
have hU : in1159_bad_U ⊆ in1159_bad_R := by decide have hcover : ∀ u ∈ in1159_bad_U, ∀ v ∈ in1159_bad_R, op1957_barrier_count_example_graph.Adj u v → v ∈ in1159_bad_T := by decide
The existence of a perfect matching forces |U| <= |T|, contradicting |U| = 7 and |T| = 6.
A perfect matching on R restricts to an injection from U to its neighborhood in T, so |U| <= |T|, but |U|=7 and |T|=6.
uses
induced_perfect_matching_neighbors_card_boundhave hb := induced_perfect_matching_neighbors_card_bound op1957_barrier_count_example_graph in1159_bad_R in1159_bad_U in1159_bad_T hU hcover hR have hn : ¬ in1159_bad_U.card ≤ in1159_bad_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_barrier_count_example_forbidden := fun _ _ => by unfold op1957_barrier_count_example_forbidden infer_instanceinstance : DecidableRel op1957_barrier_count_example_graph.Adj := fun u v => by change Decidable (u ≠ v ∧ ¬ op1957_barrier_count_example_forbidden u v ∧ ¬ op1957_barrier_count_example_forbidden v u) infer_instancedef in1159_bad_R : Finset (Fin 44) := {0,1,2,3,4,5,6,7,8,9,10,11,22,23,25,26,27,28,33,34,35,36}def in1159_bad_S : Finset (Fin 44) := Finset.univ \ in1159_bad_Rdef in1159_bad_U : Finset (Fin 44) := {5,6,7,8,9,10,11}def in1159_bad_T : Finset (Fin 44) := {22,23,25,26,27,28}def in1159_bad_mate : Fin 44 → Fin 44 := ![0,1,2,3,4,5,6,7,8,9,10,11,43,42,41,40,39,38,37,32,31,30,22,23,29, 25,26,27,28,24,21,20,19,33,34,35,36,18,17,16,15,14,13,12]theorem op1957_barrier_count_example_not_extendible : ¬ is_k_extendable op1957_barrier_count_example_graph 11 := by classical intro hext let S := {v : Fin 44 | v ∈ in1159_bad_S} let f (v : S) : S := ⟨in1159_bad_mate v.val, by revert v; decide⟩ have hi : Function.Involutive f := by intro v; revert v; decide have ha : ∀ v : S, (op1957_barrier_count_example_graph.induce S).Adj v (f v) := by intro v; revert v; decide have hS : ∃ P : (op1957_barrier_count_example_graph.induce S).Subgraph, P.IsPerfectMatching := perfect_matching_of_adjacency_involution _ f hi ha have hsize : S.ncard = 2*11 := by change (in1159_bad_S : Set (Fin 44)).ncard = 2*11 rw [Set.ncard_coe_finset] decide have hcomp : Sᶜ = {v : Fin 44 | v ∈ in1159_bad_R} := by ext v simp [S,in1159_bad_S] have hR := extendible_matchable_two_k_vertices_complement_matchable op1957_barrier_count_example_graph 11 hext S hsize hS rw [hcomp] at hR have hU : in1159_bad_U ⊆ in1159_bad_R := by decide have hcover : ∀ u ∈ in1159_bad_U, ∀ v ∈ in1159_bad_R, op1957_barrier_count_example_graph.Adj u v → v ∈ in1159_bad_T := by decide have hb := induced_perfect_matching_neighbors_card_bound op1957_barrier_count_example_graph in1159_bad_R in1159_bad_U in1159_bad_T hU hcover hR have hn : ¬ in1159_bad_U.card ≤ in1159_bad_T.card := by decide exact hn hb