NLA-lib Explorer

NLAlib.hasLaw_srhtMatrix_of_hasLaw_pi

Library · theorem

From the user's own signs and indices: for independent signs \boldsymbol{\xi} and independent i.i.d. uniform indices \iota : k \to n, under any measurable space on n with measurable singletons, the sketch built from them has law NLAlib.srhtWithReplacement k F.

NLAlib.hasLaw_srhtMatrix_of_hasLaw_pi.{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] {F : Matrix n n 𝕜} {ξ : Ω → n → ℝ} [MeasurableSpace n]
  [MeasurableSingletonClass n] {ι : Ω → k → n} (hξ : HasLaw ξ (rademacherVector n) μ)
  (hι : HasLaw ι (Measure.pi fun x ↦ samplingMeasure fun x ↦ (↑(Fintype.card n))⁻¹) μ)
  (hind : ξ ⟂ᵢ[μ] ι) : HasLaw (fun ω ↦ srhtMatrix F (ξ ω) (ι ω)) (srhtWithReplacement k F) μ

Full source on GitHub

Import NLAlib.Sketching.Structured.SRHT.