Concavity of
ProvedConvexOptimization.log_det_concaveOnConcavity of on the positive definite cone.
On the set of symmetric positive definite real matrices, the function
is concave: for positive definite and .
Equivalently is convex — it is the standard barrier function for the semidefinite cone, and the reason interior-point methods for semidefinite programs work. The same function is the log-likelihood of a centred Gaussian in terms of the precision matrix, so concavity is what makes maximum-likelihood covariance estimation a convex problem, and it is the objective whose maximization defines the Löwner–John ellipsoid.
Formalization Note The domain is the set {A : Matrix (Fin n) (Fin n) ℝ | A.PosDef} inside the space of all matrices, and concavity is Mathlib's ConcaveOn ℝ; positive definiteness in Mathlib includes symmetry (Hermitian-ness), so no separate symmetry hypothesis appears. Source: B&V §3.1.5, p. 74.
import Mathlib open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.log_det_concaveOn {n : ℕ} :
ConcaveOn ℝ {A : Matrix (Fin n) (Fin n) ℝ | A.PosDef}
(fun A => Real.log A.det) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Theorem statement. For every natural number , the function is concave on the set , where Mathlib's ConcaveOn is a conjunction: (i) the set of positive-definite matrices is convex in the real vector space of matrices, and (ii) for all positive-definite and all with , — so the convexity of the PSD-interior cone is itself part of the assertion. "Positive definite" is Mathlib's: symmetric (Hermitian over ) and for every . The logarithm is the real Real.log with the junk convention for ; on positive-definite matrices so the convention is not exercised at the points quantified over, but the function in the statement is defined (by that convention) on all matrices. Degenerate case : the unique matrix is positive definite (the condition is vacuous), its determinant is , and the set is a singleton, making the claim trivial there.
Confirmed by the mission captain (proposal self-audit).