NLA-lib Explorer

Best approximations of rank at most k

Library · Source module

Best approximations of rank at most k

NLAlib.IsBestRankApprox C k Y says that \mathbf{Y} has rank at most k and that no matrix of rank at most k is closer to \mathbf{C} in the Frobenius norm. The truncated SVD \llbracket \mathbf{C} \rrbracket_k (NLAlib.truncatedSVD) is one; under a tie \sigma_{k-1}(\mathbf{C}) = \sigma_k(\mathbf{C}) there are others, and an algorithm's output \mathbf{Q}\llbracket\mathbf{X}\rrbracket_k need not be truncatedSVD (Q * X) k. The predicate is how such outputs enter a theorem. A best approximation has the error singular values \sigma_{k+i}(\mathbf{C}), so it is best in every unitarily invariant norm.

The second half bounds the error of truncating an approximation \hat{\mathbf{A}} of \mathbf{A}: with constant one when the singular values of \hat{\mathbf{A}} are dominated by those of \mathbf{A}, with constant two in general, and through the 2k leading singular values of the perturbation in the Frobenius norm (perturbed truncation). Reverse Eckart–Young bounds the spectral error of any rank-k matrix by its Frobenius or nuclear excess. The last results relate the truncation of \mathbf{G}^{\mathsf{H}}\mathbf{G} to that of \mathbf{G}.

Every statement holds for every choice of the truncations involved.

Main definitions

* NLAlib.IsBestRankApprox: a best approximation of rank at most k.

Main results

* NLAlib.isBestRankApprox_truncatedSVD, NLAlib.isBestRankApprox_iff, NLAlib.isBestRankApprox_iff_isMinOn, NLAlib.isBestRankApprox_iff_singularValues_sub: constructors and characterizations. * NLAlib.isBestRankApprox_zero_iff, NLAlib.isBestRankApprox_iff_eq_of_rank_le: the degenerate cases k = 0 and \operatorname{rank}\mathbf{C} \le k, where the best approximation is unique. * NLAlib.isBestRankApprox_iff_exists_isSVD: the best approximations are exactly the truncations of the thin SVDs of \mathbf{C}, ties and k \ge \operatorname{rank}\mathbf{C} included. * NLAlib.IsBestRankApprox.singularValues_sub, NLAlib.IsBestRankApprox.matrixNorm_sub, NLAlib.IsBestRankApprox.frobNorm_sub, NLAlib.IsBestRankApprox.rangeProjector_mul: API. * NLAlib.HasOrthonormalCols.isBestRankApprox_mul_iff, NLAlib.HasOrthonormalCols.isBestRankApprox_conjTranspose_mul_truncatedSVD: the factored form, with NLAlib.HasOrthonormalCols.mul_conjTranspose_mul_truncatedSVD (NLAlib.Matrix.Spectral.LowRank). * NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_of_singularValues_le, NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_two_mul: the truncation lemma. * NLAlib.specNorm_sub_sq_add_frobNorm_sub_truncatedSVD_sq_le_of_rank_le, NLAlib.specNorm_sub_add_nuclearNorm_sub_truncatedSVD_le_of_rank_le: reverse Eckart–Young. * NLAlib.frobNorm_sub_truncatedSVD_le_nuclearNorm_div, Matrix.PosSemidef.frobNorm_sub_truncatedSVD_le_re_trace_div: the Frobenius tail is at most \|\mathbf{A}\|_*/(2\sqrt{r}). * NLAlib.IsBestRankApprox.frobNorm_sub_le_add_frobNorm_truncatedSVD, NLAlib.IsBestRankApprox.frobNorm_sub_le_add_specNorm: perturbed truncation. * NLAlib.nuclearNorm_conjTranspose_mul_self_sub_truncatedSVD, NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_truncatedSVD: Gram matrices, in trace and in every unitarily invariant norm. The Loewner order \llbracket\mathbf{A}\rrbracket_k \preceq \mathbf{A} for positive semidefinite \mathbf{A} is Matrix.PosSemidef.truncatedSVD_le (NLAlib.Matrix.Spectral.LowRank).

Declarations