Classical (N,M)-query complexity of exact learning is Θ(min{M,N})
OpenQAlgorithms.LearningSurvey.classical_NM_exact_thetaThis is the folklore characterization of the classical -query complexity of exact learning.
Let and let be an integer with . The classical -query complexity is the maximum, over all concept classes with , of the classical membership query complexity of exactly learning (randomized learners, success probability at least on every target, worst-case number of queries). There are absolute constants such that for all such and
It is the classical benchmark against which Kothari's quantum characterization (Theorem 4.6) is compared.
Formalization Note is restricted to powers of two, as throughout §4.1. The case is excluded: the only class has one concept and needs no queries, so the lower bound of the is meant for . The bound excludes sizes for which no class exists.
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
namespace QAlgorithms.LearningSurvey
universe u
/-- **Theorem 4.5** (folklore; survey p.10). The classical `(N, M)`-query complexity of exact
learning is `Θ(min{M, N})`, for `N = 2^n` and every class size `2 ≤ M ≤ 2^N`. -/
theorem classical_NM_exact_theta :
∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ ∀ (n M : ℕ), 2 ≤ M → M ≤ 2 ^ (2 ^ n) →
c₁ * (min M (2 ^ n) : ℕ) ≤ (Learning.classicalExactNM n M : ℝ) ∧
(Learning.classicalExactNM n M : ℝ) ≤ c₂ * (min M (2 ^ n) : ℕ) := by
sorry
end QAlgorithms.LearningSurvey
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Classical exact complexity. For a finite concept class on , the classical exact complexity is the least for which there is a randomized decision tree (a probability distribution over deterministic decision trees querying values and outputting a hypothesis) such that:
- every tree in the support of makes at most queries on every input;
- for every , a tree drawn from and run on outputs exactly with probability at least .
It is if no such exists.
Worst case over classes of size . Let
with the value if there are no such sets.
Statement. There are constants such that for all with ,
Edge case: is allowed. Then only qualifies, and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.