NLAlib.pcgState_x_eq_sketchAndPrecondition
Library · theorem
The preconditioned Hestenes–Stiefel recurrence computes sketch-and-precondition: when \mathbf{S}\mathbf{A} has full column rank (so that \mathbf{A} does), the \mathbf{x}-field of NLAlib.pcgState for the normal equations \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{x} = \mathbf{A}^{\mathsf{H}}\mathbf{y} with preconditioner ((\mathbf{S}\mathbf{A})^{\mathsf{H}}\mathbf{S}\mathbf{A})^{+} after q steps from \mathbf{x}_0 is \mathsf{sketchAndPrecondition}(\mathbf{A}, \mathbf{S}, \mathbf{y}, \mathbf{x}_0, q). [Epperly2024, Algorithm 1], there through LSQR. Result: sketch-and-precondition-realisation
NLAlib.pcgState_x_eq_sketchAndPrecondition.{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]
{S : Matrix k m 𝕜} {A : Matrix m n 𝕜} (hSA : Function.Injective (S * A).mulVec) (y : m → 𝕜)
(x₀ : n → 𝕜) (q : ℕ) :
(pcgState (Aᴴ * A) (pinv ((S * A)ᴴ * (S * A))) (Aᴴ *ᵥ y) x₀ q).x =
sketchAndPrecondition A S y x₀ qImport NLAlib.Regression.SketchAndPrecondition.