NLA-lib Explorer

NLAlib.exists_forall_hasJLProperty_of_isSubgaussianVector

Library · theorem

Sub-Gaussian JL, asymptotic form: O(c^2 \log(1/\delta)/\varepsilon^2) rows suffice for the sketch with independent isotropic rows, sub-Gaussian with proxy c, 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 the proxy. Proved from NLAlib.hasJLProperty_of_isSubgaussianVector_of_subgaussianJLDim_le with C = 72, \varepsilon_0 = 1 and \delta \le 1/2; isotropy forces c \ge 1 once there is a column. Asymptotic: NLAlib.hasJLProperty_of_isSubgaussianVector_of_subgaussianJLDim_le

NLAlib.exists_forall_hasJLProperty_of_isSubgaussianVector :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω k n : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype k] [inst_2 : Fintype n]
          [inst_3 : DecidableEq n] [Nonempty k] (μ : Measure Ω) (X : Ω → Matrix k n ℝ) (c : ℝ≥0)
          (ε δ : ℝ),
          iIndepFun (fun i ω ↦ X ω i) μ →
            (∀ (i : k), IsSubgaussianVector (fun ω ↦ X ω i) c μ) →
              (∀ (i : k), IsIsotropic (fun ω ↦ X ω i) μ) →
                0 < ε →
                  ε ≤ ε₀ →
                    0 < δ →
                      δ ≤ 1 / 2 →
                        C * (↑c ^ 2 * Real.log (1 / δ) / ε ^ 2) ≤ ↑(Fintype.card k) →
                          HasJLProperty (fun ω ↦ (√↑(Fintype.card k))⁻¹ • X ω) ε δ μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.SubGaussian.