NLA-lib Explorer

NLAlib.nuclearNorm_eq_sum_range

Library ยท theorem

The nuclear norm is the sum of the first N singular values for any N at least the rank: \|\mathbf{A}\|_* = \sum_{i < N} \sigma_i(\mathbf{A}) when \operatorname{rank} \mathbf{A} \le N.

NLAlib.nuclearNorm_eq_sum_range.{u_1, u_3, u_4} {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] (A : Matrix m n ๐•œ) {N : โ„•} (hN : A.rank โ‰ค N) :
  nuclearNorm A = โˆ‘ i โˆˆ Finset.range N, singularValues A i

Full source on GitHub

Import NLAlib.Matrix.Norms.Nuclear.