Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Direct Theorem 4: direct theorem 4

Open
QAlgorithms.Papers.Independent.Bridge50.P50.direct_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. There exist fixed C>0,N≥2C>0,N\ge2C>0,N≥2 such that

log⁡2M∗(Wn,ε)≥nχ(S)+nvε(S)Φ−1(ε)−Clog⁡2n(n≥N).\log_2 M^*(W^n,\varepsilon)\ge n\chi(S)+\sqrt{n v_\varepsilon(S)}\Phi^{-1}(\varepsilon)-C\log_2 n\qquad(n\ge N).log2​M∗(Wn,ε)≥nχ(S)+nvε​(S)​Φ−1(ε)−Clog2​n(n≥N).

This is the stronger direct bound, valid even when vε(S)=0v_\varepsilon(S)=0vε​(S)=0 and without finite input alphabet assumptions.

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

/-- Direct Part of Theorem 4, PDF pp.15–16, (55): eventual logarithmic lower remainder
for every channel, including zero dispersion. -/
theorem direct_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) :
    ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, 2 ≤ N ∧ ∀ n : ℕ, N ≤ n →
      secondOrder (closure (Set.range W)) e n - C * logTwo n ≤ blockLog W e 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. 15, Direct 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→Mat⁡I(C)W:X\to\operatorname{Mat}_I(\mathbb C)W:X→MatI​(C) assign a density matrix to every xxx, meaning W(x)≥0W(x)\ge0W(x)≥0 and tr⁡W(x)=1\operatorname{tr}W(x)=1trW(x)=1. Put S={W(x):x∈X}‾S=\overline{\{W(x):x\in X\}}S={W(x):x∈X}​. For density matrices R,QR,QR,Q, define D(R∥Q)=+∞D(R\|Q)=+\inftyD(R∥Q)=+∞ when ker⁡Q⊈ker⁡R\ker Q\nsubseteq\ker RkerQ⊈kerR, and otherwise define it as [Re⁡tr⁡(f(R)−Rlog⁡Q)]+/ln⁡2[\operatorname{Re}\operatorname{tr}(f(R)-R\log Q)]_+/\ln2[Retr(f(R)−RlogQ)]+​/ln2, where f(x)=xln⁡xf(x)=x\ln xf(x)=xlnx and matrix functions use continuous functional calculus; for any non-density argument its value is also +∞+\infty+∞. Set rS(Q)=sup⁡R∈SD(R∥Q)r_S(Q)=\sup_{R\in S}D(R\|Q)rS​(Q)=supR∈S​D(R∥Q), rS∗=inf⁡Q densityrS(Q)r_S^*=\inf_{Q\text{ density}}r_S(Q)rS∗​=infQ density​rS​(Q), and CS=(rS∗)RC_S=(r_S^*)_{\mathbb R}CS​=(rS∗​)R​, converting +∞+\infty+∞ to 000. Let cSc_ScS​ be the selected density matrix attaining this infimum, or 000 if none exists, and let PS={R∈S:D(R∥cS)=rS(cS)}P_S=\{R\in S:D(R\|c_S)=r_S(c_S)\}PS​={R∈S:D(R∥cS​)=rS​(cS​)}. Define

V(R,Q)=Re⁡tr⁡ ⁣(R(log⁡2R−log⁡2Q)2)−(Re⁡tr⁡(f(R)−Rlog⁡Q)ln⁡2)2.V(R,Q)=\operatorname{Re}\operatorname{tr}\!\left(R(\log_2R-\log_2Q)^2\right) -\left(\frac{\operatorname{Re}\operatorname{tr}(f(R)-R\log Q)}{\ln2}\right)^2.V(R,Q)=Retr(R(log2​R−log2​Q)2)−(ln2Retr(f(R)−RlogQ)​)2.

Over Borel probability measures giving PSP_SPS​ measure 111 and having matrix integral cSc_ScS​, take the real infimum v−(S)v_-(S)v−​(S) and supremum v+(S)v_+(S)v+​(S) of ∫V(R,cS) dP(R)\int V(R,c_S)\,dP(R)∫V(R,cS​)dP(R), and set ve(S)=v−(S)v_e(S)=v_-(S)ve​(S)=v−​(S) for e≤12e\le\frac12e≤21​, and ve(S)=v+(S)v_e(S)=v_+(S)ve​(S)=v+​(S) otherwise. Write Φ−1(e)=inf⁡{z:e≤∫−∞ze−t2/2/2π dt}\Phi^{-1}(e)=\inf\{z:e\le\int_{-\infty}^z e^{-t^2/2}/\sqrt{2\pi}\,dt\}Φ−1(e)=inf{z:e≤∫−∞z​e−t2/2/2π​dt}. For a block length nnn, a code with M>0M>0M>0 messages consists of an encoding x:{0,…,M−1}→Xnx:\{0,\ldots,M-1\}\to X^nx:{0,…,M−1}→Xn and matrices Dm≥0D_m\ge0Dm​≥0 on CIn\mathbb C^{I^n}CIn with ∑mDm=1\sum_mD_m=1∑m​Dm​=1; repeated codewords are permitted. Its average error is

1−1M∑m=0M−1Re⁡tr⁡ ⁣(Dm⨂i=0n−1W(xm(i))).1-\frac1M\sum_{m=0}^{M-1} \operatorname{Re}\operatorname{tr}\!\left(D_m\bigotimes_{i=0}^{n-1}W(x_m(i))\right).1−M1​m=0∑M−1​Retr(Dm​i=0⨂n−1​W(xm​(i))).

Let MW∗(n,e)M_W^*(n,e)MW∗​(n,e) be the supremum, taken in N\mathbb NN, of message counts for which such a code has average error at most eee, and let BW(n,e)=log⁡2MW∗(n,e)B_W(n,e)=\log_2 M_W^*(n,e)BW​(n,e)=log2​MW∗​(n,e), using log⁡2t=ln⁡t/ln⁡2\log_2t=\ln t/\ln2log2​t=lnt/ln2 and log⁡20=0\log_2 0=0log2​0=0. For every real 0<e<10<e<10<e<1, there exist a real C>0C>0C>0 and a natural N≥2N\ge2N≥2 such that, for every n≥Nn\ge Nn≥N,

nCS+nve(S) Φ−1(e)−Clog⁡2n≤BW(n,e).nC_S+\sqrt{nv_e(S)}\,\Phi^{-1}(e)-C\log_2n \le B_W(n,e).nCS​+nve​(S)​Φ−1(e)−Clog2​n≤BW​(n,e).

The center and all infima and suprema here use the stated total definitions; in particular, a real infimum or supremum of an empty set is 000.

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