Theorem (IsBestRankApprox.matrixNorm_sub_le_add_of_singularValues_le).The truncation lemma, constant one. If \sigma_i(\hat{\mathbf{A}}) \le \sigma_i(\mathbf{A}) for every i and \mathbf{Y} is a best rank-k approximation of \hat{\mathbf{A}}, then in every unitarily invariant norm \|\mathbf{A} - \mathbf{Y}\|_{\Phi} \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\Phi} + \|\mathbf{A} - \hat{\mathbf{A}}\|_{\Phi}\,. The hypothesis holds for \hat{\mathbf{A}} = \mathbf{P}\mathbf{A} with \mathbf{P} an orthogonal projector (IsStarProjection.singularValues_mul_le) and for Nyström of a positive semidefinite matrix (Matrix.PosSemidef.singularValues_nystrom_le); without it the constant is two (NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_two_mul). [HalkoMartinssonTropp2011, Theorem 9.3]; there in the spectral norm, for \mathbf{P}\mathbf{A} and a spectral-best \mathbf{Y}; here every gauge, any dominated \hat{\mathbf{A}}, Frobenius-best \mathbf{Y}.
Headline (provisional)
Lean statement and details
NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_of_singularValues_le.{u_1, u_2, u_3} {𝕜 : Type u_1}
[RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {A Â Y : Matrix m n 𝕜} {k : ℕ}
(hY : IsBestRankApprox  k Y) (h : ∀ (i : ℕ), singularValues  i ≤ singularValues A i)
(Φ : SymmetricGauge) :
Φ.matrixNorm (A - Y) ≤ Φ.matrixNorm (A - truncatedSVD A k) + Φ.matrixNorm (A - Â)
Theorem (IsBestRankApprox.matrixNorm_sub_le_add_two_mul).The truncation lemma, constant two. For any \hat{\mathbf{A}} and any best rank-k approximation \mathbf{Y} of it, in every unitarily invariant norm \|\mathbf{A} - \mathbf{Y}\|_{\Phi} \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\Phi} + 2\|\mathbf{A} - \hat{\mathbf{A}}\|_{\Phi}\,. [TroppYurtseverUdellCevher2017, Proposition 6.1, Remark 6.2]; [TroppYurtseverUdellCevher2017a, Proposition A.6]; there in the Frobenius, spectral and Schatten norms, here every unitarily invariant norm.
Lean statement and details
NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_two_mul.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {Â Y : Matrix m n 𝕜} {k : ℕ}
(hY : IsBestRankApprox  k Y) (Φ : SymmetricGauge) (A : Matrix m n 𝕜) :
Φ.matrixNorm (A - Y) ≤ Φ.matrixNorm (A - truncatedSVD A k) + 2 * Φ.matrixNorm (A - Â)
Theorem (SymmetricGauge.matrixNorm_sub_truncatedSVD_nystrom_le).Truncated Nyström in every unitarily invariant norm: for positive semidefinite \mathbf{H}, \|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\rrbracket_k\|_{\Phi} \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_{\Phi} + \|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_{\Phi}\,. [MartinssonTropp2020, §14.3]; [TroppYurtseverUdellCevher2017a, Theorem 4.2 (proof)]; there inside an expectation with constant two, here constant one by domination.
Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_nystrom_le.{u_1, u_2, u_4} {𝕜 : Type u_1}
[RCLike 𝕜] {l : Type u_2} {n : Type u_4} [Fintype l] [Fintype n] (Φ : SymmetricGauge)
{H : Matrix n n 𝕜} (hH : H.PosSemidef) (Ω : Matrix n l 𝕜) (k : ℕ) :
Φ.matrixNorm (H - truncatedSVD (nystrom H Ω) k) ≤
Φ.matrixNorm (H - truncatedSVD H k) + Φ.matrixNorm (H - nystrom H Ω)
Theorem (SymmetricGauge.matrixNorm_sub_truncatedSVD_rsvd_le).The truncated randomized SVD in every unitarily invariant norm: \|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\rrbracket_k\|_{\Phi} \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\Phi} + \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\|_{\Phi}\,. [HalkoMartinssonTropp2011, Theorem 9.3]; there in the spectral norm, here every unitarily invariant norm.
Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_sub_truncatedSVD_rsvd_le.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1}
[RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n]
(Φ : SymmetricGauge) (A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (k : ℕ) :
Φ.matrixNorm (A - truncatedSVD (rsvd A Ω) k) ≤
Φ.matrixNorm (A - truncatedSVD A k) + Φ.matrixNorm (A - rsvd A Ω)
Theorem (frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_rsvd_sq_add).The truncation lemma, Frobenius-squared form: \|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\rrbracket_k\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\|_{\mathsf{F}}^2 + \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,, sharper than squaring the gauge form. Dominated by NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_truncatedSVD_sq_add, kept because consumers cite this simpler form. [HalkoMartinssonTropp2011, Theorem 9.3]; [Woodruff2014, Lemma 44]; there in the spectral norm.
Lean statement and details
NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq_le_frobNorm_sub_rsvd_sq_add.{u_1, u_2, u_3, u_4}
{𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m]
[Fintype n] (A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (k : ℕ) :
frobNorm (A - truncatedSVD (rsvd A Ω) k) ^ 2 ≤
frobNorm (A - rsvd A Ω) ^ 2 + frobNorm (A - truncatedSVD A k) ^ 2