matroid_hidden_class_coverage_of_linear
A uniform linear deterministic independence-query algorithm for connectedness on arbitrary finite matroids implies the uniform linear hidden-class coverage bound.
Statement
theorem matroid_hidden_class_coverage_of_linear
(h : ∃ C : ℕ, ∀ n : ℕ, matroid_connectedness_query_le n (C*n)) :
matroid_hidden_class_coverage_linear- Source
- https://arxiv.org/abs/2611.23624, Section 3 and the open deterministic decision question OP-1998.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 7
- matroid_full_fiber_oracle_realizationFor a partial coloring that uses each of at least two colors, there is a matroid on the full ground set whose independent sets contain at…
- matroid_hidden_class_coverage_linearThere is one constant C such that for n points and any k at least two, a deterministic binary query tree of depth at most Cn decides if…
- 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.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…
- 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 α →…
- MatroidIndepQueryTreeA deterministic independence-query algorithm on a ground set α, as a rooted binary decision tree: a leaf
leaf boutputs the Boolean b;…
The proof, explained
The proof shows that a linear query algorithm for matroid connectedness yields a linear query algorithm for hidden-class coverage using the exact same constant C. Given a partial coloring g with non-empty classes, the realization lemma matroid_full_fiber_oracle_realization constructs a matroid M whose independent sets match the oracle queries and which is connected if and only if g covers all elements. Evaluating the connectedness query tree on this oracle therefore decides whether g covers the ground set in at most C * n queries.
It suffices to use the same proportionality constant C and show that for any n and any k ≥ 2, there is a query tree of depth at most C * n deciding hidden-class coverage.
From the hypothesis, let C be the constant certifying that matroid connectedness on n elements can be decided within C * n queries. We propose this same C as the constant for hidden-class coverage, and fix n and k with 2 ≤ k.
obtain ⟨C, hC⟩ := h refine ⟨C, fun n k hk => ?_⟩
We obtain a query tree T of depth at most C * n for matroid connectedness on Fin n, and set up the verification for an arbitrary partial coloring g and oracle o.
Specializing the connectedness algorithm hypothesis to n gives a query tree T of depth at most C * n that correctly tests connectedness from any independence oracle. We fix this T and consider an arbitrary partial coloring g : Fin n → Option (Fin k) whose fibers are all non-empty, together with an oracle o that tests whether a set Q contains at most one fiber of g.
obtain ⟨T, hd, hT⟩ := hC n refine ⟨T, hd, fun g o hs ho => ?_⟩
The label set Fin k has at least two elements.
This holds directly because 2 ≤ k.
uses
Fin.nontrivial_iff_two_le.mprhave : Nontrivial (Fin k) := Fin.nontrivial_iff_two_le.mpr hkThere exists a matroid M on Fin n whose independence matches the oracle o and whose connectedness is equivalent to g covering the entire ground set.
Applying the realization theorem matroid_full_fiber_oracle_realization to g and the assumption that each class is non-empty yields a matroid M on Fin n whose independent sets are precisely the subsets containing at most one fiber of g, and which is connected if and only if g(x) ≠ none for all x.
uses
matroid_full_fiber_oracle_realizationobtain ⟨M, he, hi, hc⟩ := matroid_full_fiber_oracle_realization g hsEvaluating the tree T with oracle o returns true if and only if every element is assigned a label by g.
By construction of M, the oracle o answers true on Q exactly when Q is independent in M. By correctness of T, evaluating T on o returns true if and only if M is connected. Chaining this with the connectedness condition of M yields that T evaluates to true if and only if g(x) ≠ none for all x.
exact (hT M he o (fun Q => (ho Q).trans (hi (Q : Set (Fin n))).symm)).trans hc
Fin.nontrivial_iff_two_le.mpr- The type Fin k has at least two distinct elements if and only if 2 ≤ k.
matroid_full_fiber_oracle_realization- Given a nontrivial label set κ and a partial coloring g : α → Option κ where each fiber is non-empty, there exists a matroid on α whose independent sets are those containing at most one complete fiber, and which is connected if and only if g is defined everywhere on α.
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_hidden_class_coverage_of_linear (h : ∃ C : ℕ, ∀ n : ℕ, matroid_connectedness_query_le n (C*n)) : matroid_hidden_class_coverage_linear := by obtain ⟨C, hC⟩ := h refine ⟨C, fun n k hk => ?_⟩ obtain ⟨T, hd, hT⟩ := hC n refine ⟨T, hd, fun g o hs ho => ?_⟩ have : Nontrivial (Fin k) := Fin.nontrivial_iff_two_le.mpr hk obtain ⟨M, he, hi, hc⟩ := matroid_full_fiber_oracle_realization g hs exact (hT M he o (fun Q => (ho Q).trans (hi (Q : Set (Fin n))).symm)).trans hc