Definition (Late-truncated Nyström subspace iteration). For Hermitian positive-semidefinite \mathbf{A}, first form \mathbf{B}=\mathsf{nyssi}(\mathbf{A},\mathbf\Omega,p)=\mathsf{nystrom}(\mathbf{A},\mathbf{A}^p\mathbf\Omega). Return [\mathbf{B}]_r, a best rank-at-most-r approximation to \mathbf{B}; here [\cdot]_r denotes the rank-r truncated singular-value decomposition.
Late-truncated NysSI
Singular values are indexed from zero, \sigma_0\ge\sigma_1\ge\cdots; for a positive-semidefinite matrix they are its eigenvalues. \|\cdot\|_* denotes the nuclear norm. Statements about the untruncated approximation are on the Nyström subspace iteration page.
Mathematical guarantees
The library states the truncated output in the nuclear norm, with a gap. These are upper bounds for a real positive-semidefinite \mathbf{A} of order n, an n\times\ell test matrix \mathbf{X} with independent standard normal entries, and every number of power steps p\ge0.
Theorem (Expected nuclear-norm error with a gap). Let r=h+1 be the number of head eigenvalues and let t\ge r be a tail index with t+2\le\ell. With \gamma=(\sigma_h-\sigma_t)/(\sigma_h+\sigma_t), and \gamma=0 when both vanish,
\mathbb{E}\|\mathbf{A}-[\mathsf{nyssi}(\mathbf{A},\mathbf{X},p)]_r\|_*\le\|\mathbf{A}-[\mathbf{A}]_r\|_*+e^{-4p\gamma}\,\frac{t}{\ell-t-1}\,\|\mathbf{A}-[\mathbf{A}]_t\|_*.
Lean statement and details
General form: sizes are index types
Matrix.PosSemidef.integral_nuclearNorm_sub_truncatedSVD_nystrom_pow_mul_le_singularGapRatio_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] {X : Ω → Matrix n l ℝ} {H : Matrix n n ℝ} [DecidableEq n] (hH : H.PosSemidef)
(hX : HasLaw X (gaussianMatrix n l) μ) {h r t : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
(ht : t + 2 ≤ Fintype.card l) (p : ℕ) :
∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystrom H (H ^ p * X ω)) r) ∂μ ≤
nuclearNorm (H - truncatedSVD H r) +
rexp (-4 * ↑p * singularGapRatio H h t) * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
nuclearNorm (H - truncatedSVD H t)Theorem (Sufficient number of power steps with a gap). There are absolute constants C>0 and \varepsilon_0>0 such that, for r=h+1\le t with t+2\le\ell, a positive gap \gamma=(\sigma_h-\sigma_t)/(\sigma_h+\sigma_t), every 0<\varepsilon\le\varepsilon_0, and every number of power steps
p\ge\frac{C\log(n/\varepsilon)}{\gamma},
the truncated output satisfies
\mathbb{E}\|\mathbf{A}-[\mathsf{nyssi}(\mathbf{A},\mathbf{X},p)]_r\|_*\le(1+\varepsilon)\,\|\mathbf{A}-[\mathbf{A}]_r\|_*.
The statement asserts the existence of the constants.
Lean statement and details
General form: sizes are index types
NLAlib.exists_forall_integral_nuclearNorm_sub_truncatedSVD_nystrom_pow_mul_le_of_singularGapRatio_pos_of_hasLaw_gaussianMatrix :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω n l : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
[inst_3 : Fintype l] (μ : Measure Ω) (H : Matrix n n ℝ) (X : Ω → Matrix n l ℝ)
(h r t p : ℕ) (ε : ℝ),
H.PosSemidef →
HasLaw X (gaussianMatrix n l) μ →
h + 1 = r →
r ≤ t →
t + 2 ≤ Fintype.card l →
0 < singularGapRatio H h t →
0 < ε →
ε ≤ ε₀ →
C * Real.log (↑(Fintype.card n) / ε) / singularGapRatio H h t ≤ ↑p →
∫ (ω : Ω),
nuclearNorm (H - truncatedSVD (nystrom H (H ^ p * X ω)) r) ∂μ ≤
(1 + ε) * nuclearNorm (H - truncatedSVD H r)Scope
The library has no gapless statement and no spectral-norm statement for this truncated output.
Mathematical background
Matrix polynomials and functional calculus
Matrix polynomials and functional calculus, connecting Chebyshev approximation to operator error bounds.
Random matrices and sketch laws
Gaussian matrices, Haar frames, CountSketch, and subsampled randomized Hadamard transforms.
Best-rank approximation and truncation
Truncated SVD, Eckart–Young optimality, and error bounds for projection and truncation.