Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.6: Truncated Keyl Hellinger error reduction

Open
QAlgorithms.Papers.Independent.Extend50.P32.truncatedKeylErrorReduction

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

prove2quantum

Let d≥1d\ge1d≥1 and let ρ∈Cd×d\rho\in\mathbb C^{d\times d}ρ∈Cd×d be positive semidefinite of trace one, with nonincreasing spectrum α\alphaα. On n≥1n\ge1n≥1 copies the concrete Keyl experiment draws a weak-Schur shape λ\lambdaλ and then V∼Kλ(ρ)V\sim K_\lambda(\rho)V∼Kλ​(ρ). Its rank-kkk report is ρ^k=Vdiag⁡(λ1/n,…,λk/n,0,…,0)V†\widehat\rho_k=V\operatorname{diag}(\lambda_1/n,\ldots,\lambda_k/n,0,\ldots,0)V^\daggerρ​k​=Vdiag(λ1​/n,…,λk​/n,0,…,0)V†, with no renormalization, for 1≤k≤d1\le k\le d1≤k≤d. Write Rk=EDH2(ρ^k,ρ)R_k=\mathbb E D_{H^2}(\widehat\rho_k,\rho)Rk​=EDH2​(ρ​k​,ρ), where DH2(A,B)=Tr⁡((A−B)2)D_{H^2}(A,B)=\operatorname{Tr}((\sqrt A-\sqrt B)^2)DH2​(A,B)=Tr((A​−B​)2), and α>k=∑i=k+1dαi\alpha_{>k}=\sum_{i=k+1}^d\alpha_iα>k​=∑i=k+1d​αi​. The full report has k=dk=dk=d. The constant C>0C>0C>0 is absolute and precedes all dimensions, sample counts, spectra and states. In any eigenbasis BBB, the conditional permutation mixture has marginals Pr⁡{π(i)=a∣V}=∣(B†V)ai∣2\Pr\{\pi(i)=a\mid V\}=|(B^\dagger V)_{a i}|^2Pr{π(i)=a∣V}=∣(B†V)ai​∣2. The bound holds for every measurable such mixture.

Rk≤α>k+2E dH2(k)(α∘π,α)+2E[λˉ≤k−α≤k]+Ckdn.R_k\le\alpha_{>k}+2\mathbb E\,d_{H^2}^{(k)}(\alpha\circ\pi,\alpha)+2\mathbb E[\bar\lambda_{\le k}-\alpha_{\le k}]+C\frac{kd}{n}.Rk​≤α>k​+2EdH2(k)​(α∘π,α)+2E[λˉ≤k​−α≤k​]+Cnkd​.

This is a sample-complexity or risk guarantee for the concrete collective measurement and public decoder; it asserts no gate bound.

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 5.6, PDF pp.25-26: permutation Hellinger term is truncated to k.
B is an actual eigenbasis; induced permutations use B dagger V. The rank-k
report is not renormalized, and the Keyl law is fixed concretely. -/
theorem truncatedKeylErrorReduction : ∃ C : ℝ, 0 < C ∧
    ∀ (d n : ℕ) (hd : 0 < d) (hn : 0 < n) (alpha : Fin d → ℝ),
      Learning.IsDistribution alpha → Antitone alpha →
      ∀ (rho : Matrix (Fin d) (Fin d) ℂ) (hRho : IsDensityMatrix rho)
        (B : Matrix.unitaryGroup (Fin d) ℂ),
      rho = (B : Matrix _ _ ℂ) * Matrix.diagonal (fun i => (alpha i : ℂ)) * star (B : Matrix _ _ ℂ) →
      ∀ (P : InducedPermutation d) (k : ℕ), 1 ≤ k → k ≤ d →
        keylRisk hd hn k rho hRho ≤ ENNReal.ofReal
          (tail alpha k + 2 * permutationMean hd hn rho hRho B P (fun pi => h2 k (fun i => alpha (pi i)) alpha) +
            2 * normalizedExcess alpha k n + C * k * d / n) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P32

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

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

There exists a real constant C>0C>0C>0 with the following property. For every pair of positive natural numbers d,nd,nd,n, every nonincreasing vector α∈Rd\alpha\in\mathbb R^dα∈Rd with αi≥0\alpha_i\ge0αi​≥0 and ∑iαi=1\sum_i\alpha_i=1∑i​αi​=1, every positive semidefinite complex d×dd\times dd×d matrix ρ\rhoρ with Tr⁡ρ=1\operatorname{Tr}\rho=1Trρ=1, every unitary BBB satisfying ρ=Bdiag⁡(α)B∗\rho=B\operatorname{diag}(\alpha)B^*ρ=Bdiag(α)B∗, every family of measurable functions wπ(U)w_\pi(U)wπ​(U), indexed by permutations π\piπ of {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, satisfying wπ(U)≥0w_\pi(U)\ge0wπ​(U)≥0, ∑πwπ(U)=1\sum_\pi w_\pi(U)=1∑π​wπ​(U)=1, and ∑π:π(i)=awπ(U)=∣Uai∣2\sum_{\pi:\pi(i)=a}w_\pi(U)=|U_{ai}|^2∑π:π(i)=a​wπ​(U)=∣Uai​∣2 for every unitary UUU and every i,ai,ai,a, and every natural number 1≤k≤d1\le k\le d1≤k≤d, one has

Rk(ρ)≤[∑i=kd−1αi+2∫∑πwπ(B∗U)∑i=0k−1(απ(i)−αi)2 dμρ,n(λ,U)+2n(∑x∈{0,…,d−1}n∏t=0n−1αxt∑j=0k−1sj(x)−n∑i=0k−1αi)+Ckdn]+.\mathcal R_k(\rho)\le \left[ \sum_{i=k}^{d-1}\alpha_i +2\int\sum_\pi w_\pi(B^*U) \sum_{i=0}^{k-1}\bigl(\sqrt{\alpha_{\pi(i)}}-\sqrt{\alpha_i}\bigr)^2 \,d\mu_{\rho,n}(\lambda,U) +\frac{2}{n}\left( \sum_{x\in\{0,\ldots,d-1\}^n}\prod_{t=0}^{n-1}\alpha_{x_t} \sum_{j=0}^{k-1}s_j(x) -n\sum_{i=0}^{k-1}\alpha_i\right) +\frac{Ckd}{n} \right]_+ .Rk​(ρ)≤​i=k∑d−1​αi​+2∫π∑​wπ​(B∗U)i=0∑k−1​(απ(i)​​−αi​​)2dμρ,n​(λ,U)+n2​​x∈{0,…,d−1}n∑​t=0∏n−1​αxt​​j=0∑k−1​sj​(x)−ni=0∑k−1​αi​​+nCkd​​+​.

Here [a]+=max⁡{a,0}[a]_+=\max\{a,0\}[a]+​=max{a,0}, regarded as an extended nonnegative real number, and sj(x)s_j(x)sj​(x) is the length of row jjj, or zero if absent, obtained by inserting the letters of xxx successively into rows: replace the first strictly larger letter in a row and insert the displaced letter into the next row, or append if no strictly larger letter exists. The measure μρ,n\mu_{\rho,n}μρ,n​ is on pairs consisting of a Young diagram λ\lambdaλ with nnn cells and at most ddd rows and a unitary UUU; relative to counting measure on diagrams and normalized Haar measure on unitaries, its density is

[mλsλRe⁡∏j=0d−1det⁡ ⁣((U∗ρU)0:j, 0:j)λj−λj+1]+,\left[ m_\lambda s_\lambda \operatorname{Re}\prod_{j=0}^{d-1} \det\!\bigl((U^*\rho U)_{0:j,\,0:j}\bigr)^{\lambda_j-\lambda_{j+1}} \right]_+ ,[mλ​sλ​Rej=0∏d−1​det((U∗ρU)0:j,0:j​)λj​−λj+1​]+​,

where λj\lambda_jλj​ is row jjj's length and λd=0\lambda_d=0λd​=0. The number sλs_\lambdasλ​ counts fillings of the cells by 0,…,d−10,\ldots,d-10,…,d−1 that are weakly increasing along rows and strictly increasing down columns. To define mλm_\lambdamλ​, fix the cell numbering used by the definitions, let Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​ be the permutations preserving the row and column, respectively, of each numbered cell, and let YλY_\lambdaYλ​ be the matrix indexed by g,h∈Sng,h\in S_ng,h∈Sn​ with entry ∑a∈Rλ∑b∈Cλ, g=habsgn⁡(b)\sum_{a\in R_\lambda}\sum_{b\in C_\lambda,\ g=hab}\operatorname{sgn}(b)∑a∈Rλ​​∑b∈Cλ​, g=hab​sgn(b); then mλm_\lambdamλ​ is the complex dimension of its image. Finally,

Rk(ρ)=∫[Re⁡Tr⁡( Udiag⁡(λ0/n,…,λk−1/n,0,…,0)U∗ −ρ)2]+ dμρ,n.\mathcal R_k(\rho)= \int \left[ \operatorname{Re}\operatorname{Tr} \left(\sqrt{\,U\operatorname{diag} (\lambda_0/n,\ldots,\lambda_{k-1}/n,0,\ldots,0)U^*\,} -\sqrt{\rho}\right)^2 \right]_+\,d\mu_{\rho,n}.Rk​(ρ)=∫[ReTr(Udiag(λ0​/n,…,λk−1​/n,0,…,0)U∗​−ρ​)2]+​dμρ,n​.

The square roots here are matrix square roots. The same constant works for all the quantified data, including k=dk=dk=d, when the tail sum is empty.

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