NLAlib.Krylov.CG.HSPCG.exists_exactContracts
Library · theorem
Scalar arithmetic, both exact operators and sequential BLAS are jointly realizable.
NLAlib.Krylov.CG.HSPCG.exists_exactContracts {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
[Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op]
[Ops.Apart Ops.Blas1Op Ops.ScalarOp Op] [Ops.Apart Ops.Blas1Op Ops.OperatorOp Op]
[Ops.Apart Ops.Blas1Op (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op]
[Ops.Apart Ops.ScalarOp Ops.OperatorOp Op]
[Ops.Apart Ops.ScalarOp (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op]
[Ops.Apart Ops.OperatorOp (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] {n : ℕ}
(A P : 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 ∧ Krylov.CG.HSPCG.IsExactPreconditioner id P IImport NLAlib.Krylov.CG.HSPCG.Linked.