NLA-lib Explorer

NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement

Library · theorem

The SRHT OSI with replacement, asymptotic form: O(\beta (d + \log(\lvert n \rvert/\delta)) \log(d/\delta)/\varepsilon^2) rows suffice for the SRHT with replacement 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 and before \beta, and the \log \lvert n \rvert of the flattening stays in the threshold. Proved from NLAlib.isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement_of_samplingInjectionDim_le with C = 32, \varepsilon_0 = 1 and \delta \le 1/2. Asymptotic: NLAlib.isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement_of_samplingInjectionDim_le

NLAlib.exists_forall_isObliviousSubspaceInjection_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] [Nonempty k] [Nonempty n] (μ : Measure Ω)
          (S : Ω → Matrix k n 𝕜) (F : Matrix n n 𝕜) (β : ℝ) (d : ℕ) (ε δ : ℝ),
          IsBoundedOrthonormal F β →
            HasLaw S (srhtWithReplacement k F) μ →
              0 < ε →
                ε ≤ ε₀ →
                  0 < δ →
                    δ ≤ 1 / 2 →
                      C *
                            (β * (↑d + Real.log (↑(Fintype.card n) / δ)) * Real.log (↑d / δ) /
                              ε ^ 2) ≤
                          ↑(Fintype.card k) →
                        IsObliviousSubspaceInjection S d (1 - ε) δ μ

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHT.