NLA-lib Explorer

The matrix relative entropy is nonnegative

Library · Result group

Theorem (Matrix.PosDef.relativeEntropy_nonneg). The matrix relative entropy is nonnegative (Klein's inequality): for positive definite \mathbf{A} and \mathbf{H}, D(\mathbf{A}; \mathbf{H}) = \operatorname{tr}\bigl(\mathbf{A}(\log(\mathbf{A}) - \log(\mathbf{H})) - (\mathbf{A} - \mathbf{H})\bigr) \ge 0 \,. [Tropp2015, Proposition 8.3.5].

Headline (provisional)

Lean statement and details
Matrix.PosDef.relativeEntropy_nonneg.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  [DecidableEq n] {A H : Matrix n n 𝕜} (hA : A.PosDef) (hH : H.PosDef) : 0 ≤ relativeEntropy A H

Full source on GitHub

Copy link

Other forms

Theorem (convexOn_relativeEntropy). The matrix relative entropy is jointly convex (Lindblad): on the pairs (\mathbf{A}, \mathbf{H}) of positive definite matrices, D(\mathbf{A}; \mathbf{H}) is a convex function, so for a, \mathbf{b} \ge 0 with a + \mathbf{b} = 1 D(a\mathbf{A}_1 + \mathbf{b}\mathbf{A}_2; a\mathbf{H}_1 + \mathbf{b}\mathbf{H}_2) \le a D(\mathbf{A}_1; \mathbf{H}_1) + \mathbf{b} D(\mathbf{A}_2; \mathbf{H}_2) \,. [Tropp2015, §8.3 and §8.8]; [Lindblad1974, Lemma 2]; Lindblad states it for positive trace-class operators on a separable Hilbert space and finite convex combinations, with the same definition \operatorname{tr}(\mathbf{A}\log\mathbf{A} - \mathbf{A}\log\mathbf{H} + \mathbf{H} - \mathbf{A}).

Lean statement and details
NLAlib.convexOn_relativeEntropy.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  [DecidableEq n] : ConvexOn ℝ {P | P.1.PosDef ∧ P.2.PosDef} fun P ↦ relativeEntropy P.1 P.2

Full source on GitHub

Copy link