NLAlib.Ops.Blas.sumPairwise_iter_certifies
Library · theorem
Standard rounding
Pairwise summation of depth k, by iterating one level: over any scalar arithmetic, whatever sum means below.
NLAlib.Ops.Blas.sumPairwise_iter_certifies {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] [Inhabited K] {M : Ops.Machine K}
{u : ℝ} {dec : K → ℝ} (hM : Ops.StdModel u dec M) (hu : 0 ≤ u) (k : ℕ) :
(Ops.Blas.sumPairwise.iter k).Refines (fun I ↦ Ops.IsScalar M I) fun J ↦
Ops.IsScalar M J ∧ Ops.IsSum dec (Ops.Blas.pairSumErr u) (fun n ↦ Nat.clog 2 n < k) JImport NLAlib.Ops.Profiles.BlasCert.