NLA-lib Explorer

NLAlib.Ops.Examples.exists_isExactBlas1_isExactMatvec

Library · theorem

Exact scalar arithmetic, BLAS1 and the rectangular operator can be realized together at all vector lengths.

NLAlib.Ops.Examples.exists_isExactBlas1_isExactMatvec {Op Tst : Type} [Ops.Has Ops.OperatorOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.ScalarOp Op] [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op]
  [Ops.Apart Ops.Blas1Op Ops.OperatorOp Op] [Ops.Apart Ops.ScalarOp Ops.OperatorOp Op]
  (ok : ℕ → Prop) {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ) :
  ∃ J,
    Ops.ExactModel id Ops.exactMachine ∧
      Ops.IsScalar Ops.exactMachine J ∧ Ops.IsExactBlas1 id ok J ∧ Ops.IsExactMatvec id A J

Full source on GitHub

Import NLAlib.Ops.Examples.Bilinear.