NLA-lib Explorer

NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_isLeftUnitarilyInvariant

Library · theorem

General form: sizes are index types

The expected error of the randomized SVD, Frobenius norm, rotation-invariant test matrices: for a test matrix \mathbf{X} with a left unitarily invariant law and full column rank almost surely 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\,, with HMT's factor. The instance r = n of NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_isLeftUnitarilyInvariant_of_rank_le, with Epperly and Webber's factor bounded by HMT's; kept for the form consumers cite. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_rsvd_sq_le_of_isLeftUnitarilyInvariant. [EpperlyWebber2026, Theorem 3.1]; [HalkoMartinssonTropp2011, Theorem 10.5]; there (EW) over \mathbb{R} and \mathbb{C} with a minimum over the number q of directions, here over \mathbb{R} at q = k. [EpperlyWebber2026, Theorem 3.1] and [HalkoMartinssonTropp2011, Theorem 10.5] print 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_isLeftUnitarilyInvariant.{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 ℝ} [DecidableEq n]
  {ν : Measure (Matrix n l ℝ)} [IsProbabilityMeasure ν] [IsLeftUnitarilyInvariant ν]
  (A : Matrix m n ℝ) (hX : HasLaw X ν μ) (hXr : ∀ᵐ (ω : Ω) ∂μ, Function.Injective (X ω).mulVec)
  {k : ℕ} (hk : k + 2 ≤ Fintype.card l) :
  ∫ (ω : Ω), frobNorm (A - rsvd A (X ω)) ^ 2 ∂μ ≤
    gaussianProjectionFactor k (Fintype.card l) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Import NLAlib.LowRank.Gaussian.RotationInvariant.

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.