NLAlib.hasJLProperty_of_hasLaw_gaussianMatrix
Library · theorem
Headline of jl-distributional (provisional) General form: sizes are index types
Distributional Johnson–Lindenstrauss for a Gaussian sketch: for every unit \mathbf{x} and every \varepsilon \ge 0, \mathbb{P}\bigl[\varepsilon \le \lvert \|\mathbf{S}\mathbf{x}\|^2 - 1 \rvert\bigr] \le 2 e^{-\lvert k \rvert (\varepsilon^2/4 - \varepsilon^3/6)} \,; \|\mathbf{S}\mathbf{x}\|^2 = \|\mathbf{G}\mathbf{x}\|^2/\lvert k \rvert is \chi^2_{\lvert k \rvert} / \lvert k \rvert (NLAlib.measureReal_abs_norm_sq_div_card_sub_one_ge_le_of_hasLaw_gaussianVector). [Woodruff2014, Lemma 18] (there \varepsilon^2 \lvert k \rvert / 16); [MartinssonTropp2020, §8.6]; the exponent of Dasgupta and Gupta. No \varepsilon < 1: the bound is at least 2 for \varepsilon \ge 3/2. Result: jl-distributional
NLAlib.hasJLProperty_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 ℝ} {ε : ℝ} (hG : HasLaw G (gaussianMatrix k n) μ) (hε : 0 ≤ ε) :
HasJLProperty (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) ε
(2 * rexp (-(↑(Fintype.card k) * (ε ^ 2 / 4 - ε ^ 3 / 6)))) μ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.