NLA-lib Explorer

NLAlib.exists_forall_isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix

Library · theorem

Sign-sketch OSE, asymptotic form: O((d + \log(1/\delta))/\varepsilon^2) rows suffice for the sign 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_rademacherMatrix_of_jlDim_le with C = 58, \varepsilon_0 = 1 and \delta \le 1/2. Asymptotic: NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_rademacherMatrix_of_jlDim_le

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

Full source on GitHub

Import NLAlib.Sketching.Gaussian.Rademacher.