AFTD Auto-Formalizing Theoretical Domains

matroid_connectedness_query_le_mono

theoremverified

If connectedness of matroids on n elements can be decided with q independence queries, it can be decided with q' queries for every q' ≥ q.

Statement

theorem matroid_connectedness_query_le_mono {n q q' : ℕ} (h : q ≤ q')
    (hq : matroid_connectedness_query_le n q) : matroid_connectedness_query_le n q'
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 5
  • 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…
  • 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…
  • 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 b outputs the Boolean b;…

The proof, explained

To show that matroid connectedness can be decided with at most q' queries whenever q ≤ q', we reuse the decision tree T given by the hypothesis for q queries. Because its depth is bounded by q, transitivity of ≤ implies its depth is also bounded by q', making T a valid witness for the bound q'.

  1. There exists an independence query tree T of depth at most q that correctly decides connectedness for matroids on n elements.

    Unpack the assumption hq that connectedness can be decided in at most q queries to obtain the decision tree T, the depth bound hT (T.depth ≤ q), and the correctness guarantee hM.

    line 3

      obtain ⟨T, hT, hM⟩ := hq
  2. Matroid connectedness can be decided in at most q' queries.

    Provide the same tree T as the witness: since T.depth ≤ q and q ≤ q', transitivity of inequality gives T.depth ≤ q', while the correctness condition hM remains unchanged.

    line 4

      exact ⟨T, hT.trans h, hM⟩

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_connectedness_query_le_mono {n q q' : ℕ} (h : q ≤ q')    (hq : matroid_connectedness_query_le n q) : matroid_connectedness_query_le n q' := by  obtain ⟨T, hT, hM⟩ := hq  exact ⟨T, hT.trans h, hM⟩
See it in the graphDiscuss this resultChallenge it