Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.12

Open
QAlgorithms.Papers.Independent.Extend50.P34.log_observable_variance

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

prove2quantum

In the standing rank-adjacency regime, put C=⌈3log⁡(10r)/log⁡(ω/10)⌉C=\lceil3\log(10r)/\log(\omega/10)\rceilC=⌈3log(10r)/log(ω/10)⌉ and LC=∑k=2C(−1)kpk∗/(krk)L_C=\sum_{k=2}^C(-1)^kp_k^*/(kr^k)LC​=∑k=2C​(−1)kpk∗​/(krk). For an absolute b>0b>0b>0,

Var⁡λ∼SWrnLC(λ)≤exp⁡(bC2.01)/ω4.\operatorname{Var}_{\lambda\sim\mathrm{SW}_r^n}L_C(\lambda)\le\exp(bC^{2.01})/\omega^4.Varλ∼SWrn​​LC​(λ)≤exp(bC2.01)/ω4.

Variance is centered at the actual expectation. This concentration bound is used to strengthen the adjacent-rank TV estimate.

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 5.12, arXiv:1501.05028v1, PDF p.52. Denominator omega⁴; centered variance, not an uncentered second moment. -/
theorem log_observable_variance
    : ∃ b : ℝ, 0 < b ∧ ∀ r n : ℕ, ∀ omega : ℝ,
      RankRegime r n omega →
        schurVariance (n := n) (unif r) (logObservable r (truncation r omega)) ≤
          Real.exp (b*Real.rpow (truncation r omega) (201/100 : ℝ))/omega^4 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P34

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

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

There exists a real number b>0b>0b>0 such that the bound below holds for every r,n∈Nr,n\in\mathbb Nr,n∈N and ω∈R\omega\in\mathbb Rω∈R satisfying 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. For a Young diagram λ\lambdaλ, let h(λ)h(\lambda)h(λ) be its number of nonempty rows and λi\lambda_iλi​ its row lengths indexed from 000, and define

pk∗(λ)=∑i=0h(λ)−1[(λi−i−12)k−(−i−12)k],T=⌈3log⁡(10r)log⁡(ω/10)⌉+,F(λ)=∑k=2T(−1)kpk∗(λ)krk.p_k^*(\lambda)=\sum_{i=0}^{h(\lambda)-1} [(\lambda_i-i-\tfrac12)^k-(-i-\tfrac12)^k], \qquad T=\left\lceil\frac{3\log(10r)}{\log(\omega/10)}\right\rceil_+, \qquad F(\lambda)=\sum_{k=2}^{T}\frac{(-1)^kp_k^*(\lambda)}{kr^k}.pk∗​(λ)=i=0∑h(λ)−1​[(λi​−i−21​)k−(−i−21​)k],T=⌈log(ω/10)3log(10r)​⌉+​,F(λ)=k=2∑T​krk(−1)kpk∗​(λ)​.

To specify the weights in the bound, number the cells of each diagram as in the source, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ preserve rows and columns, and form YλY_\lambdaYλ​ 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 its range’s complex dimension, and χλ(π)=tr⁡(LπΠλ)\chi_\lambda(\pi)=\operatorname{tr}(L_\pi\Pi_\lambda)χλ​(π)=tr(Lπ​Πλ​), with Lπeh=eπhL_\pi e_h=e_{\pi h}Lπ​eh​=eπh​. For Pr,n={λ:∣λ∣=n, h(λ)≤r}\mathcal P_{r,n}=\{\lambda:|\lambda|=n,\ h(\lambda)\le r\}Pr,n​={λ:∣λ∣=n, h(λ)≤r}, put

Pλ=fλn!∑π∈Snχλ(π−1)Vπ,Vπex=ex∘π−1,sλ=ℜtr⁡(Pλr−nI),F‾=∑λ∈Pr,nsλF(λ).P_\lambda=\frac{f_\lambda}{n!}\sum_{\pi\in S_n} \chi_\lambda(\pi^{-1})V_\pi, \quad V_\pi e_x=e_{x\circ\pi^{-1}}, \qquad s_\lambda=\Re\operatorname{tr}(P_\lambda r^{-n}I), \qquad \overline F=\sum_{\lambda\in\mathcal P_{r,n}}s_\lambda F(\lambda).Pλ​=n!fλ​​π∈Sn​∑​χλ​(π−1)Vπ​,Vπ​ex​=ex∘π−1​,sλ​=ℜtr(Pλ​r−nI),F=λ∈Pr,n​∑​sλ​F(λ).

Then

∑λ∈Pr,nsλ(F(λ)−F‾)2≤exp⁡(bT201/100)ω4.\sum_{\lambda\in\mathcal P_{r,n}} s_\lambda\bigl(F(\lambda)-\overline F\bigr)^2 \le\frac{\exp(bT^{201/100})}{\omega^4}.λ∈Pr,n​∑​sλ​(F(λ)−F)2≤ω4exp(bT201/100)​.

The ceiling takes values in N\mathbb NN, the logarithms are natural, and T201/100T^{201/100}T201/100 is a real power.

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