A lower bound specifies an access model, a class of inputs, and the information available after a query budget. It constrains what any method in that model can guarantee; it is not a cost certificate for one implementation.
Theorem (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.
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 ∂μ
, integer sizes: let k \ge 1, m, r and q be natural numbers and n = k + (r + 1)m, with 0 < \varepsilon \le \varepsilon_r and m = \lfloor k/(16\varepsilon(r+1)^3) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in at most r batches (the products of a batch are chosen before any response of that batch is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric positive semidefinite \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C_r\,\varepsilon} \,. Here C_r = 12544(r+1)^3 and \varepsilon_r = 1/(25088(r+1)^3(r+2)). No printed source.
Notes
C_r is chebyshevQueryFactor r (chebyshevQueryFactor_le) and \varepsilon_r is chebyshevAccuracyBound r (le_chebyshevAccuracyBound). The n coordinates are indexed by Fin k ⊕ (Fin (r + 1) × Fin m): a head of k coordinates and r + 1 tail levels of m each. General form, with finite index types in place of k and m: div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt. The hard spectrum has its head at 1+1/(8(r+1)^2) and Chebyshev tail levels in [1/2,1] (chebyshevLevelSpectrum). The dependence on the batch count is polynomial; its optimal exponent is not asserted. Asymptotic form: exists_forall_natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.
Lean statement and details
NLAlib.natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_pass_lt.{u_3}
{k m r q : ℕ} {ε : ℝ} (hk : 0 < k) (hε : 0 < ε) (hεr : ε ≤ chebyshevAccuracyBound r)
(hm : m = ⌊↑k / (16 * ε * (↑r + 1) ^ 3)⌋₊) {S : Type u_3} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k) ℝ ×
Matrix (Fin k) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < r)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) :
↑k / (chebyshevQueryFactor r * ε) < ↑q
, integer sizes: let k \ge 1, m, r and q be natural numbers and n = k + (r + 1)m, with 0 < \varepsilon \le \varepsilon_r and m = \lfloor k/(16\varepsilon(r+1)^3) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in at most r batches (the products of a batch are chosen before any response of that batch is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric positive semidefinite \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_* \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_*\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C_r\,\varepsilon} \,. Here C_r = 12544(r+1)^3 and \varepsilon_r = 1/(25088(r+1)^3(r+2)). No printed source.
Notes
C_r is chebyshevQueryFactor r (chebyshevQueryFactor_le) and \varepsilon_r is chebyshevAccuracyBound r (le_chebyshevAccuracyBound). The n coordinates are indexed by Fin k ⊕ (Fin (r + 1) × Fin m): a head of k coordinates and r + 1 tail levels of m each. General form, with finite index types in place of k and m: div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_nuclearNorm_sub_mul_le_of_pass_lt. The hard spectrum has its head at 1+1/(8(r+1)^2) and Chebyshev tail levels in [1/2,1] (chebyshevLevelSpectrum). The dependence on the batch count is polynomial; its optimal exponent is not asserted. Asymptotic form: exists_forall_natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_nuclearNorm_sub_mul_le_of_pass_lt.
Lean statement and details
NLAlib.natCast_div_chebyshevQueryFactor_mul_lt_of_forall_le_measureReal_nuclearNorm_sub_mul_le_of_pass_lt.{u_3}
{k m r q : ℕ} {ε : ℝ} (hk : 0 < k) (hε : 0 < ε) (hεr : ε ≤ chebyshevAccuracyBound r)
(hm : m = ⌊↑k / (16 * ε * (↑r + 1) ^ 3)⌋₊) {S : Type u_3} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) (Fin k ⊕ Fin (r + 1) × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k) ℝ ×
Matrix (Fin k) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < r)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin (r + 1) × Fin m) (Fin k ⊕ Fin (r + 1) × Fin m) ℝ),
A.PosSemidef →
1 / 2 ≤
ρ.real
{s |
nuclearNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ≤
(1 + ε) * nuclearNorm (A - truncatedSVD A k)}) :
↑k / (chebyshevQueryFactor r * ε) < ↑q
Theorem (Epperly and Webber's generalized Nyström factor is sharp, Gaussian co-range).
for a test matrix \mathbf{X} with a left unitarily invariant law and full column rank almost surely, an independent standard Gaussian \mathbf{\Psi} (m \times p), q + 2 \le \ell \le r, r \le \min(m, n), \ell + 2 \le p and every c below the factor, that is c < \Bigl(1 + \frac{\ell}{p - \ell - 1}\Bigr) \frac{r - \ell}{r - q}\Bigl(1 + \frac{q}{\ell - q - 1}\Bigr)\,, there is \mathbf{A} \in \mathbb{R}^{m \times n} of rank r with c\,\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_q\|_{\mathsf{F}}^2 < \mathbb{E}\|\mathbf{A} - \mathsf{gn}(\mathbf{A}, \mathbf{X}, \mathbf{\Psi})\|_{\mathsf{F}}^2\,. So with a Gaussian co-range the product of the two factors cannot be lowered. Epperly and Webber's §4.2 turns this into "k' + \ell = \Theta(q/\varepsilon^2) samples"; that arithmetic over \mathbb{R} is not proved here. The matching upper bound is NLAlib.integral_frobNorm_sub_generalizedNystrom_sq_le_of_isLeftUnitarilyInvariant_of_hasLaw_gaussianMatrix_of_rank_le. [EpperlyWebber2026, Theorem 4.2(b)]; there for every full-rank pair of laws and an orthonormal co-range, here for a left unitarily invariant range law and a Gaussian co-range (\gamma = 1).
General form: sizes are index types
Lean statement and details
NLAlib.exists_lt_integral_frobNorm_sub_generalizedNystrom_sq_of_isLeftUnitarilyInvariant_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p]
{X : Ω → Matrix n l ℝ} {Ψ : Ω → Matrix m p ℝ} [DecidableEq n] {ν : Measure (Matrix n l ℝ)}
[IsProbabilityMeasure ν] [IsLeftUnitarilyInvariant ν] (hX : HasLaw X ν μ)
(hXr : ∀ᵐ (ω : Ω) ∂μ, Function.Injective (X ω).mulVec) (hΨ : HasLaw Ψ (gaussianMatrix m p) μ)
(hXΨ : X ⟂ᵢ[μ] Ψ) {r q : ℕ} (hq : q + 2 ≤ Fintype.card l) (hlr : Fintype.card l ≤ r)
(hrm : r ≤ Fintype.card m) (hrn : r ≤ Fintype.card n) (hlp : Fintype.card l + 2 ≤ Fintype.card p)
{c : ℝ}
(hc :
c <
gaussianProjectionFactor (Fintype.card l) (Fintype.card p) *
rotationInvariantFactor r (Fintype.card l) q) :
∃ A,
A.rank = r ∧
c * frobNorm (A - truncatedSVD A q) ^ 2 <
∫ (ω : Ω), frobNorm (A - generalizedNystrom A (X ω) (Ψ ω)) ^ 2 ∂μ
(Proposition 1.1): for t \ge 1, 0 < \varepsilon < 1 and n = 2^b, any method that maps the input rounded to nearest with t significant bits (Real.roundNearest) of every real symmetric n \times n matrix \mathbf{A} to (\mathbf{U}, \mathbf{d}) with \|\mathbf{A} - \mathbf{U}\operatorname{diag}(\mathbf{d})\mathbf{U}^{\mathsf{H}}\|_2 \le \varepsilon\|\mathbf{A}\|_2 has t \ge \log_2\frac1\varepsilon + \frac b2 - 2 + \log_2(1 - \varepsilon) \,. [Shah2024, Proposition 1.1], there without the term \log_2(1 - \varepsilon), which comes from \|\mathbf{H} \pm \delta\mathbf{J}\|_2 \ne \|\mathbf{H}\|_2.
Lean statement and details
NLAlib.logb_inv_add_le_of_forall_specNorm_sub_le {t b : ℕ} (ht : 1 ≤ t) {ε : ℝ} (hε : 0 < ε)
(hε₁ : ε < 1)
(alg :
Matrix (Fin b → ZMod 2) (Fin b → ZMod 2) ℝ →
Matrix (Fin b → ZMod 2) (Fin b → ZMod 2) ℂ × ((Fin b → ZMod 2) → ℝ))
(halg :
∀ (A : Matrix (Fin b → ZMod 2) (Fin b → ZMod 2) ℝ),
A.IsSymm →
specNorm
((A.map fun x ↦ ↑x) -
((alg (A.map (Real.roundNearest t))).1 *
diagonal fun i ↦ ↑((alg (A.map (Real.roundNearest t))).2 i)) *
(alg (A.map (Real.roundNearest t))).1ᴴ) ≤
ε * specNorm A) :
Real.logb 2 ε⁻¹ + ↑b / 2 - 2 + Real.logb 2 (1 - ε) ≤ ↑t
Theorem (The matrix–vector complexity of linear systems).
(Shamir's theorem): let \kappa \ge 2, \varepsilon > 0 and \lvert n \rvert \ge 20(q + 3)^2. If a randomized algorithm (a measurable seeded family, seed law \rho) making q adaptive matrix–vector products, with a fixed known right-hand side \mathbf{b} \ne \mathbf{0} on which the algorithm may depend, returns for every symmetric \mathbf{A} \in \mathbb{R}^{n \times n} with spectrum in [-\kappa, -1] \cup [1, \kappa] (condition number at most \kappa), an \hat{\mathbf{x}} with \|\mathbf{b} - \mathbf{A}\hat{\mathbf{x}}\| \le \varepsilon\|\mathbf{b}\| with probability at least \tfrac23, then \kappa\log\frac{1}{4\varepsilon} \le 2(q + 1) \,. For symmetric \mathbf{A} the products \mathbf{A}^{\mathsf{H}}\mathbf{x} are the same, so this covers the oracle \mathbf{x} \mapsto (\mathbf{A}\mathbf{x}, \mathbf{A}^{\mathsf{H}}\mathbf{x}) of the source. MINRES needs O(\kappa\log(1/\varepsilon)) products on these spectra (Matrix.IsHermitian.norm_sub_mulVec_gmresIterate_le_two_mul_pow_div_two), so the bound is sharp up to the constant. [Shamir2026, Theorem 1]; there T \ge c\kappa\log(1/\varepsilon), for \kappa \ge C, \varepsilon \le c and n = \Omega(T^2) with unspecified constants; here explicit; in the source the output is the last query (one query fewer).
, integer sizes: let k, m and q be natural numbers and n = k + 3m, with 0 < \varepsilon \le \varepsilon_0, \varepsilon \le k/C_1 and m = \lfloor k/(8\varepsilon) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in one pass (all products are chosen before any response is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C\varepsilon} \,. Here C = 6400, \varepsilon_0 = 1/6500 and C_1 = 14000. No printed source.
Notes
the hypotheses force k \ge 1. The n coordinates are indexed by Fin k ⊕ (Fin 3 × Fin m): a head of k coordinates and three tail levels of m each. General form, with finite index types in place of k and m: NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one. Truncated generalized Nyström attains the error in expectation with O(k/\varepsilon) one-pass products (LowRank/Gaussian/TruncatedGeneralizedNystromRate), so the bound is tight up to constants. Asymptotic form: NLAlib.exists_forall_natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.
Lean statement and details
NLAlib.natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.{u_4} {k m q : ℕ}
{ε : ℝ} (hε : 0 < ε) (hε₁ : ε ≤ 1 / 6500) (hεk : ε ≤ ↑k / 14000) (hm : m = ⌊↑k / (8 * ε)⌋₊)
{S : Type u_4} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin 3 × Fin m → ℝ) (Fin k ⊕ Fin 3 × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k) ℝ × Matrix (Fin k) (Fin k ⊕ Fin 3 × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < 1)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k ⊕ Fin 3 × Fin m) ℝ),
A.IsHermitian →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) :
↑k / (6400 * ε) < ↑q
Theorem (Epperly and Webber's Nyström factor is sharp).
for a test matrix \mathbf{X} with a left unitarily invariant law and full column rank almost surely, q + 2 \le \ell \le r \le n and every c below the factor, c < \frac{r - \ell}{r - q}\Bigl(1 + \frac{q}{\ell - q - 1}\Bigr)\,, there is a positive semidefinite \mathbf{H} of rank r with c\,\|\mathbf{H} - \llbracket\mathbf{H}\rrbracket_q\|_* < \mathbb{E}\|\mathbf{H} - \mathsf{nystrom}(\mathbf{H}, \mathbf{X})\|_*\,. The matching upper bound is Matrix.PosSemidef.integral_nuclearNorm_sub_nystrom_le_of_isLeftUnitarilyInvariant_of_rank_le. [EpperlyWebber2026, Theorem 3.6(b)]; there for every full-rank law (with a Haar rotation of the instance), here for left unitarily invariant laws, which need none.
General form: sizes are index types
Lean statement and details
NLAlib.exists_lt_integral_nuclearNorm_sub_nystrom_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 ν] (hX : HasLaw X ν μ)
(hXr : ∀ᵐ (ω : Ω) ∂μ, Function.Injective (X ω).mulVec) {r q : ℕ} (hq : q + 2 ≤ Fintype.card l)
(hlr : Fintype.card l ≤ r) (hrn : r ≤ Fintype.card n) {c : ℝ}
(hc : c < rotationInvariantFactor r (Fintype.card l) q) :
∃ H,
H.PosSemidef ∧
H.rank = r ∧
c * nuclearNorm (H - truncatedSVD H q) < ∫ (ω : Ω), nuclearNorm (H - nystrom H (X ω)) ∂μ
Theorem (Epperly and Webber's randomized SVD factor is sharp).
for a test matrix \mathbf{X} with a left unitarily invariant law and full column rank almost surely, q + 2 \le \ell \le r, r \le \min(m, n) and every c below the factor, c < \frac{r - \ell}{r - q}\Bigl(1 + \frac{q}{\ell - q - 1}\Bigr)\,, there is \mathbf{A} \in \mathbb{R}^{m \times n} of rank r with c\,\|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_q\|_{\mathsf{F}}^2 < \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{X})\|_{\mathsf{F}}^2\,. The matching upper bound is NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_isLeftUnitarilyInvariant_of_rank_le. [EpperlyWebber2026, Theorem 3.3]; there for every full-rank law, here for left unitarily invariant laws.
General form: sizes are index types
Lean statement and details
NLAlib.exists_lt_integral_frobNorm_sub_rsvd_sq_of_isLeftUnitarilyInvariant.{u_1, u_2, u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} [Fintype m] [Fintype n] [Fintype l] {X : Ω → Matrix n l ℝ} [DecidableEq n]
{ν : Measure (Matrix n l ℝ)} [IsProbabilityMeasure ν] [IsLeftUnitarilyInvariant ν]
(hX : HasLaw X ν μ) (hXr : ∀ᵐ (ω : Ω) ∂μ, Function.Injective (X ω).mulVec) {r q : ℕ}
(hq : q + 2 ≤ Fintype.card l) (hlr : Fintype.card l ≤ r) (hrm : r ≤ Fintype.card m)
(hrn : r ≤ Fintype.card n) {c : ℝ} (hc : c < rotationInvariantFactor r (Fintype.card l) q) :
∃ A,
A.rank = r ∧
c * frobNorm (A - truncatedSVD A q) ^ 2 < ∫ (ω : Ω), frobNorm (A - rsvd A (X ω)) ^ 2 ∂μ
let \mathbf{X} be a standard Gaussian d \times k matrix and \mathbf{A} = \mathbf{X}\mathbf{X}^{\mathsf{H}}. A randomized algorithm (a measurable family of algorithms indexed by a seed s independent of \mathbf{X}) making q < k adaptive queries \mathbf{x} \mapsto \mathbf{A}\mathbf{x} and outputting \mathbf{V} \in \mathbb{R}^{d \times p} satisfies \mathbb{P}\bigl[\operatorname{range}\mathbf{A} \subseteq \operatorname{range}\mathbf{V} \text{ and } \operatorname{rank}\mathbf{V} < d\bigr] = 0\,. So exact recovery of the range of a rank-k positive semidefinite matrix by a rank-k projector (k < d) needs at least k matrix–vector products, for every success probability > 0. [ZhangEtAl2026, Lemma 4.2]; there for rank-k projector outputs.
General form: sizes are index types
Lean statement and details
NLAlib.QueryAlgorithm.IsMeasurableFamily.measure_range_le_range_run_eq_zero_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {d : Type u_2} {k : Type u_3} [Fintype d]
[Fintype k] {q : ℕ} {S : Type u_4} {p : Type u_5} [MeasurableSpace S] [Fintype p]
{alg : S → QueryAlgorithm (d → ℝ) (d → ℝ) q (Matrix d p ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {s : Ω → S} (hs : AEMeasurable s μ)
{X : Ω → Matrix d k ℝ} (hX : HasLaw X (gaussianMatrix d k) μ) (hsX : s ⟂ᵢ[μ] X)
(hq : q < Fintype.card k) :
μ
{ω |
(X ω * (X ω)ᴴ).mulVecLin.range ≤ ((alg (s ω)).run (X ω * (X ω)ᴴ).mulVec).mulVecLin.range ∧
((alg (s ω)).run (X ω * (X ω)ᴴ).mulVec).rank < Fintype.card d} =
0
Theorem (Necessity of a gap for block Krylov iteration, every singular value).
for a matrix \mathbf{A} over \Bbbk with singular values \sigma_0 \ge \sigma_1 \ge \dots, any block \mathbf{\Omega} with b columns, and indices i, k with \sigma_i = \sigma_{i+b+k}, for every depth q, \sigma_i(\mathbf{A}) \le \sigma_k\bigl(\mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{\Omega}, q)\bigr)\,. The block is arbitrary (no law, no rank condition) and \sigma_i = 0 is allowed, where the bound is trivial. The eigenspace of \mathbf{A}^{\mathsf{H}}\mathbf{A} for \sigma_i^2 > 0 has dimension at least b + k + 1 and meets the orthogonal complement of the block Krylov space in dimension at least k + 1; there \mathbf{A} - \mathsf{rbki}(\mathbf{A}, \mathbf{\Omega}, q) acts as \mathbf{A}, which scales norms by \sigma_i. No printed source.
General form: sizes are index types
Lean statement and details
NLAlib.singularValues_le_singularValues_sub_rbki_of_singularValues_eq.{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 𝕜) (q : ℕ) {i k : ℕ}
(h : singularValues A i = singularValues A (i + Fintype.card l + k)) :
singularValues A i ≤ singularValues (A - rbki A Ω q) k
Theorem (No random sketch beats a random orthonormal one).
(Epperly and Webber's minimax lower bound for sketch-and-solve): for a random sketch \mathbf{\Omega} \in \mathbb{R}^{m \times \ell} of any law with full column rank almost surely, \mathbf{A} \in \mathbb{R}^{m \times n} with r = \operatorname{rank}\mathbf{A}, r + 2 \le \ell and any \mathbf{B}, there is an orthogonal \mathbf{U} with \Bigl(1 + \frac{m - \ell}{m - r}\cdot\frac{r}{\ell - r - 1}\Bigr) \|(\mathbf{I} - \mathbf{P}_{\mathbf{A}})\mathbf{B}\|_{\mathsf{F}}^2 \le \mathbb{E}\|\mathbf{U}\mathbf{B} - \mathbf{U}\mathbf{A}\,\mathsf{sketchAndSolve}(\mathbf{U}\mathbf{A}, \mathbf{\Omega}^{\mathsf{H}}, \mathbf{U}\mathbf{B})\|_{\mathsf{F}}^2\,, in extended reals (the expectation may be infinite). With NLAlib.integral_frobNorm_sub_mul_sketchAndSolve_sq_of_hasLaw_haarFrame (equality for a Haar sketch): the random orthonormal sketch is minimax optimal. [EpperlyWebber2026, Theorem 2.2]; there as a supremum over problems of rank r.
General form: sizes are index types
Lean statement and details
NLAlib.exists_hasOrthonormalCols_le_lintegral_frobNorm_mul_sub_mul_sketchAndSolve_sq.{u_1, u_2, u_3,
u_4, u_6}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq m] {r' : Type u_6} [Fintype r']
[IsProbabilityMeasure μ] {X : Ω → Matrix m l ℝ} (hX : AEMeasurable X μ)
(hXr : ∀ᵐ (ω : Ω) ∂μ, (X ω).rank = Fintype.card l) {A : Matrix m n ℝ}
(hA : A.rank + 2 ≤ Fintype.card l) (B : Matrix m r' ℝ) :
∃ U,
HasOrthonormalCols U ∧
ENNReal.ofReal
(haarProjectionFactor (Fintype.card m) (Fintype.card l) A.rank *
frobNorm ((1 - rangeProjector A) * B) ^ 2) ≤
∫⁻ (ω : Ω),
ENNReal.ofReal (frobNorm (U * B - U * A * sketchAndSolve (U * A) (X ω)ᴴ (U * B)) ^ 2) ∂μ
Theorem (Truncated generalized Nyström keeps the noise in the head subspace).
(lower bound on Epperly and Webber's instance): for \mathbf{A}_a = \operatorname{diag}(a\mathbf{I}_k, \mathbf{I}_{n-k}) on s \oplus t (k = \lvert s\rvert, n = \lvert s\rvert + \lvert t\rvert), independent standard Gaussian test matrices \mathbf{\Omega} (n \times \ell) and \mathbf{\Psi} (n \times p), k + 2 \le \ell, \ell + 2 \le p, and every \eta > 0: for all large a, \lvert t\rvert + \frac{k(n - \ell)}{p - \ell - 1} - \eta \le \mathbb{E}\|\mathbf{A}_a - \llbracket\mathsf{gn}(\mathbf{A}_a, \mathbf{\Omega}, \mathbf{\Psi}) \rrbracket_k\|_{\mathsf{F}}^2\,, where \lvert t\rvert = \|\mathbf{A}_a - \llbracket\mathbf{A}_a\rrbracket_k\|_{\mathsf{F}}^2 for a \ge 1. For n \le \ell the bound is below the optimum and trivially true. For the choice truncatedSVD makes. No printed source. New.
General form: sizes are index types
Lean statement and details
NLAlib.eventually_le_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_fromBlocks_sq.{u_1, u_2,
u_3, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {l : Type u_2} {p : Type u_3}
{s : Type u_4} {t : Type u_5} [Fintype l] [Fintype p] [Fintype s] [Fintype t] [DecidableEq s]
[DecidableEq t] {X : Ω → Matrix (s ⊕ t) l ℝ} {Ψ : Ω → Matrix (s ⊕ t) p ℝ}
(hX : HasLaw X (gaussianMatrix (s ⊕ t) l) μ) (hΨ : HasLaw Ψ (gaussianMatrix (s ⊕ t) p) μ)
(hXΨ : X ⟂ᵢ[μ] Ψ) (hsl : Fintype.card s + 2 ≤ Fintype.card l)
(hlp : Fintype.card l + 2 ≤ Fintype.card p) {η : ℝ} (hη : 0 < η) :
∀ᶠ (a : ℝ) in Filter.atTop,
↑(Fintype.card t) +
↑(Fintype.card s) * (↑(Fintype.card s) + ↑(Fintype.card t) - ↑(Fintype.card l)) /
(↑(Fintype.card p) - ↑(Fintype.card l) - 1) -
η ≤
∫ (ω : Ω),
frobNorm
(fromBlocks (a • 1) 0 0 1 -
truncatedSVD (generalizedNystrom (fromBlocks (a • 1) 0 0 1) (X ω) (Ψ ω))
(Fintype.card s)) ^
2 ∂μ
, integer sizes: let k, m and q be natural numbers and n = k + 3m, with 0 < \varepsilon \le \varepsilon_0, \varepsilon \le k/C_1 and m = \lfloor k/(8\varepsilon) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in at most two passes (the products of a pass are chosen before any response of that pass is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C\varepsilon} \,. Here C = 6400, \varepsilon_0 = 1/6500 and C_1 = 14000. No printed source.
Notes
the hypotheses force k \ge 1. The n coordinates are indexed by Fin k ⊕ (Fin 3 × Fin m): a head of k coordinates and three tail levels of m each. General form, with finite index types in place of k and m: NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le. Two passes of randomized SVD with O(k/\varepsilon) products achieve this accuracy in expectation, so the rate k/\varepsilon is optimal for two-pass algorithms. Asymptotic form: NLAlib.exists_forall_natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le.
Lean statement and details
NLAlib.natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le.{u_4} {k m q : ℕ} {ε : ℝ}
(hε : 0 < ε) (hε₁ : ε ≤ 1 / 6500) (hεk : ε ≤ ↑k / 14000) (hm : m = ⌊↑k / (8 * ε)⌋₊) {S : Type u_4}
[MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin 3 × Fin m → ℝ) (Fin k ⊕ Fin 3 × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k) ℝ × Matrix (Fin k) (Fin k ⊕ Fin 3 × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < 2)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k ⊕ Fin 3 × Fin m) ℝ),
A.IsHermitian →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) :
↑k / (6400 * ε) < ↑q