NLA-lib Explorer

NLAlib.Ops.RoundedScalarBlas.laws

Library · theorem

Standard rounding

The scalar-only tree derives all rounded level-one laws from the scalar machine alone. No vector primitive meaning or whole-program execution fact is requested.

NLAlib.Ops.RoundedScalarBlas.laws {Tst K : Type} [Inhabited K] {M : Ops.Machine K} {dec : K → ℝ}
  {u : ℝ} (hM : Ops.StdModel u dec M) (hu : 0 ≤ u) {I : Ops.Interp Ops.ScalarOp Tst K}
  (hI : Ops.IsScalar M I) :
  Ops.IsScalar M (I.link Ops.RoundedScalarBlas.table) ∧
    Ops.IsBlas1 dec (Ops.Blas.seq.err u) (fun x ↦ True) (I.link Ops.RoundedScalarBlas.table)

Full source on GitHub

Import NLAlib.Ops.Profiles.RoundedScalarBlas.