Theorem (integral_specNorm_sub_rsvd_pow_mul_sq_le_mul_rpow_of_hasLaw_gaussianMatrix).Tropp and Webber's gapless bound for randomized subspace iteration: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a target rank r with r + 2 \le \ell and \sigma_r(\mathbf{A}) > 0, the bound <!-- value rangeFinderTailRatio \mathbf{A} r \ell --> \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\|_2^2 \le \sigma_r(\mathbf{A})^2\Bigl(1 + \frac{r}{\ell - r - 1}\, \frac{\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2}{\sigma_r(\mathbf{A})^2} \Bigr)^{1/(2p+1)}\,, the range-finder tail ratio NLAlib.rangeFinderTailRatio to the power 1/(2p + 1). At p = 0 it is the bound of the randomized SVD (TW Theorem 8.1). The proof uses the power lemma (IsStarProjection.specNorm_mul_pow_le) in place of the almost-convex Jensen inequality. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix. [TroppWebber2023, Theorem 9.1 (RSI)]; there in logarithmic form with m products and the rate 1/(m - 1); here m = 2p + 2. The power lemma is [HalkoMartinssonTropp2011, Proposition 8.6].
HeadlineGeneral form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_mul_rpow_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] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {r : ℕ} (hr : r + 2 ≤ Fintype.card l)
(p : ℕ) (hσ : 0 < singularValues A r) :
∫ (ω : Ω), specNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
singularValues A r ^ 2 * rangeFinderTailRatio A r (Fintype.card l) ^ (1 / (2 * ↑p + 1))
Theorem (exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert + 1)/\varepsilon) power steps suffice for randomized subspace iteration, spectral norm, no gap: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a target rank r with r + 2 \le \ell, 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert + 1)/\varepsilon power steps, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p \mathbf{X})\|_2^2 \le (1 + \varepsilon)\,\sigma_r(\mathbf{A})^2\,. The asymptotic form of Tropp and Webber's gapless bound NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_mul_rpow_of_hasLaw_gaussianMatrix, with the tail ratio at most 1 + \lvert n \rvert^2 (NLAlib.rangeFinderTailRatio_le_one_add_card_sq). When \sigma_r(\mathbf{A}) = 0 the (1 + \varepsilon) form (NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix) gives error 0, so no positivity hypothesis is needed. The proof takes C = 2 and \varepsilon_0 = 1. [TroppWebber2023, Theorem 9.1 (RSI)]; there in logarithmic form with m = 2p + 2 products.
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω m n l : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] [inst_4 : Fintype l] (μ : Measure Ω) (A : Matrix m n ℝ)
(X : Ω → Matrix n l ℝ) (r p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
r + 2 ≤ Fintype.card l →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) + 1) / ε ≤ ↑p →
∫ (ω : Ω), specNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
(1 + ε) * singularValues A r ^ 2
Theorem (exists_forall_integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert/\varepsilon)/\varepsilon) power steps suffice for truncated randomized subspace iteration, spectral norm, no gap: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a target rank r with r + 2 \le \ell, 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert/\varepsilon)/\varepsilon power steps, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\rrbracket_r\|_2^2 \le (1 + \varepsilon)\,\sigma_r(\mathbf{A})^2\,. The asymptotic form of NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix, at \varepsilon/3, with the tail term at most \lvert n \rvert^2e^{-8p\varepsilon/(6 + \varepsilon)}\sigma_r(\mathbf{A})^2; the proof takes C = 11 and \varepsilon_0 = 1/2. At \lvert n \rvert = 0 every p is allowed (Lean's \log 0 = 0), harmlessly, since then \mathbf{A} = \mathbf{0}. [MuscoMusco2015, Theorem 10 (proof)]; [TroppWebber2023, Theorem 9.2 (RSI)]; there for block Krylov iteration (MM) or gapped (TW).
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω m n l : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] [inst_4 : Fintype l] (μ : Measure Ω) (A : Matrix m n ℝ)
(X : Ω → Matrix n l ℝ) (r p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
r + 2 ≤ Fintype.card l →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / ε ≤ ↑p →
∫ (ω : Ω), specNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
(1 + ε) * singularValues A r ^ 2
Theorem (integral_specNorm_sub_rsvd_pow_mul_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix).The gapless bound for randomized subspace iteration, (1 + \varepsilon) form: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a target rank r with r + 2 \le \ell, and every \varepsilon > 0, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\|_2^2 \le (1 + \varepsilon)^2\sigma_r(\mathbf{A})^2 + e^{-8p\varepsilon/(2 + \varepsilon)}\,\frac{r}{\ell - r - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,. The same bound as the truncated form (NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix). [MuscoMusco2015, Theorem 10 (proof)]; [TroppWebber2023, Theorem 9.2 (RSI)]; constants composed here.
General form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_one_add_sq_mul_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] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {r : ℕ} (hr : r + 2 ≤ Fintype.card l)
(p : ℕ) {ε : ℝ} (hε : 0 < ε) :
∫ (ω : Ω), specNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
(1 + ε) ^ 2 * singularValues A r ^ 2 +
rexp (-8 * ↑p * (ε / (2 + ε))) * (↑r / (↑(Fintype.card l) - ↑r - 1)) *
frobNorm (A - truncatedSVD A r) ^ 2
Theorem (integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_one_add_sq_mul_of_hasLaw_gaussianMatrix).The gapless bound for truncated randomized subspace iteration, (1 + \varepsilon) form: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a target rank r with r + 2 \le \ell, and every \varepsilon > 0, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\rrbracket_r\|_2^2 \le (1 + \varepsilon)^2\sigma_r(\mathbf{A})^2 + e^{-8p\varepsilon/(2 + \varepsilon)}\,\frac{r}{\ell - r - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_hasLaw_gaussianMatrix. [MuscoMusco2015, Theorem 10 (proof)]; [TroppWebber2023, Theorem 9.2 (RSI)]; there for block Krylov iteration (MM) or gapped (TW); constants composed here.
General form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_one_add_sq_mul_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] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {r : ℕ} (hr : r + 2 ≤ Fintype.card l)
(p : ℕ) {ε : ℝ} (hε : 0 < ε) :
∫ (ω : Ω), specNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
(1 + ε) ^ 2 * singularValues A r ^ 2 +
rexp (-8 * ↑p * (ε / (2 + ε))) * (↑r / (↑(Fintype.card l) - ↑r - 1)) *
frobNorm (A - truncatedSVD A r) ^ 2
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.