Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, (94)–(95): one-shot equivocation bound

Open
QAlgorithms.Papers.Independent.Advance50.P23.oneShot_equivocation

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

prove2quantum

All classical alphabets are finite and nonempty and all quantum systems are finite dimensional. A cq channel W:x↦WxW:x\mapsto W_xW:x↦Wx​ has positive semidefinite outputs of trace one; every input law is nonnegative and sums to one. Logarithms are natural. Write Is(W,P)I_s(W,P)Is​(W,P) for the paper's Petz information, IsG(W,P)I_s^G(W,P)IsG​(W,P) for its Gallager information, H1+s(P)H_{1+s}(P)H1+s​(P) for classical Rényi entropy, and I0=I0G=II_0=I_0^G=II0​=I0G​=I for Holevo information. Matrix powers vanish on the kernel, including exponent zero. Write WˉP=∑xP(x)Wx\bar W_P=\sum_xP(x)W_xWˉP​=∑x​P(x)Wx​, As=∑xP(x)Wx1+sA_s=\sum_xP(x)W_x^{1+s}As​=∑x​P(x)Wx1+s​, vvv for the number of distinct eigenvalues of WˉP\bar W_PWˉP​, and vsv_svs​ for that of AsA_sAs​. The supported spectral spread is λs=log⁡λmax⁡(As)−log⁡λmin⁡,+(As)\lambda_s=\log\lambda_{\max}(A_s)-\log\lambda_{\min,+}(A_s)λs​=logλmax​(As​)−logλmin,+​(As​) and μs=min⁡{4+vs,(4+⌈λs⌉)es/2}\mu_s=\min\{4+\sqrt{v_s},(4+\sqrt{\lceil\lambda_s\rceil})e^{s/2}\}μs​=min{4+vs​​,(4+⌈λs​⌉​)es/2}.

For a message-output cq channel VVV, Imix(V)I_{\rm mix}(V)Imix​(V) and d1,mix(V)d_{1,\rm mix}(V)d1,mix​(V) are its uniform-message Holevo information and full trace-norm correlation. Their maximum versions optimize over every message law. A code has an actual stochastic encoder and a normalized message POVM; ϵ\epsilonϵ and ϵmax⁡\epsilon_{\max}ϵmax​ denote its average and worst-message error. “Uses PLP_LPL​” means each encoder row is a pushforward of that sole auxiliary law under a deterministic table chosen before communication.

Fix positive M,LM,LM,L, laws PX,PLP_X,P_LPX​,PL​, the two cq channels, and a secrecy parameter 0<s≤10<s\le10<s≤1. There exists an MMM-message code using only PLP_LPL​ such that

ϵ≤8inf⁡0≤t≤1(ML)te−tI−t(WB,PX),\epsilon\le8\inf_{0\le t\le1}(ML)^te^{-tI_{-t}(W_B,P_X)},ϵ≤80≤t≤1inf​(ML)te−tI−t​(WB​,PX​), Imix≤log⁡v+log⁡4+[sIs(WE,PX)−sH1+s(PL)]+s,[z]+=max⁡{z,0}.I_{\rm mix}\le\log v+\frac{\log4+[sI_s(W_E,P_X)-sH_{1+s}(P_L)]_+}{s},\qquad[z]_+=\max\{z,0\}.Imix​≤logv+slog4+[sIs​(WE​,PX​)−sH1+s​(PL​)]+​​,[z]+​=max{z,0}.

The code may depend on sss; the independent reliability parameter ttt is optimized for that same code.

This result supplies the corresponding finite-dimensional information or coding interface for the paper's security analysis.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P23

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal

open Filter

open QAlgorithms.Papers.Independent.Information100.P56
  (IsLaw entropy average holevo uniform ProjectiveRep orbit productOutput)

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)

open QAlgorithms.Papers.Independent.Dependency50.P21 (IsSupported relativeEntropy)

open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch logNonnegativeExtended)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {X A Z B E : Type} [Fintype X] [Fintype A] [Fintype Z]
  [Fintype B] [DecidableEq B] [Fintype E] [DecidableEq E]

/-- PDF p.16, Theorem 2, (94)–(95): the code is selected AFTER fixing s.
The independent hayashiReliability parameter t is optimized for this same code. -/
theorem oneShot_equivocation [Nonempty X] [Nonempty B] [Nonempty E]
    (WB : X → Matrix B B ℂ) (WE : X → Matrix E E ℂ)
    (hB : hayashiIsCQ WB) (hE : hayashiIsCQ WE) (M L : ℕ) (hM : 0 < M) (hL : 0 < L)
    (PX : X → ℝ) (hPX : IsLaw PX) (PL : Fin L → ℝ) (hPL : IsLaw PL)
    (s : ℝ) (hs : s ∈ Set.Ioc (0 : ℝ) 1) :
    ∃ C : WiretapCode X B M, UsesLaw PL C ∧
      (∀ t ∈ Set.Icc (0 : ℝ) 1, hayashiCodeError WB C ≤ 8 * hayashiReliability M L t WB PX) ∧
      Imix (hayashiCompose WE C.encoder) ≤ Real.log (eigenCount (average WE PX)) +
        (Real.log 4 + max (s * petzInfo s WE PX - s * hayashiRenyiEntropy s PL) 0) / s := by sorry

end QAlgorithms.Papers.Independent.Advance50.P23

end
Source
Quantum wiretap channel with non-uniform random number and its exponent and equivocation rate of leaked information, arXiv:1202.0325v3, PDF p. 16, Theorem 2, (94)–(95): one-shot equivocation bound
Read-back

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

Let X,B,EX,B,EX,B,E be finite nonempty types with decidable equality, let WxBW^B_xWxB​ and WxEW^E_xWxE​ be positive semidefinite complex matrices of trace 111 on BBB and EEE, respectively, for every xxx, let M,LM,LM,L be positive integers, and let PXP_XPX​ on XXX and PLP_LPL​ on {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1} be nonnegative functions summing to 111. Fix 0<s≤10<s\le10<s≤1. For any such family WWW and law PPP, put WˉP=∑xPxWx\bar W_P=\sum_xP_xW_xWˉP​=∑x​Px​Wx​, H(A)=−Re⁡tr⁡(Alog⁡A)H(A)=-\operatorname{Re}\operatorname{tr}(A\log A)H(A)=−Retr(AlogA), and

Iu(W,P)={H(WˉP)−∑xPxH(Wx),u=0,u−1log⁡Re⁡tr⁡(∑xPxWx[1+u]WˉP[−u]),u≠0,Hs(PL)=−1slog⁡∑lPL(l)1+s.I_u(W,P)= \begin{cases} H(\bar W_P)-\sum_xP_xH(W_x),&u=0,\\ u^{-1}\log\operatorname{Re}\operatorname{tr} \left(\sum_xP_xW_x^{[1+u]}\bar W_P^{[-u]}\right),&u\ne0, \end{cases} \qquad H_s(P_L)=-\frac1s\log\sum_lP_L(l)^{1+s}.Iu​(W,P)={H(WˉP​)−∑x​Px​H(Wx​),u−1logRetr(∑x​Px​Wx[1+u]​WˉP[−u]​),​u=0,u=0,​Hs​(PL​)=−s1​logl∑​PL​(l)1+s.

Here logarithms are natural, and the spectral power A[u]A^{[u]}A[u] assigns 000 to a zero eigenvalue for every exponent, including u=0u=0u=0. There exist probability laws eme_mem​ on XXX, matrices Dm⪰0D_m\succeq0Dm​⪰0 on BBB with ∑mDm=1\sum_mD_m=1∑m​Dm​=1, and a table c:{0,…,L−1}×{0,…,M−1}→Xc:\{0,\ldots,L-1\}\times\{0,\ldots,M-1\}\to Xc:{0,…,L−1}×{0,…,M−1}→X, such that em(x)=∑l:c(l,m)=xPL(l)e_m(x)=\sum_{l:c(l,m)=x}P_L(l)em​(x)=∑l:c(l,m)=x​PL​(l), and the following hold. With VmB=∑xem(x)WxBV^B_m=\sum_xe_m(x)W^B_xVmB​=∑x​em​(x)WxB​, VmE=∑xem(x)WxEV^E_m=\sum_xe_m(x)W^E_xVmE​=∑x​em​(x)WxE​, and vvv the number of distinct eigenvalues of WˉPXE\bar W^E_{P_X}WˉPX​E​, including zero when present,

1−1M∑mRe⁡tr⁡(DmVmB)≤8{1,t=0,(ML)texp⁡ ⁣(−tI−t(WB,PX)),t≠0for every 0≤t≤1,1-\frac1M\sum_m\operatorname{Re}\operatorname{tr}(D_mV^B_m) \le 8 \begin{cases} 1,&t=0,\\ (ML)^t\exp\!\bigl(-tI_{-t}(W^B,P_X)\bigr),&t\ne0 \end{cases} \quad\text{for every }0\le t\le1,1−M1​m∑​Retr(Dm​VmB​)≤8{1,(ML)texp(−tI−t​(WB,PX​)),​t=0,t=0​for every 0≤t≤1,

and

H ⁣(1M∑mVmE)−1M∑mH(VmE)≤log⁡v+log⁡4+max⁡{sIs(WE,PX)−sHs(PL),0}s.H\!\left(\frac1M\sum_mV^E_m\right)-\frac1M\sum_mH(V^E_m) \le \log v+ \frac{\log4+\max\{sI_s(W^E,P_X)-sH_s(P_L),0\}}s.H(M1​m∑​VmE​)−M1​m∑​H(VmE​)≤logv+slog4+max{sIs​(WE,PX​)−sHs​(PL​),0}​.

Thus the reliability assertion includes both endpoints t=0,1t=0,1t=0,1, with the stated special branch at t=0t=0t=0.

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