Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 7: joint convexity with equality

Open
QAlgorithms.Papers.Independent.Intakethird100.P51.jointConvexity

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

prove2quantum

Let λk>0\lambda_k>0λk​>0 be finitely many weights summing to one, and let ρk,γk>0\rho_k,\gamma_k>0ρk​,γk​>0 be positive definite matrices of a common size. Define ρ=∑kλkρk\rho=\sum_k\lambda_k\rho_kρ=∑k​λk​ρk​ and γ=∑kλkγk\gamma=\sum_k\lambda_k\gamma_kγ=∑k​λk​γk​. Then

H(ρ,γ)≤∑kλkH(ρk,γk),H(\rho,\gamma)\le\sum_k\lambda_kH(\rho_k,\gamma_k),H(ρ,γ)≤k∑​λk​H(ρk​,γk​),

with equality if and only if log⁡ρ−log⁡γ=log⁡ρk−log⁡γk\log\rho-\log\gamma=\log\rho_k-\log\gamma_klogρ−logγ=logρk​−logγk​ for every kkk. No trace-one or equal-trace hypothesis is imposed. This is the full cone version of joint convexity and its equality criterion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P51
Formal statement
noncomputable section

open scoped Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Intakethird100.P51

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact interfaces from the frozen accepted library; no local redeclarations.

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

open QAlgorithms.Papers.Independent.Information100.P56 (entropy holevo IsLaw)

open QAlgorithms.Papers.Independent.Information100.P27 (average)

open QAlgorithms.Papers.Independent.Dependency50.P21 (relativeEntropy marginalAB channelAdjoint)

open QAlgorithms.Papers.Independent.Dependency50.P35 (marginalAC)

open QAlgorithms.Papers.Independent.Gap48.P19 (shannonNats)

open QAlgorithms.Papers.Independent.Gap48.P33 (measurementInformation)

section Statements

variable {A B C D J K O : Type}

variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype J] [Fintype K] [Fintype O]

variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

variable [DecidableEq J] [DecidableEq K] [DecidableEq O]

/-- Theorem 7, PDF p.14: joint convexity and equality for positive weights and
positive definite pairs. Neither equal trace nor trace one is assumed. -/
theorem jointConvexity [Nonempty A] [Nonempty J] (w : J → ℝ) (hw : ∀ j, 0 < w j) (hs : ∑ j, w j = 1)
    (rho gamma : J → Mat A) (hr : ∀ j, (rho j).PosDef) (hg : ∀ j, (gamma j).PosDef) :
    (relativeEntropy (average w rho) (average w gamma)).toReal ≤ ∑ j, w j * (relativeEntropy (rho j) (gamma j)).toReal ∧
      ((relativeEntropy (average w rho) (average w gamma)).toReal =
        ∑ j, w j * (relativeEntropy (rho j) (gamma j)).toReal ↔
        ∀ j, logMatrix (average w rho) - logMatrix (average w gamma) =
          logMatrix (rho j) - logMatrix (gamma j)) := by sorry

end Statements

end QAlgorithms.Papers.Independent.Intakethird100.P51

end
Source
Inequalities for Quantum Entropy: A Review with Conditions for Equality, arXiv:quant-ph/0205064v2, PDF p. 14, Theorem 7: joint convexity with equality
Read-back

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

For finite nonempty index types A,JA,JA,J with decidable equality, let wjw_jwj​ be strictly positive real numbers with ∑jwj=1\sum_jw_j=1∑j​wj​=1, and let ρj,γj\rho_j,\gamma_jρj​,γj​, j∈Jj\in Jj∈J, be positive definite complex matrices on AAA. Their traces are unrestricted. Define ρˉ=∑jwjρj\bar\rho=\sum_jw_j\rho_jρˉ​=∑j​wj​ρj​, γˉ=∑jwjγj\bar\gamma=\sum_jw_j\gamma_jγˉ​=∑j​wj​γj​, and, for positive definite matrices, D(X∥Y)=Re⁡tr⁡(f(X)−Xlog⁡Y)D(X\|Y)=\operatorname{Re}\operatorname{tr}(f(X)-X\log Y)D(X∥Y)=Retr(f(X)−XlogY), where f(x)=xlog⁡xf(x)=x\log xf(x)=xlogx and matrix functions use continuous functional calculus with natural logarithms; this equals the real conversion of the extended relative entropy appearing in the declaration. Then

D(ρˉ∥γˉ)≤∑jwjD(ρj∥γj),D(\bar\rho\|\bar\gamma)\le\sum_jw_jD(\rho_j\|\gamma_j),D(ρˉ​∥γˉ​)≤j∑​wj​D(ρj​∥γj​),

and equality holds if and only if, for every j∈Jj\in Jj∈J,

log⁡ρˉ−log⁡γˉ=log⁡ρj−log⁡γj.\log\bar\rho-\log\bar\gamma=\log\rho_j-\log\gamma_j.logρˉ​−logγˉ​=logρj​−logγj​.

Both index types may be singletons, and every weight is required to be nonzero.

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