NLA-lib Explorer

Matrix.IsHermitian.exists_re_trace_conjTranspose_mul_mul_eq_sum_eigenvalue

Library · theorem

Headline of ky-fan-maximum-principle (provisional) General form: sizes are index types

Ky Fan's maximum principle, equality case. The maximum is attained by the leading eigenvectors: for Hermitian \mathbf{A} and k \le \lvert n \rvert there is \mathbf{Q} with k orthonormal columns and \operatorname{Re} \operatorname{tr}(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}) = \sum_{i < k} \lambda_i(\mathbf{A}). Result: ky-fan-maximum-principle

Matrix.IsHermitian.exists_re_trace_conjTranspose_mul_mul_eq_sum_eigenvalue.{u_1, u_3} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_3} [Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) {k : ℕ}
  (hk : k ≤ Fintype.card n) :
  ∃ Q, HasOrthonormalCols Q ∧ RCLike.re (Qᴴ * A * Q).trace = ∑ i ∈ Finset.range k, eigenvalue A i

Full source on GitHub

Import NLAlib.Matrix.Majorization.KyFan.

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.