NLA-lib Explorer

NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le

Library · theorem

General form: sizes are index types

Distributional JL for the SRHT with replacement, sample-size form: for 0 < \varepsilon \le 1, \delta > 0 and at least <!-- value samplingEmbeddingDim {\cdot 1} L \varepsilon (\delta/2) --> \lvert k \rvert \ge \frac{3 L \log(2\cdot 1/(\delta/2))}{\varepsilon^2} rows (NLAlib.samplingEmbeddingDim 1 L ε (δ/2)), where the flattened coherence <!-- value srhtRowBound {\lvert n \rvert} 1 (\delta/2) --> L = \beta\,\bigl(1 + 2\sqrt{1 \log(\lvert n \rvert/(\delta/2))} + 2 \log(\lvert n \rvert/(\delta/2))\bigr) is \beta times NLAlib.srhtRowBound (Fintype.card n) 1 (δ / 2), the SRHT with i.i.d. uniform row indices has the JL property with distortion \varepsilon and failure probability \delta. [MartinssonTropp2020, §9.3]. Asymptotic form: NLAlib.exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement. Result: jl-srht

NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
  {n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n] {β ε δ : ℝ} {S : Ω → Matrix k n 𝕜}
  {F : Matrix n n 𝕜} (hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srhtWithReplacement k F) μ)
  (hε : 0 < ε) (hε1 : ε ≤ 1) (hδ : 0 < δ)
  (hk :
    samplingEmbeddingDim 1 (β * srhtRowBound (Fintype.card n) 1 (δ / 2)) ε (δ / 2) ≤
      ↑(Fintype.card k)) :
  HasJLProperty S ε δ μ

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHTMultiplication.

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.