Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Replacing a source by its normalized typical restriction

Proved
QAlgorithms.Papers.Independent.Gap48.P29.typicalRestriction_fidelity

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

prove2quantum

Let Σ={ρn}\Sigma=\{\rho_n\}Σ={ρn​} be a source on tensor powers of a fixed nonzero finite-dimensional Hilbert space, satisfying the quantum asymptotic equipartition property (QAEP). Its entropy rate is s=lim sup⁡nS(ρn)/ns=\limsup_n S(\rho_n)/ns=limsupn​S(ρn​)/n, in bits. No independence or identical-distribution hypothesis is imposed. For a fixed window w>0w>0w>0, let Pn,wP_{n,w}Pn,w​ be the full spectral projector of ρn\rho_nρn​ for eigenvalues in [2−n(s+w),2−n(s−w)][2^{-n(s+w)},2^{-n(s-w)}][2−n(s+w),2−n(s−w)], including their multiplicities, and put tn,w=tr⁡(Pn,wρnPn,w)t_{n,w}=\operatorname{tr}(P_{n,w}\rho_nP_{n,w})tn,w​=tr(Pn,w​ρn​Pn,w​). Let n≥1n\geq1n≥1 and 0≤δ<10\leq\delta<10≤δ<1 satisfy tn,w≥1−δt_{n,w}\geq1-\deltatn,w​≥1−δ, and let E\mathcal EE be a trace-preserving operation on that block. The normalized typical restriction ρ^n,w=Pn,wρnPn,w/tn,w\widehat\rho_{n,w}=P_{n,w}\rho_nP_{n,w}/t_{n,w}ρ​n,w​=Pn,w​ρn​Pn,w​/tn,w​ is well defined and satisfies

∣Fe(ρ^n,w,E)−Fe(ρn,E)∣≤4δ(1−δ)2.|F_e(\widehat\rho_{n,w},\mathcal E)-F_e(\rho_n,\mathcal E)|\leq\frac{4\delta}{(1-\delta)^2}.∣Fe​(ρ​n,w​,E)−Fe​(ρn​,E)∣≤(1−δ)24δ​.

QAEP supplies the required mass bound eventually for every positive tolerance.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P29
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Gap48.P29

open QAlgorithms Filter

open scoped Matrix ComplexConjugate ComplexOrder Topology

open QAlgorithms.Papers.Independent.Information100.P07 (IsProjection)

open QAlgorithms.Papers.Independent.Information100.P67 (squaredFidelity)

/-- PDF p.6, Lemma 9, Eqs.(52)--(54): distinct spectral-window and discarded-mass
parameters. delta<1 makes the retained trace strictly positive before normalization. -/
theorem typicalRestriction_fidelity (S : BlockQuantumSource) (hS : QAEP S)
    (window : ℝ) (hwindow : 0 < window) (n : ℕ) (hn : 0 < n)
    (delta : ℝ) (hdelta0 : 0 ≤ delta) (hdelta1 : delta < 1)
    (hmass : 1 - delta ≤ qaepRetainedMass S window n)
    (E : Superop (SourceRegister S.dimension n) (SourceRegister S.dimension n)) (hE : IsChannel E) :
    |fe (typicalRestriction S window n) E - fe (S.rho n) E| ≤
      4 * delta / (1 - delta) ^ 2 := by sorry

end QAlgorithms.Papers.Independent.Gap48.P29

end
Source
On Quantum Fidelities and Channel Capacities, arXiv:quant-ph/9809010v1, PDF p. 6, Lemma 9, Eqs.(52)–(54)
Read-back

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

Let SSS consist of a positive integer ddd and positive semidefinite, trace-one matrices ρj\rho_jρj​ on Hj=C{0,…,d−1}j\mathcal H_j=\mathbb C^{\{0,\ldots,d-1\}^{j}}Hj​=C{0,…,d−1}j for every natural number jjj. Define H(ρ)=−Re⁡tr⁡f(ρ)H(\rho)=-\operatorname{Re}\operatorname{tr} f(\rho)H(ρ)=−Retrf(ρ) by continuous functional calculus with f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t, and let h=lim sup⁡j→∞H(ρj)/jh=\limsup_{j\to\infty}H(\rho_j)/jh=limsupj→∞​H(ρj​)/j. Let Pw,jP_{w,j}Pw,j​ select the eigenvalues of ρj\rho_jρj​ in [2−j(h+w),2−j(h−w)][2^{-j(h+w)},2^{-j(h-w)}][2−j(h+w),2−j(h−w)], and put rw,j=Re⁡tr⁡(Pw,jρjPw,j)r_{w,j}=\operatorname{Re}\operatorname{tr}(P_{w,j}\rho_jP_{w,j})rw,j​=Retr(Pw,j​ρj​Pw,j​). Assume that for every w′>0w'>0w′>0 and δ′>0\delta'>0δ′>0, eventually rw′,j>1−δ′r_{w',j}>1-\delta'rw′,j​>1−δ′. For every w>0w>0w>0, positive natural number nnn, and real δ\deltaδ with 0≤δ<10\le\delta<10≤δ<1 and 1−δ≤rw,n1-\delta\le r_{w,n}1−δ≤rw,n​, define ρ~=rw,n−1Pw,nρnPw,n\widetilde\rho=r_{w,n}^{-1}P_{w,n}\rho_nP_{w,n}ρ​=rw,n−1​Pw,n​ρn​Pw,n​; its denominator is positive under these assumptions. Let EEE be any channel on matrices on Hn\mathcal H_nHn​, meaning E(X)=∑aKaXKa†E(X)=\sum_aK_aXK_a^\daggerE(X)=∑a​Ka​XKa†​ for a finite family satisfying ∑aKa†Ka=I\sum_aK_a^\dagger K_a=I∑a​Ka†​Ka​=I. With matrix units EjlE_{jl}Ejl​, define Fe(ρ,F)=Re⁡∑i,j,k,lρjiρlk‾F(Ejl)ikF_e(\rho,F)=\operatorname{Re}\sum_{i,j,k,l}\rho_{ji}\overline{\rho_{lk}}F(E_{jl})_{ik}Fe​(ρ,F)=Re∑i,j,k,l​ρji​ρlk​​F(Ejl​)ik​. Then

∣Fe(ρ~,E)−Fe(ρn,E)∣≤4δ(1−δ)2.\left|F_e(\widetilde\rho,E)-F_e(\rho_n,E)\right| \le \frac{4\delta}{(1-\delta)^2}.∣Fe​(ρ​,E)−Fe​(ρn​,E)∣≤(1−δ)24δ​.

The case δ=0\delta=0δ=0 is included.

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

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