The early-truncated randomized SVD has excess \Omega(\sqrt{k/\ell})
Library · Result group
Theorem (exists_forall_le_integral_frobNorm_sub_earlyTruncatedRSVD_sq_of_hasLaw_gaussianMatrix).The early-truncated randomized SVD has excess \Omega(\sqrt{k/\ell}): there are absolute constants c, C > 0 and K_0 such that for every k \ge K_0, a standard Gaussian 2k \times \ell test matrix \mathbf{\Omega} with \ell \ge Ck, and \mathbf{A} = \operatorname{diag}(\mathbf{I}_k, (1 - \delta)\mathbf{I}_k) with \delta = \sqrt{k/\ell}/4, \Bigl(1 + c\sqrt{k/\ell}\Bigr)\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2 \le \mathbb{E}\|\mathbf{A} - \mathsf{earlyTruncatedRSVD}(\mathbf{A}, \mathbf{\Omega}, k) \|_{\mathsf{F}}^2\,. So relative error 1 + \varepsilon needs \ell \ge c^2k/\varepsilon^2: the k-dependence of the library's 900k/\varepsilon^2 is also sharp. The constants are existential: the proof gives c = 1/(96 \cdot 10^7), C = 10^4, K_0 = 4000; numerically c \approx 0.2 for every k \ge 1. k \ge K_0 is where the proof's concentration events have probability at least 1/24; for 2 \le k < K_0 the statement is expected but not proved. No printed source. New.
Headline (provisional)General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_le_integral_frobNorm_sub_earlyTruncatedRSVD_sq_of_hasLaw_gaussianMatrix :
∃ c C K₀,
0 < c ∧
0 < C ∧
∀ {Ω l : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype l] (μ : Measure Ω) (k : ℕ)
(X : Ω → Matrix (Fin k ⊕ Fin k) l ℝ) (A : Matrix (Fin k ⊕ Fin k) (Fin k ⊕ Fin k) ℝ),
HasLaw X (gaussianMatrix (Fin k ⊕ Fin k) l) μ →
K₀ ≤ k →
C * ↑k ≤ ↑(Fintype.card l) →
A = fromBlocks 1 0 0 ((1 - √(↑k / ↑(Fintype.card l)) / 4) • 1) →
(1 + c * √(↑k / ↑(Fintype.card l))) * frobNorm (A - truncatedSVD A k) ^ 2 ≤
∫ (ω : Ω), frobNorm (A - earlyTruncatedRSVD A (X ω) k) ^ 2 ∂μ
Theorem (le_integral_frobNorm_sub_earlyTruncatedRSVD_diagonal_sq_of_hasLaw_gaussianMatrix).The early-truncated randomized SVD has excess \Omega(1/\sqrt{\ell}) at k = 1: for \mathbf{A} = \operatorname{diag}(1, 1 - \delta) with \delta = 1/(4\sqrt{\ell}), a standard Gaussian 2 \times \ell test matrix \mathbf{\Omega} and \ell \ge 100, \Bigl(1 + \frac{1}{100\sqrt{\ell}}\Bigr)\,\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_1 \|_{\mathsf{F}}^2 \le \mathbb{E}\|\mathbf{A} - \mathsf{earlyTruncatedRSVD}(\mathbf{A}, \mathbf{\Omega}, 1)\|_{\mathsf{F}}^2\,, with \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_1\|_{\mathsf{F}}^2 = (1 - \delta)^2. So relative error 1 + \varepsilon in expectation needs \ell \ge 10^{-4}/\varepsilon^2 (NLAlib.one_le_mul_card_of_forall_integral_frobNorm_sub_earlyTruncatedRSVD_sq_le), matching the \varepsilon^{-2} of NLAlib.integral_frobNorm_sub_earlyTruncatedRSVD_sq_le_one_add_mul_of_hasLaw_gaussianMatrix. The constant 1/100 is safe, not sharp: the proof gives about 0.0206, and the excess on this instance is about 0.5/\sqrt{\ell}. No printed source. New.
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.