NLA-lib Explorer

NLAlib.Ops.Standard.Model.laws

Library · theorem

Standard rounding Oracle: matrix–vector product

Solver authors obtain exactly the fixed numerical laws by satisfying the declared model. No whole-program predicate or extra interpreter-wide assumption is added.

NLAlib.Ops.Standard.Model.laws {K : Type} [Inhabited K] {r b : ℕ} {P : Ops.Problem K r b}
  {n : (Fin r → ℕ) → ℕ} (m : Ops.Standard.Model P n) {d : Fin r → ℕ} {x : P.Input d}
  {I : Ops.Interp Ops.Standard.Operation Ops.CmpTst K} (h : m.access.contracts d x I) :
  Ops.IsScalar m.machine I ∧
    Ops.IsBlas1 m.decode (m.scheme.errors m.unit) m.scheme.admits I ∧
      Ops.IsMatvec m.decode (m.matrix d x) (m.scheme.roundoff (m.matvecAllowance d x)) I ∧
        Ops.IsCmp m.decode I

Full source on GitHub

Import NLAlib.Ops.Profiles.Standard.