Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.3: Expected first row bound

Open
QAlgorithms.Papers.Independent.Extend50.P32.expectedFirstRow

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].

Eλ1≤α1n+2n.\mathbb E\lambda_1\le\alpha_1n+2\sqrt n.Eλ1​≤α1​n+2n​.

This controls the empirical Young diagram without an asymptotic spectrum-gap assumption.

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)

/-- Theorem 4.3, PDF p.17: support-one and n=0 included. -/
theorem expectedFirstRow {d n : ℕ} (hd : 0 < d) (alpha : Fin d → ℝ)
    (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha) :
    swMean alpha n (fun s => row s 0) ≤ alpha ⟨0, hd⟩ * n + 2 * Real.sqrt n := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

end
Source
Efficient quantum tomography II, arXiv:1612.00034v1, PDF p. 17, Theorem 4.3
Read-back

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

For all natural numbers d>0d>0d>0 and n≥0n\ge0n≥0, and every nonincreasing probability vector α=(α0,…,αd−1)\alpha=(\alpha_0,\ldots,\alpha_{d-1})α=(α0​,…,αd−1​) with αi≥0\alpha_i\ge0αi​≥0 and ∑iαi=1\sum_i\alpha_i=1∑i​αi​=1, form a word www of length nnn by drawing its letters independently from the ordered alphabet {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} with probabilities α\alphaα. Starting with no rows, insert each letter into the first row by replacing its first strictly larger entry and inserting the displaced entry into the next row by the same rule; if no entry is strictly larger, append the letter and stop that insertion. Let R0(w)R_0(w)R0​(w) be the length of the resulting first row, taken as zero if that row is absent. Then

E[R0(w)]≤α0n+2n.\mathbb E[R_0(w)]\le \alpha_0n+2\sqrt n.E[R0​(w)]≤α0​n+2n​.

Here the expectation is the finite sum over all words, with weight ∏t=0n−1αwt\prod_{t=0}^{n-1}\alpha_{w_t}∏t=0n−1​αwt​​. The statement includes n=0n=0n=0, when both sides are zero.

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