NLA-lib Explorer

NLAlib.isLeast_frobNorm_sub_of_rank_le

Library · theorem

Eckart–Young in the Frobenius norm, as a least element: over the matrices \mathbf{B} of rank at most k, the distance \|\mathbf{A} - \mathbf{B}\|_{\mathsf{F}} has a least value, and it is \|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}. Result: eckart-young-frobenius

NLAlib.isLeast_frobNorm_sub_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 𝕜) (k : ℕ) :
  IsLeast ((fun B ↦ frobNorm (A - B)) '' {B | B.rank ≤ k}) (frobNorm (A - truncatedSVD A k))

Full source on GitHub

Import NLAlib.Matrix.Spectral.LowRank.