Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Mutual information as relative entropy and its sharp bound

Open
QAlgorithms.Papers.Independent.Intakethird100.P81.mutual_information_relative_entropy

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let ρAB\rho_{AB}ρAB​ be a normalized density matrix of a finite bipartite complex system. Compute both marginals from this same state: ρA=Tr⁡BρAB\rho_A=\operatorname{Tr}_B\rho_{AB}ρA​=TrB​ρAB​ and ρB=Tr⁡AρAB\rho_B=\operatorname{Tr}_A\rho_{AB}ρB​=TrA​ρAB​. Define S(A:B)=S(ρA)+S(ρB)−S(ρAB)S(A:B)=S(\rho_A)+S(\rho_B)-S(\rho_{AB})S(A:B)=S(ρA​)+S(ρB​)−S(ρAB​), with entropy measured in bits. Then the product of the marginals is a density matrix and

S(A:B)=S2(ρAB∥ρA⊗ρB)≥∥ρAB−ρA⊗ρB∥122ln⁡2.S(A:B)=S_2(\rho_{AB}\Vert\rho_A\otimes\rho_B) \ge\frac{\|\rho_{AB}-\rho_A\otimes\rho_B\|_1^2}{2\ln 2}.S(A:B)=S2​(ρAB​∥ρA​⊗ρB​)≥2ln2∥ρAB​−ρA​⊗ρB​∥12​​.

The identity and bound relate correlations to the full trace-norm distance from independence. The product state is constructed from the joint state, including when marginals are singular.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P81
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ENNReal

attribute [local instance] Classical.propDecidable

namespace QAlgorithms.Papers.Independent.Intakethird100.P81

open QAlgorithms.Papers.Independent.Information100.P54 (relativeEntropyBits)

open QAlgorithms.Papers.Independent.Bridge50.P44 (ClassicalFirst)

/-- Unnumbered display, PDF p.11: both the relative-entropy identity and its sharp lower bound.
The product matrix and its normalization are conclusions constructed from rho. -/
theorem mutual_information_relative_entropy {A B : Type*}
    [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
    (rho : Matrix (A × B) (A × B) ℂ) (hrho : IsDensityMatrix rho) :
    ∃ hprod : IsDensityMatrix (jointMarginalProduct rho),
      relativeEntropyBits rho (jointMarginalProduct rho) =
        ENNReal.ofReal (jointMutualInfoBits rho) ∧
      (traceNorm (rho - jointMarginalProduct rho)) ^ 2 / (2 * Real.log 2) ≤
        jointMutualInfoBits rho := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P81

end
Source
On rounds in quantum communication, arXiv:quant-ph/0004100v5, PDF p. 11, Unnumbered display following Theorem 1
Read-back

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

For all finite types A,BA,BA,B with decidable equality and every positive semidefinite complex matrix ρ\rhoρ on A×BA\times BA×B with trace 111, define (ρA)a,a′=∑bρ(a,b),(a′,b)(\rho_A)_{a,a'}=\sum_b\rho_{(a,b),(a',b)}(ρA​)a,a′​=∑b​ρ(a,b),(a′,b)​, (ρB)b,b′=∑aρ(a,b),(a,b′)(\rho_B)_{b,b'}=\sum_a\rho_{(a,b),(a,b')}(ρB​)b,b′​=∑a​ρ(a,b),(a,b′)​, and π=ρA⊗ρB\pi=\rho_A\otimes\rho_Bπ=ρA​⊗ρB​. Set H(X)=−Re⁡tr⁡((x↦xlog⁡2x)[X])H(X)=-\operatorname{Re}\operatorname{tr}((x\mapsto x\log_2x)[X])H(X)=−Retr((x↦xlog2​x)[X]), where brackets denote continuous functional calculus, and set Iρ=H(ρA)+H(ρB)−H(ρ)I_\rho=H(\rho_A)+H(\rho_B)-H(\rho)Iρ​=H(ρA​)+H(ρB​)−H(ρ). The assertion is that π\piπ is positive semidefinite with trace 111, and

Dbits(ρ∥π)=[Iρ]+,∥ρ−π∥122ln⁡2≤Iρ.D_{\mathrm{bits}}(\rho\|\pi)=[I_\rho]_+, \qquad \frac{\|\rho-\pi\|_1^2}{2\ln 2}\le I_\rho.Dbits​(ρ∥π)=[Iρ​]+​,2ln2∥ρ−π∥12​​≤Iρ​.

Here ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​, [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) is embedded into the extended nonnegative reals, and Dbits(ρ∥π)D_{\mathrm{bits}}(\rho\|\pi)Dbits​(ρ∥π) is +∞+\infty+∞ if ker⁡π⊈ker⁡ρ\ker\pi\not\subseteq\ker\rhokerπ⊆kerρ, and otherwise equals [Re⁡tr⁡((x↦xln⁡x)[ρ]−ρ(ln⁡)[π])]+/ln⁡2\left[\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)[\rho]-\rho(\ln)[\pi])\right]_+/\ln2[Retr((x↦xlnx)[ρ]−ρ(ln)[π])]+​/ln2, with the real logarithm assigned value zero at zero. Neither AAA nor BBB can be empty under the density hypothesis.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me