NLA-lib Explorer

NLAlib.frobInner_truncatedSVD_sub

Library · theorem

The truncated SVD and its error are orthogonal in the Frobenius inner product: \langle \llbracket \mathbf{A} \rrbracket_k, \mathbf{A} - \llbracket \mathbf{A} \rrbracket_k \rangle_{\mathsf{F}} = 0.

NLAlib.frobInner_truncatedSVD_sub.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] (A : Matrix m n 𝕜) (k : ℕ) :
  frobInner (truncatedSVD A k) (A - truncatedSVD A k) = 0

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.