Theorem (integral_specNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix).The gapped bound for randomized subspace iteration, spectral norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), \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 + e^{-8p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. At p = 0 it is the bound of the randomized SVD at rank t, weakened to \sigma_r. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, Theorem 9.2 (RSI)], at p = \infty; there with m products and the exponent 4(m - 2)\gamma; here m = 2p + 2 (odd m is not covered).
HeadlineGeneral form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_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) μ) {h r t : ℕ} (hr : h + 1 = r)
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω), specNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
singularValues A r ^ 2 +
rexp (-8 * ↑p * singularGapRatio A h t) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 2
Theorem (SymmetricGauge.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_pow_mul_le_singularGapRatio_of_hasLaw_gaussianMatrix).The gapped bound for randomized subspace iteration, Gram form: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), in every unitarily invariant norm \|\cdot\|_{\Phi}, \mathbb{E}\bigl\|\mathbf{E}^{\mathsf{H}}\mathbf{E}\bigr\|_{\Phi} \le \bigl\|(\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r)^{\mathsf{H}} (\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r)\bigr\|_{\Phi} + \Phi(\mathbf{e}_0)\,e^{-8p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,, with \mathbf{E} = \mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X}): every quadratic unitarily invariant norm, squared Schatten norms for p \ge 2 included (\Phi(\mathbf{e}_0) = 1). [TroppWebber2023, Theorem 9.2 (RSI)]; there for Schatten 2 \le p \le \infty and m = 2p + 2.
General form: sizes are index types
Lean statement and details
NLAlib.SymmetricGauge.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_pow_mul_le_singularGapRatio_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 ℝ}
(Φ : SymmetricGauge) (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) {h r t : ℕ}
(hr : h + 1 = r) (hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω),
Φ.matrixNorm ((A - rsvd A ((Aᴴ * A) ^ p * X ω))ᴴ * (A - rsvd A ((Aᴴ * A) ^ p * X ω))) ∂μ ≤
Φ.matrixNorm ((A - truncatedSVD A r)ᴴ * (A - truncatedSVD A r)) +
Φ (Finsupp.single 0 1) * rexp (-8 * ↑p * singularGapRatio A h t) *
(↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 2
Theorem (exists_forall_integral_frobNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for randomized subspace iteration with a gap, Frobenius norm: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma power steps, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p \mathbf{X})\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\,\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,. The asymptotic form of NLAlib.integral_frobNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix, whose tail term is at most \lvert n \rvert e^{-8p\gamma}\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2; the proof takes C = 1 and \varepsilon_0 = 1/2. [TroppWebber2023, Theorem 9.2 (RSI)]; there in explicit form.
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_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 ℝ) (h r t p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
h + 1 = r →
r ≤ t →
t + 2 ≤ Fintype.card l →
0 < singularGapRatio A h t →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / singularGapRatio A h t ≤ ↑p →
∫ (ω : Ω), frobNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
(1 + ε) * frobNorm (A - truncatedSVD A r) ^ 2
Theorem (exists_forall_integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for truncated randomized subspace iteration with a gap, Frobenius norm: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma power steps, \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\rrbracket_r\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\,\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,. The asymptotic form of NLAlib.integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix; the proof takes C = 1 and \varepsilon_0 = 1/2. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_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 ℝ) (h r t p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
h + 1 = r →
r ≤ t →
t + 2 ≤ Fintype.card l →
0 < singularGapRatio A h t →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / singularGapRatio A h t ≤ ↑p →
∫ (ω : Ω),
frobNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
(1 + ε) * frobNorm (A - truncatedSVD A r) ^ 2
Theorem (exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for randomized subspace iteration with a gap, spectral norm: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma 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 NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix, whose tail term is at most \lvert n \rvert^2e^{-8p\gamma}\sigma_r(\mathbf{A})^2; the proof takes C = 1 and \varepsilon_0 = 1/2. [TroppWebber2023, Theorem 9.2 (RSI)]; there in explicit form.
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_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 ℝ) (h r t p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
h + 1 = r →
r ≤ t →
t + 2 ≤ Fintype.card l →
0 < singularGapRatio A h t →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / singularGapRatio A h t ≤ ↑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_singularGapRatio_pos_of_hasLaw_gaussianMatrix).O(\log(\lvert n \rvert/\varepsilon)/\gamma) power steps suffice for truncated randomized subspace iteration with a gap, spectral norm: there are absolute constants C, \varepsilon_0 > 0 such that for a standard Gaussian n \times \ell test matrix \mathbf{X}, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, a positive relative gap \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), 0 < \varepsilon \le \varepsilon_0 and p \ge C\log(\lvert n \rvert/\varepsilon)/\gamma 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_singularGapRatio_of_hasLaw_gaussianMatrix; the proof takes C = 1 and \varepsilon_0 = 1/2. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_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 ℝ) (h r t p : ℕ) (ε : ℝ),
HasLaw X (gaussianMatrix n l) μ →
h + 1 = r →
r ≤ t →
t + 2 ≤ Fintype.card l →
0 < singularGapRatio A h t →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / singularGapRatio A h t ≤ ↑p →
∫ (ω : Ω),
specNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
(1 + ε) * singularValues A r ^ 2
Theorem (integral_frobNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix).The gapped bound for randomized subspace iteration, Frobenius norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p \mathbf{X})\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + e^{-8p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. The spectral form is NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, Theorem 9.2 (RSI)], at p = 2; there with m = 2p + 2 products.
General form: sizes are index types
Lean statement and details
NLAlib.integral_frobNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_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) μ) {h r t : ℕ} (hr : h + 1 = r)
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω), frobNorm (A - rsvd A ((Aᴴ * A) ^ p * X ω)) ^ 2 ∂μ ≤
frobNorm (A - truncatedSVD A r) ^ 2 +
rexp (-8 * ↑p * singularGapRatio A h t) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 2
Theorem (integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix).The gapped bound for truncated randomized subspace iteration, Frobenius norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), the rank-r truncation keeps the right side of the untruncated form (NLAlib.integral_frobNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix), \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\rrbracket_r\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + e^{-8p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. Asymptotic form: NLAlib.exists_forall_integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.
General form: sizes are index types
Lean statement and details
NLAlib.integral_frobNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_singularGapRatio_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) μ) {h r t : ℕ} (hr : h + 1 = r)
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω), frobNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
frobNorm (A - truncatedSVD A r) ^ 2 +
rexp (-8 * ↑p * singularGapRatio A h t) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 2
Theorem (integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix).The gapped bound for truncated randomized subspace iteration, spectral norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, p power steps, a head of r = h + 1 singular values, a tail index t \ge r with t + 2 \le \ell, and \gamma = (\sigma_h - \sigma_t)/(\sigma_h + \sigma_t), the rank-r truncation keeps the right side of the untruncated form (NLAlib.integral_specNorm_sub_rsvd_pow_mul_sq_le_singularGapRatio_of_hasLaw_gaussianMatrix), \mathbb{E}\|\mathbf{A} - \llbracket\mathsf{rsvd}(\mathbf{A}, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^p\mathbf{X})\rrbracket_r\|_2^2 \le \sigma_r(\mathbf{A})^2 + e^{-8p\gamma}\,\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. Asymptotic form: NLAlib.exists_forall_integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix. [TroppWebber2023, §9.1, remark after Theorem 9.2]; there stated without a proof.
General form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_truncatedSVD_rsvd_pow_mul_sq_le_singularGapRatio_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) μ) {h r t : ℕ} (hr : h + 1 = r)
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω), specNorm (A - truncatedSVD (rsvd A ((Aᴴ * A) ^ p * X ω)) r) ^ 2 ∂μ ≤
singularValues A r ^ 2 +
rexp (-8 * ↑p * singularGapRatio A h t) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 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.