NLA-lib Explorer

Matrix.PosDef.log_re_det_smul_add_smul_eq_iff

Library · theorem

Equality in the concavity of \log \det holds only at \mathbf{A} = \mathbf{B}: for positive definite \mathbf{A}, \mathbf{B} and a, \mathbf{b} > 0 with a + \mathbf{b} = 1, \log \det(a\mathbf{A} + \mathbf{b}\mathbf{B}) = a \log \det \mathbf{A} + \mathbf{b} \log \det \mathbf{B} if and only if \mathbf{A} = \mathbf{B}.

Matrix.PosDef.log_re_det_smul_add_smul_eq_iff.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A B : Matrix n n 𝕜} (hA : A.PosDef) (hB : B.PosDef) {a b : ℝ}
  (ha : 0 < a) (hb : 0 < b) (hab : a + b = 1) :
  Real.log (RCLike.re (a • A + b • B).det) =
      a * Real.log (RCLike.re A.det) + b * Real.log (RCLike.re B.det) ↔
    A = B

Full source on GitHub

Import NLAlib.Matrix.Functions.LogDet.