matroid_connectedness_query_le_one_zero
On a one-element ground set no query is needed: every matroid is connected.
Statement
theorem matroid_connectedness_query_le_one_zero : matroid_connectedness_query_le 1 0- 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
Classical.choiceQuot.soundpropext- Built on 6
- matroid_connectedness_query_leFor natural numbers n and q, matroid_connectedness_query_le n q is the statement that the deterministic independence-query complexity of…
- matroid_connected_of_subsingletonA matroid whose ground set has at most one element is connected.
- 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…
- MatroidIndepQueryTreeA deterministic independence-query algorithm on a ground set α, as a rooted binary decision tree: a leaf
leaf boutputs the Boolean b;… - MatroidIndepQueryTree.evalThe Boolean output of an independence-query decision tree T on a ground set α when the queries are answered by an oracle o : Finset α →…
- MatroidIndepQueryTree.depthThe depth (height) of an independence-query decision tree on a ground set α, a natural number defined by recursion on the tree: a leaf…
The proof, explained
To show that zero queries suffice to determine connectedness on a one-element ground set, we use the trivial decision tree that queries nothing and always returns true. Because the ground set Fin 1 has only a single element, any matroid on it has at most one element in its ground set. A general lemma ensures that every matroid on a subsingleton ground set is connected, so the tree's answer is always correct.
Zero queries suffice if the constant decision tree returning true correctly decides connectedness for any matroid on Fin 1.
We provide the candidate query tree MatroidIndepQueryTree.leaf true, which asks no queries and has depth 0 ≤ 0 by reflexivity (le_rfl). We then introduce an arbitrary matroid M on Fin 1 with full ground set, an oracle o, and the hypothesis that o answers independence queries faithfully.
uses
le_rflrefine ⟨.leaf true, le_rfl, fun M _ o _ => ?_⟩
The correctness condition reduces to showing that M is connected.
By definition of MatroidIndepQueryTree.eval, evaluating a leaf with value true returns true. The goal true = true ↔ matroid_connected M then simplifies to matroid_connected M via true_iff.
uses
MatroidIndepQueryTree.eval,true_iffsimp only [MatroidIndepQueryTree.eval, true_iff]The matroid M is connected.
Because Fin 1 has only one element, any subset of it is a subsingleton by Set.subsingleton_of_subsingleton. By matroid_connected_of_subsingleton, any matroid whose ground set is a subsingleton is connected, which finishes the proof.
uses
matroid_connected_of_subsingleton,Set.subsingleton_of_subsingletonexact matroid_connected_of_subsingleton M Set.subsingleton_of_subsingleton
le_rfl- The reflexivity of ≤: a ≤ a for any element in a preorder.
MatroidIndepQueryTree.eval- The evaluation function for a query tree; on a leaf node leaf b, it returns b regardless of the oracle.
true_iff- The equivalence True ↔ p simplifies to p.
matroid_connected_of_subsingleton- A matroid whose ground set contains at most one element is connected.
Set.subsingleton_of_subsingleton- Any subset of a subsingleton type contains at most one element.
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_connectedness_query_le_one_zero : matroid_connectedness_query_le 1 0 := by refine ⟨.leaf true, le_rfl, fun M _ o _ => ?_⟩ simp only [MatroidIndepQueryTree.eval, true_iff] exact matroid_connected_of_subsingleton M Set.subsingleton_of_subsingleton