NLAlib.Krylov.Lanczos.Reorth.PassOut.abs_sub_le
Library · theorem
The residual update reproduces the input minus the computed projections, with an explicit componentwise accumulated axpy error.
NLAlib.Krylov.Lanczos.Reorth.PassOut.abs_sub_le {K : Type} [Inhabited K] {dec : K → ℝ} {ed ea : ℝ}
{n k : ℕ} {qs ws ws' hs : List K} (h : Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs ws ws' hs)
(ha : 0 ≤ ea) (i : Fin n) :
|dec (Ops.vec ws' ↑i) -
(dec (Ops.vec ws ↑i) -
∑ j ∈ Finset.range k, dec (Ops.vec hs j) * dec (Ops.vec qs (j * n + ↑i)))| ≤
((1 + ea) ^ k - 1) *
(|dec (Ops.vec ws ↑i)| +
∑ j ∈ Finset.range k, |dec (Ops.vec hs j) * dec (Ops.vec qs (j * n + ↑i))|)Import NLAlib.Krylov.Lanczos.Reorth.Sweep.