NLA-lib Explorer

NLAlib.isObliviousSubspaceEmbedding_of_isSubgaussianVector

Library · theorem

This statement changed in the recorded rename: 2026-10-constants.

Headline of subgaussian-ose (provisional) General form: sizes are index types

Sub-Gaussian OSE: for a random \mathbf{X} with independent, isotropic, sub-Gaussian rows with proxy c, \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{X} is an oblivious subspace embedding for dimension d with constants 1 \mp \varepsilon and failure probability <!-- value subgaussianJLConstant --> 2 \cdot 21^d \, e^{-\frac{1}{36} \lvert k \rvert \min(16\varepsilon^2/(25c^2), \, 4\varepsilon/(5c))} \,, the constant being subgaussianJLConstant: JL plus a net of radius 1/10 at 4\varepsilon/5 (NLAlib.HasJLProperty.isObliviousSubspaceEmbedding). [Vershynin2018, Theorem 4.6.1, (4.22)], there for the singular values, K^2 \max(\delta, \delta^2) with an unspecified constant; it dominates the rows theorem's Gram sandwich in every regime.

Result: subgaussian-ose

NLAlib.isObliviousSubspaceEmbedding_of_isSubgaussianVector.{u_1, u_2, u_3} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k] [Fintype n]
  {X : Ω → Matrix k n ℝ} {c : ℝ≥0} {ε : ℝ} [DecidableEq n] (hind : iIndepFun (fun i ω ↦ X ω i) μ)
  (hsub : ∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ)
  (hiso : ∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) (d : ℕ) :
  IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) d (1 - ε) (1 + ε)
    (2 * 21 ^ d *
      rexp
        (-(subgaussianJLConstant * ↑(Fintype.card k) *
            min (16 * ε ^ 2 / (25 * ↑c ^ 2)) (4 * ε / (5 * ↑c)))))
    μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.SubGaussian.

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.