Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered (96)–(99): auxiliary-randomness leakage rate

Open
QAlgorithms.Papers.Independent.Advance50.P23.asymptotic_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.

For every positive n,M,Ln,M,Ln,M,L, law PLP_LPL​ and fixed 0<s≤10<s\le10<s≤1, an MMM-message physical block code using that law obeys

ϵ≤8inf⁡0≤t≤1(ML)te−ntI−t(WB,PX),\epsilon\le8\inf_{0\le t\le1}(ML)^te^{-ntI_{-t}(W_B,P_X)},ϵ≤80≤t≤1inf​(ML)te−ntI−t​(WB​,PX​), Imixn≤log⁡vnn+log⁡4+[nsIs(WE,PX)−sH1+s(PL)]+ns.\frac{I_{\rm mix}}n\le\frac{\log v_n}n+\frac{\log4+[nsI_s(W_E,P_X)-sH_{1+s}(P_L)]_+}{ns}.nImix​​≤nlogvn​​+nslog4+[nsIs​(WE​,PX​)−sH1+s​(PL​)]+​​.

For arbitrary positive size sequences and auxiliary laws with H1+s(PLn)/n→R0H_{1+s}(P_{L_n})/n\to R_0H1+s​(PLn​​)/n→R0​, one can select codes using those laws with

lim sup⁡nImix/n≤[Is(WE,PX)−R0]+.\limsup_n I_{\rm mix}/n\le[I_s(W_E,P_X)-R_0]_+.nlimsup​Imix​/n≤[Is​(WE​,PX​)−R0​]+​.

If that entropy-rate limit holds for every fixed 0<s≤10<s\le10<s≤1 with the same R0R_0R0​, a diagonal choice yields the bound [I(WE,PX)−R0]+[I(W_E,P_X)-R_0]_+[I(WE​,PX​)−R0​]+​ instead. No existence of an ordinary leakage limit is asserted. Let I(R)\mathcal I(R)I(R) be the infimum of existing normalized-leakage limits over unrestricted reliable code sequences of rate RRR. In the regime 0≤R0\le R0≤R, CWB,WE<R≤I(WB,PX)C_{W_B,W_E}<R\le I(W_B,P_X)CWB​,WE​​<R≤I(WB​,PX​),

I(R)≤R−[I(WB,PX)−I(WE,PX)].\mathcal I(R)\le R-[I(W_B,P_X)-I(W_E,P_X)].I(R)≤R−[I(WB​,PX​)−I(WE​,PX​)].

The printed square-root block backoff claim is not used to justify reliability.

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, (96)–(99): finite-block and asymptotic leakage-rate bounds. The
positive part from (97) is kept; limit upper bounds are stated as limsup. A fixed-s
code sequence is selected only after s is fixed. The operational (99) is restricted
to the above-private-capacity and receiver-feasible regime of Section V. The specific
sqrt(n) boundary-hayashiReliability claim is deferred, not used as an extra hypothesis. -/
theorem asymptotic_equivocation [Nonempty X] [Nonempty B] [Nonempty E]
    (WB : X → Matrix B B ℂ) (WE : X → Matrix E E ℂ)
    (hB : hayashiIsCQ WB) (hE : hayashiIsCQ WE) (PX : X → ℝ) (hPX : IsLaw PX) :
    (∀ (n M L : ℕ), 0 < n → 0 < M → 0 < L → ∀ PL : Fin L → ℝ, IsLaw PL →
      ∀ s ∈ Set.Ioc (0 : ℝ) 1,
      ∃ C : WiretapCode (Fin n → X) (Fin n → B) M, UsesLaw PL C ∧
      (∀ t ∈ Set.Icc (0 : ℝ) 1, hayashiCodeError (productOutput n WB) C ≤
        8 * Real.rpow (M * L : ℕ) t * Real.exp (-(n : ℝ) * t * petzInfo (-t) WB PX)) ∧
      Imix (hayashiCompose (productOutput n WE) C.encoder) / n ≤
        Real.log (eigenCount (matrixTensor n (average WE PX))) / n +
        (Real.log 4 + max (n * s * petzInfo s WE PX - s * hayashiRenyiEntropy s PL) 0) / (n * s)) ∧
    (∀ (M L : ℕ → ℕ), (∀ n, 0 < M n) → (∀ n, 0 < L n) →
      ∀ (PL : (n : ℕ) → Fin (L n) → ℝ), (∀ n, IsLaw (PL n)) →
      ∀ s ∈ Set.Ioc (0 : ℝ) 1, ∀ R0 : ℝ,
      Tendsto (fun n => hayashiRenyiEntropy s (PL n) / n) atTop (nhds R0) →
      ∃ S : CodeSequence X B, S.size = M ∧ (∀ n, UsesLaw (PL n) (S.code n)) ∧
        Filter.limsup (fun n => (Imix (hayashiCompose (productOutput n WE) (S.code n).encoder) / n : EReal))
          atTop ≤ (max (petzInfo s WE PX - R0) 0 : EReal)) ∧
    (∀ (M L : ℕ → ℕ), (∀ n, 0 < M n) → (∀ n, 0 < L n) →
      ∀ (PL : (n : ℕ) → Fin (L n) → ℝ), (∀ n, IsLaw (PL n)) → ∀ R0 : ℝ,
      (∀ s ∈ Set.Ioc (0 : ℝ) 1,
        Tendsto (fun n => hayashiRenyiEntropy s (PL n) / n) atTop (nhds R0)) →
      ∃ S : CodeSequence X B, S.size = M ∧ (∀ n, UsesLaw (PL n) (S.code n)) ∧
        Filter.limsup (fun n => (Imix (hayashiCompose (productOutput n WE) (S.code n).encoder) / n : EReal))
          atTop ≤ (max (holevo PX WE - R0) 0 : EReal)) ∧
    (∀ R : ℝ, 0 ≤ R → wiretapCapacity WB WE < (R : EReal) → R ≤ holevo PX WB →
      leakedRate WB WE R ≤ (R - (holevo PX WB - holevo PX WE) : ℝ)) := 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, Unnumbered (96)–(99): auxiliary-randomness leakage rate
Read-back

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

Let X,B,EX,B,EX,B,E be nonempty finite index types, with decidable equality where required, let WB(x),WE(x)W_B(x),W_E(x)WB​(x),WE​(x) be positive semidefinite matrices of trace 111, and let PX≥0P_X\ge0PX​≥0 have sum 111. Use natural logarithms, set H(A)=−Re⁡tr⁡(Alog⁡A)H(A)=-\operatorname{Re}\operatorname{tr}(A\log A)H(A)=−Retr(AlogA) with 0log⁡0=00\log0=00log0=0, and write χ(P,W)=H(∑xP(x)W(x))−∑xP(x)H(W(x))\chi(P,W)=H(\sum_xP(x)W(x))-\sum_xP(x)H(W(x))χ(P,W)=H(∑x​P(x)W(x))−∑x​P(x)H(W(x)). For a law PPP, define H0(P)=−∑xP(x)log⁡P(x)H_0(P)=-\sum_xP(x)\log P(x)H0​(P)=−∑x​P(x)logP(x) and Hs(P)=−s−1log⁡∑xP(x)1+sH_s(P)=-s^{-1}\log\sum_xP(x)^{1+s}Hs​(P)=−s−1log∑x​P(x)1+s when s≠0s\ne0s=0; define J0(W,P)=χ(P,W)J_0(W,P)=\chi(P,W)J0​(W,P)=χ(P,W) and

Js(W,P)=1slog⁡Re⁡tr⁡(∑xP(x)W(x)[1+s](∑xP(x)W(x))[−s])(s≠0),J_s(W,P)=\frac1s\log\operatorname{Re}\operatorname{tr} \left(\sum_xP(x)W(x)^{[1+s]}\left(\sum_xP(x)W(x)\right)^{[-s]}\right) \quad(s\ne0),Js​(W,P)=s1​logRetr​x∑​P(x)W(x)[1+s](x∑​P(x)W(x))[−s]​(s=0),

where spectral powers send zero eigenvalues to zero even at exponent zero or a negative exponent. Write W(n)(x)=⨂i<nW(xi)W^{(n)}(\mathbf x)=\bigotimes_{i<n}W(x_i)W(n)(x)=⨂i<n​W(xi​), and let ν(A)\nu(A)ν(A) count distinct eigenvalues, including zero if present. A code with J>0J>0J>0 messages consists of laws qmq_mqm​ on XnX^nXn and a positive operator valued measurement Dm⪰0D_m\succeq0Dm​⪰0, ∑mDm=I\sum_mD_m=I∑m​Dm​=I; its average error is e(C)=1−J−1∑mRe⁡tr⁡(Dm∑xqm(x)WB(n)(x))e(C)=1-J^{-1}\sum_m\operatorname{Re}\operatorname{tr}(D_m\sum_{\mathbf x}q_m(\mathbf x)W_B^{(n)}(\mathbf x))e(C)=1−J−1∑m​Retr(Dm​∑x​qm​(x)WB(n)​(x)), and its uniform Eve information is Iu(C)=χ(uJ,(∑xqm(x)WE(n)(x))m)I_{\rm u}(C)=\chi(u_J,(\sum_{\mathbf x}q_m(\mathbf x)W_E^{(n)}(\mathbf x))_m)Iu​(C)=χ(uJ​,(∑x​qm​(x)WE(n)​(x))m​). It uses a law PLP_LPL​ if, for some table c(l,m)∈Xnc(l,m)\in X^nc(l,m)∈Xn, qm(x)=∑l: c(l,m)=xPL(l)q_m(\mathbf x)=\sum_{l:\,c(l,m)=\mathbf x}P_L(l)qm​(x)=∑l:c(l,m)=x​PL​(l). The theorem asserts: (i) for every n,M,L>0n,M,L>0n,M,L>0, law PLP_LPL​, and 0<s≤10<s\le10<s≤1, there exists an MMM-message code using PLP_LPL​, satisfying, simultaneously for every 0≤t≤10\le t\le10≤t≤1,

e(C)≤8(ML)te−ntJ−t(WB,PX),e(C)\le8(ML)^t e^{-ntJ_{-t}(W_B,P_X)},e(C)≤8(ML)te−ntJ−t​(WB​,PX​),

and also satisfying

Iu(C)n≤log⁡ν((∑xPX(x)WE(x))⊗n)n+log⁡4+max⁡{nsJs(WE,PX)−sHs(PL),0}ns;\frac{I_{\rm u}(C)}n\le \frac{\log\nu((\sum_xP_X(x)W_E(x))^{\otimes n})}{n} +\frac{\log4+\max\{nsJ_s(W_E,P_X)-sH_s(P_L),0\}}{ns};nIu​(C)​≤nlogν((∑x​PX​(x)WE​(x))⊗n)​+nslog4+max{nsJs​(WE​,PX​)−sHs​(PL​),0}​;

(ii) for any positive sequences Mn,LnM_n,L_nMn​,Ln​, laws PL,nP_{L,n}PL,n​, fixed 0<s≤10<s\le10<s≤1, and real R0R_0R0​ such that Hs(PL,n)/n→R0H_s(P_{L,n})/n\to R_0Hs​(PL,n​)/n→R0​, there exists a code sequence with exactly MnM_nMn​ messages and using PL,nP_{L,n}PL,n​ for every nnn, for which

lim sup⁡n→∞Iu(Cn)n≤max⁡{Js(WE,PX)−R0,0};\limsup_{n\to\infty}\frac{I_{\rm u}(C_n)}n \le\max\{J_s(W_E,P_X)-R_0,0\};n→∞limsup​nIu​(Cn​)​≤max{Js​(WE​,PX​)−R0​,0};

(iii) if instead Hs(PL,n)/n→R0H_s(P_{L,n})/n\to R_0Hs​(PL,n​)/n→R0​ for every 0<s≤10<s\le10<s≤1, there exists such a code sequence for which

lim sup⁡n→∞Iu(Cn)n≤max⁡{χ(PX,WE)−R0,0};\limsup_{n\to\infty}\frac{I_{\rm u}(C_n)}n \le\max\{\chi(P_X,W_E)-R_0,0\};n→∞limsup​nIu​(Cn​)​≤max{χ(PX​,WE​)−R0​,0};

and (iv), for every real R≥0R\ge0R≥0 satisfying Cwt<R≤χ(PX,WB)C_{\rm wt}<R\le\chi(P_X,W_B)Cwt​<R≤χ(PX​,WB​),

Lleak(R)≤R−(χ(PX,WB)−χ(PX,WE)).L_{\rm leak}(R)\le R-\bigl(\chi(P_X,W_B)-\chi(P_X,W_E)\bigr).Lleak​(R)≤R−(χ(PX​,WB​)−χ(PX​,WE​)).

The limit-superior inequalities are in the extended real line. Here CwtC_{\rm wt}Cwt​ is the extended-real supremum of finite rates r≥0r\ge0r≥0 admitting code sequences with log⁡Jn/n→r\log J_n/n\to rlogJn​/n→r, e(Cn)→0e(C_n)\to0e(Cn​)→0, and Iu(Cn)→0I_{\rm u}(C_n)\to0Iu​(Cn​)→0; Lleak(R)L_{\rm leak}(R)Lleak​(R) is the extended-real infimum of finite real λ\lambdaλ admitting a code sequence with log⁡Jn/n→R\log J_n/n\to RlogJn​/n→R, e(Cn)→0e(C_n)\to0e(Cn​)→0, and Iu(Cn)/n→λI_{\rm u}(C_n)/n\to\lambdaIu​(Cn​)/n→λ. The sequences in (ii) and (iii) are required to satisfy their stated message counts, use of the specified laws, and information bounds; those clauses impose no decoding-error or message-rate limit. All code sequences include n=0n=0n=0, where tensor products are empty products and real division by zero is zero; the finite-block clause requires n>0n>0n>0, and its t=0t=0t=0 bound is 888.

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