Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Classical wiretap capacity single-letterization

Open
QAlgorithms.Papers.Independent.Advance50.P23.classical_private_capacity

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

prove2quantum

For normalized finite cq output families that each commute pairwise, there is a finite stochastic auxiliary encoder AAA attaining the maximum private information v(A)=I(V;B)−I(V;E)v(A)=I(V;B)-I(V;E)v(A)=I(V;B)−I(V;E). Every such encoder FFF satisfies v(F)≤v(A)v(F)\le v(A)v(F)≤v(A); the operational private capacity equals v(A)v(A)v(A), and Bn/n=v(A)B_n/n=v(A)Bn​/n=v(A) for every positive block length. Separate simultaneous diagonalization identifies these families with classical channels.

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.14: classical single-letter capacity, attributed to Csiszar and Korner [2].
Separate commuting output families are classical channels in fixed diagonalizing bases. -/
theorem classical_private_capacity [Nonempty X] [Nonempty B] [Nonempty E]
    (WB : X → Matrix B B ℂ) (WE : X → Matrix E E ℂ)
    (hB : hayashiIsCQ WB) (hE : hayashiIsCQ WE)
    (hcB : ∀ x y, WB x * WB y = WB y * WB x)
    (hcE : ∀ x y, WE x * WE y = WE y * WE x) :
    ∃ C : QAlgorithms.Papers.Independent.Information100.P56.Encoder X,
      wiretapCapacity WB WE =
        (QAlgorithms.Papers.Independent.Information100.P56.encoderValue WB WE C : EReal) ∧
      (∀ F : QAlgorithms.Papers.Independent.Information100.P56.Encoder X,
        QAlgorithms.Papers.Independent.Information100.P56.encoderValue WB WE F ≤
          QAlgorithms.Papers.Independent.Information100.P56.encoderValue WB WE C) ∧
      ∀ n : ℕ, 0 < n →
        QAlgorithms.Papers.Independent.Information100.P56.blockPrivate n WB WE / n =
          QAlgorithms.Papers.Independent.Information100.P56.encoderValue WB WE C := 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. 14, Unnumbered p.14: classical single-letter wiretap capacity
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, and let WB(x)W_B(x)WB​(x) and WE(x)W_E(x)WE​(x) be positive semidefinite matrices of trace 111 for every xxx. Suppose WB(x)WB(y)=WB(y)WB(x)W_B(x)W_B(y)=W_B(y)W_B(x)WB​(x)WB​(y)=WB​(y)WB​(x) and WE(x)WE(y)=WE(y)WE(x)W_E(x)W_E(y)=W_E(y)W_E(x)WE​(x)WE​(y)=WE​(y)WE​(x) for all inputs x,yx,yx,y. Write χ(p,W)=H(∑xpxWx)−∑xpxH(Wx)\chi(p,W)=H(\sum_xp_xW_x)-\sum_xp_xH(W_x)χ(p,W)=H(∑x​px​Wx​)−∑x​px​H(Wx​), where H(A)=−Re⁡tr⁡[cfc⁡(x↦xlog⁡x)(A)]H(A)=-\operatorname{Re}\operatorname{tr}[\operatorname{cfc}(x\mapsto x\log x)(A)]H(A)=−Retr[cfc(x↦xlogx)(A)] uses natural logarithms. An encoder consists of a positive finite label count mmm, a probability law ppp on those labels, and a probability law qvq_vqv​ on XXX for every label; define its value by

V(p,q)=χ ⁣(p,v↦∑xqv(x)WB(x))−χ ⁣(p,v↦∑xqv(x)WE(x)).V(p,q)= \chi\!\left(p,v\mapsto\sum_xq_v(x)W_B(x)\right) -\chi\!\left(p,v\mapsto\sum_xq_v(x)W_E(x)\right).V(p,q)=χ(p,v↦x∑​qv​(x)WB​(x))−χ(p,v↦x∑​qv​(x)WE​(x)).

There exists such an encoder CCC whose value equals the extended-real capacity defined below, with the real value embedded into the extended reals, and every encoder FFF satisfies V(F)≤V(C)V(F)\le V(C)V(F)≤V(C). Moreover, for every positive integer nnn, the supremum of the same expression for the product families WB,n(x)jk=∏i<nWB(xi)jikiW_{B,n}(x)_{jk}=\prod_{i<n}W_B(x_i)_{j_i k_i}WB,n​(x)jk​=∏i<n​WB​(xi​)ji​ki​​ and WE,nW_{E,n}WE,n​, allowing arbitrary positive finite label counts and conditional laws on XnX^nXn, divided by nnn, equals V(C)V(C)V(C). The capacity is the extended-real supremum of real R≥0R\ge0R≥0 for which there are codes at every natural length nnn, with positive message count mnm_nmn​, probability laws on XnX^nXn for the messages, and positive semidefinite decoder matrices Dn,vD_{n,v}Dn,v​ summing to 111, such that log⁡mn/n→R\log m_n/n\to Rlogmn​/n→R, the average error 1−mn−1∑vRe⁡tr⁡(Dn,vρB,n,v)→01-m_n^{-1}\sum_v\operatorname{Re}\operatorname{tr}(D_{n,v}\rho_{B,n,v})\to01−mn−1​∑v​Retr(Dn,v​ρB,n,v​)→0, and χ(umn,v↦ρE,n,v)→0\chi(u_{m_n},v\mapsto\rho_{E,n,v})\to0χ(umn​​,v↦ρE,n,v​)→0; each ρB,n,v\rho_{B,n,v}ρB,n,v​ or ρE,n,v\rho_{E,n,v}ρE,n,v​ is the product-family average under the corresponding message input law. The block equality is asserted only for n>0n>0n>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