NLA-lib Explorer

NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix

Library · theorem

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

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

Sign-sketch OSE: for \varepsilon \ge 0, \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 2 \cdot 21^d e^{-\lvert k \rvert (4\varepsilon^2/25 - 32\varepsilon^3/375)} \,: JL plus a net of radius 1/10 at 4\varepsilon/5 (NLAlib.HasJLProperty.isObliviousSubspaceEmbedding). [Woodruff2014, §2.1, Theorem 6], there with O(\varepsilon) and unspecified constants. Result: rademacher-ose

NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix.{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 ℝ} {ε : ℝ} (hX : HasLaw X (rademacherMatrix k n) μ) (d : ℕ) (hε : 0 ≤ ε) :
  IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) d (1 - ε) (1 + ε)
    (2 * 21 ^ d * rexp (-(↑(Fintype.card k) * (4 * ε ^ 2 / 25 - 32 * ε ^ 3 / 375)))) μ

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.