NLA-lib Explorer

NLAlib.exists_hasOrthonormalCols_range_eq_range_conjTranspose_truncatedSVD

Library · theorem

A frame of the row space of the truncated SVD: for an index type p with \lvert p \rvert = \operatorname{rank} \llbracket \mathbf{A} \rrbracket_k there is \mathbf{Z} with orthonormal columns indexed by p whose column space is that of \llbracket \mathbf{A} \rrbracket_k^{\mathsf{H}}, so that \mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \mathbf{P}_{\llbracket \mathbf{A} \rrbracket_k^{\mathsf{H}}} and \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \llbracket \mathbf{A} \rrbracket_k.

NLAlib.exists_hasOrthonormalCols_range_eq_range_conjTranspose_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 = (truncatedSVD A k).rank) :
  ∃ Z,
    HasOrthonormalCols Z ∧
      Z.mulVecLin.range = (truncatedSVD A k)ᴴ.mulVecLin.range ∧
        Z * Zᴴ = rangeProjector (truncatedSVD A k)ᴴ ∧ A * Z * Zᴴ = truncatedSVD A k

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.