NLA-lib Explorer

The diagonals of the unitary orbit of a Hermitian matrix

Library · Result group

Theorem (Matrix.IsHermitian.majorized_iff_exists_diag_conj_eq). The diagonals of the unitary orbit of a Hermitian matrix are exactly the vectors majorized by its eigenvalues: a real vector \mathbf{d} is majorized by the eigenvalues of \mathbf{A} (Mathlib's Matrix.IsHermitian.eigenvalues) iff (\mathbf{U}^{\mathsf{H}}\mathbf{A}\mathbf{U})_{i,i} = \mathbf{d}_i for all i, for some unitary \mathbf{U}. [HornJohnson2013, Theorems 4.3.45 and 4.3.48].

Headline (provisional)

Lean statement and details
Matrix.IsHermitian.majorized_iff_exists_diag_conj_eq.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) {d : n → ℝ} :
  Majorized d hA.eigenvalues ↔ ∃ U, HasOrthonormalCols U ∧ ∀ (i : n), (Uᴴ * A * U) i i = ↑(d i)

Full source on GitHub

Copy link

Other forms

Theorem (exists_hasOrthonormalCols_diag_eq_of_majorized). 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].

Lean statement and details
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

Copy link

Theorem (majorized_iff_exists_hasOrthonormalCols_diag_eq). 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].

Lean statement and details
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

Copy link