Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A.4.2: combined entropy bounds

Open
QAlgorithms.Papers.Independent.Bridge50.P44.entropy_sandwich

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

prove2quantum

Let ρKE\rho_{KE}ρKE​ be a density matrix on nonzero finite-dimensional systems, d=dim⁡Kd=\dim Kd=dimK, ρE=tr⁡KρKE\rho_E=\operatorname{tr}_K\rho_{KE}ρE​=trK​ρKE​, τK=IK/d\tau_K=I_K/dτK​=IK​/d, and ε=D(ρKE,τK⊗ρE)≤1/4\varepsilon=D(\rho_{KE},\tau_K\otimes\rho_E)\le1/4ε=D(ρKE​,τK​⊗ρE​)≤1/4. In natural logarithms,

(1−8ε)log⁡d−2h(2ε)≤S(K∣E)ρ≤log⁡d−2ε2.(1-8\varepsilon)\log d-2h(2\varepsilon)\le S(K|E)_\rho\le\log d-2\varepsilon^2.(1−8ε)logd−2h(2ε)≤S(K∣E)ρ​≤logd−2ε2.

Here hhh is the binary entropy. The small-distance domain is inherited from Corollary A.10; the upper estimate alone holds globally. Both displayed bounds are retained as conclusions.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P44
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexOrder

namespace QAlgorithms.Papers.Independent.Bridge50.P44

open QAlgorithms

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Dependency50.P33 (State traceSize)

open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)

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

open QAlgorithms.Papers.Independent.Information100.P76 (maximallyMixed)

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

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- PDF p.44, final display of Appendix A.4.2: both entropy bounds together.
The lower bound inherits epsilon ≤ 1/4 from Corollary A.10. -/
theorem entropy_sandwich {d e : ℕ} (hd : 0 < d) (he : 0 < e)
    (rho : Matrix (Fin d × Fin e) (Fin d × Fin e) ℂ) (hrho : IsDensityMatrix rho)
    (epsilon : ℝ)
    (hdistance : traceDistance rho (Matrix.kronecker (maximallyMixed d) (traceLeft rho)) = epsilon)
    (hsmall : epsilon ≤ 1 / 4) :
    (1 - 8 * epsilon) * Real.log d - 2 * Real.binEntropy (2 * epsilon) ≤
      conditionalEntropyNats rho ∧
    conditionalEntropyNats rho ≤ Real.log d - 2 * epsilon ^ 2 := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P44

end
Source
Cryptographic security of quantum key distribution, arXiv:1409.3525v1, PDF p. 44, A.4.2: combined entropy bounds
Read-back

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

Let d,ed,ed,e be positive natural numbers, and let ρ\rhoρ be a positive semidefinite complex matrix of trace 111 indexed by {0,…,d−1}×{0,…,e−1}\{0,\ldots,d-1\}\times\{0,\ldots,e-1\}{0,…,d−1}×{0,…,e−1}. Put (ρB)b,b′=∑a=0d−1ρ(a,b),(a,b′)(\rho_B)_{b,b'}=\sum_{a=0}^{d-1}\rho_{(a,b),(a,b')}(ρB​)b,b′​=∑a=0d−1​ρ(a,b),(a,b′)​, U=Id/d⊗ρBU=I_d/d\otimes\rho_BU=Id​/d⊗ρB​, and H(A∣B)ρ=S(ρ)−S(ρB)H(A\mid B)_\rho=S(\rho)-S(\rho_B)H(A∣B)ρ​=S(ρ)−S(ρB​), where S(X)=−∑iλilog⁡λiS(X)=-\sum_i\lambda_i\log\lambda_iS(X)=−∑i​λi​logλi​ with natural logarithms and 0log⁡0=00\log0=00log0=0. For every real ϵ\epsilonϵ such that

ϵ=12Re⁡tr⁡(ρ−U)†(ρ−U),ϵ≤14,\epsilon=\frac12\operatorname{Re}\operatorname{tr} \sqrt{(\rho-U)^\dagger(\rho-U)}, \qquad \epsilon\le\frac14,ϵ=21​Retr(ρ−U)†(ρ−U)​,ϵ≤41​,

both bounds hold:

(1−8ϵ)log⁡d−2h(2ϵ)≤H(A∣B)ρ≤log⁡d−2ϵ2,h(x)=−xlog⁡x−(1−x)log⁡(1−x).(1-8\epsilon)\log d-2h(2\epsilon) \le H(A\mid B)_\rho \le \log d-2\epsilon^2, \qquad h(x)=-x\log x-(1-x)\log(1-x).(1−8ϵ)logd−2h(2ϵ)≤H(A∣B)ρ​≤logd−2ϵ2,h(x)=−xlogx−(1−x)log(1−x).

The distance equality implies ϵ≥0\epsilon\ge0ϵ≥0, and the statement includes ϵ=0\epsilon=0ϵ=0 and dimensions equal to 111.

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