NLA-lib Explorer

Trace functions

Library · Source module

Trace functions

For a function f from \mathbb{R} to \mathbb{R}, the trace function \mathbf{A} \mapsto \operatorname{tr} f(\mathbf{A}) = \sum_i f(\lambda_i(\mathbf{A})) on Hermitian matrices (in Lean the real part of the trace) inherits monotonicity and convexity from f. With f = \exp this gives the monotonicity and convexity of the trace exponential. Quadratic forms satisfy Jensen's inequality \varphi(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) \le \mathbf{x}^{\mathsf{H}} \varphi(\mathbf{A}) \mathbf{x} for convex \varphi and unit \mathbf{x}.

The intrinsic dimension \operatorname{intdim}(\mathbf{A}) = \operatorname{tr} \mathbf{A} / \|\mathbf{A}\|_2 (NLAlib.intrinsicDimension) of a positive semidefinite matrix replaces the ambient dimension in trace bounds.

Main definitions

* NLAlib.intrinsicDimension: the ratio of the trace to the spectral norm.

Main results

* Matrix.IsHermitian.re_trace_cfc_le_re_trace_cfc_of_le: monotone f gives a monotone trace function. * NLAlib.convexOn_re_trace_cfc: convex f gives a convex trace function. * NLAlib.re_trace_mul_cfc_le_re_trace_cfc_sub: Klein's inequality. * NLAlib.apply_re_quadForm_le_re_quadForm_cfc: Jensen for quadratic forms. * Matrix.IsHermitian.apply_re_quadForm_le_re_quadForm_cfc_of_hasSupportingLineOn, NLAlib.apply_specNorm_mul_sq_le_specNorm_mul_sq_of_hasSupportingLineOn: Jensen for a function with a supporting line, for quadratic forms and for the norm of a projected matrix. * NLAlib.re_quadForm_mem_of_spectrum_subset: the quadratic form at a unit vector lies in every convex set containing the spectrum. * NLAlib.sum_apply_re_quadForm_le_re_trace_cfc: Peierls' inequality. * NLAlib.re_trace_cfc_conjTranspose_mul_mul_le: trace Jensen for compressions. * Matrix.IsHermitian.re_trace_exp_le_re_trace_exp_of_le, NLAlib.convexOn_re_trace_exp. * Matrix.PosSemidef.re_trace_cfc_le_intrinsicDimension_mul: the intrinsic dimension lemma.

Declarations