NLA-lib Explorer

NLAlib.truncatedSVD_of_singularValues_eq_zero

Library 路 theorem

Truncating at an index whose singular value vanishes returns the matrix: \sigma_k(\mathbf{A}) = 0 gives \llbracket \mathbf{A} \rrbracket_k = \mathbf{A}, so the truncation error \mathbf{A} - \llbracket \mathbf{A} \rrbracket_k is \mathbf{0}. The singular-value form of NLAlib.truncatedSVD_of_rank_le.

NLAlib.truncatedSVD_of_singularValues_eq_zero.{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 : 鈩晑
  (h : singularValues A k = 0) : truncatedSVD A k = A

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.