NLA-lib Explorer

Late-truncated generalized Nyström: expected error

Library · Result group

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix_of_truncatedGeneralizedNystromRangeDim_le). Truncated generalized Nyström has relative expected squared Frobenius error for independent standard Gaussian range and co-range sketches of widths \ell\ge200k/\varepsilon and p\ge14\ell, with 0<\varepsilon\le1: \mathbb{E}\|\mathbf{A}-\llbracket\mathsf{gn}(\mathbf{A},\mathbf\Omega,\mathbf\Psi) \rrbracket_k\|_{\mathsf{F}}^2 \le(1+\varepsilon)\|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. Every matrix rank and shape is allowed. No printed source.

Headline General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix_of_truncatedGeneralizedNystromRangeDim_le.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} [MeasurableSpace Ω] {μ : Measure Ω} {m : Type u_2} {n : Type u_3} {l : Type u_4}
  {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p] {X : Ω → Matrix n l ℝ}
  {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ) (k : ℕ) {ε : ℝ} (hX : HasLaw X (gaussianMatrix n l) μ)
  (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ) (hε : 0 < ε) (hε1 : ε ≤ 1)
  (hl : truncatedGeneralizedNystromRangeDim k ε ≤ ↑(Fintype.card l))
  (hp : truncatedGeneralizedNystromCorangeDim (Fintype.card l) ≤ Fintype.card p) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    (1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Other forms

Theorem (exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix). The expected error of truncated generalized Nyström, sketch sizes O(k/\varepsilon): there is an absolute constant C > 0 such that for every \mathbf{A} \in \mathbb{R}^{m \times n} and independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p) with 4k \le \ell and 4\ell \le p, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi}) \rrbracket_k\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1} + C\Bigl(\frac{k}{p} + \frac{k}{\sqrt{\ell p}}\Bigr)\Bigr) \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. O(1) suffices for C; the explicit theorem has C = 1750000. For the choice truncatedSVD makes. Every rank of \mathbf{A}. The leading factor 1 + k/(\ell - k - 1) is that of the truncated randomized SVD. No printed source; with \ell \ge 6k, p \ge 2\ell + 2 and explicit constants. It is the asymptotic form of NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix :
  ∃ C,
    0 < C ∧
      ∀ {Ω m n l p : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype m] [inst_2 : Fintype n]
        [inst_3 : Fintype l] [inst_4 : Fintype p] (μ : Measure Ω) (A : Matrix m n ℝ)
        (X : Ω → Matrix n l ℝ) (Ψ : Ω → Matrix m p ℝ) (k : ℕ),
        HasLaw X (gaussianMatrix n l) μ →
          HasLaw Ψ (gaussianMatrix m p) μ →
            X ⟂ᵢ[μ] Ψ →
              4 * k ≤ Fintype.card l →
                4 * Fintype.card l ≤ Fintype.card p →
                  ∫ (ω : Ω),
                      frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
                    (gaussianProjectionFactor k (Fintype.card l) +
                        C *
                          (↑k / ↑(Fintype.card p) +
                            ↑k / √(↑(Fintype.card l) * ↑(Fintype.card p)))) *
                      frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_gaussianMatrix). The expected error of truncated generalized Nyström at a fixed range test matrix: there is an absolute constant C > 0 such that for \mathbf{A} \in \mathbb{R}^{m \times n}, every fixed \mathbf{x} \in \mathbb{R}^{n \times \ell}, a standard Gaussian \mathbf{\Psi} \in \mathbb{R}^{m \times p} with 4\ell \le p, any k, \mathbf{R} = \mathsf{rsvd}(\mathbf{A}, \mathbf{x}) and \mathbf{E} = \mathbf{A} - \mathbf{R}, \mathbb{E}_{\mathbf{\Psi}}\|\mathbf{A} - \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{x}, \mathbf{\Psi})\rrbracket_k\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{R}\rrbracket_k\|_{\mathsf{F}}^2 + Ck\Bigl( \frac{\|\mathbf{E}\|_{\mathsf{F}}^2 + \ell\,\|\mathbf{E}\|_2^2}{p} + \frac{\|\mathbf{E}\|_2\,\|\mathbf{R} - \llbracket\mathbf{R}\rrbracket_k\|_{\mathsf{F}}}{\sqrt p} \Bigr)\,. O(1) suffices for C; the explicit theorem has C = 12500. For the choice truncatedSVD makes. No printed source. It is the asymptotic form of NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_gaussianMatrix :
  ∃ C,
    0 < C ∧
      ∀ {m n l p : Type} [inst : Fintype m] [inst_1 : Fintype n] [inst_2 : Fintype l]
        [inst_3 : Fintype p] (A : Matrix m n ℝ) (x : Matrix n l ℝ) (k : ℕ),
        4 * Fintype.card l ≤ Fintype.card p →
          ∫ (ψ : Matrix m p ℝ),
              frobNorm (A - truncatedSVD (generalizedNystrom A x ψ) k) ^ 2 ∂gaussianMatrix m p ≤
            frobNorm (A - truncatedSVD (rsvd A x) k) ^ 2 +
              C * ↑k *
                ((frobNorm (A - rsvd A x) ^ 2 + ↑(Fintype.card l) * specNorm (A - rsvd A x) ^ 2) /
                    ↑(Fintype.card p) +
                  specNorm (A - rsvd A x) * frobNorm (rsvd A x - truncatedSVD (rsvd A x) k) /
                    √↑(Fintype.card p))

Full source on GitHub

Copy link

Theorem (exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix). O(k/\varepsilon) and O(\ell/\varepsilon) samples suffice for truncated generalized Nyström: there are absolute constants C, \varepsilon_0 > 0 such that for independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p), 0 < \varepsilon \le \varepsilon_0, \ell \ge Ck/\varepsilon and p \ge C\ell/\varepsilon, \mathbb{E}\|\mathbf{A}-\llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi})\rrbracket_k\|_{\mathsf{F}}^2 \le (1 + \varepsilon) \|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. The asymptotic form of NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_mul_of_hasLaw_gaussianMatrix through the factor's comparison at one shared C; the proof takes C = 160 and \varepsilon_0 = 1, against the explicit theorem's 6 and 8000 for the two sizes. It is dominated by NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix, where p = O(\ell) suffices.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω m n l p : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype m] [inst_2 : Fintype n]
          [inst_3 : Fintype l] [inst_4 : Fintype p] (μ : Measure Ω) (A : Matrix m n ℝ)
          (X : Ω → Matrix n l ℝ) (Ψ : Ω → Matrix m p ℝ) (k : ℕ) (ε : ℝ),
          HasLaw X (gaussianMatrix n l) μ →
            HasLaw Ψ (gaussianMatrix m p) μ →
              X ⟂ᵢ[μ] Ψ →
                0 < ε →
                  ε ≤ ε₀ →
                    C * (↑k / ε) ≤ ↑(Fintype.card l) →
                      C * (↑(Fintype.card l) / ε) ≤ ↑(Fintype.card p) →
                        ∫ (ω : Ω),
                            frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^
                              2 ∂μ ≤
                          (1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix). Truncated generalized Nyström reaches relative error 1 + \varepsilon with O(k/\varepsilon) samples: there is an absolute constant C > 0 such that for every \mathbf{A} \in \mathbb{R}^{m \times n}, every k, independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p), 0 < \varepsilon \le 1, \ell \ge Ck/\varepsilon and p \ge 4\ell, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi}) \rrbracket_k\|_{\mathsf{F}}^2 \le (1 + \varepsilon) \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. O(k/\varepsilon) suffices for both sketch sizes (the explicit theorem has C = 3500004), against p = O(k/\varepsilon^2) in integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_mul_of_hasLaw_gaussianMatrix. For the choice truncatedSVD makes. No printed source. Its name is not the exists_forall_ form of its explicit theorem's (rule N17), which the asymptotic form of the p \ge 8000\ell/\varepsilon theorem holds: NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix, dominated by this one. It is the asymptotic form of NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix :
  ∃ C,
    0 < C ∧
      ∀ {Ω m n l p : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype m] [inst_2 : Fintype n]
        [inst_3 : Fintype l] [inst_4 : Fintype p] (μ : Measure Ω) (A : Matrix m n ℝ)
        (X : Ω → Matrix n l ℝ) (Ψ : Ω → Matrix m p ℝ) (k : ℕ) (ε : ℝ),
        HasLaw X (gaussianMatrix n l) μ →
          HasLaw Ψ (gaussianMatrix m p) μ →
            X ⟂ᵢ[μ] Ψ →
              0 < ε →
                ε ≤ 1 →
                  C * ↑k ≤ ε * ↑(Fintype.card l) →
                    4 * Fintype.card l ≤ Fintype.card p →
                      ∫ (ω : Ω),
                          frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
                        (1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix). The expected error of truncated generalized Nyström, sketch sizes O(k/\varepsilon): for every \mathbf{A} \in \mathbb{R}^{m \times n} and independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p) with 4k \le \ell and 4\ell \le p, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi}) \rrbracket_k\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1} + 1750000\Bigl(\frac{k}{p} + \frac{k}{\sqrt{\ell p}}\Bigr)\Bigr) \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. For the choice truncatedSVD makes. Every rank of \mathbf{A}. The leading factor 1 + k/(\ell - k - 1) is that of the truncated randomized SVD. No printed source; with \ell \ge 6k, p \ge 2\ell + 2 and explicit constants. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix; the relative-error corollary NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ) {X : Ω → Matrix n l ℝ} (k : ℕ)
  (hX : HasLaw X (gaussianMatrix n l) μ) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ)
  (hkl : 4 * k ≤ Fintype.card l) (hlp : 4 * Fintype.card l ≤ Fintype.card p) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    (gaussianProjectionFactor k (Fintype.card l) +
        1750000 * (↑k / ↑(Fintype.card p) + ↑k / √(↑(Fintype.card l) * ↑(Fintype.card p)))) *
      frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_sqrt_of_hasLaw_gaussianMatrix). Truncated generalized Nyström, Frobenius core-noise form: for independent standard Gaussian test matrices, k + 2 \le \ell and \ell + 2 \le p, writing h = \ell/(p - \ell - 1), the bound is <!-- value gaussianProjectionFactor k \ell --> \mathbb{E}\|\mathbf{A}-\llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi})\rrbracket_k\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1} + 4\sqrt{h\Bigl(1 + \frac{k}{\ell - k - 1}\Bigr)} + 4h\Bigl(1 + \frac{k}{\ell - k - 1}\Bigr)\Bigr) \|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. Incomparable with NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix: milder size conditions and better constants at practical sizes (below \ell \approx 10^3 k), but relative error 1 + \varepsilon only at p = O(k/\varepsilon^3). Proved without a literature source; [TroppYurtseverUdellCevher2017, Corollary 6.4] is the published first-moment bound of this kind (constant 2, triangle inequality).

General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_sqrt_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  {X : Ω → Matrix n l ℝ} {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ)
  (hX : HasLaw X (gaussianMatrix n l) μ) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ)
  {k : ℕ} (hk : k + 2 ≤ Fintype.card l) (hlp : Fintype.card l + 2 ≤ Fintype.card p) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    (gaussianProjectionFactor k (Fintype.card l) +
          4 *
            √(↑(Fintype.card l) / (↑(Fintype.card p) - ↑(Fintype.card l) - 1) *
                gaussianProjectionFactor k (Fintype.card l)) +
        4 * (↑(Fintype.card l) / (↑(Fintype.card p) - ↑(Fintype.card l) - 1)) *
          gaussianProjectionFactor k (Fintype.card l)) *
      frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix). The expected error of truncated generalized Nyström: for independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p) with 4k \le \ell and 4\ell \le p, <!-- value truncatedGNFactor k \ell p --> \mathbb{E}\|\mathbf{A}-\llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi})\rrbracket_k\|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{k}{\ell - k - 1} + 4\sqrt{\frac{2k}{p}\Bigl(25\Bigl(1 + \frac{k}{\ell - k - 1}\Bigr) + 484\Bigr)} + \frac{8k}{p}\Bigl(25\Bigl(1 + \frac{k}{\ell - k - 1}\Bigr) + 484\Bigr)\Bigr) \|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,, that is, g + 4\sqrt{2kc} + 8kc with g = 1 + k/(\ell - k - 1) and c = (25g + 484)/p. Every rank of \mathbf{A}; the truncation is truncatedSVD, and the bound holds for every best rank-k approximation of the output. Proved without a literature source; inputs [HalkoMartinssonTropp2011, Theorems 9.1, 10.5]; [TroppWebber2023, Lemmas B.1, B.3]; [HornJohnson2013, Theorem 7.4.1.1] (through the perturbed truncation lemma). Comparison points: [TroppYurtseverUdellCevher2017, Corollary 6.4] (the constant-2 triangle bound, first moment, never below 3\,\|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}); the Frobenius-noise bound integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_add_sqrt_of_hasLaw_gaussianMatrix (relative error 1 + \varepsilon only at p = O(k/\varepsilon^3), better constants below \ell \approx 10^3 k); [CamanoEpperlyMeyerTropp2025, Remark 2.9] concerns a different, core-truncated estimator and states no bound.

General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  {X : Ω → Matrix n l ℝ} {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ)
  (hX : HasLaw X (gaussianMatrix n l) μ) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ)
  {k : ℕ} (hkl : 4 * k ≤ Fintype.card l) (hlp : 4 * Fintype.card l ≤ Fintype.card p) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    truncatedGNFactor k (Fintype.card l) (Fintype.card p) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_mul_of_hasLaw_gaussianMatrix). Truncated generalized Nyström reaches relative error 1 + \varepsilon with independent standard Gaussian test matrices of sizes \ell \ge 6k/\varepsilon and p \ge 8000\,\ell/\varepsilon, 0 < \varepsilon \le 1: \mathbb{E}\|\mathbf{A}-\llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi})\rrbracket_k\|_{\mathsf{F}}^2 \le (1 + \varepsilon) \|\mathbf{A}-\llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_of_hasLaw_gaussianMatrix. The bound with both sizes O(k/\varepsilon) (\ell \ge 3500004\,k/\varepsilon, p \ge 4\ell) is NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix (NLAlib.LowRank.Gaussian.TruncatedGeneralizedNystromRate); this one has the smaller constant for \ell. Proved without a literature source.

General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_mul_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  {X : Ω → Matrix n l ℝ} {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ)
  (hX : HasLaw X (gaussianMatrix n l) μ) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ)
  {k : ℕ} {ε : ℝ} (hε : 0 < ε) (hε1 : ε ≤ 1) (hl : 6 * ↑k ≤ ε * ↑(Fintype.card l))
  (hp : 8000 * ↑(Fintype.card l) ≤ ε * ↑(Fintype.card p)) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    (1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

Theorem (integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix). Truncated generalized Nyström reaches relative error 1 + \varepsilon with O(k/\varepsilon) samples: for every \mathbf{A} \in \mathbb{R}^{m \times n}, every k, independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (m \times p), 0 < \varepsilon \le 1, \ell \ge 3500004\,k/\varepsilon and p \ge 4\ell, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{gn}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi}) \rrbracket_k\|_{\mathsf{F}}^2 \le (1 + \varepsilon) \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2\,. Both sketch sizes are O(k/\varepsilon), against p = O(k/\varepsilon^2) in integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_mul_of_hasLaw_gaussianMatrix. For the choice truncatedSVD makes. No printed source. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix.

General form: sizes are index types

Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix.{u_1,
    u_2, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
  {l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  {Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ) {X : Ω → Matrix n l ℝ} (k : ℕ) {ε : ℝ}
  (hX : HasLaw X (gaussianMatrix n l) μ) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ)
  (hε : 0 < ε) (hε1 : ε ≤ 1) (hkl : 3500004 * ↑k ≤ ε * ↑(Fintype.card l))
  (hlp : 4 * Fintype.card l ≤ Fintype.card p) :
  ∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
    (1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2

Full source on GitHub

Copy link

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.