AFTD Auto-Formalizing Theoretical Domains

not_is_k_extendable_bot_fin_four

theoremverified

The empty graph on 4 vertices is not 1-extendable (it has no edge, hence no 1-matching).

Statement

theorem not_is_k_extendable_bot_fin_four : ¬ is_k_extendable (⊥ : SimpleGraph (Fin 4)) 1
Source
sanity lemma for is_k_extendable (arXiv:2611.22690, Section 2)
Verified
19 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • 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…

The proof, explained

The proof proceeds by contradiction. By definition, a 1-extendable graph must contain a matching with 1 edge. However, any subgraph of the empty graph has no edges, so any such matching must have an empty edge set, contradicting that its cardinality is 1.

  1. Assume for contradiction that the empty graph on 4 vertices is 1-extendable, which implies the existence of a matching M with 1 edge.

    The definition of k-extendability requires that there exists a matching of size k. Unfolding this definition for k = 1 on the empty graph ⊥ yields a subgraph M that is a matching with cardinality 1.

    line 2

      rintro ⟨-, ⟨M, hM, hc⟩, -⟩
  2. The edge set of M is empty.

    By set extensionality, an edge belongs to M.edgeSet if and only if it belongs to the empty set. Any edge in M must belong to the edge set of ⊥ by M.edgeSet_subset, but ⊥ has no edges, giving a contradiction via absurd. The converse inclusion holds vacuously since the empty set has no elements.

    lines 3–7

    uses absurd, M.edgeSet_subset

      have : M.edgeSet = ∅ := by
        ext e; constructor
        · intro he
          exact absurd (M.edgeSet_subset he) (by simp)
        · simp
  3. Contradiction: the empty set cannot have cardinality 1.

    Substituting M.edgeSet = ∅ into the hypothesis that M has 1 edge gives |∅| = 1, i.e., 0 = 1, which simp reduces to False.

    line 8

      rw [this] at hc; simp at hc
M.edgeSet_subset
The edge set of a subgraph is a subset of the edge set of the host graph
absurd
From a proposition and its negation, any conclusion 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

theorem not_is_k_extendable_bot_fin_four : ¬ is_k_extendable (⊥ : SimpleGraph (Fin 4)) 1 := by  rintro ⟨-, ⟨M, hM, hc⟩, -⟩  have : M.edgeSet = ∅ := by    ext e; constructor    · intro he      exact absurd (M.edgeSet_subset he) (by simp)    · simp  rw [this] at hc; simp at hc
See it in the graphDiscuss this resultChallenge it