NLA-lib Explorer

NLAlib.Ops.Examples.gemmRoutine_meets

Library · theorem

Relative-error BLAS

gemm meets the specification read off its relation, for every interpretation meeting the level-1 contracts at ε for the length n: the componentwise forward bound with ε.dot n, one step per entry.

NLAlib.Ops.Examples.gemmRoutine_meets {K Op Tst : Type} [Ops.Has Ops.Blas1Op Op] [Inhabited K]
  {dec : K → ℝ} {ε : Ops.Blas1Err} {ok : ℕ → Prop} {J : Ops.Interp Op Tst K}
  (hJ : Ops.IsBlas1 dec ε ok J) :
  Ops.Examples.gemmRoutine.Meets J
    (Ops.Routine.Spec.ofRel (Ops.Examples.gemmRel dec ε.dot) fun d ↦ ok (d.getD 1 0))

Full source on GitHub

Import NLAlib.Ops.Examples.Gemm.