NLAlib.Ops.IsDotTrace.abs_add_le_of_absRelErr
Library · theorem
Every next exact accumulation in a mixed-error dot prefix of length k<N has magnitude at most (1+u)^{2N}\sum_{i<N}\lvert \mathbf{x}_i y_i\rvert + N(1+u)^{2N}(2+u)\eta\,. The allowances u and \eta must be nonnegative. This input-only bound can discharge a finite-format backend's range condition without observing intermediate states, and does not require a dimension-precision smallness assumption.
NLAlib.Ops.IsDotTrace.abs_add_le_of_absRelErr {u η : ℝ} {x y s : ℕ → ℝ} {k N : ℕ} {q : ℝ}
(h : Ops.IsDotTrace (Computation.AbsRelErr u η) x y k s) (hu : 0 ≤ u) (hη : 0 ≤ η) (hkn : k < N)
(hq : Computation.AbsRelErr u η (x k * y k) q) :
|s k + q| ≤
(1 + u) ^ (2 * N) * ∑ i ∈ Finset.range N, |x i * y i| + ↑N * (1 + u) ^ (2 * N) * (2 + u) * ηImport NLAlib.Ops.Blas.DotMixed.