NLA-lib Explorer

NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht

Library · theorem

Headline of srht-osi (provisional) General form: sizes are index types

The SRHT OSI: for a bounded orthonormal \mathbf{F} with constant \beta, nonempty k, \lvert k \rvert \le \lvert n \rvert, \varepsilon \ge 0 and t \ge 0, the SRHT is an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability d \exp\Bigl(-\frac{\varepsilon^2 \lvert k \rvert}{2 \beta (d + 2\sqrt{d t} + 2t)}\Bigr) + \lvert n \rvert e^{-t}\,: the lower matrix Chernoff half after flattening. [CamanoEpperlyMeyerTropp2025, §1.5.2] (the OSI view; k = \Omega(d \log d) is necessary, their citation of Tropp 2011a); [Tropp2011a, Theorem 3.1] (Walsh–Hadamard, orthonormal columns: \sigma_{\min} \ge 1/\sqrt{6} at 4(\sqrt{d} + \sqrt{8 \log(d \lvert n \rvert)})^2 \log d rows, outside probability 3/d for both halves). Flattening (NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector), then NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketchWithoutReplacement through NLAlib.hasSubspaceInjection_mul_of_indepFun_of_leverageScore_le. Result: srht-osi

NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht.{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] (hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srht k F) μ)
  (hk : Fintype.card k ≤ Fintype.card n) (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.