Definition (Late-truncated Nyström block Krylov iteration). For Hermitian positive-semidefinite \mathbf{A}, first form \mathbf{B}=\mathsf{nysbki}(\mathbf{A},\mathbf\Omega,q). 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 NysBKI
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 block Krylov 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 and an n\times\ell start block \mathbf{X} with independent standard normal entries.
Theorem (Expected nuclear-norm error with a gap). Let q\ge1, 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{nysbki}(\mathbf{A},\mathbf{X},q)]_r\|_*\le\|\mathbf{A}-[\mathbf{A}]_r\|_*+4e^{-4\sqrt2\,(q-1)\sqrt{\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_nystromBKI_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 q : ℕ} (hr : h + 1 = r) (hrt : r ≤ t)
(ht : t + 2 ≤ Fintype.card l) (hq : 1 ≤ q) :
∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystromBKI H (X ω) q) r) ∂μ ≤
nuclearNorm (H - truncatedSVD H r) +
4 * rexp (-4 * √2 * (↑q - 1) * √(singularGapRatio H h t)) *
(↑t / (↑(Fintype.card l) - ↑t - 1)) *
nuclearNorm (H - truncatedSVD H t)Theorem (Sufficient depth 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 depth
q\ge\frac{C\log(n/\varepsilon)}{\sqrt{\gamma}},
the truncated output satisfies
\mathbb{E}\|\mathbf{A}-[\mathsf{nysbki}(\mathbf{A},\mathbf{X},q)]_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_nystromBKI_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 q : ℕ) (ε : ℝ),
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) ≤ ↑q →
∫ (ω : Ω), nuclearNorm (H - truncatedSVD (nystromBKI H (X ω) q) 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
Krylov spaces
Krylov spaces, grade, and polynomial projections underlying CG, Lanczos, and Arnoldi.
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.