NLA-lib Explorer

NLAlib.isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement

Library · theorem

General form: sizes are index types

The SRHT OSI with replacement: with failure probability d\, e^{-\varepsilon^2 \lvert k \rvert / (2 \beta (d + 2 \sqrt{d t} + 2 t))} + \lvert n \rvert e^{-t} \,, the bound of NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht for i.i.d. uniform indices, nonempty k and n, through NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketch at uniform weights. [CamanoEpperlyMeyerTropp2025, §1.5.2]. Result: srht-osi

NLAlib.isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement.{u_1, u_2, u_3, u_4}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
  {n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n] {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜}
  {β ε t : ℝ} [Nonempty k] [Nonempty n] (hF : IsBoundedOrthonormal F β)
  (hS : HasLaw S (srhtWithReplacement k F) μ) (d : ℕ) (hε : 0 ≤ ε) (ht : 0 ≤ t) :
  IsObliviousSubspaceInjection S d (1 - ε)
    (↑d * rexp (-ε ^ 2 * ↑(Fintype.card k) / (2 * (β * (↑d + 2 * √(↑d * t) + 2 * t)))) +
      ↑(Fintype.card n) * rexp (-t))
    μ

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHT.

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.