NLAlib.Ops.StdModel.add_bounds
Library · theorem
Standard rounding
A rounded sum of nonnegative numbers is at least (1 - \boldsymbol{u}) times the exact one and at most (1 + \boldsymbol{u}) times it.
NLAlib.Ops.StdModel.add_bounds {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M) {a b : ℝ}
(ha : 0 ≤ a) (hb : 0 ≤ b) : (1 - u) * (a + b) ≤ M.add a b ∧ M.add a b ≤ (1 + u) * (a + b)Import NLAlib.Eigensolvers.Schur.ResidualCheck.