Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6: estimation on states close to almost-power mixtures

Open
QAlgorithms.Papers.Independent.Advance50.P30.close_mixture_estimation

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

prove2quantum

Let H\mathcal HH be a finite-dimensional complex Hilbert space of dimension d≥1d\ge1d≥1, with a fixed orthonormal basis. All states below are positive operators of trace one; pure states are unit vectors. Write ∥⋅∥1\|\cdot\|_1∥⋅∥1​ for the full trace norm (the full ℓ1\ell_1ℓ1​ norm for classical distributions), H2H_2H2​ for binary entropy in bits, and define

e(δ,N,r,w)=2−N[δ2/4−H2(r/N)]+wlog⁡2(N/2+1).e(\delta,N,r,w)=2^{-N[\delta^2/4-H_2(r/N)]+w\log_2(N/2+1)}.e(δ,N,r,w)=2−N[δ2/4−H2​(r/N)]+wlog2​(N/2+1).

Use t≥1t\ge1t≥1 Hermitian, Hilbert–Schmidt orthonormal observables LiL_iLi​ and arbitrary real coefficients sis_isi​, and set Σ=∑i=1tsiLi\Sigma=\sum_{i=1}^t s_iL_iΣ=∑i=1t​si​Li​. For m′≥1m'\ge1m′≥1 let m=tm′m=tm'm=tm′. Measure each LiL_iLi​ spectrally on its own block of m′m'm′ sites, and measure Σ\SigmaΣ spectrally on a separate direct block. The indirect estimate is Im=∑isi1m′∑j=1m′λi,jI_m=\sum_i s_i\frac1{m'}\sum_{j=1}^{m'}\lambda_{i,j}Im​=∑i​si​m′1​∑j=1m′​λi,j​; the direct estimate Dq=1q∑j=1qγjD_q=\frac1q\sum_{j=1}^q\gamma_jDq​=q1​∑j=1q​γj​ uses all qqq sites in its block. All probabilities are the joint Born law of this tensor measurement, including its stated marginals.

Assume 2r≤m′2r\le m'2r≤m′, δ>0\delta>0δ>0, and ϵ≥0\epsilon\ge0ϵ≥0. Let μ\muμ be a probability measure on the single-site density operators, and let τσ\tau_\sigmaτσ​ be a measurable, integrable family of normalized 2m2m2m-site mixed almost-power states along σ\sigmaσ (reference reductions of convex mixtures along unit purifications). Let ρ2m\rho_{2m}ρ2m​ be any normalized state satisfying

∥ρ2m−∫τσ dμ(σ)∥1≤ϵ.\left\|\rho_{2m}-\int\tau_\sigma\,d\mu(\sigma)\right\|_1\le\epsilon.​ρ2m​−∫τσ​dμ(σ)​1​≤ϵ.

For q=mq=mq=m and h=∥Σ∥HS>0h=\|\Sigma\|_{\mathrm{HS}}>0h=∥Σ∥HS​>0, the actual joint Born law obeys

Pr⁡ρ2m{∣Dm−Im∣>2δ}≤(t+1)e ⁣(δht,m′,r,d)+ϵ.\Pr_{\rho_{2m}}\{|D_m-I_m|>2\delta\} \le(t+1)e\!\left(\frac{\delta}{h\sqrt t},m',r,d\right)+\epsilon.ρ2m​Pr​{∣Dm​−Im​∣>2δ}≤(t+1)e(ht​δ​,m′,r,d)+ϵ.

When h=0h=0h=0, this deviation probability is zero. The state ρ2m\rho_{2m}ρ2m​ need not be invariant. This transfers the terminal probability estimate to arbitrary states close in full trace norm, with the source's unchanged additive ϵ\epsilonϵ.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P30
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P30

open QAlgorithms MeasureTheory

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Information100.P21 (Op Vec)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.Elementwise

attribute [local instance] Classical.decEq Classical.propDecidable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixContinuousENorm

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixBorel

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorBorel

/-- PDF p.21, Lemma 6, Eq.(32): arbitrary trace-norm-close states, including
non-invariant ones. Full trace norm gives the source's +epsilon allowance.
The deterministic zero-observable case is retained without dividing by zero.
This is the terminal probability bound, not the false numerical chain (30).
Printed setup r ≤ m is restricted to 2*r ≤ mp, the domain of the
Chernoff estimate used in the source. The zero-norm branch makes the
otherwise divided-by-zero observable case explicit. -/
theorem close_mixture_estimation {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
    (t mp r : ℕ) (ht : 0 < t) (hmp : 0 < mp) (hr : 2 * r ≤ mp)
    (D : HSDecomposition I t) (S : Spectral I) (hS : S.operator = D.operator)
    (rho : Op (Copies I (t * mp + t * mp))) (hrho : IsDensityMatrix rho)
    (mu : Measure (DensityState I)) (hmu : IsProbabilityMeasure mu)
    (family : DensityState I → Op (Copies I (t * mp + t * mp)))
    (hfmeas : Measurable family) (hfint : Integrable family mu)
    (hfalong : ∀ sigma, AlmostAlong sigma (t * mp + t * mp) r (family sigma))
    (epsilon : ℝ) (heps : 0 ≤ epsilon)
    (hclose : traceNorm (rho - ∫ sigma, family sigma ∂mu) ≤ epsilon)
    (delta : ℝ) (hdelta : 0 < delta) :
    (frobNorm D.operator = 0 →
      estimationEvent D S mp (t * mp) rho
        (fun out => |directMean S out - indirectMean D out| > 2 * delta) = 0) ∧
    (0 < frobNorm D.operator →
      estimationEvent D S mp (t * mp) rho
        (fun out => |directMean S out - indirectMean D out| > 2 * delta) ≤
        ((t : ℝ) + 1) * chernoffError
          (delta / (frobNorm D.operator * Real.sqrt t)) mp r (Fintype.card I) + epsilon) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P30

end
Source
Unconditional privacy over channels which cannot convey quantum information, arXiv:quant-ph/0702077v1, PDF p. 21, Lemma 6
Read-back

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

Let III be a finite, nonempty type with decidable equality, put d=∣I∣d=|I|d=∣I∣, and take natural numbers t,mp,rt,m_p,rt,mp​,r with t>0t>0t>0, mp>0m_p>0mp​>0, and 2r≤mp2r\le m_p2r≤mp​. For each i<ti<ti<t, let Ei,aE_{i,a}Ei,a​ be nonzero positive semidefinite, pairwise orthogonal projections summing to the identity, with a positive number of outcomes at most ddd and distinct real values vi,av_{i,a}vi,a​. Set Ai=∑avi,aEi,aA_i=\sum_a v_{i,a}E_{i,a}Ai​=∑a​vi,a​Ei,a​, assume tr⁡(AiAj†)=1\operatorname{tr}(A_iA_j^\dagger)=1tr(Ai​Aj†​)=1 for i=ji=ji=j and 000 otherwise, take real coefficients cic_ici​, and put A=∑iciAiA=\sum_i c_iA_iA=∑i​ci​Ai​. Let FbF_bFb​ be another such projection family, with a positive number of outcomes at most ddd, distinct real values sbs_bsb​, and ∑bsbFb=A\sum_b s_bF_b=A∑b​sb​Fb​=A. Let ρ\rhoρ be positive semidefinite with trace one on I2tmpI^{2tm_p}I2tmp​, let μ\muμ be a probability measure on the positive semidefinite, trace-one matrices σ\sigmaσ on III, and let H(σ)H(\sigma)H(σ) be a measurable, μ\muμ-integrable family of matrices on I2tmpI^{2tm_p}I2tmp​. For every σ\sigmaσ, require H(σ)H(\sigma)H(σ) to be positive semidefinite with trace one and to have a representation obtained by discarding the second III coordinate at every site from a matrix Ωσ\Omega_\sigmaΩσ​ on (I×I)2tmp(I\times I)^{2tm_p}(I×I)2tmp​. Specifically, there must be a unit vector θσ\theta_\sigmaθσ​ with

∑bθσ(a,b)θσ(a′,b)‾=σ(a,a′),H(σ)(x,y)=∑zΩσ((xj,zj)j,(yj,zj)j),\sum_b\theta_\sigma(a,b)\overline{\theta_\sigma(a',b)}=\sigma(a,a'), \qquad H(\sigma)(x,y)=\sum_z \Omega_\sigma((x_j,z_j)_j,(y_j,z_j)_j),b∑​θσ​(a,b)θσ​(a′,b)​=σ(a,a′),H(σ)(x,y)=z∑​Ωσ​((xj​,zj​)j​,(yj​,zj​)j​),

where Ωσ\Omega_\sigmaΩσ​ is positive semidefinite with trace one and belongs to the finite convex hull of ψψ†\psi\psi^\daggerψψ† for permutation-invariant unit vectors ψ\psiψ in the complex span of vectors (∏j∉Tθσ(xj))χ(x∣T)\bigl(\prod_{j\notin T}\theta_\sigma(x_j)\bigr)\chi(x|_T)(∏j∈/T​θσ​(xj​))χ(x∣T​), with arbitrary χ\chiχ and ∣T∣≤r|T|\le r∣T∣≤r. Given real numbers ϵ≥0\epsilon\ge0ϵ≥0 and δ>0\delta>0δ>0, assume

∥ρ−∫H(σ) dμ(σ)∥1≤ϵ,∥X∥1=Re⁡tr⁡X†X.\left\|\rho-\int H(\sigma)\,d\mu(\sigma)\right\|_1\le\epsilon, \qquad \|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}.​ρ−∫H(σ)dμ(σ)​1​≤ϵ,∥X∥1​=RetrX†X​.

Measure mpm_pmp​ sites with each intermediate family and the remaining tmptm_ptmp​ sites with FFF. For joint outcomes o=(oi,j,bj)o=(o_{i,j},b_j)o=(oi,j​,bj​), let BoB_oBo​ be the tensor product of the corresponding projections, and define

Mind(o)=∑i<tci∑j<mpvi,oi,jmp,Mdir(o)=∑j<tmpsbjtmp,Pρ(E)=∑o:E(o)Re⁡tr⁡(Boρ).M_{\rm ind}(o)= \sum_{i<t}c_i\frac{\sum_{j<m_p}v_{i,o_{i,j}}}{m_p}, \qquad M_{\rm dir}(o)=\frac{\sum_{j<tm_p}s_{b_j}}{tm_p}, \qquad P_\rho(\mathcal E)=\sum_{o:\mathcal E(o)} \operatorname{Re}\operatorname{tr}(B_o\rho).Mind​(o)=i<t∑​ci​mp​∑j<mp​​vi,oi,j​​​,Mdir​(o)=tmp​∑j<tmp​​sbj​​​,Pρ​(E)=o:E(o)∑​Retr(Bo​ρ).

Writing h=∥A∥F=(∑x,y∣Axy∣2)1/2h=\|A\|_{\mathrm F}=(\sum_{x,y}|A_{xy}|^2)^{1/2}h=∥A∥F​=(∑x,y​∣Axy​∣2)1/2 and

C(u,N,r,d)=2−N(u2/4−h2(r/N))+dlog⁡2(N/2+1),h2(v)=binEntropy⁡(v)log⁡2,C(u,N,r,d)= 2^{-N\left(u^2/4-h_2(r/N)\right)+d\log_2(N/2+1)}, \qquad h_2(v)=\frac{\operatorname{binEntropy}(v)}{\log 2},C(u,N,r,d)=2−N(u2/4−h2​(r/N))+dlog2​(N/2+1),h2​(v)=log2binEntropy(v)​,

the theorem asserts both implications

h=0 ⟹ Pρ(∣Mdir−Mind∣>2δ)=0,h=0\ \Longrightarrow\ P_\rho\bigl(|M_{\rm dir}-M_{\rm ind}|>2\delta\bigr)=0,h=0 ⟹ Pρ​(∣Mdir​−Mind​∣>2δ)=0, h>0 ⟹ Pρ(∣Mdir−Mind∣>2δ)≤(t+1)C ⁣(δht,mp,r,d)+ϵ.h>0\ \Longrightarrow\ P_\rho\bigl(|M_{\rm dir}-M_{\rm ind}|>2\delta\bigr) \le (t+1)C\!\left(\frac{\delta}{h\sqrt t},m_p,r,d\right)+\epsilon.h>0 ⟹ Pρ​(∣Mdir​−Mind​∣>2δ)≤(t+1)C(ht​δ​,mp​,r,d)+ϵ.

All conditions on H(σ)H(\sigma)H(σ) hold for every σ\sigmaσ, rather than merely almost everywhere, and r=0r=0r=0 is permitted.

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