NLA-lib Explorer

NLAlib.Ops.Blas.seq_certifies_exact

Library · theorem

Exact arithmetic

Sequential BLAS1 over exact scalar arithmetic satisfies the exact decoded contracts.

NLAlib.Ops.Blas.seq_certifies_exact {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] [Inhabited K] {M : Ops.Machine K}
  {dec : K → ℝ} (hM : Ops.ExactModel dec M) (ok : ℕ → Prop) :
  Ops.Blas.seq.Refines (fun I ↦ Ops.IsScalar M I) fun J ↦
    Ops.IsScalar M J ∧ Ops.IsExactBlas1 dec ok J

Full source on GitHub

Import NLAlib.Ops.Profiles.BlasCert.