NLA-lib Explorer

NLAlib.LinearSystems.Refinement.Rounded.norm_add_sub_update_le

Library · theorem

The update in the working precision. If each entry of \mathbf{x}' is \mathbf{x}_i + d_i with relative error at most u \ge 0, then \|\mathbf{x} + \mathbf{d} - \mathbf{x}'\| \le u \|\mathbf{x} + \mathbf{d}\|.

NLAlib.LinearSystems.Refinement.Rounded.norm_add_sub_update_le {n : ℕ} {x d x' : Fin n → ℝ} {u : ℝ}
  (hu : 0 ≤ u) (h : ∀ (i : Fin n), |x' i - (x i + d i)| ≤ u * |x i + d i|) :
  ‖WithLp.toLp 2 (x + d - x')‖ ≤ u * ‖WithLp.toLp 2 (x + d)‖

Full source on GitHub

Import NLAlib.LinearSystems.Refinement.Rounded.Bounds.