NLAlib.IsSubspaceEmbedding.singularValues_sq_mul_norm_sub_sketchAndPrecondition_sq_le
Library Β· theorem
Forward error of sketch-and-precondition from the sketch-and-solve start: if \mathbf{S} is a subspace embedding with constants a > 0, \mathbf{b} in squared norms (a\|\mathbf{v}\|^2 \le \|\mathbf{S}\mathbf{v}\|^2 \le \mathbf{b}\|\mathbf{v}\|^2 for \mathbf{v} \in \operatorname{range}\mathbf{U}) of a subspace \operatorname{range}\mathbf{U} containing \operatorname{range}\mathbf{A} and \mathbf{y}, \mathbf{A} has full column rank, \mathbf{x}_\star is the least-squares solution, \mathbf{x}_0 is any minimizer of \|\mathbf{S}(\mathbf{A}\mathbf{x} - \mathbf{y})\| and \sigma_{\min}(\mathbf{A}) = \sigma_j(\mathbf{A}) with j + 1 = \lvert n\rvert, then \sigma_{\min}(\mathbf{A})^2\,\|\mathbf{x}_\star - \mathsf{sketchAndPrecondition}(\mathbf{A}, \mathbf{S}, \mathbf{y}, \mathbf{x}_0, q)\|^2 \le 4\Bigl(\frac{\mathbf{b}}{a} - 1\Bigr) \Bigl(\frac{\sqrt{\mathbf{b}/a} - 1}{\sqrt{\mathbf{b}/a} + 1}\Bigr)^{2q} \|(\mathbf{I} - \mathbf{P}_{\mathbf{A}})\mathbf{y}\|^2\,. Epperly's forward-error form, multiplied out so that no division appears. [Epperly2024, Theorem 5], there for iterative sketching, as \|\mathbf{x} - \mathbf{x}_i\| \lesssim \kappa\,\|\mathbf{r}(\mathbf{x})\|/\|\mathbf{A}\|_2.
NLAlib.IsSubspaceEmbedding.singularValues_sq_mul_norm_sub_sketchAndPrecondition_sq_le.{u_1, u_2,
u_3, u_4, u_5}
{π : Type u_1} [RCLike π] {k : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5} [Fintype k]
[Fintype m] [Fintype n] [DecidableEq n] {S : Matrix k m π} {A : Matrix m n π} {y : m β π}
{xs xβ : n β π} {a b : β} [DecidableEq m] [Fintype r] {U : Matrix m r π}
(h : IsSubspaceEmbedding S U a b) (ha : 0 < a) (hAU : A.mulVecLin.range β€ U.mulVecLin.range)
(hy : y β U.mulVecLin.range) (hA : Function.Injective A.mulVec)
(hxs : IsLeastSquaresSolution A y xs) (hxβ : IsLeastSquaresSolution (S * A) (S *α΅₯ y) xβ) {j : β}
(hj : j + 1 = Fintype.card n) (q : β) :
singularValues A j ^ 2 * βWithLp.toLp 2 (xs - sketchAndPrecondition A S y xβ q)β ^ 2 β€
4 * (b / a - 1) * ((β(b / a) - 1) / (β(b / a) + 1)) ^ (2 * q) *
βWithLp.toLp 2 ((1 - rangeProjector A) *α΅₯ y)β ^ 2Import NLAlib.Regression.SketchAndPrecondition.