NLAlib.sub_sketchAndProject_eq
Library · theorem
The error after one step: for every reference point \mathbf{x}_\star, with \mathbf{P} = \mathbf{P}_{(\mathbf{S}\mathbf{A})^{\mathsf{H}}} the projector onto the row space of \mathbf{S}\mathbf{A}, \mathbf{x}_\star - \mathsf{sketchAndProject}(\mathbf{A}, \mathbf{S}, \mathbf{b}, \mathbf{x}) = (\mathbf{I} - \mathbf{P})(\mathbf{x}_\star - \mathbf{x}) - (\mathbf{S}\mathbf{A})^{+}\mathbf{S}(\mathbf{b} - \mathbf{A}\mathbf{x}_\star)\,: the complementary projection of the error, minus the sketched solution for the residual of \mathbf{x}_\star.
NLAlib.sub_sketchAndProject_eq.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {k : Type u_2}
{m : Type u_3} {n : Type u_4} [Fintype k] [Fintype m] [Fintype n] [DecidableEq n]
(A : Matrix m n 𝕜) (S : Matrix k m 𝕜) (b : m → 𝕜) (x xs : n → 𝕜) :
xs - sketchAndProject A S b x =
(1 - rangeProjector (S * A)ᴴ) *ᵥ (xs - x) - pinv (S * A) *ᵥ S *ᵥ (b - A *ᵥ xs)Import NLAlib.Regression.SketchAndProject.