not_matroid_connected_of_fund_circuit_separated_finite
If M is a matroid with finite ground set, B is a base, and A is a non-empty proper subset of B such that every e in E \ B whose fundamental circuit meets A has its fundamental circuit contained in insert e A, then M is not connected.
Statement
theorem not_matroid_connected_of_fund_circuit_separated_finite {α : Type*} (M : Matroid α) {B : Set α} (hE : M.E.Finite) (hB : M.IsBase B) {A : Set α} (hAne : A.Nonempty) (hAB : A ⊂ B) (hsep : ∀ e ∈ M.E \ B, (M.fundCircuit e B ∩ A).Nonempty → M.fundCircuit e B ⊆ insert e A) : ¬ matroid_connected M
- Source
- step towards not_matroid_connected_of_fund_circuit_separated
- Verified
- 24 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiffLet B be a base of a matroid M and P a set of elements such that every fundamental circuit M.fundCircuit e B (e in E \ B) is monochromatic…
- 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 1
- 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…
The proof, explained
We argue by contradiction, assuming that $M$ is connected. We define a candidate separator $S$ consisting of $A$ along with all elements of $E \setminus B$ whose fundamental circuits meet $A$. The hypothesis implies that every fundamental circuit is either wholly inside $S$ or disjoint from $S$, which transfers to all circuits of $M$ via a lemma on finite set differences. Selecting $a \in A$ and $b \in B \setminus A$, connectivity yields a circuit $C$ containing both $a$ and $b$. This produces a contradiction, as $C$ cannot be contained in $S$ (since $b \notin S$) nor disjoint from $S$ (since $a \in S$).
Assume for contradiction that $M$ is connected, and define the candidate separating set $S$.
We assume for contradiction that $M$ is connected (`hconn`). We define $S$ as the union of $A$ and the set of all elements $x \in E \setminus B$ whose fundamental circuit with respect to $B$ intersects $A$.
intro hconn set S : Set α := A ∪ {x : α | x ∈ M.E \ B ∧ (M.fundCircuit x B ∩ A).Nonempty} with hS
For every $e \in E \setminus B$, the fundamental circuit $C(e, B)$ is either contained in $S$ or disjoint from $S$.
For any $e \in E \setminus B$, we test whether $C(e, B) \cap A$ is non-empty. If it is non-empty, hypothesis `hsep` gives $C(e, B) \subseteq \{e\} \cup A$; since $A \subseteq S$ and $e \in S$ by definition of $S$, we have $C(e, B) \subseteq S$. If it is empty, we show $C(e, B)$ is disjoint from $S$ using `Set.disjoint_left`. If some $x \in C(e, B)$ were in $S$, then either $x \in A$ (contradicting $C(e, B) \cap A = \emptyset$) or $x \in E \setminus B$ with $C(x, B) \cap A \neq \emptyset$. But by `M.fundCircuit_subset_insert`, $C(e, B) \subseteq \{e\} \cup B$, so the only element of $C(e, B)$ outside $B$ is $e$, which implies $x = e$ and contradicts $C(e, B) \cap A = \emptyset$.
uses
M.fundCircuit_subset_insert,Set.disjoint_lefthave hmono : ∀ e ∈ M.E \ B, M.fundCircuit e B ⊆ S ∨ Disjoint (M.fundCircuit e B) S := by intro e he by_cases hne : (M.fundCircuit e B ∩ A).Nonempty · left intro x hx have hsub := hsep e he hne hx rw [hS] rcases hsub with rfl | hxA · exact Or.inr ⟨he, hne⟩ · exact Or.inl hxA · right rw [Set.disjoint_left] intro x hx hxS rw [hS] at hxS have hsub := M.fundCircuit_subset_insert e B hx rcases hxS with hxA | ⟨hxEB, hne'⟩ · exact hne ⟨x, hx, hxA⟩ · rcases hsub with rfl | hxB · exact hne hne' · exact hxEB.2 hxB
There exist distinct ground elements $a \in A$ and $b \in B \setminus A$.
Because $A$ is non-empty, we can pick $a \in A$. Because $A$ is a proper subset of $B$, `Set.exists_of_ssubset` provides an element $b \in B$ with $b \notin A$. Both $a$ and $b$ belong to $E$ because $A \subseteq B \subseteq E$. Finally, $a \neq b$ because $a \in A$ while $b \notin A$.
uses
Set.exists_of_ssubsetobtain ⟨a, haA⟩ := hAne obtain ⟨b, hbB, hbA⟩ := Set.exists_of_ssubset hAB have haE : a ∈ M.E := hB.subset_ground (hAB.subset haA) have hbE : b ∈ M.E := hB.subset_ground hbB have hne_ab : a ≠ b := by intro h; exact hbA (h ▸ haA)
There is a circuit $C$ containing both $a$ and $b$.
Applying the connectivity assumption `hconn` to $a$ and $b$ gives that either $a = b$ or there exists a circuit $C$ containing both $a$ and $b$. Since $a \neq b$, the first case is eliminated, leaving the circuit $C$.
obtain h | ⟨C, hC, haC, hbC⟩ := hconn a haE b hbE · exact hne_ab h
The circuit $C$ is either a subset of $S$ or disjoint from $S$, and $a \in S$.
Because $E$ is finite and $C \subseteq E$, the set difference $C \setminus B$ is finite. By `matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiff`, since every fundamental circuit is either contained in $S$ or disjoint from $S$, the circuit $C$ must also satisfy $C \subseteq S$ or be disjoint from $S$. In addition, $a \in S$ because $a \in A \subseteq S$.
uses
matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiff· have hfin : (C \ B).Finite := (hE.subset hC.subset_ground).sdiff have hCS := matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiff M hB hmono C hC hfin have haS : a ∈ S := by rw [hS]; exact Or.inl haA
Both alternatives for $C$ lead to contradiction, concluding the proof.
We split on whether $C \subseteq S$ or $C$ is disjoint from $S$. If $C \subseteq S$, then $b \in S$ since $b \in C$; but an element of $S$ is either in $A$ (contradicting $b \notin A$) or in $E \setminus B$ (contradicting $b \in B$). If $C$ is disjoint from $S$, this contradicts $a \in C$ and $a \in S$ via `Set.disjoint_left`. Both branches yield a contradiction.
uses
Set.disjoint_leftrcases hCS with hCS | hdisj · have hbS : b ∈ S := hCS hbC rw [hS] at hbS rcases hbS with hbA' | ⟨hbEB, _⟩ · exact hbA hbA' · exact hbEB.2 hbB · rw [Set.disjoint_left] at hdisj exact hdisj haC haS
M.fundCircuit_subset_insert- The fundamental circuit of an element $e$ with respect to a set $I$ is contained in $\{e\} \cup I$.
Set.disjoint_left- Two sets are disjoint if and only if no element of the first set belongs to the second set.
Set.exists_of_ssubset- If a set is a strict subset of another, then there exists an element in the larger set that is not in the smaller set.
matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiff- If every fundamental circuit of a base $B$ is either contained in $P$ or disjoint from $P$, then any circuit $C$ for which $C \setminus B$ is finite is also either contained in $P$ or disjoint from $P$.
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.
/-- A non-empty proper subset A of a base B whose separated fundamental circuits stay inside insert e A certifies disconnection, on a finite ground set. -/theorem not_matroid_connected_of_fund_circuit_separated_finite {α : Type*} (M : Matroid α) {B : Set α} (hE : M.E.Finite) (hB : M.IsBase B) {A : Set α} (hAne : A.Nonempty) (hAB : A ⊂ B) (hsep : ∀ e ∈ M.E \ B, (M.fundCircuit e B ∩ A).Nonempty → M.fundCircuit e B ⊆ insert e A) : ¬ matroid_connected M := by intro hconn set S : Set α := A ∪ {x : α | x ∈ M.E \ B ∧ (M.fundCircuit x B ∩ A).Nonempty} with hS have hmono : ∀ e ∈ M.E \ B, M.fundCircuit e B ⊆ S ∨ Disjoint (M.fundCircuit e B) S := by intro e he by_cases hne : (M.fundCircuit e B ∩ A).Nonempty · left intro x hx have hsub := hsep e he hne hx rw [hS] rcases hsub with rfl | hxA · exact Or.inr ⟨he, hne⟩ · exact Or.inl hxA · right rw [Set.disjoint_left] intro x hx hxS rw [hS] at hxS have hsub := M.fundCircuit_subset_insert e B hx rcases hxS with hxA | ⟨hxEB, hne'⟩ · exact hne ⟨x, hx, hxA⟩ · rcases hsub with rfl | hxB · exact hne hne' · exact hxEB.2 hxB obtain ⟨a, haA⟩ := hAne obtain ⟨b, hbB, hbA⟩ := Set.exists_of_ssubset hAB have haE : a ∈ M.E := hB.subset_ground (hAB.subset haA) have hbE : b ∈ M.E := hB.subset_ground hbB have hne_ab : a ≠ b := by intro h; exact hbA (h ▸ haA) obtain h | ⟨C, hC, haC, hbC⟩ := hconn a haE b hbE · exact hne_ab h · have hfin : (C \ B).Finite := (hE.subset hC.subset_ground).sdiff have hCS := matroid_circuit_mono_of_fundCircuit_mono_of_finite_sdiff M hB hmono C hC hfin have haS : a ∈ S := by rw [hS]; exact Or.inl haA rcases hCS with hCS | hdisj · have hbS : b ∈ S := hCS hbC rw [hS] at hbS rcases hbS with hbA' | ⟨hbEB, _⟩ · exact hbA hbA' · exact hbEB.2 hbB · rw [Set.disjoint_left] at hdisj exact hdisj haC haS