Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Claim 3.9: Fixed-spectrum excess convergence rate

Open
QAlgorithms.Papers.Independent.Extend50.P32.fixedSpectrumExcessRate

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

prove2quantum

Let d≥1d\ge1d≥1 and let α=(α1,…,αd)\alpha=(\alpha_1,\ldots,\alpha_d)α=(α1​,…,αd​) be a nonincreasing probability vector with nonnegative entries. Draw an iid word of length nnn with letter law α\alphaα and let λ\lambdaλ be its weak-insertion RSK shape, padded to ddd rows. For 1≤k≤d1\le k\le d1≤k≤d, write λ≤k=∑i=1kλi\lambda_{\le k}=\sum_{i=1}^k\lambda_iλ≤k​=∑i=1k​λi​, α≤k=∑i=1kαi\alpha_{\le k}=\sum_{i=1}^k\alpha_iα≤k​=∑i=1k​αi​, α≥k=∑i=kdαi\alpha_{\ge k}=\sum_{i=k}^d\alpha_iα≥k​=∑i=kd​αi​, and α>k=∑i=k+1dαi\alpha_{>k}=\sum_{i=k+1}^d\alpha_iα>k​=∑i=k+1d​αi​. Here n≥0n\ge0n≥0; every row parameter lies in [d][d][d]. Write Ek(n)(α)=Eλ≤k−nα≤kE_k^{(n)}(\alpha)=\mathbb E\lambda_{\le k}-n\alpha_{\le k}Ek(n)​(α)=Eλ≤k​−nα≤k​ and Excess⁡k(α)=∑i≤k<jαj/(αi−αj)\operatorname{Excess}_k(\alpha)=\sum_{i\le k<j}\alpha_j/(\alpha_i-\alpha_j)Excessk​(α)=∑i≤k<j​αj​/(αi​−αj​); a tied cutoff is assigned +∞+\infty+∞, whereas the empty sum at k=dk=dk=d is zero. Fix α\alphaα and kkk and assume all αi\alpha_iαi​ are distinct. Both the constant and the threshold below may depend on this fixed data.

∃Cα,k>0 ∃Nα,k≥1 ∀n≥Nα,k:∣Ek(n)(α)−Excess⁡k(α)∣≤Cα,kn.\exists C_{\alpha,k}>0\ \exists N_{\alpha,k}\ge1\ \forall n\ge N_{\alpha,k}:\quad |E_k^{(n)}(\alpha)-\operatorname{Excess}_k(\alpha)|\le\frac{C_{\alpha,k}}{\sqrt n}.∃Cα,k​>0 ∃Nα,k​≥1 ∀n≥Nα,k​:∣Ek(n)​(α)−Excessk​(α)∣≤n​Cα,k​​.

This quantifies the excess of the leading rows above their linear multinomial scale.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Matrix ComplexOrder Topology

namespace QAlgorithms.Papers.Independent.Extend50.P32

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

-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.

open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)

/-- Claim 3.9, PDF pp.15-16: constants may depend on the fixed spectrum
and its gaps; k=1 is credited to ITW01. -/
theorem fixedSpectrumExcessRate {d : ℕ} (hd : 0 < d) (alpha : Fin d → ℝ)
    (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
    (hDistinct : Function.Injective alpha) (k : ℕ) (hk : 1 ≤ k) (hkd : k ≤ d) :
    ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, 1 ≤ N ∧ ∀ n : ℕ, N ≤ n →
      |prefixExcess alpha k n - (spectralPrefixExcessLimit alpha k).toReal| ≤ C / Real.sqrt n := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

end
Source
Efficient quantum tomography II, arXiv:1612.00034v1, PDF p. 15, Claim 3.9
Read-back

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

Let d>0d>0d>0, let α0,…,αd−1\alpha_0,\ldots,\alpha_{d-1}α0​,…,αd−1​ be nonnegative, sum to one, be nonincreasing and pairwise distinct, and let 1≤k≤d1\le k\le d1≤k≤d. For a word www of length nnn, construct its shape by successive row insertion, bumping the first strictly larger entry into the next row and appending when none exists. Let Sk(w)S_k(w)Sk​(w) be the total length of its first kkk rows, with missing rows counted as zero, and define

Ek(n)=∑w∈{0,…,d−1}n(∏t<nαwt)Sk(w)−n∑i<kαi,Λk=∑0≤i<kk≤j<dαjαi−αj.E_k(n)= \sum_{w\in\{0,\ldots,d-1\}^n} \left(\prod_{t<n}\alpha_{w_t}\right)S_k(w) -n\sum_{i<k}\alpha_i, \qquad \Lambda_k= \sum_{\substack{0\le i<k\\k\le j<d}} \frac{\alpha_j}{\alpha_i-\alpha_j}.Ek​(n)=w∈{0,…,d−1}n∑​(t<n∏​αwt​​)Sk​(w)−ni<k∑​αi​,Λk​=0≤i<kk≤j<d​∑​αi​−αj​αj​​.

Then there exist a real constant C>0C>0C>0 and an integer N≥1N\ge1N≥1 such that every integer n≥Nn\ge Nn≥N satisfies

∣Ek(n)−Λk∣≤Cn.|E_k(n)-\Lambda_k|\le\frac{C}{\sqrt n}.∣Ek​(n)−Λk​∣≤n​C​.

The displayed Λk\Lambda_kΛk​ is the real conversion of the extended sum that assigns +∞+\infty+∞ to equal cross-cut coordinates and otherwise uses the nonnegative part of the displayed quotient; the assumptions here make all those quotients finite and nonnegative. A zero final coordinate is allowed, and the sum is zero when k=dk=dk=d.

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