NLA-lib Explorer

NLAlib.frobNorm_sub_truncatedSVD_le_of_rank_le

Library · theorem

Headline of eckart-young-frobenius (provisional)

Eckart–Young in the Frobenius norm. No matrix of rank at most k is closer to \mathbf{A} in Frobenius norm than the truncated SVD: if \operatorname{rank} \mathbf{B} \le k then \|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}} \le \|\mathbf{A} - \mathbf{B}\|_{\mathsf{F}}. [HornJohnson2013, §7.4.9]. Result: eckart-young-frobenius

NLAlib.frobNorm_sub_truncatedSVD_le_of_rank_le.{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 𝕜) {B : Matrix m n 𝕜}
  {k : ℕ} (hB : B.rank ≤ k) : frobNorm (A - truncatedSVD A k) ≤ frobNorm (A - B)

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.