NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.exists_inflContracts

Library · theorem

A genuinely nonexact scalar machine jointly realizes the standard-model contracts and sequential BLAS: at positive roundoff, its computed 1+1 differs from two.

NLAlib.Krylov.CG.HSCG.Carried.exists_inflContracts {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.inflMachine u) ∧
      Ops.IsScalar (Ops.inflMachine u) I ∧
        Ops.IsBlas1 id (Ops.Blas.seq.err u) (fun x ↦ True) I ∧
          Ops.IsExactMatvec id A I ∧ Ops.IsCmp id I ∧ (Ops.inflMachine u).add 1 1 ≠ 2

Full source on GitHub

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