Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sharp continuity of finite classical–quantum conditional entropy

Open
QAlgorithms.Papers.Independent.Advance50.P45.finiteCQContinuity_sharp

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

prove2quantum

Let BBB be a nonzero finite-dimensional quantum system of dimension dBd_BdB​, and let 0<ε≤1−1/dB0<\varepsilon\le 1-1/d_B0<ε≤1−1/dB​. For any finite alphabet X\mathcal XX, consider normalized states classical in the same orthonormal basis of XXX,

ρXB=∑xr(x)∣x⟩⟨x∣⊗ρBx,σXB=∑xs(x)∣x⟩⟨x∣⊗σBx.\rho_{XB}=\sum_x r(x)|x\rangle\langle x|\otimes\rho_B^x, \qquad \sigma_{XB}=\sum_x s(x)|x\rangle\langle x|\otimes\sigma_B^x.ρXB​=x∑​r(x)∣x⟩⟨x∣⊗ρBx​,σXB​=x∑​s(x)∣x⟩⟨x∣⊗σBx​.

Here r,sr,sr,s are arbitrary probability distributions and every branch operator is positive semidefinite with trace one, including at labels of zero probability. Define H(B∣X)ρ=∑xr(x)H(ρBx)H(B|X)_\rho=\sum_x r(x)H(\rho_B^x)H(B∣X)ρ​=∑x​r(x)H(ρBx​) and analogously for σ\sigmaσ, where HHH is the von Neumann entropy in bits. If 12∥ρXB−σXB∥1≤ε\frac12\|\rho_{XB}-\sigma_{XB}\|_1\le\varepsilon21​∥ρXB​−σXB​∥1​≤ε, with ∥⋅∥1\|\cdot\|_1∥⋅∥1​ the Schatten trace norm, then

∣H(B∣X)ρ−H(B∣X)σ∣≤εlog⁡2(dB−1)+h2(ε),h2(t)=−tlog⁡2t−(1−t)log⁡2(1−t),\bigl|H(B|X)_\rho-H(B|X)_\sigma\bigr| \le \varepsilon\log_2(d_B-1)+h_2(\varepsilon), \qquad h_2(t)=-t\log_2t-(1-t)\log_2(1-t),​H(B∣X)ρ​−H(B∣X)σ​​≤εlog2​(dB​−1)+h2​(ε),h2​(t)=−tlog2​t−(1−t)log2​(1−t),

with 0log⁡20=00\log_2 0=00log2​0=0. Moreover, for every allowed dBd_BdB​ and ε\varepsilonε, there is a pair satisfying the distance bound for which equality holds; a singleton classical alphabet suffices.

Thus the dimension- and distance-dependent bound cannot be improved uniformly over CQ states.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P45
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder ENNReal

namespace QAlgorithms.Papers.Independent.Advance50.P45

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P56 (cqBlock)

/-- Proposition 1, PDF p.2, Eqs.(4)–(6), proof pp.3–4: the uniform finite
CQ continuity bound AND its sharpness at every allowed dimension/error.
The universal pair is unrestricted apart from normalization, common classical
basis and the distance bound. The sharpness pair can use a singleton alphabet.
No entropy ordering or dephasing property from the proof is assumed. -/
theorem finiteCQContinuity_sharp {B : Type*} [Fintype B] [Nonempty B]
    [DecidableEq B] (epsilon : ℝ) (hepsilon : 0 < epsilon)
    (hupper : epsilon ≤ 1 - 1 / (Fintype.card B : ℝ)) :
    (∀ (X : Type*) [Fintype X] (R S : CQState X B),
      finiteCQDistance R S ≤ epsilon →
        |cqConditionalEntropy R - cqConditionalEntropy S| ≤
          epsilon * Real.logb 2 ((Fintype.card B : ℝ) - 1) + binEntropy2 epsilon) ∧
    (∃ R S : CQState Unit B, finiteCQDistance R S ≤ epsilon ∧
      |cqConditionalEntropy R - cqConditionalEntropy S| =
        epsilon * Real.logb 2 ((Fintype.card B : ℝ) - 1) + binEntropy2 epsilon) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P45

end
Source
Optimal uniform continuity bound for conditional entropy of classical--quantum states, arXiv:1909.01755v2, PDF p. 2, Proposition 1, Eqs. (4)–(6)
Read-back

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

Let BBB be a finite nonempty type with decidable equality, put d=∣B∣d=|B|d=∣B∣, and let 0<ϵ≤1−1/d0<\epsilon\le1-1/d0<ϵ≤1−1/d. For every finite type XXX and every pair R,SR,SR,S consisting of probability mass functions pR,pSp_R,p_SpR​,pS​ on XXX and positive semidefinite trace-one branch matrices ρxR,ρxS\rho_x^R,\rho_x^SρxR​,ρxS​ on BBB, define CR((x,b),(y,c))=1x=ypR(x)RρxR(b,c)C_R((x,b),(y,c))=\mathbf1_{x=y}p_R(x)_{\mathbb R}\rho_x^R(b,c)CR​((x,b),(y,c))=1x=y​pR​(x)R​ρxR​(b,c), define CSC_SCS​ similarly, set ∥M∥1=Re⁡tr⁡M†M\|M\|_1=\operatorname{Re}\operatorname{tr}\sqrt{M^\dagger M}∥M∥1​=RetrM†M​, and set HR=∑xpR(x)RS(ρxR)H_R=\sum_xp_R(x)_{\mathbb R}S(\rho_x^R)HR​=∑x​pR​(x)R​S(ρxR​), where S(M)=−Re⁡tr⁡f(M)S(M)=-\operatorname{Re}\operatorname{tr}f(M)S(M)=−Retrf(M), f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, through continuous functional calculus with f(0)=0f(0)=0f(0)=0. The assertion is

12∥CR−CS∥1≤ϵ⟹∣HR−HS∣≤ϵlog⁡2(d−1)+h2(ϵ),\frac12\|C_R-C_S\|_1\le\epsilon \quad\Longrightarrow\quad |H_R-H_S|\le\epsilon\log_2(d-1)+h_2(\epsilon),21​∥CR​−CS​∥1​≤ϵ⟹∣HR​−HS​∣≤ϵlog2​(d−1)+h2​(ϵ),

where h2(u)=[−uln⁡u−(1−u)ln⁡(1−u)]/ln⁡2h_2(u)=[-u\ln u-(1-u)\ln(1-u)]/\ln2h2​(u)=[−ulnu−(1−u)ln(1−u)]/ln2, with zero logarithmic terms interpreted as zero; moreover, there exist two such states with the singleton label type X={∗}X=\{\ast\}X={∗}, distance at most ϵ\epsilonϵ, and entropy difference exactly equal to this bound. Every branch must be normalized even at probability zero. The hypotheses exclude d=1d=1d=1; the universal clause includes empty XXX, for which no such states exist.

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