NLA-lib Explorer

The logarithm of the determinant and the trace of the inverse

Library · Source module

The logarithm of the determinant and the trace of the inverse

For a positive definite matrix, \log \det \mathbf{A} = \operatorname{tr} \log(\mathbf{A}). The function \mathbf{A} \mapsto \log \det \mathbf{A} is strictly concave on positive definite matrices, \log \det(\mathbf{I} + \mathbf{A}) \le \operatorname{tr} \mathbf{A}, and \mathbf{A} \mapsto \operatorname{tr} \mathbf{A}^{-1} is strictly convex. These are the objective functions of D-optimal and A-optimal experimental design and the potential functions of barrier arguments.

Determinants and traces of Hermitian matrices are real; in Lean they are written through their real parts (RCLike.re).

Main results

* Matrix.PosDef.log_re_det_eq_re_trace_cfc_log: \log \det \mathbf{A} = \operatorname{tr} \log(\mathbf{A}). * Matrix.PosSemidef.log_re_det_one_add_le_re_trace: \log \det(\mathbf{I} + \mathbf{A}) \le \operatorname{tr} \mathbf{A}. * NLAlib.strictConcaveOn_log_re_det: strict concavity of \log \det. * NLAlib.strictConvexOn_re_trace_inv: strict convexity of \operatorname{tr} \mathbf{A}^{-1}. * Matrix.PosDef.inv_smul_add_smul_le: the inverse is operator convex.

Declarations