NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.exists_stdContracts_ofMachine

Library · theorem

Standard rounding

Every real standard-model scalar machine has a joint sequential BLAS, exact matvec and comparison interpretation, with its own unit roundoff and scalar functions.

NLAlib.Krylov.CG.HSCG.Carried.exists_stdContracts_ofMachine {Op Tst : Type}
  [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
  [Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] [Ops.Apart Ops.Blas1Op Ops.OperatorOp Op]
  [Ops.Has Ops.CmpTst Tst] [Ops.Apart Ops.ScalarOp Ops.OperatorOp Op] {n : ℕ} {u : ℝ}
  (M : Ops.Machine ℝ) (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (A : Matrix (Fin n) (Fin n) ℝ) :
  ∃ I,
    Ops.StdModel u id M ∧
      Ops.IsScalar M I ∧
        Ops.IsBlas1 id (Ops.Blas.seq.err u) (fun x ↦ True) I ∧
          Ops.IsExactMatvec id A I ∧ Ops.IsCmp id I

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Linked.