NLAlib.integral_sketchAndSolve_of_hasLaw_haarFrame
Library · theorem
General form: sizes are index types
Sketch-and-solve with a random orthonormal sketch is unbiased: for an m \times p Haar frame \mathbf{Q} with p \le m and \operatorname{rank}\mathbf{A} + 2 \le p, \mathbb{E}\,\mathsf{sketchAndSolve}(\mathbf{A}, \mathbf{Q}^{\mathsf{H}}, \mathbf{B}) = \mathbf{A}^{+}\mathbf{B}\,. The reflection 2\mathbf{P}_{\mathbf{A}} - \mathbf{I}, acting on the left of the frame, preserves its law, fixes \mathbf{A} and negates the residual. The Gaussian twin is NLAlib.integral_sketchAndSolve_of_hasLaw_gaussianMatrix. [EpperlyWebber2026, Theorem 2.1]; real case. Result: sketch-and-solve-expected-error
NLAlib.integral_sketchAndSolve_of_hasLaw_haarFrame.{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] {Q : Ω → Matrix m p ℝ}
[DecidableEq p] [DecidableEq r] (hQ : HasLaw Q (haarFrame m p) μ)
(hpm : Fintype.card p ≤ Fintype.card m) {A : Matrix m n ℝ} (hA : A.rank + 2 ≤ Fintype.card p)
(B : Matrix m r ℝ) : ∫ (ω : Ω), sketchAndSolve A (Q ω)ᴴ B ∂μ = pinv A * BImport 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.