NLA-lib Explorer

NLAlib.exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement

Library · theorem

General form: sizes are index types

Distributional JL for the SRHT with replacement, asymptotic form: O(\beta(1 + \log(\lvert n\rvert/\delta))\log(1/\delta)/\varepsilon^2) rows suffice for the SRHT with i.i.d. uniform row indices of a bounded orthonormal \mathbf{F} with constant \beta to have the JL property with distortion \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and before \beta. Proved from NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le with \varepsilon_0 = 1 and \delta \le 1/2. [MartinssonTropp2020, §9.3]. Asymptotic: NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le Result: jl-srht

NLAlib.exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω 𝕜 k n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
          [inst_3 : Fintype n] [inst_4 : DecidableEq n] (μ : Measure Ω) (S : Ω → Matrix k n 𝕜)
          (F : Matrix n n 𝕜) (β ε δ : ℝ),
          IsBoundedOrthonormal F β →
            HasLaw S (srhtWithReplacement k F) μ →
              0 < ε →
                ε ≤ ε₀ →
                  0 < δ →
                    δ ≤ 1 / 2 →
                      C * (β * (1 + Real.log (↑(Fintype.card n) / δ)) * Real.log (1 / δ) / ε ^ 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.