NLA-lib Explorer

Matrix.PosDef.isGreatest_re_trace_mul_cfc_log_sub

Library · theorem

A variational formula for the trace. For positive definite \mathbf{M}, \operatorname{tr} \mathbf{M} = \max_{\mathbf{T}} \operatorname{tr}(\mathbf{T}\log(\mathbf{M}) - \mathbf{T}\log(\mathbf{T}) + \mathbf{T}) over positive definite \mathbf{T}, traces through their real parts. [Tropp2015, §8.3].

Matrix.PosDef.isGreatest_re_trace_mul_cfc_log_sub.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {M : Matrix n n 𝕜} (hM : M.PosDef) :
  IsGreatest
    ((fun T ↦ RCLike.re (T * cfc Real.log M - T * cfc Real.log T + T).trace) '' {T | T.PosDef})
    (RCLike.re M.trace)

Full source on GitHub

Import NLAlib.Matrix.Functions.Lieb.