NLA-lib Explorer

Matrix.PosSemidef.log_re_det_one_add_le_re_trace

Library · theorem

The log-determinant is at most the trace: \log \det(\mathbf{I} + \mathbf{A}) \le \operatorname{tr} \mathbf{A} for positive semidefinite \mathbf{A}. This is the inequality behind the elliptical potential lemma and volume-based pivoting arguments.

Matrix.PosSemidef.log_re_det_one_add_le_re_trace.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosSemidef) :
  Real.log (RCLike.re (1 + A).det) ≤ RCLike.re A.trace

Full source on GitHub

Import NLAlib.Matrix.Functions.LogDet.