NLA-lib Explorer

Structural theory for randomized low-rank approximation

Structural bounds isolate the deterministic approximation question from the random sketch law. Gram correspondences relate range approximations to Nyström outputs; truncation and filter lemmas transfer these comparisons to different low-rank methods. Their hypotheses depend on the precise mathematical output.

Results

Theorem (Early-truncated generalized Nyström through a random projection-cost-preserving sketch).

if \mathbf{\Omega}^{\mathsf{H}} is a rank-k projection-cost-preserving sketch for \mathbf{A} with constants a \ge 0, b except with probability \delta, and an independent co-range test matrix \mathbf{\Psi} has \mathbf{\Psi}^{\mathsf{H}} an oblivious subspace injection for dimension k with constant a' > 0 and failure probability \delta', then for t > 0 a\|\mathbf{A} - \mathsf{earlyTruncatedGN}(\mathbf{A}, \mathbf{\Omega}, \mathbf{\Psi}, k) \|_{\mathsf{F}}^2 \le \Bigl(1 + \frac{t}{a'}\Bigr) b\, \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}^2 except with probability \delta + \delta' + 1/t. One pass, rank at most k. Proved as the union of the events of NLAlib.HasProjectionCostPreserving.measureReal_mul_frobNorm_sub_earlyTruncatedRSVD_sq_gt_le and the completion step NLAlib.IsObliviousSubspaceInjection.measureReal_frobNorm_sub_earlyTruncatedGeneralizedNystrom_sq_gt_mul_le. For real sketches with the JL moment property NLAlib.HasJLMoment.measureReal_frobNorm_sub_earlyTruncatedGeneralizedNystrom_sq_gt_le uses no projection-cost-preserving event and has no 1/t term; this is the form for a sketch known only to be projection-cost-preserving. [TroppYurtseverUdellCevher2017, §7.3.1], the algorithm and the remark that the results of [CohenElderMuscoMuscoPersu2015, Theorem 12 and §10.1] imply a (1+\varepsilon) bound at \Theta(r/\varepsilon^2) for both sketch sizes, with unspecified constants; here explicit, with failure probability \delta + \delta' + 1/t.

Lean statement and details
NLAlib.HasProjectionCostPreserving.measureReal_mul_frobNorm_sub_earlyTruncatedGeneralizedNystrom_sq_gt_le.{u_1,
    u_2, u_3, u_4, u_5, u_6}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {m : Type u_3}
  {n : Type u_4} {l : Type u_5} {p : Type u_6} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
  [DecidableEq m] {X : Ω → Matrix n l 𝕜} {Ψ : Ω → Matrix m p 𝕜} [IsProbabilityMeasure μ]
  {A : Matrix m n 𝕜} {k : ℕ} {a b δ a' δ' t : ℝ}
  (h : HasProjectionCostPreserving (fun ω ↦ (X ω)ᴴ) A k a b δ μ) (ha : 0 ≤ a)
  (hΨ : IsObliviousSubspaceInjection (fun ω ↦ (Ψ ω)ᴴ) k a' δ' μ) (ha' : 0 < a') (ht : 0 < t)
  (hind : X ⟂ᵢ[μ] Ψ) (hX : AEMeasurable X μ) (hΨm : AEMeasurable Ψ μ) :
  μ.real
      {ω |
        (1 + t / a') * b * frobNorm (A - truncatedSVD A k) ^ 2 <
          a * frobNorm (A - earlyTruncatedGeneralizedNystrom A (X ω) (Ψ ω) k) ^ 2} ≤
    δ + δ' + 1 / t

Full source on GitHub

Copy link

Theorem (Early-truncated randomized SVD, structural bound).

For \mathbf{Z} with orthonormal columns, \lvert r \rvert \le k, \mathbf{\Omega}^{\mathsf{H}} a subspace injection for \operatorname{range}\mathbf{Z} with constant 0 < \lambda \le 1, and 0 < \theta < 1, with \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}},\qquad w = \|\mathbf{E}\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}\mathbf{E}^{\mathsf{H}} - \mathbf{E}\mathbf{E}^{\mathsf{H}}\|_{\mathsf{F}},\qquad \chi = \|\mathbf{E}\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}\mathbf{Z} - \mathbf{E}\mathbf{Z}\|_{\mathsf{F}}, \|\mathbf{A} - \mathsf{earlyTruncatedRSVD}(\mathbf{A}, \mathbf{\Omega}, k) \|_{\mathsf{F}}^2 \le \frac{\|\mathbf{E}\|_{\mathsf{F}}^2 + \sqrt{k}\,w}{(1-\theta)\lambda} + \frac{\chi^2}{\theta(1-\theta)\lambda^2}\,, for every choice of the truncation. With \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \llbracket\mathbf{A}\rrbracket_k (NLAlib.exists_hasOrthonormalCols_mul_mul_conjTranspose_eq_truncatedSVD, for k \le \lvert n \rvert) \|\mathbf{E}\|_{\mathsf{F}} is the optimal error. The hypothesis \lvert r \rvert \le k is needed (\mathbf{A} = \mathbf{\Omega} = \mathbf{Z} = \mathbf{I}_2, k = 1). Proved without a literature source; the sketch quantities are those of [CohenElderMuscoMuscoPersu2015, proof of Theorem 12].

General form: sizes are index types

Lean statement and details
NLAlib.IsSubspaceInjection.frobNorm_sub_earlyTruncatedRSVD_sq_le.{u_1, u_2, u_3, u_4, u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5} [Fintype l]
  [Fintype m] [Fintype n] [Fintype r] [DecidableEq r] {Ω : Matrix n l 𝕜} {Z : Matrix n r 𝕜}
  {a θ : ℝ} (h : IsSubspaceInjection Ωᴴ Z a) (hZ : HasOrthonormalCols Z) {k : ℕ}
  (hk : Fintype.card r ≤ k) (ha : 0 < a) (ha1 : a ≤ 1) (hθ : 0 < θ) (hθ1 : θ < 1)
  (A : Matrix m n 𝕜) :
  frobNorm (A - earlyTruncatedRSVD A Ω k) ^ 2 ≤
    (frobNorm (A - A * Z * Zᴴ) ^ 2 +
          √↑k *
            frobNorm
              ((A - A * Z * Zᴴ) * Ω * Ωᴴ * (A - A * Z * Zᴴ)ᴴ -
                (A - A * Z * Zᴴ) * (A - A * Z * Zᴴ)ᴴ)) /
        ((1 - θ) * a) +
      frobNorm ((A - A * Z * Zᴴ) * Ω * Ωᴴ * Z - (A - A * Z * Zᴴ) * Z) ^ 2 / (θ * (1 - θ) * a ^ 2)

Full source on GitHub

Copy link

Theorem (Filtered range finder: expected error).

for a real function g, an orthonormal frame \mathbf{W} invariant under \mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\mathbf{d}), with \lvert g(\mathbf{d}_i) \rvert \ge c > 0 for every i, and an orthonormal frame \mathbf{Z} whose range contains that of \mathbf{W} and with \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank, \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, g(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{\Omega})\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}\|_{\mathsf{F}}^2 + c^{-2}\|\mathbf{M}\|_{\mathsf{F}}^2\,, with \mathbf{B} = \mathbf{A}g(\mathbf{A}^{\mathsf{H}}\mathbf{A}) and the sketch residual \mathbf{M} = (\mathbf{B} - \mathbf{B}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{\Omega} (\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}. The Gram form, in every unitarily invariant norm, is NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_cfc_le. [TroppWebber2023, Lemma 9.5], at p = 2.

Lean statement and details
NLAlib.HasOrthonormalCols.frobNorm_sub_rsvd_cfc_sq_le.{u_1, u_2, u_3, u_4, u_5, u_6} {𝕜 : Type u_1}
  [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5} {s : Type u_6} [Fintype l]
  [Fintype m] [Fintype n] [Fintype r] [Fintype s] [DecidableEq n] [DecidableEq r] [DecidableEq s]
  {A : Matrix m n 𝕜} {Ω : Matrix n l 𝕜} (g : ℝ → ℝ) {W : Matrix n r 𝕜} (hW : HasOrthonormalCols W)
  {d : r → ℝ} (hAW : Aᴴ * A * W = W * diagonal fun i ↦ ↑(d i)) {Z : Matrix n s 𝕜}
  (hZ : HasOrthonormalCols Z) (hΩ : (Ωᴴ * Z).rank = Z.rank)
  (hWZ : W.mulVecLin.range ≤ Z.mulVecLin.range) {c : ℝ} (hc : 0 < c)
  (hg : ∀ (i : r), c ≤ |g (d i)|) :
  frobNorm (A - rsvd A (cfc g (Aᴴ * A) * Ω)) ^ 2 ≤
    frobNorm (A - A * W * Wᴴ) ^ 2 +
      c⁻¹ ^ 2 *
        frobNorm ((A * cfc g (Aᴴ * A) - A * cfc g (Aᴴ * A) * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)) ^ 2

Full source on GitHub

Copy link

Theorem (The Gram correspondence for block Krylov Nyström of a positive semidefinite matrix).

the error of NysBKI is the Gram matrix of the error of RBKI of the square root, \mathbf{H} - \mathsf{nystromBKI}(\mathbf{H}, \mathbf{\Omega}, q) = \mathbf{E}^{\mathsf{H}}\mathbf{E}, \qquad \mathbf{E} = \mathbf{H}^{1/2} - \mathsf{rbki}(\mathbf{H}^{1/2}, \mathbf{\Omega}, q)\,; NysBKI with q products with \mathbf{H} is RBKI with 2q products with \mathbf{H}^{1/2}. NysSI needs no twin: Matrix.PosSemidef.sub_nystrom_eq at the test matrix \mathbf{H}^p\mathbf{\Omega} is RSI of \mathbf{H}^{1/2} with p power steps. [TroppWebber2023, §5.4].

Lean statement and details
Matrix.PosSemidef.sub_nystromBKI_eq.{u_1, u_2, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2}
  {n : Type u_4} [Fintype l] [Fintype n] [DecidableEq n] {H : Matrix n n 𝕜} (hH : H.PosSemidef)
  (Ω : Matrix n l 𝕜) (q : ℕ) :
  H - nystromBKI H Ω q =
    (CFC.sqrt H - rbki (CFC.sqrt H) Ω q)ᴴ * (CFC.sqrt H - rbki (CFC.sqrt H) Ω q)

Full source on GitHub

Copy link

Theorem (The simulated block of block Krylov Nyström).

for positive semidefinite \mathbf{H} and every s, q \ge 0, \mathsf{nystromBKI}(\mathbf{H}, \mathbf{K}_{s+1}(\mathbf{H}, \mathbf{\Omega}), q + 1) = \mathsf{nystromBKI}(\mathbf{H}, \mathbf{\Omega}, s + q + 1)\,, since the Nyström approximation of a positive semidefinite matrix depends on the test matrix only through its range. [ChenEpperlyMeyerMuscoRao2025, Observation 3.3], there the equality of the two block Krylov subspaces; the statement for the Nyström approximation is not printed there.

Lean statement and details
Matrix.PosSemidef.nystromBKI_blockKrylovMatrix.{u_1, u_2, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {l : Type u_2} {n : Type u_4} [Fintype l] [Fintype n] [DecidableEq n] {H : Matrix n n 𝕜}
  (hH : H.PosSemidef) (Ω : Matrix n l 𝕜) (s q : ℕ) :
  nystromBKI H (blockKrylovMatrix H Ω (s + 1)) (q + 1) = nystromBKI H Ω (s + q + 1)

Full source on GitHub

Copy link

Theorem (The structural bound of Nyström approximation).

, in every unitarily invariant norm: for positive semidefinite \mathbf{H}, \mathbf{Z} with orthonormal columns and \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank, with \mathbf{H}_\perp = (\mathbf{I} - \mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{H} (\mathbf{I} - \mathbf{Z}\mathbf{Z}^{\mathsf{H}}), \|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\|_{\Phi} \le \|\mathbf{H}_\perp\|_{\Phi} + \bigl\|((\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+})^{\mathsf{H}}\,\mathbf{\Omega}^{\mathsf{H}} \mathbf{H}_\perp\mathbf{\Omega}\,(\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}\bigr\|_{\Phi}\,. No square root appears: kernel and Gram matrices apply it directly. With \mathbf{H}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} = \llbracket \mathbf{H} \rrbracket_k (as NLAlib.exists_hasOrthonormalCols_mul_mul_conjTranspose_eq_truncatedSVD provides), \mathbf{H}_\perp = \mathbf{H} - \llbracket \mathbf{H} \rrbracket_k (Matrix.PosSemidef.one_sub_mul_mul_one_sub_eq_sub_truncatedSVD). Positive semidefiniteness is needed: for \mathbf{H} = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} and \mathbf{\Omega} = \mathbf{Z} = \mathbf{e}_1 the right side vanishes. [MartinssonTropp2020, Proposition 11.1, Theorem 11.4]; [TroppWebber2023, proof of Theorem 8.1 and Corollary 8.2]; [CamanoEpperlyMeyerTropp2025, proof of Corollary 2.5]; there by the same composition for the square root of \mathbf{H} in trace or Schatten norms, here every unitarily invariant norm, stated in \mathbf{H} alone.

Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_sub_nystrom_le_of_hasOrthonormalCols.{u_1, u_3, u_4, u_5}
  {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} {l : Type u_4} {r : Type u_5} [Fintype n] [Fintype l]
  [Fintype r] {Ω : Matrix n l 𝕜} {Z : Matrix n r 𝕜} [DecidableEq r] [DecidableEq n]
  (Φ : SymmetricGauge) {H : Matrix n n 𝕜} (hH : H.PosSemidef) (hZ : HasOrthonormalCols Z)
  (hΩ : (Ωᴴ * Z).rank = Z.rank) :
  Φ.matrixNorm (H - nystrom H Ω) ≤
    Φ.matrixNorm ((1 - Z * Zᴴ) * H * (1 - Z * Zᴴ)) +
      Φ.matrixNorm ((pinv (Zᴴ * Ω))ᴴ * (Ωᴴ * ((1 - Z * Zᴴ) * H * (1 - Z * Zᴴ)) * Ω) * pinv (Zᴴ * Ω))

Full source on GitHub

Copy link

Theorem (Perturbed truncation).

For any \mathbf{C}, \mathbf{E} and any best rank-k approximation \mathbf{Y} of \mathbf{C} + \mathbf{E}, \|\mathbf{C} - \mathbf{Y}\|_{\mathsf{F}} \le \|\mathbf{C} - \llbracket\mathbf{C}\rrbracket_k\|_{\mathsf{F}} + 2\,\|\llbracket\mathbf{E}\rrbracket_{2k}\|_{\mathsf{F}}\,: truncating a perturbed matrix pays only the 2k leading singular values of the perturbation. In the Frobenius norm it dominates the constant-two lemma (NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_two_mul), since \|\llbracket\mathbf{E}\rrbracket_{2k}\|_{\mathsf{F}} \le \|\mathbf{E}\|_{\mathsf{F}}. Proved without a literature source; the input is von Neumann's trace inequality [HornJohnson2013, Theorem 7.4.1.1]. Related: [TroppYurtseverUdellCevher2017, Proposition 6.1].

Lean statement and details
NLAlib.IsBestRankApprox.frobNorm_sub_le_add_frobNorm_truncatedSVD.{u_1, u_2, u_3} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {C E Y : Matrix m n 𝕜} {k : ℕ}
  (hY : IsBestRankApprox (C + E) k Y) :
  frobNorm (C - Y) ≤ frobNorm (C - truncatedSVD C k) + 2 * frobNorm (truncatedSVD E (2 * k))

Full source on GitHub

Copy link

Theorem (The structural bound of the range finder, Frobenius form).

For \mathbf{A} \in \Bbbk^{m \times n}, \mathbf{\Omega} \in \Bbbk^{n \times l} and \mathbf{Z} \in \Bbbk^{n \times r} with orthonormal columns and \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank ((Ωᴴ * Z).rank = Z.rank), with \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} and \mathbf{M} = \mathbf{E}\mathbf{\Omega}(\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}, \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega})\|_{\mathsf{F}}^2 \le \|\mathbf{E}\|_{\mathsf{F}}^2 + \|\mathbf{M}\|_{\mathsf{F}}^2\,. [HalkoMartinssonTropp2011, Theorem 9.1]; [Woodruff2014, Lemma 48]; [CamanoEpperlyMeyerTropp2025, Imported Theorem 2.3]; there for a top-k frame (HMT, CEMT) or any frame over \mathbb{R} (Woodruff).

Lean statement and details
NLAlib.HasOrthonormalCols.frobNorm_sub_rsvd_sq_le.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {l : Type u_4} {r : Type u_5} [Fintype m] [Fintype n]
  [Fintype l] [Fintype r] {Ω : Matrix n l 𝕜} {Z : Matrix n r 𝕜} [DecidableEq r]
  (hZ : HasOrthonormalCols Z) (hΩ : (Ωᴴ * Z).rank = Z.rank) (A : Matrix m n 𝕜) :
  frobNorm (A - rsvd A Ω) ^ 2 ≤
    frobNorm (A - A * Z * Zᴴ) ^ 2 + frobNorm ((A - A * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)) ^ 2

Full source on GitHub

Copy link

Theorem (A block with a larger range does at least as well).

if the range of \mathbf{\Omega}' lies in the range of \mathbf{\Omega} (a sub-block, or any column combinations), then for every number of blocks q and every i, \sigma_i(\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{\Omega}, q)) \le \sigma_i(\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{\Omega}', q))\,, so in every unitarily invariant norm. No printed source.

Lean statement and details
NLAlib.singularValues_sub_rbki_le_of_range_le.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
  {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] [DecidableEq n]
  {l' : Type u_5} [Fintype l'] (A : Matrix m n 𝕜) {Ω : Matrix n l 𝕜} {Ω' : Matrix n l' 𝕜}
  (h : Ω'.mulVecLin.range ≤ Ω.mulVecLin.range) (q i : ℕ) :
  singularValues (A - rbki A Ω q) i ≤ singularValues (A - rbki A Ω' q) i

Full source on GitHub

Copy link

Theorem (The simulated block of RBKI).

with \mathbf{H} = \mathbf{A}^{\mathsf{H}}\mathbf{A} and every s, q \ge 0, \mathsf{rbki}(\mathbf{A}, \mathbf{K}_{s+1}(\mathbf{H}, \mathbf{\Omega}), q + 1) = \mathsf{rbki}(\mathbf{A}, \mathbf{\Omega}, s + q + 1)\,: RBKI with block \mathbf{\Omega} and s + q + 1 blocks is RBKI with the simulated block [\mathbf{\Omega}, \mathbf{H}\mathbf{\Omega}, \dots, \mathbf{H}^{s}\mathbf{\Omega}] and q + 1 blocks, so a bound for wide blocks applies to narrow ones at larger depth. [MeyerMuscoMusco2023, §3.1], there for one start vector and a positive semidefinite matrix, as an equality of Krylov subspaces; [ChenEpperlyMeyerMuscoRao2025, Observation 3.3], there as an equality of block Krylov subspaces; here as an equality of the approximations.

Lean statement and details
NLAlib.rbki_blockKrylovMatrix.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2}
  {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] [DecidableEq n]
  (A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (s q : ℕ) :
  rbki A (blockKrylovMatrix (Aᴴ * A) Ω (s + 1)) (q + 1) = rbki A Ω (s + q + 1)

Full source on GitHub

Copy link

Theorem (Randomized block Krylov iteration with a single start vector, Frobenius norm).

let \mathbf{H} = \mathbf{A}^{\mathsf{H}}\mathbf{A}, let \mathbf{Z} \in \Bbbk^{n \times t} be an orthonormal frame with \mathbf{H}\mathbf{Z} = \mathbf{Z}\operatorname{diag}(\sigma_0^2, \dots, \sigma_{t-1}^2), \sigma_i = \sigma_i(\mathbf{A}) > 0 for i < t and \sigma_{i+1}^2 \le (1 - \Delta)\sigma_i^2 for i + 1 < t, \Delta > 0, and let \mathbf{x} have no vanishing coordinate of \mathbf{Z}^{\mathsf{H}}\mathbf{x}. For a real polynomial f of degree less than d with t + d \le q + 1, a head index r \le t, \lvert f(\sigma_i^2) \rvert \ge c > 0 for i < r and \lvert f \rvert \le a on [0, \sigma_t^2], \|\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{x}, q)\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + \Bigl(\frac{a}{c}\Bigr)^2\Delta^{-2(t-1)} \Bigl(\sum_{i<t}\lvert(\mathbf{Z}^{\mathsf{H}}\mathbf{x})_i\rvert^{-2}\Bigr) \|(\mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{x}\|_2^2\,. The exponent 2(t - 1) is in \mathbb{N}. The head frame of the filtered structural bound is the first r columns \mathbf{W} of \mathbf{Z}; when \sigma_{r-1} = \sigma_r (possible only for r = t) the matrix \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}} need not be \llbracket\mathbf{A}\rrbracket_r, but the two have the same Frobenius error. [MeyerMuscoMusco2023, Theorem 3], there the simulated block of a Gaussian vector is shown, in probability and for a positive semidefinite matrix, to be a good starting matrix of block Krylov iteration; here the deterministic bound for a given vector, composed with a polynomial filter; constants differ.

Lean statement and details
NLAlib.frobNorm_sub_rbki_replicateCol_sq_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq n] {t : ℕ} (A : Matrix m n 𝕜) (x : n → 𝕜)
  {Z : Matrix n (Fin t) 𝕜} (hZ : HasOrthonormalCols Z)
  (hAZ : Aᴴ * A * Z = Z * diagonal fun i ↦ ↑(singularValues A ↑i ^ 2)) {Δ : ℝ} (hΔ : 0 < Δ)
  (hpos : ∀ i < t, 0 < singularValues A i)
  (hgap : ∀ (i : ℕ), i + 1 < t → singularValues A (i + 1) ^ 2 ≤ (1 - Δ) * singularValues A i ^ 2)
  (hx : ∀ (i : Fin t), (Zᴴ *ᵥ x) i ≠ 0) {q d r : ℕ} {f : Polynomial ℝ} (hf : f.degree < ↑d)
  (hd : t + d ≤ q + 1) (hr : r ≤ t) {c a : ℝ} (hc : 0 < c)
  (hhead : ∀ i < r, c ≤ |Polynomial.eval (singularValues A i ^ 2) f|)
  (htail : ∀ y ∈ Set.Icc 0 (singularValues A t ^ 2), |Polynomial.eval y f| ≤ a) :
  frobNorm (A - rbki A (replicateCol Unit x) q) ^ 2 ≤
    frobNorm (A - truncatedSVD A r) ^ 2 +
      ((a / c) ^ 2 * Δ⁻¹ ^ (2 * (t - 1)) * ∑ i, ‖(Zᴴ *ᵥ x) i‖⁻¹ ^ 2) *
        ‖WithLp.toLp 2 ((A - A * Z * Zᴴ) *ᵥ x)‖ ^ 2

Full source on GitHub

Copy link

Theorem (Truncation under the Gram correspondence).

, positive semidefinite form: with \mathbf{F} = \mathbf{H}^{1/2}, \|\mathbf{H} - \llbracket\mathsf{nystrom}(\mathbf{H}, \mathbf{\Omega})\rrbracket_k\|_* = \|\mathbf{H}^{1/2} - \llbracket\mathsf{rsvd}(\mathbf{H}^{1/2}, \mathbf{\Omega})\rrbracket_k \|_{\mathsf{F}}^2\,. [TroppYurtseverUdellCevher2017a, App. A.5]; [MartinssonTropp2020, §14.2].

Lean statement and details
Matrix.PosSemidef.nuclearNorm_sub_truncatedSVD_nystrom.{u_1, u_2, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {l : Type u_2} {n : Type u_4} [Fintype l] [Fintype n] {H : Matrix n n 𝕜} (hH : H.PosSemidef)
  (Ω : Matrix n l 𝕜) (k : ℕ) :
  nuclearNorm (H - truncatedSVD (nystrom H Ω) k) =
    frobNorm (CFC.sqrt H - truncatedSVD (rsvd (CFC.sqrt H) Ω) k) ^ 2

Full source on GitHub

Copy link

Theorem (Truncation for free).

For any \mathbf{Q} with orthonormal columns whose range contains \operatorname{range}(\mathbf{A}\mathbf{\Omega}) and any k \ge \lvert r \rvert, \|\mathbf{A} - \mathbf{Q}\llbracket \mathbf{Q}^{\mathsf{H}}\mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2 \le \|\mathbf{E}\|_{\mathsf{F}}^2 + \|\mathbf{M}\|_{\mathsf{F}}^2\,: the rank-k restricted projection keeps the bound of the untruncated range finder, since the competitor has rank at most \lvert r \rvert and lies in \operatorname{range}\mathbf{Q}. The hypothesis k \ge \lvert r \rvert is needed: take \mathbf{A} = \mathbf{\Omega} = \mathbf{Z} = \mathbf{I}_2 and k = 0. [Woodruff2014, Lemma 48], its middle inequality, there over \mathbb{R} with the best rank-k approximation in the column space of the sketch; here for any \mathbf{Q} containing that column space.

General form: sizes are index types

Lean statement and details
NLAlib.HasOrthonormalCols.frobNorm_sub_mul_truncatedSVD_sq_le.{u_1, u_2, u_3, u_4, u_5, u_6}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {l : Type u_4} {r : Type u_5}
  {q : Type u_6} [Fintype m] [Fintype n] [Fintype l] [Fintype r] [Fintype q] {Ω : Matrix n l 𝕜}
  {Z : Matrix n r 𝕜} [DecidableEq r] [DecidableEq q] {A : Matrix m n 𝕜} {Q : Matrix m q 𝕜}
  (hQ : HasOrthonormalCols Q) (hQY : (A * Ω).mulVecLin.range ≤ Q.mulVecLin.range)
  (hZ : HasOrthonormalCols Z) (hΩ : (Ωᴴ * Z).rank = Z.rank) {k : ℕ} (hk : Fintype.card r ≤ k) :
  frobNorm (A - Q * truncatedSVD (Qᴴ * A) k) ^ 2 ≤
    frobNorm (A - A * Z * Zᴴ) ^ 2 + frobNorm ((A - A * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)) ^ 2

Full source on GitHub

Copy link

Theorem (The truncation lemma, constant one).

If \sigma_i(\hat{\mathbf{A}}) \le \sigma_i(\mathbf{A}) for every i and \mathbf{Y} is a best rank-k approximation of \hat{\mathbf{A}}, then in every unitarily invariant norm \|\mathbf{A} - \mathbf{Y}\|_{\Phi} \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\Phi} + \|\mathbf{A} - \hat{\mathbf{A}}\|_{\Phi}\,. The hypothesis holds for \hat{\mathbf{A}} = \mathbf{P}\mathbf{A} with \mathbf{P} an orthogonal projector (IsStarProjection.singularValues_mul_le) and for Nyström of a positive semidefinite matrix (Matrix.PosSemidef.singularValues_nystrom_le); without it the constant is two (NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_two_mul). [HalkoMartinssonTropp2011, Theorem 9.3]; there in the spectral norm, for \mathbf{P}\mathbf{A} and a spectral-best \mathbf{Y}; here every gauge, any dominated \hat{\mathbf{A}}, Frobenius-best \mathbf{Y}.

Lean statement and details
NLAlib.IsBestRankApprox.matrixNorm_sub_le_add_of_singularValues_le.{u_1, u_2, u_3} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {A Â Y : Matrix m n 𝕜} {k : ℕ}
  (hY : IsBestRankApprox  k Y) (h : ∀ (i : ℕ), singularValues  i ≤ singularValues A i)
  (Φ : SymmetricGauge) :
  Φ.matrixNorm (A - Y) ≤ Φ.matrixNorm (A - truncatedSVD A k) + Φ.matrixNorm (A - Â)

Full source on GitHub

Copy link

Formal definitions

Used by algorithms

Broader topics