Theorem (Matrix.PosSemidef.measureReal_nuclearNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of randomized Nyström, trace: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_* > \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. The error is positive semidefinite, so this bounds \operatorname{tr}(\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})). [TroppWebber2023, Corollary 8.2 (NysSVD1)]; there at p = 1, with the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(t/e)^{-d/2}, which follow from this bound at s = \sqrt{u} - 1.
Headline (provisional)General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_nuclearNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
nuclearNorm (H - truncatedSVD H k) +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
nuclearNorm (H - nystrom H (X ω))} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (Matrix.PosSemidef.measureReal_nuclearNorm_sub_truncatedSVD_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of truncated Nyström, trace: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[ \|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{X})\rrbracket_k\|_* > \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. The bound is that of the untruncated output, for every choice of the truncation: the late truncation costs nothing. The error does not depend on the choice (it is the squared Frobenius error of the truncated randomized SVD of a factor, NLAlib.measureReal_frobNorm_sub_truncatedSVD_rsvd_sq_gt_le_of_hasLaw_gaussianMatrix), so the failure event is measurable. [TroppWebber2023, Corollary 8.2 (NysSVD1)] with [TroppYurtseverUdellCevher2017a, Remark A.4]; there announced ("We omit the details"), composed here (they print the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure term e^{-(u-2)/4}, the case s = \sqrt{u} - 1 of this one).
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_nuclearNorm_sub_truncatedSVD_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
nuclearNorm (H - truncatedSVD H k) +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
nuclearNorm (H - truncatedSVD (nystrom H (X ω)) k)} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (Matrix.PosSemidef.measureReal_schattenNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of randomized Nyström, Schatten norms: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), an exponent 1 \le p \le \infty, s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_{S_p} > \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_{S_p} + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. The Schatten case of the gauge form (in NLAlib.SymmetricGauge, measureReal_matrixNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix). [TroppWebber2023, Corollary 8.2 (NysSVD1)]; there with the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(t/e)^{-d/2}, which follow from this bound at s = \sqrt{u} - 1.
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_schattenNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2,
u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {p : ℝ≥0∞}
(hp : 1 ≤ p) {s t : ℝ} (hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
schattenNorm p (H - truncatedSVD H k) +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
schattenNorm p (H - nystrom H (X ω))} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (Matrix.PosSemidef.measureReal_specNorm_sub_gt_le_of_isBestRankApprox_nystrom_of_hasLaw_gaussianMatrix).The tail of truncated Nyström, spectral norm (Martinsson and Tropp's Theorem 14.1 in tail form), for any best rank-k approximations, no measurability: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), any \mathbf{Y}(\omega) \in \mathbb{R}^{n \times n} that is, for every \omega, a best rank-k approximation of \mathsf{nystrom}(\mathbf{H}, \mathbf{X}(\omega)) (hY), s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[\|\mathbf{H} - \mathbf{Y}\|_2 > \sigma_k(\mathbf{H}) + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. This is the bound of the untruncated output; here \sigma_k(\mathbf{H}) = \lambda_k(\mathbf{H}), indexed from 0. The failure event lies inside that of the trace tail of truncated Nyström, by reverse Eckart–Young (NLAlib.specNorm_sub_add_nuclearNorm_sub_truncatedSVD_le_of_rank_le). The event may be non-measurable; μ.real is then the outer measure, so this bound says exactly that the failure event lies in a measurable event of at most this probability (MeasureTheory.exists_measurable_superset). The success-set form, probability at least 1 - \delta for the good event, does not follow without measurability (MeasureTheory.measureReal_compl needs MeasurableSet). [TroppWebber2023, Corollary 8.2 (NysSVD1)] with [TroppYurtseverUdellCevher2017a, Proposition A.8]; composed here (they print the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure term e^{-(u-2)/4}, the case s = \sqrt{u} - 1 of this one).
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_specNorm_sub_gt_le_of_isBestRankApprox_nystrom_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1)
{Y : Ω → Matrix n n ℝ} (hY : ∀ (ω : Ω), IsBestRankApprox (nystrom H (X ω)) k (Y ω)) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
singularValues H k +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
specNorm (H - Y ω)} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (Matrix.PosSemidef.measureReal_specNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of randomized Nyström, spectral norm: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_2 > \sigma_k(\mathbf{H}) + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. Here \sigma_k(\mathbf{H}) = \lambda_k(\mathbf{H}), indexed from 0. [TroppWebber2023, Corollary 8.2 (NysSVD1)]; there at p = \infty, with the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(t/e)^{-d/2}, which follow from this bound at s = \sqrt{u} - 1.
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_specNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
singularValues H k +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
specNorm (H - nystrom H (X ω))} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (Matrix.PosSemidef.measureReal_specNorm_sub_truncatedSVD_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of truncated Nyström, spectral norm, for the output truncatedSVD (nystrom H (X ω)) k: for a positive semidefinite \mathbf{H} \in \mathbb{R}^{n \times n}, a test matrix \mathbf{X} \in \mathbb{R}^{n \times \ell} with independent standard Gaussian entries (HasLaw X (gaussianMatrix n l) μ), a target rank k with d = \ell - k + 1 (hd : k + d = Fintype.card l + 1), s \ge 0 and t > 0, <!-- value gaussianPinvFrobTail k d t --> \mathbb{P}\Bigl[ \|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{X})\rrbracket_k\|_2 > \sigma_k(\mathbf{H}) + \frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2\Bigr] \le e^{-s^2/2} + \frac{2\sqrt{k}\,(d/(2t))^{d/2}}{\Gamma(d/2 + 1)}\,, the second failure term being gaussianPinvFrobTail k d t. Here \sigma_k(\mathbf{H}) = \lambda_k(\mathbf{H}), indexed from 0. The event may be non-measurable (the truncation is a choice); μ.real is then the outer measure, and the bound says that the failure event lies in a measurable event of at most this probability. The success-set form, probability at least 1 - \delta for the good event, does not follow without measurability (MeasureTheory.measureReal_compl needs MeasurableSet). [TroppWebber2023, Corollary 8.2 (NysSVD1)] with [TroppYurtseverUdellCevher2017a, Proposition A.8]; composed here (they print the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure term e^{-(u-2)/4}, the case s = \sqrt{u} - 1 of this one).
General form: sizes are index types
Lean statement and details
Matrix.PosSemidef.measureReal_specNorm_sub_truncatedSVD_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
singularValues H k +
t * ↑k / ↑d * (√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
specNorm (H - truncatedSVD (nystrom H (X ω)) k)} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (HasJLMoment.measureReal_nuclearNorm_sub_nystrom_gt_le).Randomized Nyström to relative error through approximate multiplication, trace norm: for real positive semidefinite \mathbf{H} and a real OSI \mathbf{\Omega}^{\mathsf{H}} for dimension k (constant a > 0, failure probability \delta) with the (\varepsilon, \delta', p) JL moment property, \varepsilon > 0, p \ge 2, \delta' \ge 0, \|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_* \le \Bigl(1 + \frac{k\varepsilon^2}{a^2}\Bigr)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* except with probability \delta + \delta'. Its constant-factor neighbour is NLAlib.IsObliviousSubspaceInjection.measureReal_nuclearNorm_sub_nystrom_gt_le. [Woodruff2014, Lemma 45] through [CamanoEpperlyMeyerTropp2025, Imported Theorem 2.4].
Lean statement and details
NLAlib.HasJLMoment.measureReal_nuclearNorm_sub_nystrom_gt_le.{u_1, u_4, u_5} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_4} {l : Type u_5} [Fintype n] [Fintype l]
[DecidableEq n] [IsFiniteMeasure μ] {X : Ω → Matrix n l ℝ} {H : Matrix n n ℝ} (hH : H.PosSemidef)
{k : ℕ} {a δ ε δ' p : ℝ} (hJL : HasJLMoment (fun ω ↦ (X ω)ᴴ) ε δ' p μ)
(h : IsObliviousSubspaceInjection (fun ω ↦ (X ω)ᴴ) k a δ μ) (hX : AEMeasurable X μ) (ha : 0 < a)
(hε : 0 < ε) (hp : 2 ≤ p) (hδ' : 0 ≤ δ') :
μ.real
{ω |
(1 + ↑k * ε ^ 2 / a ^ 2) * nuclearNorm (H - truncatedSVD H k) <
nuclearNorm (H - nystrom H (X ω))} ≤
δ + δ'
Theorem (IsObliviousSubspaceInjection.measureReal_matrixNorm_sub_nystrom_gt_le).Randomized Nyström with an oblivious subspace injection, every unitarily invariant norm: for a positive semidefinite \mathbf{H} \in \Bbbk^{n \times n}, a target rank k, a finite measure \mathbb{P} and a random test matrix \mathbf{\Omega} \in \Bbbk^{n \times \ell} whose sketch \mathbf{\Omega}^{\mathsf{H}} is an oblivious subspace injection for dimension k with constant a > 0 and failure probability \delta (isotropic, \mathbb{E}[\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}] = \mathbf{I}, and for every \mathbf{U} \in \Bbbk^{n \times n} of rank at most k, a\|\mathbf{y}\|^2 \le \|\mathbf{\Omega}^{\mathsf{H}}\mathbf{y}\|^2 for all \mathbf{y} \in \operatorname{range}\mathbf{U} except with probability \delta; IsObliviousSubspaceInjection), any t > 0 and every symmetric gauge \Phi (SymmetricGauge) with its unitarily invariant norm \|\cdot\|_{\Phi}, \mathbb{P}\Bigl[\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_{\Phi} > \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_{\Phi} + \Phi(\mathbf{e}_0)\,\frac{t}{a}\, \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*\Bigr] \le \delta + \frac{1}{t}\,, with \mathbf{e}_0 the first unit coordinate sequence. [CamanoEpperlyMeyerTropp2025, Corollary 2.5]; there the trace norm.
Lean statement and details
NLAlib.IsObliviousSubspaceInjection.measureReal_matrixNorm_sub_nystrom_gt_le.{u_1, u_2, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4}
{l : Type u_5} [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l 𝕜} [IsFiniteMeasure μ]
{H : Matrix n n 𝕜} (hH : H.PosSemidef) {k : ℕ} {a δ t : ℝ}
(h : IsObliviousSubspaceInjection (fun ω ↦ (X ω)ᴴ) k a δ μ) (ha : 0 < a) (ht : 0 < t)
(Φ : SymmetricGauge) :
μ.real
{ω |
Φ.matrixNorm (H - truncatedSVD H k) +
Φ (Finsupp.single 0 1) * (t / a) * nuclearNorm (H - truncatedSVD H k) <
Φ.matrixNorm (H - nystrom H (X ω))} ≤
δ + 1 / t
Theorem (IsObliviousSubspaceInjection.measureReal_nuclearNorm_sub_nystrom_gt_le).Randomized Nyström with an oblivious subspace injection, trace norm: for positive semidefinite \mathbf{H} and an OSI \mathbf{\Omega}^{\mathsf{H}} for dimension k with constant a > 0 and failure probability \delta, for t > 0\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_* \le \Bigl(1 + \frac{t}{a}\Bigr)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* except with probability \delta + 1/t. An OSI, not a fixed subspace: the proof passes to a factor \mathbf{H} = \mathbf{F}^{\mathsf{H}}\mathbf{F}, whose dominant subspace under a tie of eigenvalues need not be that of \llbracket\mathbf{H}\rrbracket_k. [CamanoEpperlyMeyerTropp2025, Corollary 2.5]; there C/\alpha at probability 9/10.
Lean statement and details
NLAlib.IsObliviousSubspaceInjection.measureReal_nuclearNorm_sub_nystrom_gt_le.{u_1, u_2, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4}
{l : Type u_5} [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l 𝕜} [IsFiniteMeasure μ]
{H : Matrix n n 𝕜} (hH : H.PosSemidef) {k : ℕ} {a δ t : ℝ}
(h : IsObliviousSubspaceInjection (fun ω ↦ (X ω)ᴴ) k a δ μ) (ha : 0 < a) (ht : 0 < t) :
μ.real
{ω | (1 + t / a) * nuclearNorm (H - truncatedSVD H k) < nuclearNorm (H - nystrom H (X ω))} ≤
δ + 1 / t
Theorem (IsObliviousSubspaceInjection.measureReal_nuclearNorm_sub_truncatedSVD_nystrom_gt_le).Truncated randomized Nyström with an oblivious subspace injection, trace norm: for a positive semidefinite \mathbf{H} \in \Bbbk^{n \times n}, a target rank k, a finite measure \mathbb{P} and a random test matrix \mathbf{\Omega} \in \Bbbk^{n \times \ell} whose sketch \mathbf{\Omega}^{\mathsf{H}} is an oblivious subspace injection for dimension k with constant a > 0 and failure probability \delta (isotropic, \mathbb{E}[\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}] = \mathbf{I}, and for every \mathbf{U} \in \Bbbk^{n \times n} of rank at most k, a\|\mathbf{y}\|^2 \le \|\mathbf{\Omega}^{\mathsf{H}}\mathbf{y}\|^2 for all \mathbf{y} \in \operatorname{range}\mathbf{U} except with probability \delta; IsObliviousSubspaceInjection), and any t > 0, \mathbb{P}\Bigl[ \|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\rrbracket_k\|_* > \Bigl(1 + \frac{t}{a}\Bigr)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*\Bigr] \le \delta + \frac{1}{t}\,, the bound of the untruncated output. [CamanoEpperlyMeyerTropp2025, remark after Theorem 1.3].
Lean statement and details
NLAlib.IsObliviousSubspaceInjection.measureReal_nuclearNorm_sub_truncatedSVD_nystrom_gt_le.{u_1,
u_2, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4}
{l : Type u_5} [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l 𝕜} [IsFiniteMeasure μ]
{H : Matrix n n 𝕜} (hH : H.PosSemidef) {k : ℕ} {a δ t : ℝ}
(h : IsObliviousSubspaceInjection (fun ω ↦ (X ω)ᴴ) k a δ μ) (ha : 0 < a) (ht : 0 < t) :
μ.real
{ω |
(1 + t / a) * nuclearNorm (H - truncatedSVD H k) <
nuclearNorm (H - truncatedSVD (nystrom H (X ω)) k)} ≤
δ + 1 / t
Theorem (IsObliviousSubspaceInjection.measureReal_specNorm_sub_nystrom_gt_le).Randomized Nyström with an oblivious subspace injection, spectral norm: for a positive semidefinite \mathbf{H} \in \Bbbk^{n \times n}, a target rank k, a finite measure \mathbb{P} and a random test matrix \mathbf{\Omega} \in \Bbbk^{n \times \ell} whose sketch \mathbf{\Omega}^{\mathsf{H}} is an oblivious subspace injection for dimension k with constant a > 0 and failure probability \delta (isotropic, \mathbb{E}[\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}] = \mathbf{I}, and for every \mathbf{U} \in \Bbbk^{n \times n} of rank at most k, a\|\mathbf{y}\|^2 \le \|\mathbf{\Omega}^{\mathsf{H}}\mathbf{y}\|^2 for all \mathbf{y} \in \operatorname{range}\mathbf{U} except with probability \delta; IsObliviousSubspaceInjection), and any t > 0, \mathbb{P}\Bigl[\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_2 > \sigma_k(\mathbf{H}) + \frac{t}{a}\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*\Bigr] \le \delta + \frac{1}{t}\,, where \sigma_k(\mathbf{H}) = \lambda_k(\mathbf{H}), indexed from 0. The form a Nyström preconditioner consumes. [CamanoEpperlyMeyerTropp2025, Corollary 2.5]; there the trace norm.
Lean statement and details
NLAlib.IsObliviousSubspaceInjection.measureReal_specNorm_sub_nystrom_gt_le.{u_1, u_2, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4}
{l : Type u_5} [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l 𝕜} [IsFiniteMeasure μ]
{H : Matrix n n 𝕜} (hH : H.PosSemidef) {k : ℕ} {a δ t : ℝ}
(h : IsObliviousSubspaceInjection (fun ω ↦ (X ω)ᴴ) k a δ μ) (ha : 0 < a) (ht : 0 < t) :
μ.real
{ω |
singularValues H k + t / a * nuclearNorm (H - truncatedSVD H k) <
specNorm (H - nystrom H (X ω))} ≤
δ + 1 / t
Theorem (SymmetricGauge.measureReal_matrixNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix).The tail of randomized Nyström, every unitarily invariant norm: for positive semidefinite \mathbf{H}, a standard Gaussian n \times \ell test matrix \mathbf{X}, d = \ell - k + 1, s \ge 0 and t > 0, \|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_{\Phi} \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_{\Phi} + \Phi(\mathbf{e}_0)\,\frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2 outside probability <!-- value gaussianPinvFrobTail k d t --> e^{-s^2/2} + 2\sqrt{k}\,(d/(2t))^{d/2}/\Gamma(d/2 + 1) (the second term is gaussianPinvFrobTail k d t), with \mathbf{e}_0 the first unit coordinate sequence. The Gram-form tail of the randomized SVD at a factor of \mathbf{H} (in NLAlib.SymmetricGauge, measureReal_matrixNorm_conjTranspose_mul_self_sub_rsvd_gt_le_of_hasLaw_gaussianMatrix), with the same constants. For d = 0 the bound is at least 1. [TroppWebber2023, Corollary 8.2 (NysSVD1)]; there for Schatten norms 1 \le p \le \infty, with the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(t/e)^{-d/2}, which follow from this bound at s = \sqrt{u} - 1 (since \sigma_k(\mathbf{H}) \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*); here every unitarily invariant norm, and the deviation measured with the Lipschitz constant \|\mathbf{S}\|_2\|\mathbf{G}_1^{+}\|_2 in place of their \|\mathbf{S}\|_{\mathsf{F}}\|\mathbf{G}_1^{+}\|_{\mathsf{F}}.
General form: sizes are index types
Lean statement and details
NLAlib.SymmetricGauge.measureReal_matrixNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix.{u_1, u_2,
u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {l : Type u_3} [Fintype n]
[Fintype l] {H : Matrix n n ℝ} {X : Ω → Matrix n l ℝ} (Φ : SymmetricGauge) (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ}
(hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
Φ.matrixNorm (H - truncatedSVD H k) +
Φ (Finsupp.single 0 1) * (t * ↑k / ↑d) *
(√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
Φ.matrixNorm (H - nystrom H (X ω))} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
Theorem (SymmetricGauge.measureReal_matrixNorm_sub_nystrom_gt_le_of_isLeftUnitarilyInvariant).The tail of randomized Nyström, every unitarily invariant norm, rotation-invariant test matrices: for positive semidefinite \mathbf{H}, a test matrix \mathbf{X} with a left unitarily invariant law and full column rank almost surely, d = \ell - k + 1, s \ge 0 and t > 0, \|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_{\Phi} \le \|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_{\Phi} + \Phi(\mathbf{e}_0)\,\frac{tk}{d}\, \bigl(\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_*^{1/2} + s\,\sigma_k(\mathbf{H})^{1/2}\bigr)^2 outside probability <!-- value gaussianPinvFrobTail k d t --> e^{-s^2/2} + 2\sqrt{k}\,(d/(2t))^{d/2}/\Gamma(d/2 + 1), the tail of the Gaussian test matrix (in this namespace, measureReal_matrixNorm_sub_nystrom_gt_le_of_hasLaw_gaussianMatrix). [TroppWebber2023, Corollary 8.2 (NysSVD1)]; there for Gaussian test matrices and Schatten norms, with the noise term (utk/d)\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_k\|_* and the failure probability e^{-(u-2)/4} + \sqrt{\pi k}\,(t/e)^{-d/2}, which follow from this bound at s = \sqrt{u} - 1.
General form: sizes are index types
Lean statement and details
NLAlib.SymmetricGauge.measureReal_matrixNorm_sub_nystrom_gt_le_of_isLeftUnitarilyInvariant.{u_1,
u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_3} {l : Type u_4} [Fintype n]
[Fintype l] {X : Ω → Matrix n l ℝ} [DecidableEq n] {ν : Measure (Matrix n l ℝ)}
[IsProbabilityMeasure ν] [IsLeftUnitarilyInvariant ν] (Φ : SymmetricGauge) {H : Matrix n n ℝ}
(hH : H.PosSemidef) (hX : HasLaw X ν μ) (hXr : ∀ᵐ (ω : Ω) ∂μ, Function.Injective (X ω).mulVec)
{k d : ℕ} (hd : k + d = Fintype.card l + 1) {s t : ℝ} (hs : 0 ≤ s) (ht : 0 < t) :
μ.real
{ω |
Φ.matrixNorm (H - truncatedSVD H k) +
Φ (Finsupp.single 0 1) * (t * ↑k / ↑d) *
(√(nuclearNorm (H - truncatedSVD H k)) + s * √(singularValues H k)) ^ 2 <
Φ.matrixNorm (H - nystrom H (X ω))} ≤
rexp (-s ^ 2 / 2) + gaussianPinvFrobTail k d t
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.