NLAlib.isBestRankApprox_iff_isMinOn
Library · theorem
Bridge to Mathlib's minimizers: \mathbf{Y} is a best approximation exactly when it has rank at most k and minimizes \mathbf{B} \mapsto \|\mathbf{C} - \mathbf{B}\|_{\mathsf{F}} over the matrices of rank at most k.
NLAlib.isBestRankApprox_iff_isMinOn.{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 ∧ IsMinOn (fun B ↦ frobNorm (C - B)) {B | B.rank ≤ k} YImport NLAlib.Matrix.Spectral.BestRankApprox.