NLAlib.Computation.AbsRelErr.abs_sub_le_of_sq_of_sqrt
Library · theorem
Composing a nonnegative squared cache with a mixed-error square root gives \lvert r-q\rvert\le(\alpha+u(1+\alpha))r+(1+u)\sqrt E+\eta\,. The exact norm r, coefficients \alpha,u and squared-cache allowance E are nonnegative. Cache nonnegativity is an explicit input, not inferred from an error bound.
NLAlib.Computation.AbsRelErr.abs_sub_le_of_sq_of_sqrt {α E u η r s q : ℝ}
(h : Computation.AbsRelErr α E (r ^ 2) s) (hsqrt : Computation.AbsRelErr u η (√s) q) (hr : 0 ≤ r)
(hs : 0 ≤ s) (hα : 0 ≤ α) (hE : 0 ≤ E) (hu : 0 ≤ u) :
|r - q| ≤ (α + u * (1 + α)) * r + (1 + u) * √E + ηImport NLAlib.Matrix.FinitePrecision.NormalizationErrors.