NLA-lib Explorer

NLAlib.isBestRankApprox_iff_eq_of_rank_le

Library · theorem

When \operatorname{rank}\mathbf{C} \le k, the only best approximation of \mathbf{C} of rank at most k is \mathbf{C} itself.

NLAlib.isBestRankApprox_iff_eq_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] {C Y : Matrix m n 𝕜} {k : ℕ} (hk : C.rank ≤ k) :
  IsBestRankApprox C k Y ↔ Y = C

Full source on GitHub

Import NLAlib.Matrix.Spectral.BestRankApprox.