Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pure-state relative entropy and information-variance duality

Open
QAlgorithms.Papers.Independent.Bridge50.P38.pureStateEntropyVarianceDuality

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

prove2quantum

Let ∣ψABC⟩|\psi_{ABC}\rangle∣ψABC​⟩ be a unit vector on three nonempty finite-dimensional complex systems. Let ρAB\rho_{AB}ρAB​ and ρAC\rho_{AC}ρAC​ be its partial traces, and let ρB\rho_BρB​ and ρC\rho_CρC​ be their respective marginals. With relative entropy DDD in bits and information variance VVV in bits squared,

D(ρAB∥IA⊗ρB)=−D(ρAC∥IA⊗ρC),V(ρAB∥IA⊗ρB)=V(ρAC∥IA⊗ρC).D(\rho_{AB}\|I_A\otimes\rho_B)=-D(\rho_{AC}\|I_A\otimes\rho_C),\qquad V(\rho_{AB}\|I_A\otimes\rho_B)=V(\rho_{AC}\|I_A\otimes\rho_C).D(ρAB​∥IA​⊗ρB​)=−D(ρAC​∥IA​⊗ρC​),V(ρAB​∥IA​⊗ρB​)=V(ρAC​∥IA​⊗ρC​).

Every marginal is computed from the same supplied pure state. The lemma packages both dualities; the source credits prior use in Hayashi–Tomamichel [17] and supplies its own proof.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P38
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open QAlgorithms

namespace QAlgorithms.Papers.Independent.Bridge50.P38

open QAlgorithms.Papers.Independent.Information100.P80 (log2)

open QAlgorithms.Papers.Independent.Information100.P63 (normalQuantile)

open QAlgorithms.Papers.Independent.Dependency50.P36
  (relativeEntropyFinite pairInformationVariance)

open QAlgorithms.Papers.Independent.Dependency50.P35
  (columnProjector pinch marginalAB marginalAC)

open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification singleUseInformation coherentInformation)

open QAlgorithms.Papers.Independent.Gap48.P23 (CompletelyPositive)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {A B C : Type} [Fintype A] [DecidableEq A]

variable [Fintype B] [DecidableEq B] [Fintype C] [DecidableEq C]

/-- PDF pp.21–22, Lemma A.2: BOTH relative-entropy and variance duality,
with every marginal constructed from the same normalized pure state.
The source credits prior use in Hayashi–Tomamichel [17]. -/
theorem pureStateEntropyVarianceDuality [Nonempty A] [Nonempty B] [Nonempty C]
    (psi : EuclideanSpace ℂ (A × B × C)) (hpsi : ‖psi‖ = 1) :
    relativeEntropyFinite (marginalAB (pureDensity psi))
        (Matrix.kronecker (1 : Matrix A A ℂ) (traceLeft (marginalAB (pureDensity psi)))) =
      -relativeEntropyFinite (marginalAC (pureDensity psi))
        (Matrix.kronecker (1 : Matrix A A ℂ) (traceLeft (marginalAC (pureDensity psi)))) ∧
    pairInformationVariance (marginalAB (pureDensity psi))
        (Matrix.kronecker (1 : Matrix A A ℂ) (traceLeft (marginalAB (pureDensity psi)))) =
      pairInformationVariance (marginalAC (pureDensity psi))
        (Matrix.kronecker (1 : Matrix A A ℂ) (traceLeft (marginalAC (pureDensity psi)))) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P38

end
Source
Decoding quantum information via the Petz recovery map, arXiv:1504.04449v4, PDF p. 21, lemma-A.2
Read-back

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

Let A,B,CA,B,CA,B,C be finite nonempty types with decidable equality, and let ψ∈CA×(B×C)\psi\in\mathbb C^{A\times(B\times C)}ψ∈CA×(B×C) have norm 111. Define ρ=∣ψ⟩⟨ψ∣\rho=|\psi\rangle\langle\psi|ρ=∣ψ⟩⟨ψ∣, so ρi,j=ψiψj‾\rho_{i,j}=\psi_i\overline{\psi_j}ρi,j​=ψi​ψj​​, and define its two marginals by

X(a,b),(a′,b′)=∑cρ(a,(b,c)),(a′,(b′,c)),Y(a,c),(a′,c′)=∑bρ(a,(b,c)),(a′,(b,c′)).X_{(a,b),(a',b')}=\sum_c\rho_{(a,(b,c)),(a',(b',c))}, \qquad Y_{(a,c),(a',c')}=\sum_b\rho_{(a,(b,c)),(a',(b,c'))}.X(a,b),(a′,b′)​=c∑​ρ(a,(b,c)),(a′,(b′,c))​,Y(a,c),(a′,c′)​=b∑​ρ(a,(b,c)),(a′,(b,c′))​.

Put XB(b,b′)=∑aX(a,b),(a,b′)X_B(b,b')=\sum_aX_{(a,b),(a,b')}XB​(b,b′)=∑a​X(a,b),(a,b′)​, YC(c,c′)=∑aY(a,c),(a,c′)Y_C(c,c')=\sum_aY_{(a,c),(a,c')}YC​(c,c′)=∑a​Y(a,c),(a,c′)​, ΣX=IA⊗XB\Sigma_X=I_A\otimes X_BΣX​=IA​⊗XB​, and ΣY=IA⊗YC\Sigma_Y=I_A\otimes Y_CΣY​=IA​⊗YC​. For matrices of matching size define

Df(R∥S)=Re⁡tr⁡([xlog⁡x](R)−Rlog⁡S)log⁡2,Vf(R∥S)=Re⁡tr⁡ ⁣[R(log⁡2R−log⁡2S)2]−Df(R∥S)2.D_f(R\Vert S)= \frac{\operatorname{Re}\operatorname{tr}([x\log x](R)-R\log S)}{\log2}, \qquad V_f(R\Vert S)= \operatorname{Re}\operatorname{tr}\!\left[R(\log_2R-\log_2S)^2\right] -D_f(R\Vert S)^2.Df​(R∥S)=log2Retr([xlogx](R)−RlogS)​,Vf​(R∥S)=Retr[R(log2​R−log2​S)2]−Df​(R∥S)2.

All matrix functions here use continuous functional calculus, with the real logarithm assigned value 000 at 000; these are real-valued formulas without a support-inclusion test. The two asserted identities are

Df(X∥ΣX)=−Df(Y∥ΣY),Vf(X∥ΣX)=Vf(Y∥ΣY).D_f(X\Vert\Sigma_X)=-D_f(Y\Vert\Sigma_Y), \qquad V_f(X\Vert\Sigma_X)=V_f(Y\Vert\Sigma_Y).Df​(X∥ΣX​)=−Df​(Y∥ΣY​),Vf​(X∥ΣX​)=Vf​(Y∥ΣY​).

The hypotheses allow any of A,B,CA,B,CA,B,C to be singletons and allow singular marginals.

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