Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma I.9: PiV has weight≥1−d/alpha² and ≥1−2N e^(−2mu²alpha²); PiV rho^n PiV lies between PiV 2^(−nH±Kd alpha sqrt(n)); rank≤2^(nH+Kd alpha

Proved
QAlgorithms.Papers.Independent.Renew46.P43.varianceTypical

by Goku · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let a nonzero finite system have dimension ddd, and choose a fine orthogonal spectral resolution, including zero eigenspaces and a basis inside degeneracies. All states are normalized, n>0n>0n>0, and all typicality tolerances are positive. Write HHH for entropy in bits, KV=2log⁡2(e)/eK_V=2\log_2(e)/eKV​=2log2​(e)/e, KH(d)=max⁡{(log⁡23)2,(log⁡2d)2}K_H(d)=\max\{(\log_2 3)^2,(\log_2 d)^2\}KH​(d)=max{(log2​3)2,(log2​d)2}, and h=∑iH(ρi)h=\sum_iH(\rho_i)h=∑i​H(ρi​). A shadow BBB is an effect with state mass at least η\etaη. In the variance bounds put c=KVdαnc=K_Vd\alpha\sqrt nc=KV​dαn​, t=2N(ρ)e−2μ(ρ)2α2t=2N(\rho)e^{-2\mu(\rho)^2\alpha^2}t=2N(ρ)e−2μ(ρ)2α2, where NNN counts the positive eigenvalues of ρ(1−ρ)\sqrt{\rho(1-\rho)}ρ(1−ρ)​ and μ\muμ is their minimum, or zero on empty support. In the constant-typical bound η(u)=−ulog⁡2u\eta(u)=-u\log_2uη(u)=−ulog2​u, including u=0u=0u=0. The weak-law factor states may be noncommuting, with target ρ~\widetilde\rhoρ​ and operator-norm tolerance ϵ>0\epsilon>0ϵ>0.

Tr⁡(ρ⊗nΠ)≥1−d/α2,Tr⁡(ρ⊗nΠ)≥1−t,2−nH(ρ)−cΠ≤Πρ⊗nΠ≤2−nH(ρ)+cΠ,Tr⁡Π≤2nH(ρ)+c,Tr⁡B≥(η−t)2nH(ρ)−c.\operatorname{Tr}(\rho^{\otimes n}\Pi)\ge1-d/\alpha^2,\quad \operatorname{Tr}(\rho^{\otimes n}\Pi)\ge1-t,\quad 2^{-nH(\rho)-c}\Pi\le\Pi\rho^{\otimes n}\Pi\le2^{-nH(\rho)+c}\Pi,\quad\operatorname{Tr}\Pi\le2^{nH(\rho)+c},\quad\operatorname{Tr}B\ge(\eta-t)2^{nH(\rho)-c}.Tr(ρ⊗nΠ)≥1−d/α2,Tr(ρ⊗nΠ)≥1−t,2−nH(ρ)−cΠ≤Πρ⊗nΠ≤2−nH(ρ)+cΠ,TrΠ≤2nH(ρ)+c,TrB≥(η−t)2nH(ρ)−c.

This is the source result with its stated operational or information-theoretic domain.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P43
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Renew46.P43

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator

open Filter MeasureTheory

open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)

open QAlgorithms.Papers.Independent.Information100.P06 (Below)

open QAlgorithms.Papers.Independent.Information100.P60 (copies relativeBits)

open QAlgorithms.Papers.Independent.Dependency50.P19 (count both)

open QAlgorithms.Papers.Independent.Information100.P22 (coherentInformation)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Lemma I.9, PDF pp.12-13: both concentration estimates, both sandwich sides,
rank bound, and the eta-shadow bound. -/
theorem varianceTypical {d : ℕ} (S : FineResolution d) (n : ℕ) (hn : 0 < n)
    (alpha : ℝ) (halpha : 0 < alpha) :
    let Pi := varianceProjector S n alpha
    let correction := varianceConstant * d * alpha * Real.sqrt n
    effectProb (copies n S.state) Pi ≥ 1 - (d : ℝ) / alpha^2 ∧
    effectProb (copies n S.state) Pi ≥ 1 - varianceTail S alpha ∧
    Below ((exp2 (-n * vnEntropy S.state - correction) : ℂ) • Pi)
      (Pi * copies n S.state * Pi) ∧
    Below (Pi * copies n S.state * Pi)
      ((exp2 (-n * vnEntropy S.state + correction) : ℂ) • Pi) ∧
    Pi.trace.re ≤ exp2 (n * vnEntropy S.state + correction) ∧
    ∀ (B : Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ) (eta : ℝ),
      IsShadow (copies n S.state) B eta →
      B.trace.re ≥ (eta - varianceTail S alpha) * exp2 (n * vnEntropy S.state - correction) := by sorry

end QAlgorithms.Papers.Independent.Renew46.P43

end
Source
Coding Theorems of Quantum Information Theory, arXiv:quant-ph/9907077v1, PDF p. 12, Lemma I.9
Read-back

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

For every natural number ddd, let SSS consist of real weights p0,…,pd−1≥0p_0,\ldots,p_{d-1}\ge0p0​,…,pd−1​≥0 summing to one and a complex unitary matrix UUU of size ddd; these data cannot exist when d=0d=0d=0. Put ρ=Udiag⁡(pj)U†\rho=U\operatorname{diag}(p_j)U^\daggerρ=Udiag(pj​)U†, and let AjA_jAj​ have entries (Aj)ab=UajUbj‾(A_j)_{ab}=U_{aj}\overline{U_{bj}}(Aj​)ab​=Uaj​Ubj​​. For every positive integer nnn and real α>0\alpha>0α>0, let VVV consist of all words w∈{0,…,d−1}nw\in\{0,\ldots,d-1\}^nw∈{0,…,d−1}n satisfying

∀j,∣Nj(w)−npj∣≤αpj(1−pj)n,\forall j,\qquad |N_j(w)-np_j|\le\alpha\sqrt{p_j(1-p_j)}\sqrt n,∀j,∣Nj​(w)−npj​∣≤αpj​(1−pj​)​n​,

where Nj(w)N_j(w)Nj​(w) counts occurrences of jjj, and define

Π=∑w∈V⨂k=0n−1Awk,(ρ⊗n)xy=∏k=0n−1ρxkyk.\Pi=\sum_{w\in V}\bigotimes_{k=0}^{n-1}A_{w_k}, \qquad (\rho^{\otimes n})_{xy}=\prod_{k=0}^{n-1}\rho_{x_k y_k}.Π=w∈V∑​k=0⨂n−1​Awk​​,(ρ⊗n)xy​=k=0∏n−1​ρxk​yk​​.

Here zero weights force zero occurrences. Write H(ρ)=−Re⁡tr⁡f(ρ)H(\rho)=-\operatorname{Re}\operatorname{tr} f(\rho)H(ρ)=−Retrf(ρ), where f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t is applied by continuous functional calculus, and put h=H(ρ)h=H(\rho)h=H(ρ), C=(2log⁡2(e)/e)dαnC=(2\log_2(e)/e)d\alpha\sqrt nC=(2log2​(e)/e)dαn​. Define vj=pj(1−pj)v_j=\sqrt{p_j(1-p_j)}vj​=pj​(1−pj​)​, let rrr count the indices with vj>0v_j>0vj​>0, let μ\muμ be the minimum of those positive vjv_jvj​, or zero if there are none, and put τ=2re−2μ2α2\tau=2r e^{-2\mu^2\alpha^2}τ=2re−2μ2α2. The declaration asserts

Re⁡tr⁡(ρ⊗nΠ)≥1−dα2,Re⁡tr⁡(ρ⊗nΠ)≥1−τ,\operatorname{Re}\operatorname{tr}(\rho^{\otimes n}\Pi)\ge1-\frac d{\alpha^2}, \qquad \operatorname{Re}\operatorname{tr}(\rho^{\otimes n}\Pi)\ge1-\tau,Retr(ρ⊗nΠ)≥1−α2d​,Retr(ρ⊗nΠ)≥1−τ, 2−nh−CΠ⪯Πρ⊗nΠ⪯2−nh+CΠ,Re⁡tr⁡Π≤2nh+C,2^{-nh-C}\Pi\preceq\Pi\rho^{\otimes n}\Pi \preceq2^{-nh+C}\Pi, \qquad \operatorname{Re}\operatorname{tr}\Pi\le2^{nh+C},2−nh−CΠ⪯Πρ⊗nΠ⪯2−nh+CΠ,RetrΠ≤2nh+C,

where X⪯YX\preceq YX⪯Y means Y−XY-XY−X is positive semidefinite. Moreover, for every complex matrix BBB indexed by these length-nnn words and every real η\etaη, if BBB and 1−B1-B1−B are positive semidefinite and η≤Re⁡tr⁡(ρ⊗nB)\eta\le\operatorname{Re}\operatorname{tr}(\rho^{\otimes n}B)η≤Retr(ρ⊗nB), then

Re⁡tr⁡B≥(η−τ)2nh−C.\operatorname{Re}\operatorname{tr}B\ge(\eta-\tau)2^{nh-C}.RetrB≥(η−τ)2nh−C.

There is no restriction on η\etaη; when no vjv_jvj​ is positive, the defined tail τ\tauτ is zero.

Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by iris · Oct 30, 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