Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section VI: converting averaged privacy/error to individual criteria

Open
QAlgorithms.Papers.Independent.Bridge50.P47.averageToIndividual

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

prove2quantum

Fix ε,δ,a>0\varepsilon,\delta,a>0ε,δ,a>0. There exists C≥0C\ge0C≥0, depending only on these three numbers, such that the following holds uniformly over all nonzero finite input, output and environment dimensions, all Stinespring isometries UUU, all n≥1n\ge1n≥1, and all private codes with averaged purified error at most ε\varepsilonε and averaged purified privacy at most δ\deltaδ. There is a new valid code whose signal states are probability mixtures of the original signal states, with M′M'M′ messages, such that

log⁡2M′≥log⁡2M−C,εm′<(1+a)ε,δm′<(1+a)δfor every message m.\log_2 M'\ge\log_2 M-C,\qquad \varepsilon'_m<(1+a)\varepsilon,\qquad \delta'_m<(1+a)\delta\quad\text{for every message }m.log2​M′≥log2​M−C,εm′​<(1+a)ε,δm′​<(1+a)δfor every message m.

Here εm′\varepsilon'_mεm′​ is the purified error of decoding message mmm. There is one normalized environment state σ\sigmaσ for which δm′=P(Nc⊗n(ρm′),σ)\delta'_m=P(\mathcal N^{c\otimes n}(\rho'_m),\sigma)δm′​=P(Nc⊗n(ρm′​),σ) satisfies the displayed bound for every message. Randomized encoding upgrades both averaged criteria with constant information loss, also allowing a one-message code for small message sets.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P47
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix ComplexOrder

open Filter

namespace QAlgorithms.Papers.Independent.Bridge50.P47

open QAlgorithms.Papers.Independent.Information100

variable {A B E F R I O : Type*}

variable [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]

variable [Fintype E] [DecidableEq E] [Fintype F] [DecidableEq F]

variable [Fintype R] [DecidableEq R] [Fintype I] [DecidableEq I]

variable [Fintype O] [DecidableEq O]

/-- Section VI long Remark, PDF pp.8–9: qualitative constant information
loss. The constant precedes channel, code and n; encoding is an actual mixture
of old signal states, with one privacy witness for all messages. -/
theorem averageToIndividual (epsilon delta a : ℝ)
    (he : 0 < epsilon) (hd : 0 < delta) (ha : 0 < a) :
    ∃ C : ℝ, 0 ≤ C ∧
    ∀ b e d : ℕ, 0 < b → 0 < e → 0 < d →
    ∀ U : Matrix (Fin e × Fin d) (Fin b) ℂ, P67.IsIsometry U →
    ∀ n : ℕ, 1 ≤ n → ∀ code : P67.PrivateCode (Fin b) (Fin e) n,
      PrivateGood U code epsilon delta →
      ∃ newCode : P67.PrivateCode (Fin b) (Fin e) n,
        RandomizedFrom code newCode ∧
        IndividualGood U newCode ((1 + a) * epsilon) ((1 + a) * delta) ∧
        Real.logb 2 code.M - C ≤ Real.logb 2 newCode.M := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P47

end
Source
"Pretty strong" converse for the quantum capacity of degradable channels, arXiv:1301.4927v3, PDF p. 9, Section VI: converting averaged privacy/error to individual criteria
Read-back

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

For every ϵ>0\epsilon>0ϵ>0, δ>0\delta>0δ>0, and a>0a>0a>0, there exists a real constant C≥0C\ge0C≥0, chosen independently of all dimensions, block lengths, dilations, and codes below, with the following property. For every positive integers b,e,db,e,db,e,d, every matrix U:Cb→Ce⊗CdU:\mathbb C^b\to\mathbb C^e\otimes\mathbb C^dU:Cb→Ce⊗Cd satisfying U†U=IU^\dagger U=IU†U=I, every integer n≥1n\ge1n≥1, and every valid private code with M>0M>0M>0 density-matrix messages ρi\rho_iρi​ on (Cb)⊗n(\mathbb C^b)^{\otimes n}(Cb)⊗n and measurement matrices Qj≥0Q_j\ge0Qj​≥0 on (Ce)⊗n(\mathbb C^e)^{\otimes n}(Ce)⊗n summing to III, define Un(x,z;y)=∏ℓ<nU(xℓ,zℓ;yℓ)U_n(\mathbf x,\mathbf z;\mathbf y)=\prod_{\ell<n}U(x_\ell,z_\ell;y_\ell)Un​(x,z;y)=∏ℓ<n​U(xℓ​,zℓ​;yℓ​), Nn(ρ)=Tr⁡dn(UnρUn†)\mathcal N_n(\rho)=\operatorname{Tr}_{d^n}(U_n\rho U_n^\dagger)Nn​(ρ)=Trdn​(Un​ρUn†​), and Nnc(ρ)=Tr⁡en(UnρUn†)\mathcal N_n^c(\rho)=\operatorname{Tr}_{e^n}(U_n\rho U_n^\dagger)Nnc​(ρ)=Tren​(Un​ρUn†​). Its joint output is

Ω(i,j,z),(i′,j′,z′)=1i=i′1j=j′M−1∑x,yQj(y,x)[UnρiUn†](x,z),(y,z′).\Omega_{(i,j,\mathbf z),(i',j',\mathbf z')} =\mathbf1_{i=i'}\mathbf1_{j=j'}M^{-1} \sum_{\mathbf x,\mathbf y}Q_j(\mathbf y,\mathbf x) [U_n\rho_iU_n^\dagger]_{(\mathbf x,\mathbf z),(\mathbf y,\mathbf z')}.Ω(i,j,z),(i′,j′,z′)​=1i=i′​1j=j′​M−1x,y∑​Qj​(y,x)[Un​ρi​Un†​](x,z),(y,z′)​.

Put ΓM=M−1∑i∣i,i⟩⟨i,i∣\Gamma_M=M^{-1}\sum_i|i,i\rangle\langle i,i|ΓM​=M−1∑i​∣i,i⟩⟨i,i∣, and define

P(X,Y)=1−(Re⁡tr⁡X YX+(1−Re⁡tr⁡X)(1−Re⁡tr⁡Y))2,P(X,Y)=\sqrt{1-\left(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt X\,Y\sqrt X} +\sqrt{(1-\operatorname{Re}\operatorname{tr}X)(1-\operatorname{Re}\operatorname{tr}Y)}\right)^2},P(X,Y)=1−(RetrX​YX​​+(1−RetrX)(1−RetrY)​)2​,

using continuous-functional-calculus matrix square roots. Suppose P(Tr⁡dnΩ,ΓM)≤ϵP(\operatorname{Tr}_{d^n}\Omega,\Gamma_M)\le\epsilonP(Trdn​Ω,ΓM​)≤ϵ, and suppose some density matrix σ\sigmaσ on dnd^ndn satisfies P(Tr⁡JΩ,M−1IM⊗σ)≤δP(\operatorname{Tr}_J\Omega,M^{-1}I_M\otimes\sigma)\le\deltaP(TrJ​Ω,M−1IM​⊗σ)≤δ. Then there exists a new valid private code of the same block length, with M′>0M'>0M′>0 messages ρm′\rho'_mρm′​, measurement matrices Qm′Q'_mQm′​, nonnegative real weights wmiw_{mi}wmi​ satisfying ∑iwmi=1\sum_iw_{mi}=1∑i​wmi​=1, and a single density matrix σ′\sigma'σ′ on dnd^ndn, such that

ρm′=∑iwmiρi,1−Re⁡tr⁡(Qm′Nn(ρm′))<(1+a)ϵ,P(Nnc(ρm′),σ′)<(1+a)δ\rho'_m=\sum_iw_{mi}\rho_i,\qquad \sqrt{1-\operatorname{Re}\operatorname{tr}(Q'_m\mathcal N_n(\rho'_m))} <(1+a)\epsilon,\qquad P(\mathcal N_n^c(\rho'_m),\sigma')<(1+a)\deltaρm′​=i∑​wmi​ρi​,1−Retr(Qm′​Nn​(ρm′​))​<(1+a)ϵ,P(Nnc​(ρm′​),σ′)<(1+a)δ

for every new message mmm, and log⁡2M−C≤log⁡2M′\log_2M-C\le\log_2M'log2​M−C≤log2​M′. Thus the mixing requirement applies to the message matrices; the new measurement is required to be a valid measurement but has no specified relation to the old measurement. Both individual error inequalities are strict. There is no upper bound assumed on ϵ,δ,a\epsilon,\delta,aϵ,δ,a; zero dimensions and n=0n=0n=0 are excluded.

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