NLA-lib Explorer

NLAlib.Ops.RCLikeScalar.satisfies_table

Library 路 theorem

The complete exact BLAS table is realized by scalar arithmetic and conjugation alone.

NLAlib.Ops.RCLikeScalar.satisfies_table {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.StarOp Op] {饾暅 : Type} [RCLike 饾暅] {I : Ops.Interp Op Tst 饾暅}
  (hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hStar : Ops.RCLikeStar.IsExact I)
  (o : Ops.Blas1Op) :
  match Ops.RCLikeScalar.table o with
  | Sum.inl r =>
    r.Satisfies I Ops.Mode.total
      ((Ops.RCLikeBlas.functions o).rel.spec (Ops.RCLikeBlas.admissible o))
  | Sum.inr val => False

Full source on GitHub

Import NLAlib.Ops.Profiles.RCLikeScalar.