Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10, (112): uniform random linear-code decoding error

Open
QAlgorithms.Papers.Independent.Advance50.P23.nested_uniform_error

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 the same actual nested-subspace data with sizes L,MLL,MLL,ML, assume instead Condition 1 on the outer code: Pr⁡[x∈C1,Z]≤ML/∣X∣\Pr[x\in C_{1,Z}]\le ML/|X|Pr[x∈C1,Z​]≤ML/∣X∣ for nonzero xxx. There exist normalized codeword POVMs, grouped into the quotient-message POVMs, such that for every 0<s≤10<s\le10<s≤1,

EZ,Yϵ(WB∣ΦC1,Z+Y,C2,Z)≤4(ML)se−sI−s(WB,unif).\mathbb E_{Z,Y}\epsilon(W_B\mid\Phi_{C_{1,Z}+Y,C_{2,Z}})\le4(ML)^se^{-sI_{-s}(W_B,\rm unif)}.EZ,Y​ϵ(WB​∣ΦC1,Z​+Y,C2,Z​​)≤4(ML)se−sI−s​(WB​,unif).

The decoder is existential; the claim does not cover arbitrary POVMs. No randomization condition on the inner code is required.

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 pp.20–21, Lemma 10, (112): suitable normalized codeword POVMs EXIST.
The only ensemble constraint is Condition 1 on C1; arbitrary POVMs are not promised. -/
theorem nested_uniform_error {K G : Type} [Field K] [Fintype K] [AddCommGroup G]
    [Module K G] [Fintype G] [Nonempty B]
    (WB : G → Matrix B B ℂ) (hB : hayashiIsCQ WB) (M L : ℕ) (hM : 0 < M) (hL : 0 < L)
    (PZ : Z → ℝ) (C : Z → NestedPair K G M L)
    (houter : 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)) ∧
      ∀ s ∈ Set.Ioc (0 : ℝ) 1,
        shiftExpect PZ (fun z y => hayashiCodeError WB (D z y)) ≤ 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. 20, Lemma 10, (112): uniform random linear-code decoding error
Read-back

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

Let KKK be a finite field, let GGG be a finite additive commutative group equipped with a KKK-module structure, and let ZZZ and BBB be finite index types, with decidable equality where required and with BBB nonempty. Let WB(g)W_B(g)WB​(g) be a positive semidefinite complex matrix on BBB of trace 111 for every g∈Gg\in Gg∈G, and let M,LM,LM,L be positive integers. For each z∈Zz\in Zz∈Z, suppose there are submodules Hz⊆Oz⊆GH_z\subseteq O_z\subseteq GHz​⊆Oz​⊆G, with ∣Hz∣=L|H_z|=L∣Hz​∣=L and ∣Oz∣=ML|O_z|=ML∣Oz​∣=ML, and representatives rz,m∈Ozr_{z,m}\in O_zrz,m​∈Oz​, indexed by 0≤m<M0\le m<M0≤m<M, such that every x∈Ozx\in O_zx∈Oz​ belongs to exactly one coset rz,m+Hzr_{z,m}+H_zrz,m​+Hz​. Suppose PZ(z)≥0P_Z(z)\ge0PZ​(z)≥0, ∑zPZ(z)=1\sum_zP_Z(z)=1∑z​PZ​(z)=1, and, for every nonzero x∈Gx\in Gx∈G,

∑z: x∈OzPZ(z)≤ML∣G∣.\sum_{z:\,x\in O_z}P_Z(z)\le \frac{ML}{|G|}.z:x∈Oz​∑​PZ​(z)≤∣G∣ML​.

Then there exists, simultaneously for every z∈Zz\in Zz∈Z and y∈Gy\in Gy∈G, a code with MMM messages, encoder

pz,y,m(x)={L−1,x−rz,m−y∈Hz,0,otherwise,p_{z,y,m}(x)= \begin{cases} L^{-1},&x-r_{z,m}-y\in H_z,\\ 0,&\text{otherwise}, \end{cases}pz,y,m​(x)={L−1,0,​x−rz,m​−y∈Hz​,otherwise,​

and a positive operator valued measurement (Dz,y,m)m<M(D_{z,y,m})_{m<M}(Dz,y,m​)m<M​, meaning Dz,y,m⪰0D_{z,y,m}\succeq0Dz,y,m​⪰0 and ∑mDz,y,m=IB\sum_mD_{z,y,m}=I_B∑m​Dz,y,m​=IB​. Moreover, for each z,yz,yz,y there is a positive operator valued measurement (Fz,y,x)x∈Oz(F_{z,y,x})_{x\in O_z}(Fz,y,x​)x∈Oz​​ such that Dz,y,m=∑x∈Oz: x−rz,m∈HzFz,y,xD_{z,y,m}=\sum_{x\in O_z:\,x-r_{z,m}\in H_z}F_{z,y,x}Dz,y,m​=∑x∈Oz​:x−rz,m​∈Hz​​Fz,y,x​. Define the average decoding error by

ez,y=1−1M∑m<MRe⁡tr⁡(Dz,y,m∑xpz,y,m(x)WB(x)).e_{z,y}=1-\frac1M\sum_{m<M}\operatorname{Re}\operatorname{tr} \left(D_{z,y,m}\sum_xp_{z,y,m}(x)W_B(x)\right).ez,y​=1−M1​m<M∑​Retr(Dz,y,m​x∑​pz,y,m​(x)WB​(x)).

Writing W‾B=∣G∣−1∑gWB(g)\overline W_B=|G|^{-1}\sum_gW_B(g)WB​=∣G∣−1∑g​WB​(g), and

J−s=−1slog⁡Re⁡tr⁡(1∣G∣∑gWB(g)[1−s]W‾B[s]),J_{-s}=-\frac1s\log\operatorname{Re}\operatorname{tr} \left(\frac1{|G|}\sum_g W_B(g)^{[1-s]}\overline W_B^{[s]}\right),J−s​=−s1​logRetr(∣G∣1​g∑​WB​(g)[1−s]WB[s]​),

the same family of codes satisfies, for every 0<s≤10<s\le10<s≤1,

∑zPZ(z)1∣G∣∑yez,y≤4(ML)se−sJ−s.\sum_zP_Z(z)\frac1{|G|}\sum_y e_{z,y} \le4(ML)^s e^{-sJ_{-s}}.z∑​PZ​(z)∣G∣1​y∑​ez,y​≤4(ML)se−sJ−s​.

Here A[t]A^{[t]}A[t] denotes spectral calculus sending a positive eigenvalue aaa to ata^tat and a zero eigenvalue to zero, including when t=0t=0t=0; logarithms are natural. Thus the endpoint s=1s=1s=1 uses support projections for the powers WB(g)[0]W_B(g)^{[0]}WB​(g)[0]. Zero seed probabilities are allowed, and the sampling condition has no nonzero elements to test when GGG is trivial.

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