NLA-lib Explorer

NLAlib.majorized_iff_exists_hasOrthonormalCols_diag_eq

Library · theorem

The Schur–Horn theorem. A real vector \mathbf{d} is majorized by \boldsymbol{\lambda} exactly when it is the diagonal of \mathbf{Q} \operatorname{diag}(\boldsymbol{\lambda}) \mathbf{Q}^{\mathsf{T}} for some real orthogonal \mathbf{Q}. [HornJohnson2013, Theorems 4.3.45 and 4.3.48]. Result: schur-horn

NLAlib.majorized_iff_exists_hasOrthonormalCols_diag_eq.{u_2} {n : Type u_2} [Fintype n]
  [DecidableEq n] {d lam : n → ℝ} :
  Majorized d lam ↔ ∃ Q, HasOrthonormalCols Q ∧ (Q * diagonal lam * Qᴴ).diag = d

Full source on GitHub

Import NLAlib.Matrix.Inequalities.SchurHorn.