NLA-lib Explorer

NLAlib.Ops.Examples.bilinearRoutine_meets

Library · theorem

Oracle: matrix–vector product

The bilinear form meets the specification read off its relation: one judgment composes the exact operator with any admitted rounded dot product.

NLAlib.Ops.Examples.bilinearRoutine_meets {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).Meets J
    (Ops.Routine.Spec.ofRel (Ops.Examples.bilinearRel dec A (e m)) fun d ↦ d = [m, n])

Full source on GitHub

Import NLAlib.Ops.Examples.Bilinear.