Theorem (Matrix.IsHermitian.re_trace_mul_le_sum_eigenvalue_mul).The trace inequality for Hermitian matrices.\operatorname{Re} \operatorname{tr}(\mathbf{A}\mathbf{B}) \le \sum_{i < \lvert n \rvert} \lambda_i(\mathbf{A}) \, \lambda_i(\mathbf{B}) \,, the eigenvalues of each matrix in non-increasing order. [HornJohnson2013, Theorem 4.3.53].
Headline (provisional)General form: sizes are index types
Lean statement and details
Matrix.IsHermitian.re_trace_mul_le_sum_eigenvalue_mul.{u_1, u_3} {π : Type u_1} [RCLike π]
{n : Type u_3} [Fintype n] {A B : Matrix n n π} (hA : A.IsHermitian) (hB : B.IsHermitian) :
RCLike.re (A * B).trace β€ β i β Finset.range (Fintype.card n), eigenvalue A i * eigenvalue B i
Theorem (abs_frobInner_le_sum_singularValues_mul).von Neumann's trace inequality for the Frobenius inner product: \lvert \langle \mathbf{A}, \mathbf{B} \rangle_{\mathsf{F}} \rvert \le \sum_{i < \min(\lvert m \rvert, \lvert n \rvert)} \sigma_i(\mathbf{A}) \, \sigma_i(\mathbf{B}). [HornJohnson2013, Theorem 7.4.1.1].
General form: sizes are index types
Lean statement and details
NLAlib.abs_frobInner_le_sum_singularValues_mul.{u_1, u_2, u_3} {π : Type u_1} [RCLike π]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A B : Matrix m n π) :
|frobInner A B| β€
β i β Finset.range (min (Fintype.card m) (Fintype.card n)),
singularValues A i * singularValues B i
NLAlib.norm_trace_conjTranspose_mul_le_sum_singularValues_mul.{u_1, u_2, u_3} {π : Type u_1}
[RCLike π] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A B : Matrix m n π) :
β(Aα΄΄ * B).traceβ β€
β i β Finset.range (min (Fintype.card m) (Fintype.card n)),
singularValues A i * singularValues B i
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k β₯ 1.