NLA-lib Explorer

NLAlib.exists_hasOrthonormalCols_diag_eq_of_majorized

Library · theorem

Horn's theorem. If the real vector \mathbf{d} is majorized by \boldsymbol{\lambda}, there is a real orthogonal matrix \mathbf{Q} such that \mathbf{Q} \operatorname{diag}(\boldsymbol{\lambda}) \mathbf{Q}^{\mathsf{T}} has diagonal \mathbf{d}. [HornJohnson2013, Theorem 4.3.48]. Result: schur-horn

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

Full source on GitHub

Import NLAlib.Matrix.Inequalities.SchurHorn.