Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 9: uniform continuity bounds for energy-constrained classical and quantum capacities

Open
QAlgorithms.Papers.Independent.Bridge50.P23.capacities_uniformContinuity

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

prove2quantum

All systems are nonzero separable complex Hilbert spaces. States are positive trace-class operators of trace one. Trace norms have no factor one half, except where displayed. A grounded Hamiltonian is a densely defined nonnegative self-adjoint operator with infimum energy zero and dense finite-energy form domain; continuous spectrum is allowed. The energy-constrained diamond norm constrains only the input marginal, with unrestricted reference and measurement. Let N1,N2:A→B\mathcal N_1,\mathcal N_2:A\to BN1​,N2​:A→B be CPTP channels, and let the grounded Hamiltonians HA,HBH_A,H_BHA​,HB​ satisfy Tr⁡e−βH<∞\operatorname{Tr}e^{-\beta H}<\inftyTre−βH<∞ for every β>0\beta>0β>0. Fix common constants α,E0≥0\alpha,E_0\ge0α,E0​≥0 such that Tr⁡Ni(ρ)HB≤αTr⁡ρHA+E0\operatorname{Tr}\mathcal N_i(\rho)H_B\le\alpha\operatorname{Tr}\rho H_A+E_0TrNi​(ρ)HB​≤αTrρHA​+E0​ for every finite-energy input state and i=1,2i=1,2i=1,2. For E>0E>0E>0 and 0≤ε<10\le\varepsilon<10≤ε<1, assume 12∥N1−N2∥⋄E≤ε\tfrac12\|\mathcal N_1-\mathcal N_2\|_{\diamond E}\le\varepsilon21​∥N1​−N2​∥⋄E​≤ε. Write FB(L)=S(γB(L))F_B(L)=S(\gamma_B(L))FB​(L)=S(γB​(L)) for the maximal von Neumann entropy, in nats, at energy at most LLL, and g(x)=(1+x)log⁡(1+x)−xlog⁡xg(x)=(1+x)\log(1+x)-x\log xg(x)=(1+x)log(1+x)−xlogx. For 0<ε<10<\varepsilon<10<ε<1, put δ=ε\delta=\sqrt{\varepsilon}δ=ε​, E~=αE+E0\widetilde E=\alpha E+E_0E=αE+E0​, and

MB(E~,ε)=56δFB(4E~/δ)+6g(4δ).M_B(\widetilde E,\varepsilon)=56\delta F_B(4\widetilde E/\delta)+6g(4\delta).MB​(E,ε)=56δFB​(4E/δ)+6g(4δ).

At ε=0\varepsilon=0ε=0 use its continuous extension, MB=0M_B=0MB​=0. Let C(N,E)=sup⁡n≥1n−1χ(N⊗n,nE)C(\mathcal N,E)=\sup_{n\ge1}n^{-1}\chi(\mathcal N^{\otimes n},nE)C(N,E)=supn≥1​n−1χ(N⊗n,nE) and Q(N,E)=sup⁡n≥1n−1Q(1)(N⊗n,nE)Q(\mathcal N,E)=\sup_{n\ge1}n^{-1}Q^{(1)}(\mathcal N^{\otimes n},nE)Q(N,E)=supn≥1​n−1Q(1)(N⊗n,nE) be the energy-constrained classical and quantum capacities in nats. Then

∣C(N1,E)−C(N2,E)∣≤MB(E~,ε),∣Q(N1,E)−Q(N2,E)∣≤MB(E~,ε).|C(\mathcal N_1,E)-C(\mathcal N_2,E)|\le M_B(\widetilde E,\varepsilon),\qquad |Q(\mathcal N_1,E)-Q(\mathcal N_2,E)|\le M_B(\widetilde E,\varepsilon).∣C(N1​,E)−C(N2​,E)∣≤MB​(E,ε),∣Q(N1​,E)−Q(N2​,E)∣≤MB​(E,ε).

The common energy constants precede the budget and error, and the bound applies to both capacities. It gives uniform continuity under a mean input-energy constraint.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P23
Formal statement
noncomputable section

open Filter

open scoped ENNReal NNReal BigOperators Topology

namespace QAlgorithms.Papers.Independent.Bridge50.P23

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Dependency50.P33
  (State PureState IsTraceClass traceSize tensorApply rankOne productCoeff)

open QAlgorithms.Papers.Independent.Frontier18.P01
  (Channel traceSecond traceFirst homogeneousEntropy generalizedRelativeEntropy
   channelTensorAction finiteInputCoherentInfo)

open QAlgorithms.Papers.Independent.Frontier18.P08 (IsQuantumOperation)

open QAlgorithms.Papers.Independent.Claimed50.P13
  (PositiveObservable closedFormExpectation GibbsCondition TensorBlockIndex blockAction blockEnergy)

open QAlgorithms.Papers.Independent.Claimed50.P18 (finiteFirstConditionalEntropy)

open QAlgorithms.Papers.Independent.Claimed50.P39 (g)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Theorem 9, PDF p.12, with capacity regularizations on p.11: BOTH
classical and quantum bounds, in nats, with constants 56 and 6. Common affine
constants precede budget and error; Gibbs is required on both systems. Printed
quotients at zero error use the explicit continuous zero branch: zero ECD distance
at positive budget identifies the channels and gives zero capacity difference. -/
theorem capacities_uniformContinuity {I J : Type} [Countable I] [Nonempty I]
    [Countable J] [Nonempty J] (H : PositiveObservable I) (G : PositiveObservable J)
    (hH : Grounded H) (hG : Grounded G) (hgibbsH : GibbsCondition H) (hgibbsG : GibbsCondition G)
    (N M : Channel I J) (alpha offset : ℝ) (ha : 0 ≤ alpha) (ho : 0 ≤ offset)
    (hN : AffineEnergyLimited H G alpha offset N.val) (hM : AffineEnergyLimited H G alpha offset M.val) :
    ∀ E eps : ℝ, 0 < E → 0 ≤ eps → eps < 1 →
    energyMagnitude H E (fun X => N.val X - M.val X) ≤ ENNReal.ofReal (2 * eps) →
    |(energyConstrainedClassicalCapacity N.val H E).toReal - (energyConstrainedClassicalCapacity M.val H E).toReal| ≤
      capacityBound G (alpha * E + offset) eps ∧
    |(energyConstrainedQuantumCapacity N.val H E).toReal - (energyConstrainedQuantumCapacity M.val H E).toReal| ≤
      capacityBound G (alpha * E + offset) eps := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P23

end
Source
Energy-constrained diamond norm with applications to the uniform continuity of continuous variable channel capacities, arXiv:1712.10267v1, PDF p. 12, Theorem 9: uniform continuity bounds for energy-constrained classical and quantum capacities
Read-back

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

Let I,JI,JI,J be countable, nonempty types, and write HL=ℓ2(L;C)\mathcal H_L=\ell^2(L;\mathbb C)HL​=ℓ2(L;C). A matrix XXX is positive if all finite quadratic forms ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​, for finite s⊆Ls\subseteq Ls⊆L and arbitrary complex functions zzz, are real and nonnegative. A trace-class matrix is one admitting sequences ur,vr∈HLu_r,v_r\in\mathcal H_Lur​,vr​∈HL​ such that ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞ and Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​. Let τ(X)\tau(X)τ(X) be the infimum of these expansion costs in [0,∞][0,\infty][0,∞], with value ∞\infty∞ if no expansion exists. A state is a positive trace-class matrix with summable real diagonal of sum 111; a pure state is a state of the form uu∗uu^*uu∗ for a unit vector uuu, where (uu∗)ij=uiuj‾(uu^*)_{ij}=u_i\overline{u_j}(uu∗)ij​=ui​uj​​. State spaces have the topology generated by {y:τ(y−x)<[e]+}\{y:\tau(y-x)<[e]_+\}{y:τ(y−x)<[e]+​}, for states xxx and real e>0e>0e>0, and the corresponding Borel measurable structures; here [a]+=max⁡(a,0)∈[0,∞][a]_+=\max(a,0)\in[0,\infty][a]+​=max(a,0)∈[0,∞]. Let H:HI→[0,∞]H:\mathcal H_I\to[0,\infty]H:HI​→[0,∞] and G:HJ→[0,∞]G:\mathcal H_J\to[0,\infty]G:HJ​→[0,∞] vanish at zero, be homogeneous by F(cu)=∣c∣2F(u)F(cu)=|c|^2F(u)F(cu)=∣c∣2F(u), satisfy the parallelogram identity, be lower semicontinuous, and have dense finite-valued domains. Define

EF(X)=sup⁡r∈N, u1,…,urX−∑a=1ruaua∗ positive∑a=1rF(ua),\mathcal E_F(X)= \sup_{\substack{r\in\mathbb N,\ u_1,\ldots,u_r\\ X-\sum_{a=1}^{r}u_au_a^*\ \text{positive}}}\sum_{a=1}^{r}F(u_a),EF​(X)=r∈N, u1​,…,ur​X−∑a=1r​ua​ua∗​ positive​sup​a=1∑r​F(ua​),

including r=0r=0r=0. Assume both forms are grounded, so that each has a unit vector of form value at most [e]+[e]_+[e]+​ for every e>0e>0e>0. Assume also that, for each form FFF on its respective HL\mathcal H_LHL​, there are a Hilbert basis (bl)l∈L(b_l)_{l\in L}(bl​)l∈L​ and real energies γl≥0\gamma_l\ge0γl​≥0 such that

F(u)=∑l[γl∣⟨bl,u⟩∣2]+,∑l[e−βγl]+<∞(β>0).F(u)=\sum_l[\gamma_l|\langle b_l,u\rangle|^2]_+, \qquad \sum_l[e^{-\beta\gamma_l}]_+<\infty\quad(\beta>0).F(u)=l∑​[γl​∣⟨bl​,u⟩∣2]+​,l∑​[e−βγl​]+​<∞(β>0).

Let N,MN,MN,M be maps from III-matrices to JJJ-matrices preserving trace class, additive and complex homogeneous on trace-class inputs, and preserving states under every finite amplification. Amplification is defined by

(T⊗id⁡A)(X)(j,a),(j′,a′)=T((i,i′)↦X(i,a),(i′,a′))j,j′.(T\otimes\operatorname{id}_A)(X)_{(j,a),(j',a')} =T\bigl((i,i')\mapsto X_{(i,a),(i',a')}\bigr)_{j,j'}.(T⊗idA​)(X)(j,a),(j′,a′)​=T((i,i′)↦X(i,a),(i′,a′)​)j,j′​.

The finite ancillary types include the empty type, where the state-preservation requirement is vacuous. Let α,offset≥0\alpha,\mathrm{offset}\ge0α,offset≥0, and assume that both T=N,MT=N,MT=N,M obey

EG(Tx)≤[α]+EH(x)+[offset]+for every input state x with EH(x)<∞.\mathcal E_G(Tx)\le[\alpha]_+\mathcal E_H(x)+[\mathrm{offset}]_+ \quad\text{for every input state }x\text{ with }\mathcal E_H(x)<\infty.EG​(Tx)≤[α]+​EH​(x)+[offset]+​for every input state x with EH​(x)<∞.

Use partial traces (tr⁡2X)ij=∑aX(i,a),(j,a)(\operatorname{tr}_2X)_{ij}=\sum_aX_{(i,a),(j,a)}(tr2​X)ij​=∑a​X(i,a),(j,a)​ and (tr⁡1X)ab=∑iX(i,a),(i,b)(\operatorname{tr}_1X)_{ab}=\sum_iX_{(i,a),(i,b)}(tr1​X)ab​=∑i​X(i,a),(i,b)​, with total infinite sums as in the code, and products (X⊗Y)(i,a),(j,b)=XijYab(X\otimes Y)_{(i,a),(j,b)}=X_{ij}Y_{ab}(X⊗Y)(i,a),(j,b)​=Xij​Yab​. Set B0(L)={∗}B_0(L)=\{\ast\}B0​(L)={∗}, Br+1(L)=L×Br(L)B_{r+1}(L)=L\times B_r(L)Br+1​(L)=L×Br​(L); define T0T_0T0​ as the identity and Tr+1T_{r+1}Tr+1​ by applying TTT to first-coordinate matrix slices and then TrT_rTr​ to the remaining-coordinate slices. Put EH(0)=0\mathcal E_H^{(0)}=0EH(0)​=0 and EH(r+1)(X)=EH(tr⁡2X)+EH(r)(tr⁡1X)\mathcal E_H^{(r+1)}(X)=\mathcal E_H(\operatorname{tr}_2X)+\mathcal E_H^{(r)}(\operatorname{tr}_1X)EH(r+1)​(X)=EH​(tr2​X)+EH(r)​(tr1​X). For principal compressions to finite sets, and matrix functions given by the code’s continuous functional calculus, define

S(X)=sup⁡s finite[−Re⁡tr⁡((x↦xlog⁡x)(Xs))+Re⁡tr⁡(Xs)log⁡(Re⁡tr⁡(Xs))]+,S(X)=\sup_{s\text{ finite}} \left[-\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x\log x)(X_s)\bigr) +\operatorname{Re}\operatorname{tr}(X_s)\log\bigl(\operatorname{Re}\operatorname{tr}(X_s)\bigr)\right]_+,S(X)=s finitesup​[−Retr((x↦xlogx)(Xs​))+Retr(Xs​)log(Retr(Xs​))]+​,

and define two relative-entropy expressions by

D(X∥Y)=sup⁡s finite{[Re⁡tr⁡((x↦xlog⁡x)(Xs)−Xslog⁡Ys+Ys−Xs)]+,ker⁡Ys⊆ker⁡Xs,∞,otherwise,D(X\|Y)=\sup_{s\text{ finite}} \begin{cases} \left[\operatorname{Re}\operatorname{tr} \bigl((x\mapsto x\log x)(X_s)-X_s\log Y_s+Y_s-X_s\bigr)\right]_+, &\ker Y_s\subseteq\ker X_s,\\ \infty,&\text{otherwise}, \end{cases}D(X∥Y)=s finitesup​{[Retr((x↦xlogx)(Xs​)−Xs​logYs​+Ys​−Xs​)]+​,∞,​kerYs​⊆kerXs​,otherwise,​ Dens(X∥Y)=sup⁡s finite{[Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)]+,ker⁡Ys⊆ker⁡Xs,∞,otherwise.D_{\mathrm{ens}}(X\|Y)=\sup_{s\text{ finite}} \begin{cases} \left[\operatorname{Re}\operatorname{tr} \bigl(X_s\log X_s-X_s\log Y_s+Y_s-X_s\bigr)\right]_+, &\ker Y_s\subseteq\ker X_s,\\ \infty,&\text{otherwise}. \end{cases}Dens​(X∥Y)=s finitesup​{[Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)]+​,∞,​kerYs​⊆kerXs​,otherwise.​

All logarithms here are natural and use log⁡0=0\log0=0log0=0. For a probability measure μ\muμ on states, define μˉij=∫xij dμ(x)\bar\mu_{ij}=\int x_{ij}\,d\mu(x)μˉ​ij​=∫xij​dμ(x); to have average aaa means that every coordinate function is integrable and its integral equals aija_{ij}aij​. Set χT(μ)=∫−Dens(Tx∥Tμˉ) dμ(x)\chi_T(\mu)=\int^-D_{\mathrm{ens}}(Tx\|T\bar\mu)\,d\mu(x)χT​(μ)=∫−Dens​(Tx∥Tμˉ​)dμ(x), using the nonnegative extended integral, and let

BT(n,L)=sup⁡{χTn(μ):μ is a probability measure on states on Bn(I),supp⁡μ is finite, and μ has average afor a state a with EH(n)(a)≤[L]+}.\mathcal B_T(n,L)= \sup\left\{\chi_{T_n}(\mu): \begin{array}{l} \mu\text{ is a probability measure on states on }B_n(I),\\ \operatorname{supp}\mu\text{ is finite, and }\mu\text{ has average }a\\ \text{for a state }a\text{ with }\mathcal E_H^{(n)}(a)\le[L]_+ \end{array}\right\}.BT​(n,L)=sup⎩⎨⎧​χTn​​(μ):μ is a probability measure on states on Bn​(I),suppμ is finite, and μ has average afor a state a with EH(n)​(a)≤[L]+​​⎭⎬⎫​.

Support means topological support. For a matrix xxx indexed by LLL and a map TTT from LLL-matrices, set

I(x,T)=inf⁡p a pure state on L×Ltr⁡2p=xD((T⊗id⁡L)(p) ∥ Tx⊗tr⁡1p).\mathcal I(x,T)= \inf_{\substack{p\text{ a pure state on }L\times L\\ \operatorname{tr}_2p=x}} D\bigl((T\otimes\operatorname{id}_L)(p)\,\big\|\,Tx\otimes\operatorname{tr}_1p\bigr).I(x,T)=p a pure state on L×Ltr2​p=x​inf​D((T⊗idL​)(p)​Tx⊗tr1​p).

Let R+:[0,∞]→RR_+:[0,\infty]\to\mathbb RR+​:[0,∞]→R be the identity on finite values and send ∞\infty∞ to 000, and put

QT(n,L)=sup⁡x a state on Bn(I)EH(n)(x)≤[L]+[R+(I(x,Tn))−R+(S(x))]+,\mathcal Q_T(n,L)= \sup_{\substack{x\text{ a state on }B_n(I)\\ \mathcal E_H^{(n)}(x)\le[L]_+}} \left[R_+\bigl(\mathcal I(x,T_n)\bigr)-R_+\bigl(S(x)\bigr)\right]_+,QT​(n,L)=x a state on Bn​(I)EH(n)​(x)≤[L]+​​sup​[R+​(I(x,Tn​))−R+​(S(x))]+​, Ccl(T,H,E)=sup⁡n≥11n BT(n,nE),Cq(T,H,E)=sup⁡n≥11n QT(n,nE).C_{\mathrm{cl}}(T,H,E)=\sup_{n\ge1}\frac1n\,\mathcal B_T(n,nE), \qquad C_{\mathrm q}(T,H,E)=\sup_{n\ge1}\frac1n\,\mathcal Q_T(n,nE).Ccl​(T,H,E)=n≥1sup​n1​BT​(n,nE),Cq​(T,H,E)=n≥1sup​n1​QT​(n,nE).

These are suprema over positive block lengths; the coherent-information difference is clipped below at zero before its block supremum. Empty suprema in [0,∞][0,\infty][0,∞] equal zero and empty infima equal ∞\infty∞. Finally define

SGmax⁡(L)=sup⁡x a state on JEG(x)≤[L]+S(x),g(x)=(x+1)log⁡(x+1)−xlog⁡x,S_G^{\max}(L)=\sup_{\substack{x\text{ a state on }J\\\mathcal E_G(x)\le[L]_+}}S(x), \qquad g(x)=(x+1)\log(x+1)-x\log x,SGmax​(L)=x a state on JEG​(x)≤[L]+​​sup​S(x),g(x)=(x+1)log(x+1)−xlogx, KG(F,ε)={0,ε=0,56ε R+ ⁣(SGmax⁡ ⁣(4Fε))+6g(4ε),ε>0.K_G(F,\varepsilon)= \begin{cases} 0,&\varepsilon=0,\\ 56\sqrt\varepsilon\, R_+\!\left(S_G^{\max}\!\left(\dfrac{4F}{\sqrt\varepsilon}\right)\right) +6g(4\sqrt\varepsilon),&\varepsilon>0. \end{cases}KG​(F,ε)=⎩⎨⎧​0,56ε​R+​(SGmax​(ε​4F​))+6g(4ε​),​ε=0,ε>0.​

Then for every real E>0E>0E>0 and every 0≤ε<10\le\varepsilon<10≤ε<1, if

sup⁡ω a state on I×NEH(tr⁡2ω)≤[E]+τ(((N−M)⊗id⁡N)(ω))≤[2ε]+,\sup_{\substack{\omega\text{ a state on }I\times\mathbb N\\ \mathcal E_H(\operatorname{tr}_2\omega)\le[E]_+}} \tau\bigl(((N-M)\otimes\operatorname{id}_{\mathbb N})(\omega)\bigr) \le[2\varepsilon]_+,ω a state on I×NEH​(tr2​ω)≤[E]+​​sup​τ(((N−M)⊗idN​)(ω))≤[2ε]+​,

both inequalities hold:

∣R+(Ccl(N,H,E))−R+(Ccl(M,H,E))∣≤KG(αE+offset,ε),\left|R_+\bigl(C_{\mathrm{cl}}(N,H,E)\bigr) -R_+\bigl(C_{\mathrm{cl}}(M,H,E)\bigr)\right| \le K_G(\alpha E+\mathrm{offset},\varepsilon),​R+​(Ccl​(N,H,E))−R+​(Ccl​(M,H,E))​≤KG​(αE+offset,ε), ∣R+(Cq(N,H,E))−R+(Cq(M,H,E))∣≤KG(αE+offset,ε).\left|R_+\bigl(C_{\mathrm q}(N,H,E)\bigr) -R_+\bigl(C_{\mathrm q}(M,H,E)\bigr)\right| \le K_G(\alpha E+\mathrm{offset},\varepsilon).​R+​(Cq​(N,H,E))−R+​(Cq​(M,H,E))​≤KG​(αE+offset,ε).

The real conversions occur after the capacity suprema and therefore send infinite capacities to zero. The endpoint ε=0\varepsilon=0ε=0 is included, with a zero bound; E=0E=0E=0 is excluded.

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