NLAlib.Computation.norm_sub_smul_div_le_of_absRelErr
Library · theorem
Rescaling componentwise division errors by a nonzero stored divisor gives \|\mathbf{x}-\mathbf{b}\mathbf{y}\|\le u\|\mathbf{x}\|+\lvert \mathbf{b}\rvert\sqrt{d}\eta\,. The allowances are nonnegative. The divisor may have either sign; no lower bound on its magnitude or on the input norm is assumed.
NLAlib.Computation.norm_sub_smul_div_le_of_absRelErr.{u_1} {n : Type u_1} [Fintype n] {u η b : ℝ}
{x y : n → ℝ} (h : ∀ (i : n), Computation.AbsRelErr u η (x i / b) (y i)) (hu : 0 ≤ u) (hη : 0 ≤ η)
(hb : b ≠ 0) : ‖WithLp.toLp 2 (x - b • y)‖ ≤ u * ‖WithLp.toLp 2 x‖ + |b| * √↑(Fintype.card n) * ηImport NLAlib.Matrix.FinitePrecision.VectorErrors.