NLA-lib Explorer

NLAlib.Ops.RoundedScalarBlas.isFn_dot

Library · theorem

Recomputing a dot product on identical input words returns the same word, even after other state changes. This derives functionality from the actual scalar implementation.

NLAlib.Ops.RoundedScalarBlas.isFn_dot {Tst K : Type} [Inhabited K] {M : Ops.Machine K}
  {I : Ops.Interp Ops.ScalarOp Tst K} (hI : Ops.IsScalar M I) :
  (I.link Ops.RoundedScalarBlas.table).IsFn Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
    (Ops.dotSeqFn M) (Ops.OutApart fun x ↦ True)

Full source on GitHub

Import NLAlib.Ops.Profiles.RoundedScalarBlas.