NLA-lib Explorer

NLAlib.IsSVD.exists_fromCols_mul_conjTranspose_self_mul_eq_mul_diagonal

Library · theorem

Complete the left SVD frame to a full orthonormal frame of the supplied cardinality. The left Gram matrix has the original squared singular values and then zeros. The original singular vectors are preserved. No printed source.

NLAlib.IsSVD.exists_fromCols_mul_conjTranspose_self_mul_eq_mul_diagonal.{u_1, u_2, u_3, u_4, u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {r : Type u_4} [Fintype m] [Fintype n]
  [Fintype r] [DecidableEq r] {A : Matrix m n 𝕜} {U : Matrix m r 𝕜} {σ : r → ℝ} {V : Matrix n r 𝕜}
  {p : Type u_5} [Fintype p] [DecidableEq p] (h : IsSVD A U σ V)
  (hp : Fintype.card r + Fintype.card p = Fintype.card m) :
  ∃ U',
    HasOrthonormalCols (U.fromCols U') ∧
      A * Aᴴ * U.fromCols U' = U.fromCols U' * diagonal ((fun i ↦ ↑(σ i ^ 2)) ⊕ᵥ fun x ↦ 0)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SVD.