NLA-lib Explorer

NLAlib.Ops.IsExactBlas1.dot_zero

Library · theorem

An exact dot product satisfies the relative-error contract with zero error.

NLAlib.Ops.IsExactBlas1.dot_zero {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.Blas1Op Op]
  {dec : K → ℝ} {ok : ℕ → Prop} {J : Ops.Interp Op Tst K} (h : Ops.IsExactBlas1 dec ok J) :
  J.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
    ((Ops.dotRel dec fun x ↦ 0).spec (Ops.OutApart ok))

Full source on GitHub

Import NLAlib.Ops.Catalog.Blas1.