Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7: single-use conditional entropy bounds

Open
QAlgorithms.Papers.Independent.Bridge50.P23.singleUse_conditionalEntropy

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 channels and assume 12∥N1−N2∥⋄E≤ε<1\tfrac12\|\mathcal N_1-\mathcal N_2\|_{\diamond E}\le\varepsilon<121​∥N1​−N2​∥⋄E​≤ε<1, with E>0E>0E>0 and ε≥0\varepsilon\ge0ε≥0. Let HBH_BHB​ be grounded and satisfy the Gibbs hypothesis at every positive inverse temperature. For any state ρAC\rho^{AC}ρAC with input energy at most EEE, put ωi=(Ni⊗id)(ρ)\omega_i=(\mathcal N_i\otimes\mathrm{id})(\rho)ωi​=(Ni​⊗id)(ρ) and suppose both output marginal energies are at most F≥0F\ge0F≥0. Write FB(L)=S(γB(L))F_B(L)=S(\gamma_B(L))FB​(L)=S(γB​(L)) 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 every ε<ε′≤1\varepsilon<\varepsilon'\le1ε<ε′≤1, let d=(ε′−ε)/(1+ε′)d=(\varepsilon'-\varepsilon)/(1+\varepsilon')d=(ε′−ε)/(1+ε′). Then

∣S(B∣C)ω1−S(B∣C)ω2∣≤6ε′FB(F/d)+3g(ε′),∣S(B∣C)ω1−S(B∣C)ω2∣≤2FB(F).|S(B|C)_{\omega_1}-S(B|C)_{\omega_2}|\le6\varepsilon' F_B(F/d)+3g(\varepsilon'),\qquad |S(B|C)_{\omega_1}-S(B|C)_{\omega_2}|\le2F_B(F).∣S(B∣C)ω1​​−S(B∣C)ω2​​∣≤6ε′FB​(F/d)+3g(ε′),∣S(B∣C)ω1​​−S(B∣C)ω2​​∣≤2FB​(F).

Conditional entropy means its finite-first-entropy extension S(B)−I(B:C)S(B)-I(B:C)S(B)−I(B:C); no finite entropy of CCC is required. These bounds control a single use without a global output-energy bound on all inputs.

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

/-- Lemma 7, PDF pp.8--9, equations (5),(6): both absolute values checked
on the PDF. Output budget F is independent of input budget E. -/
theorem singleUse_conditionalEntropy {I J C : Type} [Countable I] [Nonempty I]
    [Countable J] [Nonempty J] [Countable C] [Nonempty C]
    (H : PositiveObservable I) (G : PositiveObservable J) (hH : Grounded H)
    (hG : Grounded G) (hgibbs : GibbsCondition G) (N M : Channel I J)
    (E F eps : ℝ) (hE : 0 < E) (hF : 0 ≤ F) (heps : 0 ≤ eps) (heps1 : eps < 1)
    (hclose : energyMagnitude H E (fun X => N.val X - M.val X) ≤ ENNReal.ofReal (2 * eps))
    (rho : State (I × C))
    (hin : closedFormExpectation H (traceSecond rho.coefficients) ≤ ENNReal.ofReal E)
    (houtN : closedFormExpectation G (traceSecond (tensorApply N.val rho.coefficients)) ≤ ENNReal.ofReal F)
    (houtM : closedFormExpectation G (traceSecond (tensorApply M.val rho.coefficients)) ≤ ENNReal.ofReal F) :
    (∀ ep : ℝ, eps < ep → ep ≤ 1 →
      |conditionalEntropyValue (tensorApply N.val rho.coefficients) -
       conditionalEntropyValue (tensorApply M.val rho.coefficients)| ≤
        6 * ep * (maximumEntropy G (F / ((ep - eps) / (1 + ep)))).toReal + 3 * g ep) ∧
    |conditionalEntropyValue (tensorApply N.val rho.coefficients) -
     conditionalEntropyValue (tensorApply M.val rho.coefficients)| ≤
      2 * (maximumEntropy G F).toReal := 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. 9, Lemma 7: single-use conditional entropy bounds
Read-back

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

Let I,J,CI,J,CI,J,C be countable nonempty types. A trace-class matrix is one admitting an expansion Xij=∑rar(i)br(j)‾X_{ij}=\sum_r a_r(i)\overline{b_r(j)}Xij​=∑r​ar​(i)br​(j)​ with ar,br∈ℓ2a_r,b_r\in\ell^2ar​,br​∈ℓ2 and ∑r∥ar∥∥br∥<∞\sum_r\|a_r\|\|b_r\|<\infty∑r​∥ar​∥∥br​∥<∞; write ν(X)\nu(X)ν(X) for the infimum of these sums in [0,∞][0,\infty][0,∞], taking +∞+\infty+∞ when none exists. A state is a trace-class matrix with real nonnegative finite quadratic forms and summable real diagonal of sum 111. Let HHH on ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) and GGG on ℓ2(J;C)\ell^2(J;\mathbb C)ℓ2(J;C) vanish at zero, satisfy squared-modulus homogeneity and the parallelogram identity, be lower semicontinuous with dense finite-value domains, and each admit a unit vector of energy at most [e]+[e]_+[e]+​ for every e>0e>0e>0. Define EL(X)\mathcal E_L(X)EL​(X), for L=H,GL=H,GL=H,G, as the supremum of ∑a<nL(ua)\sum_{a<n}L(u_a)∑a<n​L(ua​) over finite families with X−∑a<nuaua∗X-\sum_{a<n}u_au_a^*X−∑a<n​ua​ua∗​ having real nonnegative finite quadratic forms. Assume additionally that there are an orthonormal Hilbert basis (bj)j∈J(b_j)_{j\in J}(bj​)j∈J​ and real energies hj≥0h_j\ge0hj​≥0 such that

G(u)=∑j[hj∣⟨bj,u⟩∣2]+,∑j[e−βhj]+<∞for every β>0.G(u)=\sum_j[h_j|\langle b_j,u\rangle|^2]_+, \qquad \sum_j[e^{-\beta h_j}]_+<\infty\quad\text{for every }\beta>0.G(u)=j∑​[hj​∣⟨bj​,u⟩∣2]+​,j∑​[e−βhj​]+​<∞for every β>0.

Let N,MN,MN,M be maps from III-matrices to JJJ-matrices that preserve trace class, are additive and complex homogeneous on it, and whose extensions by every finite ancillary index set send states to states. For XXX on A×BA\times BA×B, write XAX_AXA​ and XBX_BXB​ for the matrices obtained by summing matching BBB-coordinates and matching AAA-coordinates, respectively; define extension by (L⊗idB)(X)(j,r),(j′,s)=L((X(i,r),(i′,s))i,i′)j,j′(L\otimes\mathrm{id}_B)(X)_{(j,r),(j',s)}=L((X_{(i,r),(i',s)})_{i,i'})_{j,j'}(L⊗idB​)(X)(j,r),(j′,s)​=L((X(i,r),(i′,s)​)i,i′​)j,j′​, and product coefficients by (Y⊗Z)(a,b),(a′,b′)=Ya,a′Zb,b′(Y\otimes Z)_{(a,b),(a',b')}=Y_{a,a'}Z_{b,b'}(Y⊗Z)(a,b),(a′,b′)​=Ya,a′​Zb,b′​. Define the extended entropy and relative entropy literally by

S(X)=sup⁡s finite[−Re⁡Tr⁡f(Xs)+Re⁡Tr⁡(Xs)log⁡(Re⁡Tr⁡(Xs))]+,f(x)=xlog⁡x,S(X)=\sup_{s\ \mathrm{finite}} \left[-\operatorname{Re}\operatorname{Tr}f(X_s) +\operatorname{Re}\operatorname{Tr}(X_s)\log(\operatorname{Re}\operatorname{Tr}(X_s))\right]_+, \quad f(x)=x\log x,S(X)=s finitesup​[−ReTrf(Xs​)+ReTr(Xs​)log(ReTr(Xs​))]+​,f(x)=xlogx, D(X∥Y)=sup⁡s finite{[Re⁡Tr⁡(f(Xs)−Xslog⁡Ys+Ys−Xs)]+,ker⁡Ys⊆ker⁡Xs,+∞,otherwise,D(X\Vert Y)=\sup_{s\ \mathrm{finite}} \begin{cases} [\operatorname{Re}\operatorname{Tr}(f(X_s)-X_s\log Y_s+Y_s-X_s)]_+, &\ker Y_s\subseteq\ker X_s,\\ +\infty,&\text{otherwise}, \end{cases}D(X∥Y)=s finitesup​{[ReTr(f(Xs​)−Xs​logYs​+Ys​−Xs​)]+​,+∞,​kerYs​⊆kerXs​,otherwise,​

where compressions use the same finite coordinate set and matrix functions use continuous functional calculus. Put

c(X)=toReal⁡R‾(S(XA)−D(X∥XA⊗XB)),SG(B)=sup⁡σ state on JEG(σ)≤[B]+S(σ),g(x)=(x+1)log⁡(x+1)−xlog⁡x.c(X)=\operatorname{toReal}_{\overline{\mathbb R}} \bigl(S(X_A)-D(X\Vert X_A\otimes X_B)\bigr), \quad S_G(B)=\sup_{\substack{\sigma\ \mathrm{state\ on}\ J\\ \mathcal E_G(\sigma)\le[B]_+}}S(\sigma), \quad g(x)=(x+1)\log(x+1)-x\log x.c(X)=toRealR​(S(XA​)−D(X∥XA​⊗XB​)),SG​(B)=σ state on JEG​(σ)≤[B]+​​sup​S(σ),g(x)=(x+1)log(x+1)−xlogx.

The subtraction defining ccc is in the extended real numbers, whose conversion to R\mathbb RR sends either infinity to 000; conversion of SG(B)S_G(B)SG​(B) likewise sends +∞+\infty+∞ to 000. For real E>0E>0E>0, F≥0F\ge0F≥0, and 0≤ε<10\le\varepsilon<10≤ε<1, assume

sup⁡ω state on I×NEH(ωI)≤[E]+ν(((N−M)⊗idN)ω)≤[2ε]+.\sup_{\substack{\omega\ \mathrm{state\ on}\ I\times\mathbb N\\ \mathcal E_H(\omega_I)\le[E]_+}} \nu(((N-M)\otimes\mathrm{id}_{\mathbb N})\omega) \le[2\varepsilon]_+.ω state on I×NEH​(ωI​)≤[E]+​​sup​ν(((N−M)⊗idN​)ω)≤[2ε]+​.

For every state ρ\rhoρ on I×CI\times CI×C satisfying EH(ρI)≤[E]+\mathcal E_H(\rho_I)\le[E]_+EH​(ρI​)≤[E]+​ and

EG(((N⊗idC)ρ)J)≤[F]+,EG(((M⊗idC)ρ)J)≤[F]+,\mathcal E_G(((N\otimes\mathrm{id}_C)\rho)_J)\le[F]_+, \qquad \mathcal E_G(((M\otimes\mathrm{id}_C)\rho)_J)\le[F]_+,EG​(((N⊗idC​)ρ)J​)≤[F]+​,EG​(((M⊗idC​)ρ)J​)≤[F]+​,

both bounds hold:

∣c((N⊗idC)ρ)−c((M⊗idC)ρ)∣≤6ε′ SG ⁣(F(ε′−ε)/(1+ε′))real+3g(ε′)for every ε<ε′≤1,\left|c((N\otimes\mathrm{id}_C)\rho)-c((M\otimes\mathrm{id}_C)\rho)\right| \le 6\varepsilon'\, S_G\!\left(\frac{F}{(\varepsilon'-\varepsilon)/(1+\varepsilon')}\right)_{\mathrm{real}} +3g(\varepsilon') \quad\text{for every }\varepsilon<\varepsilon'\le1,∣c((N⊗idC​)ρ)−c((M⊗idC​)ρ)∣≤6ε′SG​((ε′−ε)/(1+ε′)F​)real​+3g(ε′)for every ε<ε′≤1, ∣c((N⊗idC)ρ)−c((M⊗idC)ρ)∣≤2SG(F)real.\left|c((N\otimes\mathrm{id}_C)\rho)-c((M\otimes\mathrm{id}_C)\rho)\right| \le2S_G(F)_{\mathrm{real}}.∣c((N⊗idC​)ρ)−c((M⊗idC​)ρ)∣≤2SG​(F)real​.

Here [x]+=ofReal⁡(x)[x]_+=\operatorname{ofReal}(x)[x]+​=ofReal(x), and an empty supremum in [0,∞][0,\infty][0,∞] is 000; the hypotheses allow F=0F=0F=0 and ε=0\varepsilon=0ε=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