NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.exists_stdContracts

Library · theorem

Rounded scalar, sequential BLAS, exact operator and comparison contracts coexist for every nonnegative unit roundoff; the interpretation is concrete real arithmetic.

NLAlib.Krylov.CG.HSCG.Carried.exists_stdContracts {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 : ℝ) (hu : 0 ≤ u)
  (A : Matrix (Fin n) (Fin n) ℝ) :
  ∃ I,
    Ops.StdModel u id Ops.exactMachine ∧
      Ops.IsScalar Ops.exactMachine 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.