Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4, (53)–(54): non-uniform pairwise-independent random-map resolvability

Open
QAlgorithms.Papers.Independent.Advance50.P23.iid_resolvability

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

Let PAP_APA​ be an auxiliary law. Under a normalized finite seed law, let Φ(a)\Phi(a)Φ(a) have marginal PXP_XPX​ and be independent of Φ(b)\Phi(b)Φ(b) whenever a≠ba\ne ba=b. Put ρΦ=∑aPA(a)WΦ(a)\rho_\Phi=\sum_aP_A(a)W_{\Phi(a)}ρΦ​=∑a​PA​(a)WΦ(a)​ and σ=WˉPX\sigma=\bar W_{P_X}σ=WˉPX​​. For 0<s≤10<s\le10<s≤1,

ED(ρΦ∥σ)≤vsse−sH1+s(PA)+sIs(W,PX),\mathbb E D(\rho_\Phi\Vert\sigma)\le\frac{v^s}{s}e^{-sH_{1+s}(P_A)+sI_s(W,P_X)},ED(ρΦ​∥σ)≤svs​e−sH1+s​(PA​)+sIs​(W,PX​), EesD‾(ρΦ∥σ)≤ETs(ρΦ,σ)≤1+e−sH1+s(PA)∑xPX(x)Ts(Wx,σ).\mathbb E e^{s\underline D(\rho_\Phi\Vert\sigma)}\le\mathbb E T_s(\rho_\Phi,\sigma)\le1+e^{-sH_{1+s}(P_A)}\sum_xP_X(x)T_s(W_x,\sigma).EesD​(ρΦ​∥σ)≤ETs​(ρΦ​,σ)≤1+e−sH1+s​(PA​)x∑​PX​(x)Ts​(Wx​,σ).

Here DDD is Umegaki entropy, D‾(ρ∥σ)=Tr⁡ρlog⁡(σ−1/2ρσ−1/2)\underline D(\rho\Vert\sigma)=\operatorname{Tr}\rho\log(\sigma^{-1/2}\rho\sigma^{-1/2})D​(ρ∥σ)=Trρlog(σ−1/2ρσ−1/2) uses an extended spectral logarithm, and Ts(ρ,σ)=Tr⁡ρ(σ−1/2ρσ−1/2)s=esDs∗(ρ∥σ)T_s(\rho,\sigma)=\operatorname{Tr}\rho(\sigma^{-1/2}\rho\sigma^{-1/2})^s=e^{sD_s^*(\rho\Vert\sigma)}Ts​(ρ,σ)=Trρ(σ−1/2ρσ−1/2)s=esDs∗​(ρ∥σ). Expectations are over the map, not the auxiliary input.

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.7, Lemma 4, (53)–(54): map expectation, Umegaki first moment,
UNDERLINED exponential moment, and the paper's positive starred trace moment. -/
theorem iid_resolvability [Nonempty X] [Nonempty A] [Nonempty E]
    (W : X → Matrix E E ℂ) (hW : hayashiIsCQ W)
    (PX : X → ℝ) (hPX : IsLaw PX) (PA : A → ℝ) (hPA : IsLaw PA)
    (PZ : Z → ℝ) (f : Z → A → X) (hf : PairwiseMap PZ f PX)
    (s : ℝ) (hs : s ∈ Set.Ioc (0 : ℝ) 1) :
    expectE PZ (fun z => relativeEntropy (mapOutput W (f z) PA) (average W PX)) ≤
      (secrecy s W PX PA : EReal) ∧
    expectExp PZ s (fun z => underlinedD (mapOutput W (f z) PA) (average W PX)) ≤
      ENNReal.ofReal (∑ z, PZ z * starMoment s (mapOutput W (f z) PA) (average W PX)) ∧
    (∑ z, PZ z * starMoment s (mapOutput W (f z) PA) (average W PX)) ≤
      1 + Real.exp (-s * hayashiRenyiEntropy s PA) *
        (∑ x, PX x * starMoment s (W x) (average W PX)) := 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. 7, Lemma 4, (53)–(54): non-uniform pairwise-independent random-map resolvability
Read-back

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

Let X,A,EX,A,EX,A,E be finite nonempty types with decidable equality, and let ZZZ be a finite type with decidable equality. Suppose every W(x)W(x)W(x) is a positive semidefinite complex E×EE\times EE×E matrix with trace one; PX,PA,PZP_X,P_A,P_ZPX​,PA​,PZ​ are probability laws on X,A,ZX,A,ZX,A,Z; and f:Z×A→Xf:Z\times A\to Xf:Z×A→X satisfies

∑z:f(z,a)=xPZ(z)=PX(x),∑z:f(z,a)=x, f(z,b)=yPZ(z)=PX(x)PX(y)\sum_{z:f(z,a)=x}P_Z(z)=P_X(x),\qquad \sum_{z:f(z,a)=x,\ f(z,b)=y}P_Z(z)=P_X(x)P_X(y)z:f(z,a)=x∑​PZ​(z)=PX​(x),z:f(z,a)=x, f(z,b)=y∑​PZ​(z)=PX​(x)PX​(y)

for every a,xa,xa,x, and every distinct a,ba,ba,b and x,yx,yx,y, respectively. For 0<s≤10<s\le10<s≤1, set ρz=∑aPA(a)W(f(z,a))\rho_z=\sum_aP_A(a)W(f(z,a))ρz​=∑a​PA​(a)W(f(z,a)) and σ=∑xPX(x)W(x)\sigma=\sum_xP_X(x)W(x)σ=∑x​PX​(x)W(x). Write Y[r]Y^{[r]}Y[r] for spectral powers with value zero at eigenvalue zero for every exponent. Define D(ρ∥σ)=Re⁡tr⁡(ρlog⁡ρ−ρlog⁡σ)D(\rho\|\sigma)=\operatorname{Re}\operatorname{tr}(\rho\log\rho-\rho\log\sigma)D(ρ∥σ)=Retr(ρlogρ−ρlogσ) when ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ, and +∞+\infty+∞ otherwise; with T=σ[−1/2]ρσ[−1/2]T=\sigma^{[-1/2]}\rho\sigma^{[-1/2]}T=σ[−1/2]ρσ[−1/2], define D‾(ρ∥σ)=Re⁡tr⁡(ρlog⁡T)\underline D(\rho\|\sigma)=\operatorname{Re}\operatorname{tr}(\rho\log T)D​(ρ∥σ)=Retr(ρlogT) when ker⁡T⊆ker⁡ρ\ker T\subseteq\ker\rhokerT⊆kerρ, and −∞-\infty−∞ otherwise, and ms(ρ,σ)=Re⁡tr⁡(ρT[s])m_s(\rho,\sigma)=\operatorname{Re}\operatorname{tr}(\rho T^{[s]})ms​(ρ,σ)=Retr(ρT[s]). Let

Hs(PA)=−1slog⁡∑aPA(a)1+s,Js=1slog⁡Re⁡tr⁡(∑xPX(x)W(x)[1+s]σ[−s]),Ss=v(σ)sse−sHs(PA)+sJs,H_s(P_A)=-\frac1s\log\sum_aP_A(a)^{1+s},\quad J_s=\frac1s\log\operatorname{Re}\operatorname{tr} \left(\sum_xP_X(x)W(x)^{[1+s]}\sigma^{[-s]}\right), \quad \mathcal S_s=\frac{v(\sigma)^s}{s}e^{-sH_s(P_A)+sJ_s},Hs​(PA​)=−s1​loga∑​PA​(a)1+s,Js​=s1​logRetr(x∑​PX​(x)W(x)[1+s]σ[−s]),Ss​=sv(σ)s​e−sHs​(PA​)+sJs​,

where v(σ)v(\sigma)v(σ) counts distinct eigenvalues, including zero. Then

∑zPZ(z)D(ρz∥σ)≤Ss,\sum_zP_Z(z)D(\rho_z\|\sigma)\le\mathcal S_s,z∑​PZ​(z)D(ρz​∥σ)≤Ss​, ∑zofReal⁡(PZ(z)) exp⁡ext ⁣(s D‾(ρz∥σ))≤ofReal⁡ ⁣(∑zPZ(z)ms(ρz,σ)),\sum_z\operatorname{ofReal}(P_Z(z))\, \exp_{\mathrm{ext}}\!\bigl(s\,\underline D(\rho_z\|\sigma)\bigr) \le \operatorname{ofReal}\!\left(\sum_zP_Z(z)m_s(\rho_z,\sigma)\right),z∑​ofReal(PZ​(z))expext​(sD​(ρz​∥σ))≤ofReal(z∑​PZ​(z)ms​(ρz​,σ)), ∑zPZ(z)ms(ρz,σ)≤1+e−sHs(PA)∑xPX(x)ms(W(x),σ).\sum_zP_Z(z)m_s(\rho_z,\sigma) \le1+e^{-sH_s(P_A)} \sum_xP_X(x)m_s(W(x),\sigma).z∑​PZ​(z)ms​(ρz​,σ)≤1+e−sHs​(PA​)x∑​PX​(x)ms​(W(x),σ).

The first inequality uses extended-real arithmetic, and the second uses extended nonnegative-real arithmetic; ofReal⁡(r)=max⁡(r,0)\operatorname{ofReal}(r)=\max(r,0)ofReal(r)=max(r,0) included into [0,∞][0,\infty][0,∞], and exp⁡ext(−∞)=0, exp⁡ext(+∞)=+∞\exp_{\mathrm{ext}}(-\infty)=0,\ \exp_{\mathrm{ext}}(+\infty)=+\inftyexpext​(−∞)=0, expext​(+∞)=+∞. Logarithms are natural, with the real spectral logarithm taking value zero at zero. Although ZZZ is not explicitly assumed nonempty, its probability-law hypothesis cannot hold when ZZZ is empty; when AAA has one element, the distinct-pair condition is vacuous.

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