NLA-lib Explorer

NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix

Library · theorem

Headline of gaussian-osi (provisional) General form: sizes are index types

The Gaussian OSI: \mathbf{S} = \lvert k \rvert^{-1/2} \, \mathbf{G} is an oblivious subspace injection for dimension d with constant \Bigl(1 - \frac{\sqrt{d} + t}{\sqrt{\lvert k \rvert}}\Bigr)^2 and failure probability e^{-t^2/2}, for k nonempty and 0 \le t \le \sqrt{\lvert k \rvert} - \sqrt{d}; for d > \lvert n \rvert the proof works at \min(d, \lvert n \rvert) and weakens. [CamanoEpperlyMeyerTropp2025, Definition 1.6, §1.5.0], who cite [MartinssonTropp2020, §8.7.2] for it; the one-sided tail gives the better failure probability. Result: gaussian-osi

NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k] [Fintype n]
  {G : Ω → Matrix k n ℝ} {t : ℝ} [DecidableEq n] [Nonempty k] (hG : HasLaw G (gaussianMatrix k n) μ)
  (d : ℕ) (ht : 0 ≤ t) (htd : t ≤ √↑(Fintype.card k) - √↑d) :
  IsObliviousSubspaceInjection (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d
    ((1 - (√↑d + t) / √↑(Fintype.card k)) ^ 2) (rexp (-t ^ 2 / 2)) μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Gaussian.

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.