NLA-lib Explorer

NLAlib.Ops.ContextLinear.satisfies_blas

Library · theorem

Select the individual exact vector contracts from the standard numerical interface.

NLAlib.Ops.ContextLinear.satisfies_blas {Op Tst : Type} [Ops.Has Ops.Blas1Op Op]
  {I : Ops.Interp Op Tst ℝ} (hB : Ops.IsExactBlas1 id (fun x ↦ True) I) (o : Ops.Blas1Op) :
  I.Satisfies Ops.Mode.total (Ops.Has.inj o)
    ((Ops.ContextLinear.blasRelation o).spec
      (match (motive := Ops.Blas1Op → List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop) o with
      | Ops.Blas1Op.axpy => Ops.InPlace fun x ↦ True
      | Ops.Blas1Op.scal => Ops.InPlace fun x ↦ True
      | x => Ops.OutApart fun x ↦ True))

Full source on GitHub

Import NLAlib.Ops.Profiles.ContextLinear.