NLAlib.Krylov.CG.exact_laws
Library · theorem
Exact arithmetic Oracle: matrix–vector product
The exact standard scheme supplies the complete existing exact scalar, BLAS, operator and comparison interfaces from its declared contracts, without listing primitives per solver.
NLAlib.Krylov.CG.exact_laws {K : Type} [Inhabited K] {r b : ℕ} {P : Ops.Problem K r b}
{n : (Fin r → ℕ) → ℕ} (model : Ops.Standard.Model P n)
(hExact : model.scheme = Ops.Standard.Scheme.exact) {d : Fin r → ℕ} {x : P.Input d}
{I : Ops.Interp Ops.Standard.Operation Ops.CmpTst K} (hI : model.access.contracts d x I) :
Ops.IsScalar model.machine I ∧
Ops.ExactModel model.decode model.machine ∧
Ops.IsExactBlas1 model.decode (fun x ↦ True) I ∧
Ops.IsExactMatvec model.decode (model.matrix d x) I ∧ Ops.IsCmp model.decode IImport NLAlib.Krylov.CG.Standard.