Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered (120)–(125): additive linear-code bounds

Open
QAlgorithms.Papers.Independent.Advance50.P23.additive_uniform_bounds

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.

Let both receiver and Eve channels be projective unitary orbits on a finite vector space and let a normalized seed law choose genuine nested codes of sizes L,MLL,MLL,ML. For every seed and ambient shift yyy, the uniform-coset encoder has shift-independent ImixI_{\rm mix}Imix​ and d1,mixd_{1,\rm mix}d1,mix​, and

Imax⁡=Imix.I_{\max}=I_{\rm mix}.Imax​=Imix​.

If C2C_2C2​ obeys Condition 1, then for 0<s≤10<s\le10<s≤1 the unshifted ensemble satisfies

EImax⁡≤vsesIsLss,EesImax⁡≤vs(1+L−sesIs),Ed1,mix≤2μsesIsG/2Ls/2.\mathbb E I_{\max}\le\frac{v^se^{sI_s}}{L^ss},\qquad\mathbb E e^{sI_{\max}}\le v^s(1+L^{-s}e^{sI_s}),\qquad\mathbb E d_{1,\rm mix}\le\frac{2\mu_se^{sI_s^G/2}}{L^{s/2}}.EImax​≤LssvsesIs​​,EesImax​≤vs(1+L−sesIs​),Ed1,mix​≤Ls/22μs​esIsG​/2​.

If C1C_1C1​ obeys Condition 1, suitable normalized grouped decoders exist with equal translated errors and Eϵ≤4(ML)se−sI−s(WB,unif)\mathbb E\epsilon\le4(ML)^se^{-sI_{-s}(W_B,\rm unif)}Eϵ≤4(ML)se−sI−s​(WB​,unif). Eve's information quantities use uniform ambient input. The missing factor sss in printed (123) is restored.

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.21, (120)–(125): orbit shift invariance, source-universal equality,
corrected exp(s I_s) in (123), and existential covariant decoding. C2 and C1
randomization are attached to secrecy and error respectively. -/
theorem additive_uniform_bounds {K G : Type} [Field K] [Fintype K] [AddCommGroup G]
    [Module K G] [Fintype G] [Nonempty B] [Nonempty E]
    (WB : G → Matrix B B ℂ) (WE : G → Matrix E E ℂ)
    (hB : hayashiIsCQ WB) (hE : hayashiIsCQ WE) (haB : IsAdditiveCQ WB) (haE : IsAdditiveCQ WE)
    (M L : ℕ) (hM : 0 < M) (hL : 0 < L) (PZ : Z → ℝ) (hPZ : IsLaw PZ)
    (C : Z → NestedPair K G M L) :
    (∀ z y, Imix (pairOutput WE (C z) y) = Imix (pairOutput WE (C z) 0) ∧
      d1mix (pairOutput WE (C z) y) = d1mix (pairOutput WE (C z) 0) ∧
      Imax (pairOutput WE (C z) y) = Imix (pairOutput WE (C z) y)) ∧
    (Condition1 PZ (fun z => (C z).inner) L → ∀ s ∈ Set.Ioc (0 : ℝ) 1,
      (∑ z, PZ z * Imax (pairOutput WE (C z) 0)) ≤
        Real.rpow (eigenCount (average WE uniform)) s * Real.exp (s * petzInfo s WE uniform) /
          (Real.rpow L s * s) ∧
      (∑ z, PZ z * Real.exp (s * Imax (pairOutput WE (C z) 0))) ≤ uniformMomentBound L s WE uniform ∧
      (∑ z, PZ z * d1mix (pairOutput WE (C z) 0)) ≤ 2 * uniformTraceBound L s WE uniform) ∧
    (Condition1 PZ (fun z => (C z).outer) (M * L) →
      ∃ D : Z → G → WiretapCode G B M, (∀ z y, GroupedDecoder (C z) y (D z y)) ∧
      (∀ z y, hayashiCodeError WB (D z y) = hayashiCodeError WB (D z 0)) ∧
      ∀ s ∈ Set.Ioc (0 : ℝ) 1,
        (∑ z, PZ z * hayashiCodeError WB (D z 0)) ≤ 4 * hayashiReliability M L s WB uniform) := 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. 21, Unnumbered (120)–(125): additive linear-code bounds
Read-back

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

Let KKK be a finite field, GGG a finite additive commutative KKK-module, and Z,B,EZ,B,EZ,B,E finite index types, with decidable equality where required and with B,EB,EB,E nonempty. Let WB(g)W_B(g)WB​(g) and WE(g)W_E(g)WE​(g) be positive semidefinite matrices of trace 111. Assume each family has the form W(g)=UgρUg†W(g)=U_g\rho U_g^\daggerW(g)=Ug​ρUg†​, where ρ\rhoρ is a density matrix, every UgU_gUg​ is unitary, and there are complex numbers c(g,h)c(g,h)c(g,h) of modulus 111 satisfying Ug+h=c(g,h)UgUhU_{g+h}=c(g,h)U_gU_hUg+h​=c(g,h)Ug​Uh​; separate such choices are allowed for BBB and EEE. Let M,L>0M,L>0M,L>0, let PZP_ZPZ​ be a nonnegative function of sum 111, and for each seed zzz let Hz⊆OzH_z\subseteq O_zHz​⊆Oz​ be submodules of sizes LLL and MLMLML, with representatives rz,m∈Ozr_{z,m}\in O_zrz,m​∈Oz​ giving a unique coset for every element of OzO_zOz​. Put

Ωz,y,m=1L∑h∈HzWE(h+rz,m+y).\Omega_{z,y,m}=\frac1L\sum_{h\in H_z}W_E(h+r_{z,m}+y).Ωz,y,m​=L1​h∈Hz​∑​WE​(h+rz,m​+y).

For a finite matrix family Ω=(Ωm)m<M\Omega=(\Omega_m)_{m<M}Ω=(Ωm​)m<M​, write

χ(p,Ω)=H ⁣(∑mpmΩm)−∑mpmH(Ωm),H(A)=−Re⁡tr⁡(Alog⁡A),\chi(p,\Omega)=H\!\left(\sum_mp_m\Omega_m\right)-\sum_mp_mH(\Omega_m),\quad H(A)=-\operatorname{Re}\operatorname{tr}(A\log A),χ(p,Ω)=H(m∑​pm​Ωm​)−m∑​pm​H(Ωm​),H(A)=−Retr(AlogA),

with 0log⁡0=00\log0=00log0=0 and natural logarithms, and define

Iu(Ω)=χ(uM,Ω),I∗(Ω)=sup⁡pm≥0∑mpm=1χ(p,Ω),Tu(Ω)=1M∑m∥Ωm−1M∑jΩj∥1,I_{\rm u}(\Omega)=\chi(u_M,\Omega),\quad I_*(\Omega)=\sup_{\substack{p_m\ge0\\\sum_mp_m=1}}\chi(p,\Omega),\quad T_{\rm u}(\Omega)=\frac1M\sum_m\left\|\Omega_m-\frac1M\sum_j\Omega_j\right\|_1,Iu​(Ω)=χ(uM​,Ω),I∗​(Ω)=pm​≥0∑m​pm​=1​sup​χ(p,Ω),Tu​(Ω)=M1​m∑​​Ωm​−M1​j∑​Ωj​​1​,

where uM(m)=1/Mu_M(m)=1/MuM​(m)=1/M and ∥A∥1=Re⁡tr⁡A†A\|A\|_1=\operatorname{Re}\operatorname{tr}\sqrt{A^\dagger A}∥A∥1​=RetrA†A​. For any family WWW on GGG, set W‾=∣G∣−1∑gW(g)\overline W=|G|^{-1}\sum_gW(g)W=∣G∣−1∑g​W(g), As=∣G∣−1∑gW(g)[1+s]A_s=|G|^{-1}\sum_gW(g)^{[1+s]}As​=∣G∣−1∑g​W(g)[1+s], and, for nonzero ttt,

Jt(W)=1tlog⁡Re⁡tr⁡(1∣G∣∑gW(g)[1+t]W‾[−t]),Gs(W)=1+sslog⁡Re⁡tr⁡As[1/(1+s)].J_t(W)=\frac1t\log\operatorname{Re}\operatorname{tr} \left(\frac1{|G|}\sum_gW(g)^{[1+t]}\overline W^{[-t]}\right),\qquad G_s(W)=\frac{1+s}{s}\log\operatorname{Re}\operatorname{tr}A_s^{[1/(1+s)]}.Jt​(W)=t1​logRetr(∣G∣1​g∑​W(g)[1+t]W[−t]),Gs​(W)=s1+s​logRetrAs[1/(1+s)]​.

Spectral powers send zero eigenvalues to zero even at exponent zero. Let ν(A)\nu(A)ν(A) be the number of distinct eigenvalues, including zero if present, let Δ(A)\Delta(A)Δ(A) be the natural logarithm of the largest eigenvalue minus that of the smallest strictly positive eigenvalue, using zero for the latter value when none exists and log⁡0=0\log0=0log0=0, and put

μs(W)=min⁡{4+ν(As), (4+⌈Δ(As)⌉)es/2}.\mu_s(W)=\min\left\{4+\sqrt{\nu(A_s)},\ \left(4+\sqrt{\lceil\Delta(A_s)\rceil}\right)e^{s/2}\right\}.μs​(W)=min{4+ν(As​)​, (4+⌈Δ(As​)⌉​)es/2}.

The assertion is the conjunction of the following statements: for every z,yz,yz,y, Iu(Ωz,y)=Iu(Ωz,0)I_{\rm u}(\Omega_{z,y})=I_{\rm u}(\Omega_{z,0})Iu​(Ωz,y​)=Iu​(Ωz,0​), Tu(Ωz,y)=Tu(Ωz,0)T_{\rm u}(\Omega_{z,y})=T_{\rm u}(\Omega_{z,0})Tu​(Ωz,y​)=Tu​(Ωz,0​), and I∗(Ωz,y)=Iu(Ωz,y)I_*(\Omega_{z,y})=I_{\rm u}(\Omega_{z,y})I∗​(Ωz,y​)=Iu​(Ωz,y​); if ∑z: x∈HzPZ(z)≤L/∣G∣\sum_{z:\,x\in H_z}P_Z(z)\le L/|G|∑z:x∈Hz​​PZ​(z)≤L/∣G∣ for every nonzero x∈Gx\in Gx∈G, then, for every 0<s≤10<s\le10<s≤1,

∑zPZ(z)I∗(Ωz,0)≤ν(W‾E)sesJs(WE)Lss,∑zPZ(z)esI∗(Ωz,0)≤ν(W‾E)s(1+esJs(WE)Ls),∑zPZ(z)Tu(Ωz,0)≤2μs(WE)esGs(WE)/2Ls/2;\begin{aligned} \sum_zP_Z(z)I_*(\Omega_{z,0}) &\le\frac{\nu(\overline W_E)^s e^{sJ_s(W_E)}}{L^s s},\\ \sum_zP_Z(z)e^{sI_*(\Omega_{z,0})} &\le\nu(\overline W_E)^s\left(1+\frac{e^{sJ_s(W_E)}}{L^s}\right),\\ \sum_zP_Z(z)T_{\rm u}(\Omega_{z,0}) &\le2\mu_s(W_E)\frac{e^{sG_s(W_E)/2}}{L^{s/2}}; \end{aligned}z∑​PZ​(z)I∗​(Ωz,0​)z∑​PZ​(z)esI∗​(Ωz,0​)z∑​PZ​(z)Tu​(Ωz,0​)​≤Lssν(WE​)sesJs​(WE​)​,≤ν(WE​)s(1+LsesJs​(WE​)​),≤2μs​(WE​)Ls/2esGs​(WE​)/2​;​

and, if ∑z: x∈OzPZ(z)≤ML/∣G∣\sum_{z:\,x\in O_z}P_Z(z)\le ML/|G|∑z:x∈Oz​​PZ​(z)≤ML/∣G∣ for every nonzero x∈Gx\in Gx∈G, there exists a family of MMM-message codes indexed by z,yz,yz,y, with encoder pz,y,m(x)=L−1p_{z,y,m}(x)=L^{-1}pz,y,m​(x)=L−1 on rz,m+y+Hzr_{z,m}+y+H_zrz,m​+y+Hz​ and zero elsewhere, whose decoding measurements are obtained by grouping a measurement indexed by x∈Ozx\in O_zx∈Oz​ according to x−rz,m∈Hzx-r_{z,m}\in H_zx−rz,m​∈Hz​. Their average errors ez,y=1−M−1∑mRe⁡tr⁡(Dz,y,m∑xpz,y,m(x)WB(x))e_{z,y}=1-M^{-1}\sum_m\operatorname{Re}\operatorname{tr}(D_{z,y,m}\sum_xp_{z,y,m}(x)W_B(x))ez,y​=1−M−1∑m​Retr(Dz,y,m​∑x​pz,y,m​(x)WB​(x)) satisfy ez,y=ez,0e_{z,y}=e_{z,0}ez,y​=ez,0​ for all z,yz,yz,y, and the same codes satisfy ∑zPZ(z)ez,0≤4(ML)se−sJ−s(WB)\sum_zP_Z(z)e_{z,0}\le4(ML)^s e^{-sJ_{-s}(W_B)}∑z​PZ​(z)ez,0​≤4(ML)se−sJ−s​(WB​) for every 0<s≤10<s\le10<s≤1. All measurements here consist of positive semidefinite matrices summing to the identity; the two conditional sampling assumptions are separate.

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