Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4: Second-order c-q coding asymptotics

Open
QAlgorithms.Papers.Independent.Bridge50.P50.theorem_4

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

prove2quantum

Let S\mathcal SS be the density operators on a nonzero, finite-dimensional complex Hilbert space of dimension ddd. Logarithms are in bits, DDD is support-aware Umegaki relative entropy, and VVV is relative entropy variance in bits squared. Let W:X→SW:X\to\mathcal SW:X→S be a channel from an arbitrary nonempty set, with no countability or topology assumption on XXX, and fix 0<ε<10<\varepsilon<10<ε<1. Let M∗(Wn,ε)M^*(W^n,\varepsilon)M∗(Wn,ε) optimize finite nonempty uniform-message codes with average decoding error at most ε\varepsilonε and an arbitrary collective POVM. Put S=im⁡W‾S=\overline{\operatorname{im}W}S=imW, vε(S)=vmin⁡(S)v_\varepsilon(S)=v_{\min}(S)vε​(S)=vmin​(S) for ε≤1/2\varepsilon\le1/2ε≤1/2 and vmax⁡(S)v_{\max}(S)vmax​(S) otherwise, and let Φ−1\Phi^{-1}Φ−1 be the standard normal quantile. The operational classical capacity equals C(W)=χ(S)C(W)=\chi(S)C(W)=χ(S). With the actual difference KnK_nKn​ as remainder,

log⁡2M∗(Wn,ε)=nχ(S)+nvε(S) Φ−1(ε)+Kn,Knn⟶0.\log_2 M^*(W^n,\varepsilon)=n\chi(S)+\sqrt{n v_\varepsilon(S)}\,\Phi^{-1}(\varepsilon)+K_n,\qquad \frac{K_n}{\sqrt n}\longrightarrow0.log2​M∗(Wn,ε)=nχ(S)+nvε​(S)​Φ−1(ε)+Kn​,n​Kn​​⟶0.

If SSS is finite and vε(S)>0v_\varepsilon(S)>0vε​(S)>0, there exist fixed C>0C>0C>0 and N≥2N\ge2N≥2 such that ∣Kn∣≤Clog⁡2n|K_n|\le C\log_2 n∣Kn​∣≤Clog2​n for every n≥Nn\ge Nn≥N.

This is the complete second-order formula, including the stronger finite-image remainder.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P50
Formal statement
noncomputable section

open scoped Topology BigOperators ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator

open MeasureTheory Filter Set

namespace QAlgorithms.Papers.Independent.Bridge50.P50

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted primitives; these names do not create local declarations.

open QAlgorithms.Papers.Independent.Information100.P63 (Mat logTwo testingBeta normalCDF normalQuantile)

open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble ensembleAverage)

open QAlgorithms.Papers.Independent.Information100.P69 (entropy)

open QAlgorithms.Papers.Independent.Dependency50.P35 (Dominates)

open QAlgorithms.Papers.Independent.Dependency50.P36 (pairInformationVariance)

open QAlgorithms (vnEntropy traceDistance minEigenvalue)

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelSpace

/-- Theorem 4, PDF p.8, (24)–(25): arbitrary nonempty input alphabet, closure of the
image, sqrt(n V), the minimum branch at 1/2, and both remainder regimes. -/
theorem theorem_4 {X I : Type*} [Nonempty X] [Fintype I] [DecidableEq I] [Nonempty I]
    (W : X → Mat I) (hW : ∀ x, QAlgorithms.IsDensityMatrix (W x))
    (e : ℝ) (he : 0 < e ∧ e < 1) :
    cqOperationalCapacity W = capacityBits (closure (Set.range W)) ∧
    (∀ n : ℕ, 1 ≤ n → blockLog W e n =
      secondOrder (closure (Set.range W)) e n + cqRemainder W e n) ∧
    Tendsto (fun n : ℕ => cqRemainder W e n / Real.sqrt n) atTop (𝓝 0) ∧
    ((closure (Set.range W)).Finite → 0 < vEpsilon (closure (Set.range W)) e →
      ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, 2 ≤ N ∧ ∀ n : ℕ, N ≤ n →
        |cqRemainder W e n| ≤ C * logTwo n) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P50

end
Source
Second-Order Asymptotics for the Classical Capacity of Image-Additive Quantum Channels, arXiv:1308.6503v3, PDF p. 8, Theorem 4
Read-back

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

Let XXX be any nonempty type, let III be a finite nonempty type with decidable equality, and let W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I assign a positive semidefinite matrix of trace 111 to every xxx. Fix 0<e<10<e<10<e<1, and put S={W(x):x∈X}‾S=\overline{\{W(x):x\in X\}}S={W(x):x∈X}​. For matrices define D(ρ,σ)=+∞D(\rho,\sigma)=+\inftyD(ρ,σ)=+∞ unless both are positive semidefinite of trace 111 and ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ; otherwise define it as max⁡{0,Re⁡tr⁡(f(ρ)−ρln⁡σ)}/ln⁡2\max\{0,\operatorname{Re}\operatorname{tr}(f(\rho)-\rho\ln\sigma)\}/\ln2max{0,Retr(f(ρ)−ρlnσ)}/ln2, where f(x)=xln⁡xf(x)=x\ln xf(x)=xlnx and matrix functions use continuous functional calculus with ln⁡0=0\ln0=0ln0=0. Set rS(σ)=sup⁡ρ∈SD(ρ,σ)r_S(\sigma)=\sup_{\rho\in S}D(\rho,\sigma)rS​(σ)=supρ∈S​D(ρ,σ), RS=inf⁡σ densityrS(σ)R_S=\inf_{\sigma\text{ density}}r_S(\sigma)RS​=infσ density​rS​(σ), and C(S)=RSrealC(S)=R_S^{\mathrm{real}}C(S)=RSreal​, where +∞+\infty+∞ converts to real 000. Choose cSc_ScS​ among density matrices satisfying rS(cS)=RSr_S(c_S)=R_SrS​(cS​)=RS​ if any exist, and otherwise set cS=0c_S=0cS​=0; put PS={ρ∈S:D(ρ,cS)=rS(cS)}P_S=\{\rho\in S:D(\rho,c_S)=r_S(c_S)\}PS​={ρ∈S:D(ρ,cS​)=rS​(cS​)}. For Borel probability measures PPP with P(PS)=1P(P_S)=1P(PS​)=1 and ∫ρ dP=cS\int\rho\,dP=c_S∫ρdP=cS​, consider the real integrals ∫V(ρ,cS) dP\int V(\rho,c_S)\,dP∫V(ρ,cS​)dP, where

V(ρ,σ)=Re⁡tr⁡(ρ(log⁡2ρ−log⁡2σ)2)−[Re⁡tr⁡(f(ρ)−ρln⁡σ)ln⁡2]2.V(\rho,\sigma)= \operatorname{Re}\operatorname{tr}\bigl(\rho(\log_2\rho-\log_2\sigma)^2\bigr) -\left[\frac{\operatorname{Re}\operatorname{tr}(f(\rho)-\rho\ln\sigma)}{\ln2}\right]^2.V(ρ,σ)=Retr(ρ(log2​ρ−log2​σ)2)−[ln2Retr(f(ρ)−ρlnσ)​]2.

Let vmin⁡(S)v_{\min}(S)vmin​(S) and vmax⁡(S)v_{\max}(S)vmax​(S) be the real infimum and supremum of these integrals, and set ve(S)=vmin⁡(S)v_e(S)=v_{\min}(S)ve​(S)=vmin​(S) when e≤12e\le\tfrac12e≤21​, and ve(S)=vmax⁡(S)v_e(S)=v_{\max}(S)ve​(S)=vmax​(S) otherwise. For n∈Nn\in\mathbb Nn∈N, the block output on x=(x0,…,xn−1)x=(x_0,\ldots,x_{n-1})x=(x0​,…,xn−1​) is the matrix with entries ∏i<nW(xi)aibi\prod_{i<n}W(x_i)_{a_i b_i}∏i<n​W(xi​)ai​bi​​. A code with M>0M>0M>0 messages chooses one such input for each message and positive semidefinite decoding matrices FmF_mFm​ summing to the identity; its average error is 1−M−1∑mRe⁡tr⁡(FmW(n)(xm))1-M^{-1}\sum_m\operatorname{Re}\operatorname{tr}(F_mW^{(n)}(x_m))1−M−1∑m​Retr(Fm​W(n)(xm​)). Let M∗(n,ε)M^*(n,\varepsilon)M∗(n,ε) be the supremum in N\mathbb NN of message counts having a code of average error at most ε\varepsilonε, and write B(n,ε)=log⁡2M∗(n,ε)B(n,\varepsilon)=\log_2M^*(n,\varepsilon)B(n,ε)=log2​M∗(n,ε). Define

Cop(W)=lim inf⁡ε→0+lim inf⁡n→∞B(n,ε)n,qe=inf⁡{z:e≤∫−∞zexp⁡(−x2/2)2π dx},C_{\mathrm{op}}(W)= \liminf_{\varepsilon\to0^+}\liminf_{n\to\infty}\frac{B(n,\varepsilon)}n, \quad q_e=\inf\left\{z:e\le\int_{-\infty}^{z}\frac{\exp(-x^2/2)}{\sqrt{2\pi}}\,dx\right\},Cop​(W)=ε→0+liminf​n→∞liminf​nB(n,ε)​,qe​=inf{z:e≤∫−∞z​2π​exp(−x2/2)​dx}, A(n,e)=nC(S)+n ve(S) qe,R(n,e)=B(n,e)−A(n,e).A(n,e)=nC(S)+\sqrt{n\,v_e(S)}\,q_e, \qquad R(n,e)=B(n,e)-A(n,e).A(n,e)=nC(S)+nve​(S)​qe​,R(n,e)=B(n,e)−A(n,e).

Then Cop(W)=C(S)C_{\mathrm{op}}(W)=C(S)Cop​(W)=C(S), every n≥1n\ge1n≥1 satisfies B(n,e)=A(n,e)+R(n,e)B(n,e)=A(n,e)+R(n,e)B(n,e)=A(n,e)+R(n,e), and R(n,e)/n→0R(n,e)/\sqrt n\to0R(n,e)/n​→0 as n→∞n\to\inftyn→∞. If SSS is finite and ve(S)>0v_e(S)>0ve​(S)>0, there additionally exist C>0C>0C>0 and N≥2N\ge2N≥2 such that ∣R(n,e)∣≤Clog⁡2n|R(n,e)|\le C\log_2 n∣R(n,e)∣≤Clog2​n for every n≥Nn\ge Nn≥N. No finiteness, topology, or measurability assumption is imposed on XXX. The definitions include n=0n=0n=0, with empty tensor products equal to 111, real division by zero equal to 000, and log⁡20=0\log_2 0=0log2​0=0; a supremum of natural numbers is 000 for an empty or unbounded set.

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