Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.5

Open
QAlgorithms.Papers.Independent.Extend50.P34.eyd_large_ratio_lower_bound

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

There are absolute C,a>0C,a>0C,a>0 and 0<δ<10<\delta<10<δ<1 such that for d≥2d\ge2d≥2, n≥Cd2n\ge Cd^2n≥Cd2, and ϵ>0\epsilon>0ϵ>0 with n<ad2/ϵ2n<a d^2/\epsilon^2n<ad2/ϵ2,

Pr⁡λ∼SWdn[dTV(λˉ,Unifd)>ϵ]≥δ.\Pr_{\lambda\sim\mathrm{SW}_d^n}[d_{\rm TV}(\bar\lambda,\mathrm{Unif}_d)>\epsilon]\ge\delta.λ∼SWdn​Pr​[dTV​(λˉ,Unifd​)>ϵ]≥δ.

The source proof permits C=1010C=10^{10}C=1010 and δ=0.01\delta=0.01δ=0.01, with error at least d/(400000n)d/(400000\sqrt n)d/(400000n​). This supplies the large-nnn part of the EYD lower bound.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
Formal statement
noncomputable section

open scoped Matrix BigOperators

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P34

attribute [local instance] Classical.propDecidable

-- Reuse exact pinned definitions; these are imports, not local declarations.

open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)

open QAlgorithms.Papers.Independent.Advance50.P28 (counts)

/-- Theorem 3.5, arXiv:1501.05028v1, PDF p.30. Exclude d=1; the source proof retains absolute deviations, whose bars are lost in extraction. -/
theorem eyd_large_ratio_lower_bound
    : ∃ C a delta : ℝ, 0 < C ∧ 0 < a ∧ 0 < delta ∧ delta < 1 ∧
      ∀ d : ℕ, 2 ≤ d → ∀ n : ℕ, 0 < n → C*d^2 ≤ (n : ℝ) →
        ∀ epsilon : ℝ, 0 < epsilon → (n : ℝ) < a*d^2/epsilon^2 →
          delta ≤ event (n := n) (unif d) (fun lambda => epsilon < eydError n (unif d) lambda) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P34

end
Source
Quantum Spectrum Testing, arXiv:1501.05028v1, PDF p. 30, Theorem 3.5
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

There exist real constants C,a,δC,a,\deltaC,a,δ with C>0C>0C>0, a>0a>0a>0, and 0<δ<10<\delta<10<δ<1, such that, for every natural number d≥2d\ge2d≥2, every natural number n>0n>0n>0 with Cd2≤nCd^2\le nCd2≤n, and every real ϵ>0\epsilon>0ϵ>0 satisfying n<ad2/ϵ2n<ad^2/\epsilon^2n<ad2/ϵ2,

δ≤∑λ∈Pd,nwd,n(λ)1{ϵ<12∑i=0d−1∣λi+1n−1d∣}.\delta\le \sum_{\lambda\in\mathcal P_{d,n}}w_{d,n}(\lambda) \mathbf1_{\left\{\epsilon< \frac12\sum_{i=0}^{d-1}\left|\frac{\lambda_{i+1}}n-\frac1d\right|\right\}}.δ≤λ∈Pd,n​∑​wd,n​(λ)1{ϵ<21​∑i=0d−1​​nλi+1​​−d1​​}​.

Here Pd,n\mathcal P_{d,n}Pd,n​ consists of Young diagrams with nnn cells and at most ddd rows, and missing row lengths are 000. For each diagram, use the fixed numbering of its cells by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, let Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​ preserve rows and columns, and define Yλeh=∑a∈Rλ,b∈Cλsgn⁡(b)ehabY_\lambda e_h=\sum_{a\in R_\lambda,b\in C_\lambda}\operatorname{sgn}(b)e_{hab}Yλ​eh​=∑a∈Rλ​,b∈Cλ​​sgn(b)ehab​. Let Πλ\Pi_\lambdaΠλ​ project orthogonally onto its range, fλ=dim⁡Crange⁡Yλf_\lambda=\dim_{\mathbb C}\operatorname{range}Y_\lambdafλ​=dimC​rangeYλ​, and cλ(π)=tr⁡(LπΠλ)c_\lambda(\pi)=\operatorname{tr}(L_\pi\Pi_\lambda)cλ​(π)=tr(Lπ​Πλ​), where Lπeh=eπhL_\pi e_h=e_{\pi h}Lπ​eh​=eπh​. Define Tπex=ex∘π−1T_\pi e_x=e_{x\circ\pi^{-1}}Tπ​ex​=ex∘π−1​, Pλ=(fλ/n!)∑πcλ(π−1)TπP_\lambda=(f_\lambda/n!)\sum_\pi c_\lambda(\pi^{-1})T_\piPλ​=(fλ​/n!)∑π​cλ​(π−1)Tπ​, and wd,n(λ)=Re⁡tr⁡(Pλ(Id/d)⊗n)w_{d,n}(\lambda)=\operatorname{Re}\operatorname{tr}(P_\lambda(I_d/d)^{\otimes n})wd,n​(λ)=Retr(Pλ​(Id​/d)⊗n). There is no separate upper restriction on ϵ\epsilonϵ; for any fixed d,nd,nd,n, the implication imposes a conclusion only on positive ϵ\epsilonϵ satisfying the stated strict bound on nnn.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me