NLA-lib Explorer

NLAlib.integral_conjTranspose_mul_mul_of_hasLaw_samplingSketch

Library · theorem

Row sampling is unbiased for matrix products: \mathbb{E}[\mathbf{A}^{\mathsf{H}} \mathbf{S}^{\mathsf{H}} \mathbf{S} \mathbf{B}] = \mathbf{A}^{\mathsf{H}} \mathbf{B} for k nonempty when every zero weight sits on a row where \mathbf{A} or \mathbf{B} vanishes (in particular when every weight is positive). [MartinssonTropp2020, §7.1] (the sampled estimator, positive weights).

NLAlib.integral_conjTranspose_mul_mul_of_hasLaw_samplingSketch.{u_1, u_2, u_3, u_4, u_5, u_6}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
  {n : Type u_4} {q : Type u_5} {r : Type u_6} [Fintype k] [Fintype n] [Fintype q] [Fintype r]
  [DecidableEq n] {S : Ω → Matrix k n 𝕜} {p : n → ℝ≥0} {A : Matrix n q 𝕜} {B : Matrix n r 𝕜}
  [Nonempty k] [DecidableEq r] (hS : HasLaw S (samplingSketch k p) μ) (hp : ∑ i, p i = 1)
  (hsupport : ∀ (i : n), p i = 0 → A i = 0 ∨ B i = 0) : ∫ (ω : Ω), Aᴴ * (S ω)ᴴ * S ω * B ∂μ = Aᴴ * B

Full source on GitHub

Import NLAlib.Sketching.Sampling.MatrixMultiplication.