NLA-lib Explorer

NLAlib.integral_sketchAndSolve_of_hasLaw_gaussianMatrix

Library · theorem

General form: sizes are index types

Gaussian sketch-and-solve is unbiased: for a standard Gaussian p \times m sketch \mathbf{S} and \operatorname{rank}\mathbf{A} + 1 \le p, \mathbb{E}\,\mathsf{sketchAndSolve}(\mathbf{A}, \mathbf{S}, \mathbf{B}) = \mathbf{A}^{+}\mathbf{B}\,. At \mathbf{A} = \mathbf{Q} with orthonormal columns this is the unbiasedness of the sketched core of generalized Nyström. The reflection 2\mathbf{P}_{\mathbf{A}} - \mathbf{I} preserves the law of \mathbf{S}, fixes \mathbf{A} and negates the residual; at p = \operatorname{rank} \mathbf{A} the solution need not be integrable. [EpperlyWebber2026, Theorem 2.1]; [TroppYurtseverUdellCevher2017, Lemma A.5]; there with \operatorname{rank}\mathbf{A} + 2 \le p. Result: sketch-and-solve-expected-error

NLAlib.integral_sketchAndSolve_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4, u_5} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3} {p : Type u_4}
  {r : Type u_5} [Fintype m] [Fintype n] [Fintype p] [Fintype r] {S : Ω → Matrix p m ℝ}
  [DecidableEq r] (hS : HasLaw S (gaussianMatrix p m) μ) {A : Matrix m n ℝ}
  (hA : A.rank + 1 ≤ Fintype.card p) (B : Matrix m r ℝ) :
  ∫ (ω : Ω), sketchAndSolve A (S ω) B ∂μ = pinv A * B

Full source on GitHub

Import NLAlib.Regression.SketchAndSolve.

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.