matroid_connected_of_subsingleton
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
- matroid_laminar_connectedness_query_linearFor each n there is one deterministic independence-query tree of depth at most 4n+1 deciding connectedness for every laminar matroid on n…
- matroid_connectedness_query_le_zero_zeroThe zero-element matroid requires 0 queries: on an empty ground set the matroid is vacuously connected.
- matroid_connectedness_query_le_one_zeroOn a one-element ground set no query is needed: every matroid is connected.
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.
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.
intro e he f hfThe 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.
uses
Or.inlexact 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
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.
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)