NLA-lib Explorer

NLAlib.Ops.Examples.bilinear_satisfies

Library · theorem

Oracle: matrix–vector product

One program certificate composes the exact operator with any admitted rounded dot product: a consequence of the judgment of the routine.

NLAlib.Ops.Examples.bilinear_satisfies {K Op Tst : Type} [Ops.Has Ops.OperatorOp Op]
  [Ops.Has Ops.Blas1Op Op] [Inhabited K] {dec : K → ℝ} {m n : ℕ} {A : Matrix (Fin m) (Fin n) ℝ}
  {e : ℕ → ℝ} {ok : ℕ → Prop} {J : Ops.Interp Op Tst K} (hA : Ops.IsExactMatvec dec A J)
  (hD :
    J.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
      ((Ops.dotRel dec e).spec (Ops.OutApart ok)))
  (hok : ok m) :
  (Ops.Examples.bilinearRoutine m n).impl.Satisfies J Ops.Mode.total
    ((Ops.Examples.bilinearRel dec A (e m)).spec (Ops.Examples.BilinearOperands m n))

Full source on GitHub

Import NLAlib.Ops.Examples.Bilinear.