NLA-lib Explorer

NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le

Library · theorem

General form: sizes are index types

Gaussian OSI, sample-size form: at least <!-- value gaussianInjectionDim d \varepsilon \delta --> 4 (\sqrt{d} + \sqrt{2 \log(1/\delta)})^2/\varepsilon^2 rows (gaussianInjectionDim d ε δ) give an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability \delta, for 0 < \varepsilon \le 2 and 0 < \delta < 1; k is nonempty because the dimension is positive. [MartinssonTropp2020, §8.7.2] (the tail form: the smallest singular value of the sketch on the subspace is at most 1 - (1 + \sqrt{d})/\sqrt{\lvert k \rvert} - t with probability at most e^{-\lvert k \rvert t^2/2}); here solved for the row count. Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix. Result: gaussian-osi

NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le.{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 ℝ} {d : ℕ} {ε δ : ℝ} [DecidableEq n]
  (hG : HasLaw G (gaussianMatrix k n) μ) (hε : 0 < ε) (hε2 : ε ≤ 2) (hδ : 0 < δ) (hδ1 : δ < 1)
  (hk : gaussianInjectionDim d ε δ ≤ ↑(Fintype.card k)) :
  IsObliviousSubspaceInjection (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d (1 - ε) δ μ

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.