Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Optimal quantum agnostic sample complexity lower bound

Open
QAlgorithms.Arunachalam.quantumAgnostic_sample_lower_bound_optimal

by Goku · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

arunachalamlecture-notesquantum-information

Let C⊆{c:{0,1}n→{0,1}}C\subseteq\{c:\{0,1\}^n\to\{0,1\}\}C⊆{c:{0,1}n→{0,1}} be a concept class with VC-dim(C)=d\mathrm{VC\text{-}dim}(C)=dVC-dim(C)=d. A quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-agnostic learner using TTT examples is a POVM {Mh}h∈C\{M_h\}_{h\in C}{Mh​}h∈C​ on TTT copies of ∑(x,b)D(x,b) ∣x,b⟩\sum_{(x,b)}\sqrt{D(x,b)}\,|x,b\rangle∑(x,b)​D(x,b)​∣x,b⟩ that, for every distribution DDD on {0,1}n×{0,1}\{0,1\}^{n}\times\{0,1\}{0,1}n×{0,1}, outputs h∈Ch\in Ch∈C with errD(h)≤optD(C)+ε\mathrm{err}_D(h)\le\mathrm{opt}_D(C)+\varepsilonerrD​(h)≤optD​(C)+ε with probability at least 1−δ1-\delta1−δ, where errD(h)=Pr⁡(x,b)∼D[h(x)≠b]\mathrm{err}_D(h)=\Pr_{(x,b)\sim D}[h(x)\neq b]errD​(h)=Pr(x,b)∼D​[h(x)=b] and optD(C)=min⁡c∈CerrD(c)\mathrm{opt}_D(C)=\min_{c\in C}\mathrm{err}_D(c)optD​(C)=minc∈C​errD​(c).

There are absolute constants C0>0C_0>0C0​>0 and d0d_0d0​ such that for all nnn, all such CCC with d≥d0d\ge d_0d≥d0​, all δ∈(0,1/2)\delta\in(0,1/2)δ∈(0,1/2) and ε∈(0,1/10)\varepsilon\in(0,1/10)ε∈(0,1/10), every quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-agnostic learner for CCC using TTT examples satisfies

T ≥ C0(dε2+log⁡(1/δ)ε2).T\ \ge\ C_0\left(\frac{d}{\varepsilon^2}+\frac{\log(1/\delta)}{\varepsilon^2}\right).T ≥ C0​(ε2d​+ε2log(1/δ)​).

This matches the classical agnostic sample complexity up to constants.

Formalization Note C0C_0C0​ and d0d_0d0​ are quantified before every other object. The source's proof is internally inconsistent in its parameter α\alphaα (20ε20\varepsilon20ε in the text, 10ε10\varepsilon10ε in Lemma 7.5.9); the theorem, an Ω\OmegaΩ-statement, is stated as written.

Preamble
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances
set_option autoImplicit false
Formal statement
namespace QAlgorithms.Arunachalam

open QAlgorithms.Learning



/-- Arunachalam p.178–180, Theorem 7.5.8: let `C` be a concept class with `VC-dim(C) = d`, for
sufficiently large `d`. Then for every `δ ∈ (0, 1/2)` and `ε ∈ (0, 1/10)`, every `(ε, δ)`-agnostic
quantum learner for `C` has sample complexity `Ω(d/ε² + (1/ε²) log(1/δ))`.

The constant `C₀` and the threshold `d₀` are absolute (before every other object). The proof's
parameter choice is inconsistent (the text picks `α = 20ε`, Lemma 7.5.9 computes with `α = 10ε`);
the theorem is stated as written. -/
theorem quantumAgnostic_sample_lower_bound_optimal :
    ∃ C₀ : ℝ, 0 < C₀ ∧ ∃ d₀ : ℕ,
      ∀ (n : ℕ) (C : Finset (Qubits n → Bool)) (d : ℕ), vcDimClass C = d → d₀ ≤ d →
        ∀ δ ε : ℝ, 0 < δ → δ < 1 / 2 → 0 < ε → ε < 1 / 10 →
          ∀ (T : ℕ) (M : {c // c ∈ C} →
              Matrix (Fin T → Qubits n × Bool) (Fin T → Qubits n × Bool) ℂ),
            IsQAgnosticLearner C ε δ T M →
              C₀ * ((d : ℝ) / ε ^ 2 + Real.log (1 / δ) / ε ^ 2) ≤ (T : ℝ) := by
  sorry




end QAlgorithms.Arunachalam
Source
Srinivasan Arunachalam, Quantum Algorithms and Learning Theory — Part II, 2018 thesis, ILLC DS-2018-08, PDF p. 178, Theorem 7.5.8. https://ir.cwi.nl/pub/27536/Thesis_S_Arunachalam
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

There exist a real constant C0>0C_0 > 0C0​>0 and a natural number d0d_0d0​ such that the following holds. Take any n∈Nn \in \mathbb{N}n∈N, any finite class CCC of Boolean functions on {0,1}n\{0,1\}^n{0,1}n, and any d≥d0d \ge d_0d≥d0​ such that the VC dimension of CCC equals ddd. Here the VC dimension is that of the family of sets {x:c(x)=1}\{x : c(x) = 1\}{x:c(x)=1}, c∈Cc \in Cc∈C. Take any reals 0<δ<1/20 < \delta < 1/20<δ<1/2 and 0<ε<1/100 < \varepsilon < 1/100<ε<1/10, any T∈NT \in \mathbb{N}T∈N, and any family (Mc)c∈C(M_c)_{c \in C}(Mc​)c∈C​ of complex matrices on the space indexed by ({0,1}n×{0,1})T(\{0,1\}^n \times \{0,1\})^T({0,1}n×{0,1})T. Here the outcomes are exactly the elements of CCC.

Suppose MMM is a quantum agnostic learner, meaning:

  • each McM_cMc​ is positive semidefinite and ∑c∈CMc=I\sum_{c \in C} M_c = I∑c∈C​Mc​=I;
  • for every distribution DDD on {0,1}n×{0,1}\{0,1\}^n \times \{0,1\}{0,1}n×{0,1},
∑c∈C : errD(c)≤optD(C)+εRe⁡Tr⁡(Mc ∣ϕD⊗T⟩⟨ϕD⊗T∣)≥1−δ.\sum_{c \in C \,:\, \mathrm{err}_D(c) \le \mathrm{opt}_D(C) + \varepsilon} \operatorname{Re}\operatorname{Tr}\big(M_c\,|\phi_D^{\otimes T}\rangle\langle\phi_D^{\otimes T}|\big) \ge 1-\delta.c∈C:errD​(c)≤optD​(C)+ε∑​ReTr(Mc​∣ϕD⊗T​⟩⟨ϕD⊗T​∣)≥1−δ.

In this condition:

  • errD(h)=∑(x,b):h(x)≠bD(x,b)\mathrm{err}_D(h) = \sum_{(x,b) : h(x) \ne b} D(x,b)errD​(h)=∑(x,b):h(x)=b​D(x,b);
  • optD(C)=inf⁡c∈CerrD(c)\mathrm{opt}_D(C) = \inf_{c \in C} \mathrm{err}_D(c)optD​(C)=infc∈C​errD​(c), which would be 000 by convention if CCC were empty;
  • ϕD\phi_DϕD​ has amplitude D(x,b)\sqrt{D(x,b)}D(x,b)​ at (x,b)(x,b)(x,b), and ϕD⊗T\phi_D^{\otimes T}ϕD⊗T​ has amplitude ∏iϕD(zi)\prod_i \phi_D(z_i)∏i​ϕD​(zi​).

If CCC is empty, the condition ∑cMc=I\sum_c M_c = I∑c​Mc​=I cannot hold, so the hypothesis is unsatisfiable. Then

C0(dε2+ln⁡(1/δ)ε2)≤T.C_0\left(\frac{d}{\varepsilon^2} + \frac{\ln(1/\delta)}{\varepsilon^2}\right) \le T.C0​(ε2d​+ε2ln(1/δ)​)≤T.

The constants C0,d0C_0, d_0C0​,d0​ are uniform in nnn, CCC, δ\deltaδ, ε\varepsilonε, TTT and MMM.

Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me