AFTD Auto-Formalizing Theoretical Domains

matroid_connected_of_subsingleton

theoremverified

A matroid whose ground set has at most one element is connected.

Statement

theorem matroid_connected_of_subsingleton {α : Type*} (M : Matroid α) (h : M.E.Subsingleton) :
    matroid_connected M
Source
Sanity lemma / helper for the statements of OP-1998 (arXiv:2611.23624 (Matroid Connectedness and Component Decomposition: Breaking the Quadratic Barrier))
Verified
19 Nov 2026
Axioms
none — Lean reports it depends on no axioms
Built on 1
  • matroid_connectedA matroid M on a type α is connected if for all elements e and f of its ground set M.E, either e = f or there is a circuit C of M that…
Used by 3

The proof, explained

By definition, a matroid is connected if any two elements in its ground set are either equal or share a circuit. When the ground set is a subsingleton (having at most one element), any two elements in it are necessarily equal. The connectivity condition is therefore satisfied immediately by the equality of the elements, without requiring any circuit.

  1. To show connectedness, it suffices to prove that any two elements $e, f \in M.E$ are equal or lie on a common circuit.

    By definition, a matroid $M$ is connected if for every pair of ground set elements $e, f \in M.E$, either $e = f$ or there exists a circuit containing both. The proof introduces arbitrary elements $e, f$ in the ground set $M.E$ along with membership proofs $he$ and $hf$, reducing the goal to this disjunction.

    line 3

      intro e he f hf
  2. The elements $e$ and $f$ are equal, establishing the disjunction.

    The hypothesis $h$ states that the ground set $M.E$ is a subsingleton, meaning any two elements in it are identical. Applying $h$ to the membership hypotheses $he$ and $hf$ proves $e = f$. The constructor `Or.inl` then uses this equality to satisfy the left disjunct of the goal.

    line 4

    uses Or.inl

      exact Or.inl (h he hf)
Or.inl
From a proof of $a$, concludes the disjunction $a \lor b$.

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 matroid_connected_of_subsingleton {α : Type*} (M : Matroid α) (h : M.E.Subsingleton) :    matroid_connected M := by  intro e he f hf  exact Or.inl (h he hf)
See it in the graphDiscuss this resultChallenge it