not_matroid_connected_of_not_indep_singleton
A matroid with a loop e (the set {e} is dependent) and another ground element f ≠ e is not connected.
Statement
theorem not_matroid_connected_of_not_indep_singleton {α : Type*} (M : Matroid α) (e f : α) (he : e ∈ M.E) (hf : f ∈ M.E) (hef : e ≠ f) (hd : ¬ M.Indep {e}) : ¬ 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
propext- 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 4
- 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_connected_fin_two_iffA matroid on the two-element ground set Fin 2 is connected if and only if {0} and {1} are independent and {0, 1} is dependent (it is the…
- matroid_connectedness_query_two_eq_threeHere matroid_connectedness_query_le n q means: some deterministic independence-query decision tree of depth at most q decides, for every…
- matroid_connectedness_query_not_le_two_mul_sub_twoHere matroid_connectedness_query_le n q means: some deterministic independence-query decision tree of depth at most q decides, for every…
The proof, explained
Assume for contradiction that the matroid M is connected. By definition of connectedness, the distinct ground elements e and f must either be equal (impossible since e ≠ f) or share a common circuit C. But because {e} is a dependent subset of C, the minimality of circuits forces C ⊆ {e}, which implies f = e, contradicting e ≠ f.
Assume M is connected; then either e = f or there exists a circuit C containing both e and f.
We argue by contradiction and assume that M is connected (h). Applying the definition of matroid_connected to e, f ∈ M.E provides two possibilities: either e = f, or there is a circuit C such that e ∈ C and f ∈ C.
intro h rcases h e he f hf with h | ⟨C, hC, heC, hfC⟩
The case e = f is impossible.
The equality e = f immediately contradicts the hypothesis that e ≠ f (hef).
· exact hef hThe singleton set {e} is dependent in M.
By the definition of dependence (Matroid.Dep), a set is dependent if it is not independent and is contained in the ground set M.E. The hypothesis hd provides ¬M.Indep {e}, and he ensures {e} ⊆ M.E, so {e} is dependent.
uses
Matroid.Dep· have hdep : M.Dep {e} := by rw [Matroid.Dep]; exact ⟨hd, by simpa using he⟩
The circuit C is a subset of {e}.
Since e ∈ C, the singleton {e} is a subset of C by Set.singleton_subset_iff.2. A circuit C is by definition a minimal dependent set; since {e} is a dependent subset of C, this minimality forces C ⊆ {e}.
uses
Set.singleton_subset_iff.2have hsub : C ⊆ {e} := hC.2 hdep (Set.singleton_subset_iff.2 heC)The circuit case also leads to a contradiction.
Because f ∈ C and C ⊆ {e}, we must have f ∈ {e}, meaning f = e. By symmetry e = f, contradicting the assumption e ≠ f (hef).
have hfe : f = e := by simpa using hsub hfC exact hef hfe.symm
Matroid.Dep- A set in a matroid is dependent if it is not independent and is a subset of the matroid's ground set.
Set.singleton_subset_iff.2- If an element belongs to a set, then the singleton containing that element is a subset of the set (the right-to-left implication of {a} ⊆ s ↔ a ∈ s).
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 not_matroid_connected_of_not_indep_singleton {α : Type*} (M : Matroid α) (e f : α) (he : e ∈ M.E) (hf : f ∈ M.E) (hef : e ≠ f) (hd : ¬ M.Indep {e}) : ¬ matroid_connected M := by intro h rcases h e he f hf with h | ⟨C, hC, heC, hfC⟩ · exact hef h · have hdep : M.Dep {e} := by rw [Matroid.Dep]; exact ⟨hd, by simpa using he⟩ have hsub : C ⊆ {e} := hC.2 hdep (Set.singleton_subset_iff.2 heC) have hfe : f = e := by simpa using hsub hfC exact hef hfe.symm