NLA-lib Explorer

NLAlib.HasSubspaceEmbedding.measureReal_norm_mulVec_sub_sketchAndPrecondition_sq_gt_le

Library · theorem

Sketch-and-precondition with a random embedding, any start: if the random sketch \mathbf{S} is a subspace embedding of \operatorname{range}\mathbf{A} 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{A}) except with probability \delta, \mathbf{A} has full column rank and \mathbf{x}_\star is a least-squares solution of \mathbf{A}\mathbf{x} \approx \mathbf{y}, then for a fixed start \mathbf{x}_0 \mathbb{P}\Bigl[4\Bigl(\frac{\sqrt{\mathbf{b}/a} - 1}{\sqrt{\mathbf{b}/a} + 1}\Bigr)^{2q} \|\mathbf{A}(\mathbf{x}_\star - \mathbf{x}_0)\|^2 < \|\mathbf{A}(\mathbf{x}_\star - \mathsf{sketchAndPrecondition}(\mathbf{A}, \mathbf{S}, \mathbf{y}, \mathbf{x}_0, q))\|^2\Bigr] \le \delta\,. No law is assumed: any distribution with the embedding property qualifies.

NLAlib.HasSubspaceEmbedding.measureReal_norm_mulVec_sub_sketchAndPrecondition_sq_gt_le.{u_1, u_2,
    u_3, u_4, u_6}
  {𝕜 : 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 𝕜} {y : m → 𝕜} {xs : n → 𝕜} {a b : ℝ} {Ω : Type u_6}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {δ : ℝ} [IsFiniteMeasure μ] {S : Ω → Matrix k m 𝕜}
  (h : HasSubspaceEmbedding S A a b δ μ) (ha : 0 < a) (hA : Function.Injective A.mulVec)
  (hxs : IsLeastSquaresSolution A y xs) (x₀ : n → 𝕜) (q : ℕ) :
  μ.real
      {ω |
        4 * ((√(b / a) - 1) / (√(b / a) + 1)) ^ (2 * q) * ‖WithLp.toLp 2 (A *ᵥ (xs - x₀))‖ ^ 2 <
          ‖WithLp.toLp 2 (A *ᵥ (xs - sketchAndPrecondition A (S ω) y x₀ q))‖ ^ 2} ≤
    δ

Full source on GitHub

Import NLAlib.Regression.SketchAndPrecondition.