NLA-lib Explorer

Matrix.PosDef.relativeEntropy_nonneg

Library · theorem

Headline of relative-entropy (provisional)

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]. Result: relative-entropy

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

Import NLAlib.Matrix.Functions.Lieb.