NLA-lib Explorer

NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix

Library · theorem

Gaussian OSI, asymptotic form: O((d + \log(1/\delta))/\varepsilon^2) rows suffice for the Gaussian sketch to be an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension. Proved from NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le with C = 16, \varepsilon_0 = 1 and \delta \le 1/2. Asymptotic: NLAlib.isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix_of_gaussianInjectionDim_le

NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_gaussianMatrix :
  ∃ C ε₀,
    0 < C ∧
      0 < ε₀ ∧
        ∀ {Ω k n : Type} [inst : MeasurableSpace Ω] [inst_1 : Fintype k] [inst_2 : Fintype n]
          [inst_3 : DecidableEq 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) →
                      IsObliviousSubspaceInjection (fun ω ↦ (√↑(Fintype.card k))⁻¹ • G ω) d (1 - ε)
                        δ μ

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Gaussian.