NLA-lib Explorer

NLAlib.isBestRankApprox_iff_singularValues_sub

Library ยท theorem

A matrix of rank at most k is a best approximation of \mathbf{C} exactly when its error has the tail singular values: \sigma_i(\mathbf{C} - \mathbf{Y}) = \sigma_{k+i}(\mathbf{C}) for every i.

NLAlib.isBestRankApprox_iff_singularValues_sub.{u_1, u_2, u_3} {๐•œ : Type u_1} [RCLike ๐•œ]
  {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {C Y : Matrix m n ๐•œ} {k : โ„•} :
  IsBestRankApprox C k Y โ†”
    Y.rank โ‰ค k โˆง โˆ€ (i : โ„•), singularValues (C - Y) i = singularValues C (k + i)

Full source on GitHub

Import NLAlib.Matrix.Spectral.BestRankApprox.