Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5.8

Open
QAlgorithms.Papers.Independent.Extend50.P34.error_constants_growth

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

prove2quantum

The constants in Lemma 5.7 can be chosen jointly with an absolute b>0b>0b>0 so that

AC≤2bC2log⁡C(C≥2).A_C\le2^{bC^2\log C}\qquad(C\ge2).AC​≤2bC2logC(C≥2).

Moreover the finite rational coefficients in the central-character expansion of OkO_kOk​ can be chosen with ∑μ∣ck,μ∣≤2bk2log⁡k\sum_\mu|c_{k,\mu}|\le2^{bk^2\log k}∑μ​∣ck,μ​∣≤2bk2logk for k≥2k\ge2k≥2, as proved in equation (41). These choices satisfy the error bound simultaneously for all r,n,ωr,n,\omegar,n,ω in the standing regime. This makes the degree dependence quantitative.

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)

/-- Lemma 5.8, arXiv:1501.05028v1, PDF p.50. Existentially choose the witnesses jointly: an arbitrary oversized witness A_C need not obey the bound. Visually verified C² log C. -/
theorem error_constants_growth
    : ∃ (A : ℕ → ℝ) (b : ℝ), 0 < b ∧ ErrorConstants A ∧
      (∀ C : ℕ, 2 ≤ C → A C ≤ Real.rpow 2 (b*C^2*Real.log C)) ∧
      (∀ k : ℕ, 2 ≤ k → ∃ a : YoungDiagram →₀ ℚ,
        (∀ mu ∈ a.support, observableWeight mu ≤ k) ∧
        (∀ lambda, remainder k lambda = observable a lambda) ∧
        (∑ mu ∈ a.support, |(a mu : ℝ)|) ≤ Real.rpow 2 (b*k^2*Real.log k)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P34

end
Source
Quantum Spectrum Testing, arXiv:1501.05028v1, PDF p. 50, Lemma 5.8
Read-back

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

There exist a function A:N→RA:\mathbb N\to\mathbb RA:N→R and a real number b>0b>0b>0 with all the following properties, using natural logarithms. To define the quantities involved, for each Young diagram λ\lambdaλ use its fixed cell numbering, let Rλ,Cλ⊆S∣λ∣R_\lambda,C_\lambda\subseteq S_{|\lambda|}Rλ​,Cλ​⊆S∣λ∣​ preserve rows and columns, and form the matrix with entries ∑a∈Rλ,b∈Cλsgn⁡(b)1{g=hab}\sum_{a\in R_\lambda,b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}∑a∈Rλ​,b∈Cλ​​sgn(b)1{g=hab}​. Let Πλ\Pi_\lambdaΠλ​ project orthogonally onto its range, fλf_\lambdafλ​ be the range’s complex dimension, and χλ(π)=tr⁡(LπΠλ)\chi_\lambda(\pi)=\operatorname{tr}(L_\pi\Pi_\lambda)χλ​(π)=tr(Lπ​Πλ​), where Lπeh=eπhL_\pi e_h=e_{\pi h}Lπ​eh​=eπh​. Define Σμ(λ)=0\Sigma_\mu(\lambda)=0Σμ​(λ)=0 if ∣μ∣>∣λ∣|\mu|>|\lambda|∣μ∣>∣λ∣; otherwise define it as ∣λ∣∣μ∣‾/fλ|\lambda|^{\underline{|\mu|}}/f_\lambda∣λ∣∣μ∣​/fλ​ times the average of ℜχλ\Re\chi_\lambdaℜχλ​ over permutations whose cycle lengths, including fixed points, are the row lengths of μ\muμ together with ∣λ∣−∣μ∣|\lambda|-|\mu|∣λ∣−∣μ∣ additional ones. Zero denominators give quotient 000. Write h(λ)h(\lambda)h(λ) for its number of nonempty rows, λi\lambda_iλi​ for row lengths indexed from 000, w(μ)=∣μ∣+h(μ)w(\mu)=|\mu|+h(\mu)w(μ)=∣μ∣+h(μ), and

pk∗(λ)=∑i=0h(λ)−1[(λi−i−12)k−(−i−12)k],Bk(λ)=∑∣μ∣≤k+1, h(μ)≤k+1w(μ)=k+1k h(μ)\dotminus1 ‾∏j=0∣μ∣mj(μ)!Σμ(λ),Rk=pk∗−Bk.p_k^*(\lambda)=\sum_{i=0}^{h(\lambda)-1} [(\lambda_i-i-\tfrac12)^k-(-i-\tfrac12)^k], \quad B_k(\lambda)= \sum_{\substack{|\mu|\le k+1,\ h(\mu)\le k+1\\w(\mu)=k+1}} \frac{k^{\underline{\,h(\mu)\mathbin{\dotminus}1\,}}} {\prod_{j=0}^{|\mu|}m_j(\mu)!}\Sigma_\mu(\lambda), \quad R_k=p_k^*-B_k.pk∗​(λ)=i=0∑h(λ)−1​[(λi​−i−21​)k−(−i−21​)k],Bk​(λ)=∣μ∣≤k+1, h(μ)≤k+1w(μ)=k+1​∑​∏j=0∣μ∣​mj​(μ)!kh(μ)\dotminus1​​Σμ​(λ),Rk​=pk∗​−Bk​.

Here mj(μ)m_j(\mu)mj​(μ) counts rows of length jjj, falling factorials are descending factorials, and \dotminus\dotminus\dotminus is subtraction truncated at 000. For diagrams λ\lambdaλ with nnn cells and at most ddd rows, set

Pλ(d,n)=fλn!∑π∈Snχλ(π−1)Vπ,Vπex=ex∘π−1,P_\lambda^{(d,n)}=\frac{f_\lambda}{n!} \sum_{\pi\in S_n}\chi_\lambda(\pi^{-1})V_\pi, \qquad V_\pi e_x=e_{x\circ\pi^{-1}},Pλ(d,n)​=n!fλ​​π∈Sn​∑​χλ​(π−1)Vπ​,Vπ​ex​=ex∘π−1​,

and define Ed,n,pF\mathbb E_{d,n,p}FEd,n,p​F as the sum of F(λ)F(\lambda)F(λ) against the real weights ℜtr⁡(Pλ(d,n)diag⁡(x↦∏ipxi))\Re\operatorname{tr}(P_\lambda^{(d,n)} \operatorname{diag}(x\mapsto\prod_i p_{x_i}))ℜtr(Pλ(d,n)​diag(x↦∏i​pxi​​)) over these diagrams. Then, for every C≥2C\ge2C≥2, A(C)≥0A(C)\ge0A(C)≥0,

A(C)≤2 bC2log⁡C,∣∑k=2C(−1)kkrkEr,n,urRk∣≤A(C)ω2A(C)\le 2^{\,bC^2\log C}, \qquad \left|\sum_{k=2}^{C}\frac{(-1)^k}{kr^k} \mathbb E_{r,n,u_r}R_k\right|\le\frac{A(C)}{\omega^2}A(C)≤2bC2logC,​k=2∑C​krk(−1)k​Er,n,ur​​Rk​​≤ω2A(C)​

whenever ur(i)=1/ru_r(i)=1/rur​(i)=1/r, r,n>0r,n>0r,n>0, 200≤ω≤r200\le\omega\le\sqrt r200≤ω≤r​, and n=r2/ω2n=r^2/\omega^2n=r2/ω2. Moreover, for every natural number k≥2k\ge2k≥2, there exists a finitely supported rational function aaa on Young diagrams such that w(μ)≤kw(\mu)\le kw(μ)≤k whenever a(μ)≠0a(\mu)\ne0a(μ)=0, and

Rk(λ)=∑μ∈supp⁡aa(μ)Σμ(λ)for every Young diagram λ,∑μ∈supp⁡a∣a(μ)∣≤2 bk2log⁡k.R_k(\lambda)=\sum_{\mu\in\operatorname{supp}a}a(\mu)\Sigma_\mu(\lambda) \quad\text{for every Young diagram }\lambda, \qquad \sum_{\mu\in\operatorname{supp}a}|a(\mu)| \le2^{\,bk^2\log k}.Rk​(λ)=μ∈suppa∑​a(μ)Σμ​(λ)for every Young diagram λ,μ∈suppa∑​∣a(μ)∣≤2bk2logk.

The same bbb serves both growth bounds; no requirements are imposed on A(0)A(0)A(0) or A(1)A(1)A(1).

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