NLAlib.Ops.IsDotTrace.abs_add_le_of_absRelErr_zero
Library · theorem
With absolute allowance \eta\ge0 and zero relative allowance, every next exact accumulation in a dot trace of length k<N has magnitude at most \sum_{i<N}\lvert \mathbf{x}_i y_i\rvert+2N\eta. This bound uses only input entries, dimension and precision; it can discharge a backend's safe-range condition without observing intermediate states.
NLAlib.Ops.IsDotTrace.abs_add_le_of_absRelErr_zero {η : ℝ} {x y s : ℕ → ℝ} {k N : ℕ} {q : ℝ}
(h : Ops.IsDotTrace (Computation.AbsRelErr 0 η) x y k s) (hη : 0 ≤ η) (hkn : k < N)
(hq : Computation.AbsRelErr 0 η (x k * y k) q) :
|s k + q| ≤ ∑ i ∈ Finset.range N, |x i * y i| + 2 * ↑N * ηImport NLAlib.Ops.Blas.DotMixed.