NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix
Library · theorem
Headline of randomized-svd-expected-error General form: sizes are index types
The expected error of the randomized SVD, Frobenius norm (HMT Theorem 10.5, squared): for a standard Gaussian n \times \ell test matrix \mathbf{X} and k + 2 \le \ell, <!-- value gaussianProjectionFactor k \ell --> \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{X})\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1}\Bigr)\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k \|_{\mathsf{F}}^2\,. The Frobenius instance of the Gram-form bound above; Epperly and Webber's sharper factor, with a rank parameter, is NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix_of_rank_le. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix. [HalkoMartinssonTropp2011, Theorem 10.5]; [TroppWebber2023, Theorem 8.7]; HMT assume k \ge 2 and k + p \le \min\{m, n\}, neither needed here. [HalkoMartinssonTropp2011, Theorem 10.5] prints the first-moment form <!-- value gaussianProjectionFactor k \ell --> \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{X})\|_{\mathsf{F}} \le \Bigl(1 + \frac{k}{\ell - k - 1}\Bigr)^{1/2}\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k \|_{\mathsf{F}}\,, which follows from this bound by Jensen's inequality (ProbabilityTheory.integral_le_sqrt_integral_sq). Result: randomized-svd-expected-error
NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3} {l : Type u_4} [Fintype m]
[Fintype n] [Fintype l] {X : Ω → Matrix n l ℝ} (A : Matrix m n ℝ)
(hX : HasLaw X (gaussianMatrix n l) μ) {k : ℕ} (hk : k + 2 ≤ Fintype.card l) :
∫ (ω : Ω), frobNorm (A - rsvd A (X ω)) ^ 2 ∂μ ≤
gaussianProjectionFactor k (Fintype.card l) * frobNorm (A - truncatedSVD A k) ^ 2Import NLAlib.LowRank.Gaussian.RangeFinder.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.