NLA-lib Explorer

NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix_of_jlDim_le

Library · theorem

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

General form: sizes are index types

Sign-sketch OSE, sample-size form: for 0 < \varepsilon < 15/8, \delta > 0 and at least <!-- value jlDim (4\varepsilon/5) (\delta/21^d) --> \log(2/(\delta/21^d))/((4\varepsilon/5)^2/4 - (4\varepsilon/5)^3/6) rows (jlDim (4ε/5) (δ/21^d)), \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 \delta. [Woodruff2014, Theorem 6] (Gaussian entries, \Theta((d + \log(1/\delta))\varepsilon^{-2}) rows, unspecified constants; sign entries by the same net argument, §2.1 after Theorem 6). Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix. Result: rademacher-ose

NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix_of_jlDim_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] {X : Ω → Matrix k n ℝ} {ε δ : ℝ} {d : ℕ} (hX : HasLaw X (rademacherMatrix k n) μ)
  (hε : 0 < ε) (hε3 : ε < 15 / 8) (hδ : 0 < δ)
  (hk : jlDim (4 * ε / 5) (δ / 21 ^ d) ≤ ↑(Fintype.card k)) :
  IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) d (1 - ε) (1 + ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Rademacher.

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.