AFTD Auto-Formalizing Theoretical Domains

op1957_empty_pool_control_delete_0_16_not_extendible

theoremverified

Deleting edge {0,16} from the displayed 28-vertex control with parameter 5 yields a graph that is not 7-extendible.

Statement

theorem op1957_empty_pool_control_delete_0_16_not_extendible :
    ¬ is_k_extendable ((op1957_empty_pool_control_graph 5).deleteEdges {s((0 : Fin 28), (16 : Fin 28))}) 7
Source
OP-1957 exceptional 28-vertex positive-barrier control, explicit matching and residual obstruction in experiments 41834 and 41836.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6

The proof, explained

To show that the 28-vertex graph H is not 7-extendable, we assume it is and derive a contradiction. A 14-vertex subset S is shown to possess a perfect matching via an explicit involution on its vertices, which by 7-extendability implies that its 14-vertex complement R must also have a perfect matching. However, R contains a 3-vertex subset U whose neighborhood in H[R] is confined to a 2-vertex subset T, contradicting Hall-type cardinality bounds for graphs with perfect matchings.

  1. Adjacency in the control graph is decidable. automation

    By unfolding the definitions of the control graph and its forbidden edge conditions, Lean's typeclass synthesis (`infer_instance`) automatically constructs a decision procedure for adjacency between any two vertices in the graph family.

    lines 2–4

    local instance  aftdLocal_fc7f15aa39c566db_0 (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
  2. Adjacency in the graph H is decidable. automation

    By unfolding the definition of H (which deletes edge {0, 16} from the control graph with parameter 5), typeclass inference (`infer_instance`) provides a decidability instance for adjacency in H.

    lines 8–10

    local instance  aftdLocal_fc7f15aa39c566db_1 : DecidableRel controlH.Adj := by
      unfold controlH
      infer_instance
  3. Assume for contradiction that the graph H is 7-extendable.

    We proceed by contradiction, introducing the hypothesis `hext` that H is 7-extendable.

    lines 20–21

      classical
      intro hext
  4. The 14-element subset S admits a perfect matching in H[S]. automation

    We define S as the 14-element subset given by `controlS`. We define an involution f on S using `controlMate`, which pairs up vertices in S. Lean verifies by finite computation (`decide`) that f is well-defined, involutive, and connects adjacent vertices in H. Applying `perfect_matching_of_adjacency_involution` yields a perfect matching on the induced subgraph H[S].

    lines 22–30

    uses perfect_matching_of_adjacency_involution

      let S := {v : Fin 28 | v ∈ controlS}
      let f (v : S) : S := ⟨controlMate v.val, by revert v; decide⟩
      have hi : Function.Involutive f := by intro v; revert v; decide
      have ha : ∀ v : S, (controlH.induce S).Adj v (f v) := by
        intro v
        revert v
        decide
      have hS : ∃ P : (controlH.induce S).Subgraph, P.IsPerfectMatching :=
        perfect_matching_of_adjacency_involution _ f hi ha
  5. The cardinality of S is 2 * 7 = 14, and its complement Sᶜ equals R. automation

    The cardinality |S| = 14 is checked by rewriting with `Set.ncard_coe_finset` and evaluating with `decide`. By definition, the complement Sᶜ is R = Finset.univ \ S, established by simplifying set membership.

    lines 31–37

    uses Set.ncard_coe_finset

      have hsize : S.ncard = 2*7 := by
        change (controlS : Set (Fin 28)).ncard = 2*7
        rw [Set.ncard_coe_finset]
        decide
      have hcomp : Sᶜ = {v : Fin 28 | v ∈ controlR} := by
        ext v
        simp [S,controlR]
  6. The induced subgraph on R admits a perfect matching.

    By 7-extendability of H, the 7-edge matching on S extends to a perfect matching of H, which implies that the remaining 14 vertices R = Sᶜ must also induce a graph with a perfect matching, via `extendible_matchable_two_k_vertices_complement_matchable`.

    lines 38–39

    uses extendible_matchable_two_k_vertices_complement_matchable

      have hR := extendible_matchable_two_k_vertices_complement_matchable controlH 7 hext S hsize hS
      rw [hcomp] at hR
  7. U is a subset of R whose neighborhood in H[R] is contained in T. automation

    We check by finite exhaustion (`decide`) that U = {14, 15, 16} is contained in R, and that all neighbors of vertices of U within R lie in T = {17, 18}.

    lines 40–41

      have hU : controlU ⊆ controlR := by decide
      have hcover : ∀ u ∈ controlU, ∀ v ∈ controlR, controlH.Adj u v → v ∈ controlT := by decide
  8. A contradiction is reached from the cardinalities |U| ≤ |T|. automation

    Since H[R] has a perfect matching and all neighbors of U in R lie in T, `induced_perfect_matching_neighbors_card_bound` implies |U| ≤ |T|. However, |U| = 3 and |T| = 2, so |U| ≤ |T| is false (checked by `decide`), giving a contradiction.

    lines 42–44

    uses induced_perfect_matching_neighbors_card_bound

      have hb := induced_perfect_matching_neighbors_card_bound controlH controlR controlU controlT hU hcover hR
      have hn : ¬ controlU.card ≤ controlT.card := by decide
      exact hn hb
perfect_matching_of_adjacency_involution
If a graph has a fixed-point-free involution on its vertices that maps every vertex to an adjacent vertex, the orbits of this involution form a perfect matching.
Set.ncard_coe_finset
The set cardinality of the coercion of a finite set equals the cardinality of the finite set.
extendible_matchable_two_k_vertices_complement_matchable
If a graph is k-extendable and S is a subset of 2k vertices admitting a perfect matching, then its complement also admits a perfect matching.
induced_perfect_matching_neighbors_card_bound
In an induced subgraph with a perfect matching, any subset of vertices must be at most as large as the set of all its neighbors in that subgraph.

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

set_option maxHeartbeats 4000000local instance  aftdLocal_fc7f15aa39c566db_0 (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 controlH : SimpleGraph (Fin 28) :=  (op1957_empty_pool_control_graph 5).deleteEdges {s((0 : Fin 28), (16 : Fin 28))}local instance  aftdLocal_fc7f15aa39c566db_1 : DecidableRel controlH.Adj := by  unfold controlH  infer_instanceprivate def controlS : Finset (Fin 28) := {1,2,3,4,6,7,8,9,10,11,12,13,19,20}private def controlR : Finset (Fin 28) := Finset.univ \ controlSprivate def controlU : Finset (Fin 28) := {14,15,16}private def controlT : Finset (Fin 28) := {17,18}private def controlMate : Fin 28 → Fin 28 :=  ![0,2,1,4,3,5,7,6,9,8,11,10,13,12,14,15,16,17,18,20,19,21,22,23,24,25,26,27]theorem op1957_empty_pool_control_delete_0_16_not_extendible :    ¬ is_k_extendable ((op1957_empty_pool_control_graph 5).deleteEdges {s((0 : Fin 28), (16 : Fin 28))}) 7 := by  classical  intro hext  let S := {v : Fin 28 | v ∈ controlS}  let f (v : S) : S := ⟨controlMate v.val, by revert v; decide⟩  have hi : Function.Involutive f := by intro v; revert v; decide  have ha : ∀ v : S, (controlH.induce S).Adj v (f v) := by    intro v    revert v    decide  have hS : ∃ P : (controlH.induce S).Subgraph, P.IsPerfectMatching :=    perfect_matching_of_adjacency_involution _ f hi ha  have hsize : S.ncard = 2*7 := by    change (controlS : Set (Fin 28)).ncard = 2*7    rw [Set.ncard_coe_finset]    decide  have hcomp : Sᶜ = {v : Fin 28 | v ∈ controlR} := by    ext v    simp [S,controlR]  have hR := extendible_matchable_two_k_vertices_complement_matchable controlH 7 hext S hsize hS  rw [hcomp] at hR  have hU : controlU ⊆ controlR := by decide  have hcover : ∀ u ∈ controlU, ∀ v ∈ controlR, controlH.Adj u v → v ∈ controlT := by decide  have hb := induced_perfect_matching_neighbors_card_bound controlH controlR controlU controlT hU hcover hR  have hn : ¬ controlU.card ≤ controlT.card := by decide  exact hn hb
See it in the graphDiscuss this resultChallenge it