NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.exists_exactContracts

Library · theorem

Exact scalar arithmetic, sequential BLAS1 and the exact operator contract have a common real interpretation for every matrix and every dimension.

NLAlib.Krylov.CG.HSCG.exists_exactContracts {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.Apart Ops.ScalarOp Ops.OperatorOp Op] {n : ℕ}
  (A : Matrix (Fin n) (Fin n) ℝ) :
  ∃ I,
    Ops.ExactModel id Ops.exactMachine ∧
      Ops.IsScalar Ops.exactMachine I ∧
        Ops.IsExactBlas1 id (fun x ↦ True) I ∧ Ops.IsExactMatvec id A I

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Linked.