NLAlib.LinearSystems.Refinement.Rounded.norm_inv_mulVec_sub_correction_le
Library · theorem
The correction solved with the computed Cholesky factor. Let \mathbf{A} be positive definite of order n, let l be a trace of left-looking Cholesky at unit roundoff u_f \ge 0 on entries a_{ij} read with relative error u_f, with 24(n + 1)^2(u_f + u_f)\kappa(\mathbf{A}) \le 1. Let \hat{\mathbf{r}} be \mathbf{r} with relative error u_f in each entry, \mathbf{y} a forward substitution trace from \hat{\mathbf{r}} and \mathbf{d} a back substitution trace from \mathbf{y}, at unit roundoff u_f. Then \|\mathbf{A}^{-1}\mathbf{r} - \mathbf{d}\| \le 24(n + 1)^2(u_f + u_f)\kappa(\mathbf{A}) \|\mathbf{A}^{-1}\mathbf{r}\|. [CarsonHigham2018, (2.3)]; the assumption there on the solver, for Cholesky.
NLAlib.LinearSystems.Refinement.Rounded.norm_inv_mulVec_sub_correction_le {n : ℕ}
{A : Matrix (Fin n) (Fin n) ℝ} {a L : ℕ → ℕ → ℝ} {uf : ℝ} (h : Computation.IsCholTrace uf a L n)
(hA : A.PosDef) (huf : 0 ≤ uf) (ha : ∀ (i j : Fin n), j ≤ i → |a ↑i ↑j - A i j| ≤ uf * |A i j|)
(hsmall : 24 * (↑n + 1) ^ 2 * (uf + uf) * pseudoConditionNumber A ≤ 1) {r : Fin n → ℝ}
{rh y d : ℕ → ℝ} (hr : ∀ (i : Fin n), |rh ↑i - r i| ≤ uf * |r i|)
(hy : Computation.IsSubstTrace (fun x ↦ Computation.RelErr uf) L rh n y)
(hd : Computation.IsBackSubstTrace uf L y n d) {dW : Fin n → ℝ}
(hdW : ∀ (i : Fin n), dW i = d ↑i) :
‖WithLp.toLp 2 (A⁻¹ *ᵥ r - dW)‖ ≤
24 * (↑n + 1) ^ 2 * (uf + uf) * pseudoConditionNumber A * ‖WithLp.toLp 2 (A⁻¹ *ᵥ r)‖Import NLAlib.LinearSystems.Refinement.Rounded.Bounds.