NLA-lib Explorer

NLAlib.exists_hasOrthonormalCols_mul_mul_conjTranspose_eq_truncatedSVD

Library · theorem

A frame of a dominant right singular subspace: for an index type p with \lvert p \rvert = k \le \lvert n \rvert there is \mathbf{Z} with orthonormal columns indexed by p and \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \llbracket \mathbf{A} \rrbracket_k; for k \ge \operatorname{rank}\mathbf{A} it is any frame whose range contains the row space. Rewriting with the equation turns a statement about any frame into its top-k form, where \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\,.

NLAlib.exists_hasOrthonormalCols_mul_mul_conjTranspose_eq_truncatedSVD.{u_1, u_2, u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {p : Type u_4}
  [Fintype p] [DecidableEq p] (A : Matrix m n 𝕜) {k : ℕ} (hp : Fintype.card p = k)
  (hk : k ≤ Fintype.card n) : ∃ Z, HasOrthonormalCols Z ∧ A * Z * Zᴴ = truncatedSVD A k

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.