NLA-lib Explorer

NLAlib.Ops.Blas.exists_isSum

Library · theorem

Witness for the contract of sum alone, jointly with scalar arithmetic: for every u ≥ 0, every error function that is nonnegative on the admitted lengths and every set of admitted lengths, by exact summation. This is the contract set of the implementations over sum (dotSum_satisfies, nrm2Sum_satisfies, sumPairwise_satisfies).

NLAlib.Ops.Blas.exists_isSum {u : ℝ} (hu : 0 ≤ u) (e : ℕ → ℝ) (ok : ℕ → Prop)
  (he : ∀ (n : ℕ), ok n → 0 ≤ e n) :
  ∃ K x dec M J, Ops.StdModel u dec M ∧ Ops.IsScalar M J ∧ Ops.IsSum dec e ok J

Full source on GitHub

Import NLAlib.Ops.Profiles.BlasCert.