Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

One-shot public and private cq capacity bounds

Open
QAlgorithms.Papers.Independent.Intakenext100.P30.capacities_cq

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

prove2quantum

Let ΘY\Theta_YΘY​ and ΘZ\Theta_ZΘZ​ be the receiver and eavesdropper cq marginals on a common classical input alphabet XXX. For ε>0\varepsilon>0ε>0, let CpubεC_{\rm pub}^{\varepsilon}Cpubε​ be the supremum of log⁡2∣M∣\log_2|M|log2​∣M∣ over codes whose decoding error is at most ε\varepsilonε for every message. Let CprvεC_{\rm prv}^{\varepsilon}Cprvε​ additionally require, for every message, half the trace norm distance of Eve's output to one fixed normalized reference to be at most ε\varepsilonε. Then

Cpubε(Θ)≥sup⁡PX[Hmin⁡ε/8(X)−Hmax⁡ε/8(X∣Y)]−4log⁡2(1/ε)−16,Cpubε(Θ)≤sup⁡PX[Hmin⁡(X)−Hmax⁡2ε(X∣Y)],Cprv8ε(Θ)≥sup⁡PT,T→X[Hmin⁡ε/8(T∣Z)−Hmax⁡ε/8(T∣Y)]−4log⁡2(1/ε)−16,Cprvε(Θ)≤sup⁡PT,T→X[Hmin⁡2ε(T∣Z)−Hmax⁡2ε(T∣Y)].\begin{aligned} C_{\rm pub}^{\varepsilon}(\Theta)&\ge\sup_{P_X}\bigl[H_{\min}^{\varepsilon/8}(X)-H_{\max}^{\varepsilon/8}(X|Y)\bigr]-4\log_2(1/\varepsilon)-16,\\ C_{\rm pub}^{\varepsilon}(\Theta)&\le\sup_{P_X}\bigl[H_{\min}(X)-H_{\max}^{\sqrt{2\varepsilon}}(X|Y)\bigr],\\ C_{\rm prv}^{8\varepsilon}(\Theta)&\ge\sup_{P_T,T\to X}\bigl[H_{\min}^{\varepsilon/8}(T|Z)-H_{\max}^{\varepsilon/8}(T|Y)\bigr]-4\log_2(1/\varepsilon)-16,\\ C_{\rm prv}^{\varepsilon}(\Theta)&\le\sup_{P_T,T\to X}\bigl[H_{\min}^{\sqrt{2\varepsilon}}(T|Z)-H_{\max}^{\sqrt{2\varepsilon}}(T|Y)\bigr]. \end{aligned}Cpubε​(Θ)Cpubε​(Θ)Cprv8ε​(Θ)Cprvε​(Θ)​≥PX​sup​[Hminε/8​(X)−Hmaxε/8​(X∣Y)]−4log2​(1/ε)−16,≤PX​sup​[Hmin​(X)−Hmax2ε​​(X∣Y)],≥PT​,T→Xsup​[Hminε/8​(T∣Z)−Hmaxε/8​(T∣Y)]−4log2​(1/ε)−16,≤PT​,T→Xsup​[Hmin2ε​​(T∣Z)−Hmax2ε​​(T∣Y)].​

The private optimizations range over every finite nonempty auxiliary alphabet TTT, every law PTP_TPT​, and every stochastic map T→XT\to XT→X, using the resulting Markov chain T→X→(Y,Z)T\to X\to(Y,Z)T→X→(Y,Z). Suprema are extended-real, without an assumption of attainment. These are the four finite-resource bounds used to characterize public and private transmission.

All alphabets are finite and nonempty, and output Hilbert spaces are finite dimensional and nonzero. A classical–quantum channel assigns a positive semidefinite, trace-one matrix to each input. Encoders may use private randomness; decoders are normalized POVMs. Codes are fixed independently of the message, with no supplied shared key or entanglement. Logarithms and entropies are in bits.

For a normalized cq state, smoothing ranges over positive subnormalized matrices at purified distance at most the indicated radius. Smooth min-entropy is an extended supremum and smooth max-entropy an extended infimum; at the zero operator their unsmoothed values are respectively +∞+\infty+∞ and −∞-\infty−∞.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P30
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix ComplexOrder

open Filter

namespace QAlgorithms.Papers.Independent.Intakenext100.P30

variable {X Y Z M U V A B C : Type*}

variable [Fintype X] [DecidableEq X] [Fintype Y] [DecidableEq Y]

variable [Fintype Z] [DecidableEq Z] [Fintype M] [DecidableEq M]

variable [Fintype U] [DecidableEq U] [Fintype V] [DecidableEq V]

variable [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]

variable [Fintype C] [DecidableEq C]

attribute [local instance] Classical.propDecidable

/-- Theorem 1, PDF p.2, (4)–(7). All epsilon > 0 are retained using extended
suprema. For radius >= 1, Hmin = +infinity and Hmax = -infinity; the differences
used here contain no infinity-minus-infinity. Capacity is +infinity for error >= 1.
The input alphabet and the two cq marginals are fixed. -/
theorem capacities_cq [Nonempty X] [Nonempty Y] [Nonempty Z]
    (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ)
    (hY : RRIsCq thetaY) (hZ : RRIsCq thetaZ) (epsilon : ℝ) (he : 0 < epsilon) :
    rrPublicDirectInfo thetaY (epsilon / 8) -
        ((4 * Real.logb 2 (1 / epsilon) + 16 : ℝ) : EReal) ≤ rrPublicCapacity thetaY epsilon ∧
    rrPublicCapacity thetaY epsilon ≤ rrPublicConverseInfo thetaY (Real.sqrt (2 * epsilon)) ∧
    rrPrivateInfo thetaY thetaZ (epsilon / 8) -
        ((4 * Real.logb 2 (1 / epsilon) + 16 : ℝ) : EReal) ≤
      rrPrivateCapacity thetaY thetaZ (8 * epsilon) ∧
    rrPrivateCapacity thetaY thetaZ epsilon ≤ rrPrivateInfo thetaY thetaZ (Real.sqrt (2 * epsilon)) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P30

end
Source
Noisy channel coding via privacy amplification and information reconciliation, arXiv:1012.4814v2, PDF p. 2, Theorem 1: Capacities of Classical-Quantum Channels (seed pinned to (4)–(7))
Read-back

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

For finite, nonempty index types X,Y,ZX,Y,ZX,Y,Z, with decidable equality for the indices where required, let θY:X→CY×Y\theta_Y:X\to\mathbb C^{Y\times Y}θY​:X→CY×Y and θZ:X→CZ×Z\theta_Z:X\to\mathbb C^{Z\times Z}θZ​:X→CZ×Z assign a positive semidefinite matrix of trace one to every xxx. For every real ϵ>0\epsilon>0ϵ>0, the following four inequalities hold in the extended reals:

DY(ϵ/8)−(4log⁡2(1/ϵ)+16)≤CY(ϵ),CY(ϵ)≤VY(2ϵ),JYZ(ϵ/8)−(4log⁡2(1/ϵ)+16)≤CYZ(8ϵ),CYZ(ϵ)≤JYZ(2ϵ).\begin{aligned} D_Y(\epsilon/8)-\bigl(4\log_2(1/\epsilon)+16\bigr)&\le C_Y(\epsilon),\\ C_Y(\epsilon)&\le V_Y(\sqrt{2\epsilon}),\\ J_{YZ}(\epsilon/8)-\bigl(4\log_2(1/\epsilon)+16\bigr)&\le C_{YZ}(8\epsilon),\\ C_{YZ}(\epsilon)&\le J_{YZ}(\sqrt{2\epsilon}). \end{aligned}DY​(ϵ/8)−(4log2​(1/ϵ)+16)CY​(ϵ)JYZ​(ϵ/8)−(4log2​(1/ϵ)+16)CYZ​(ϵ)​≤CY​(ϵ),≤VY​(2ϵ​),≤CYZ​(8ϵ),≤JYZ​(2ϵ​).​

All real terms in these inequalities are embedded into the extended reals. The quantities are defined as follows. A distribution ppp on a finite set has nonnegative real weights summing to one; write Ω(p,θ)(x,b),(x′,b′)=1x=x′pxθ(x)b,b′\Omega(p,\theta)_{(x,b),(x',b')}=\mathbf1_{x=x'}p_x\theta(x)_{b,b'}Ω(p,θ)(x,b),(x′,b′)​=1x=x′​px​θ(x)b,b′​, and write D(p)=diag⁡(p)D(p)=\operatorname{diag}(p)D(p)=diag(p), indexed equivalently by X×{∗}X\times\{\ast\}X×{∗}. Then

DY(r)=sup⁡p ⁣[Hmin⁡r(D(p))−Hmax⁡r(Ω(p,θY))],VY(r)=sup⁡p ⁣[Hmin⁡(D(p))−Hmax⁡r(Ω(p,θY))].D_Y(r)=\sup_p\!\left[H_{\min}^{r}(D(p))-H_{\max}^{r}(\Omega(p,\theta_Y))\right], \qquad V_Y(r)=\sup_p\!\left[H_{\min}(D(p))-H_{\max}^{r}(\Omega(p,\theta_Y))\right].DY​(r)=psup​[Hminr​(D(p))−Hmaxr​(Ω(p,θY​))],VY​(r)=psup​[Hmin​(D(p))−Hmaxr​(Ω(p,θY​))].

For a matrix RRR indexed by A×BA\times BA×B, these entropy symbols mean exactly

Hmin⁡(R)=sup⁡{a∈R:∃σ⪰0, tr⁡σ=1, 2−aIA⊗σ−R⪰0},H_{\min}(R)= \sup\left\{a\in\mathbb R: \exists \sigma\succeq0,\ \operatorname{tr}\sigma=1,\ 2^{-a}I_A\otimes\sigma-R\succeq0\right\},Hmin​(R)=sup{a∈R:∃σ⪰0, trσ=1, 2−aIA​⊗σ−R⪰0},

with the candidate real numbers embedded into the extended reals, and

Hmax⁡(R)={−∞,R=0,log⁡2sup⁡σ⪰0tr⁡σ=1F(R,IA⊗σ)2,R≠0,F(T,R)=Re⁡tr⁡T R T.H_{\max}(R)= \begin{cases} -\infty,&R=0,\\ \displaystyle\log_2\sup_{\substack{\sigma\succeq0\\\operatorname{tr}\sigma=1}} F(R,I_A\otimes\sigma)^2,&R\ne0, \end{cases} \quad F(T,R)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt T\,R\,\sqrt T}.Hmax​(R)=⎩⎨⎧​−∞,log2​σ⪰0trσ=1​sup​F(R,IA​⊗σ)2,​R=0,R=0,​F(T,R)=RetrT​RT​​.

The square roots here use continuous functional calculus. The smoothed minimum entropy is the supremum of Hmin⁡(T)H_{\min}(T)Hmin​(T), and the smoothed maximum entropy is the infimum of Hmax⁡(T)H_{\max}(T)Hmax​(T), over all T⪰0T\succeq0T⪰0 with Re⁡tr⁡T≤1\operatorname{Re}\operatorname{tr}T\le1RetrT≤1 and 1−F(T,R)2≤r\sqrt{1-F(T,R)^2}\le r1−F(T,R)2​≤r; real square roots and logarithms have their total-function meanings. Furthermore,

JYZ(r)=sup⁡k∈N, p a distribution on {0,…,k}eu a distribution on X[Hmin⁡r(Ω(p,θˉZ))−Hmax⁡r(Ω(p,θˉY))],θˉB(u)=∑xeu(x)θB(x).J_{YZ}(r)= \sup_{\substack{k\in\mathbb N,\ p\text{ a distribution on }\{0,\ldots,k\}\\ e_u\text{ a distribution on }X}} \left[ H_{\min}^{r}(\Omega(p,\bar\theta_Z)) -H_{\max}^{r}(\Omega(p,\bar\theta_Y)) \right], \qquad \bar\theta_B(u)=\sum_x e_u(x)\theta_B(x).JYZ​(r)=k∈N, p a distribution on {0,…,k}eu​ a distribution on X​sup​[Hminr​(Ω(p,θˉZ​))−Hmaxr​(Ω(p,θˉY​))],θˉB​(u)=x∑​eu​(x)θB​(x).

Finally, CY(η)C_Y(\eta)CY​(η) is the supremum of log⁡2(k+1)\log_2(k+1)log2​(k+1), for k∈Nk\in\mathbb Nk∈N, over encoders eme_mem​ that are distributions on XXX and decoding matrices Mm⪰0M_m\succeq0Mm​⪰0, m=0,…,km=0,\ldots,km=0,…,k, satisfying ∑mMm=IY\sum_mM_m=I_Y∑m​Mm​=IY​ and

1−Re⁡tr⁡ ⁣(Mm∑xem(x)θY(x))≤ηfor every m.1-\operatorname{Re}\operatorname{tr}\!\left(M_m\sum_xe_m(x)\theta_Y(x)\right)\le\eta \quad\text{for every }m.1−Retr(Mm​x∑​em​(x)θY​(x))≤ηfor every m.

The private quantity CYZ(η)C_{YZ}(\eta)CYZ​(η) takes the same supremum with the additional requirement that there exist a single density matrix RZR_ZRZ​ such that

12∥∑xem(x)θZ(x)−RZ∥1≤ηfor every m,∥A∥1=Re⁡tr⁡A†A.\frac12\left\|\sum_xe_m(x)\theta_Z(x)-R_Z\right\|_1\le\eta \quad\text{for every }m, \qquad \|A\|_1=\operatorname{Re}\operatorname{tr}\sqrt{A^\dagger A}.21​​x∑​em​(x)θZ​(x)−RZ​​1​≤ηfor every m,∥A∥1​=RetrA†A​.

The supremum defining each capacity includes the one-message case k=0k=0k=0. The only bound imposed on ϵ\epsilonϵ is strict positivity.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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