NLA-lib Explorer

NLAlib.exists_forall_isObliviousSubspaceEmbedding_of_hasLaw_gaussianMatrix

Library · theorem

Gaussian OSE, asymptotic form: O((d + \log(1/\delta))/\varepsilon^2) rows suffice for the Gaussian sketch to be an oblivious subspace embedding for dimension d with constants 1 \mp \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension. Proved from NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_gaussianMatrix_of_gaussianEmbeddingDim_le with C = 72, \varepsilon_0 = 1 and \delta \le 1/2. [Woodruff2014, Theorem 6]. Asymptotic: NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_gaussianMatrix_of_gaussianEmbeddingDim_le

NLAlib.exists_forall_isObliviousSubspaceEmbedding_of_hasLaw_gaussianMatrix :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω k n : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype k] [inst_2 : Fintype n]
          (μ : Measure Ω) (G : Ω → Matrix k n ℝ) (d : ℕ) (ε δ : ℝ),
          HasLaw G (gaussianMatrix k n) μ →
            0 < ε →
              ε ≤ ε₀ →
                0 < δ →
                  δ ≤ 1 / 2 →
                    C * ((↑d + Real.log (1 / δ)) / ε ^ 2) ≤ ↑(Fintype.card k) →
                      IsObliviousSubspaceEmbedding (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d (1 - ε)
                        (1 + ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Gaussian.