NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.StoredContext.laws

Library · theorem

The primitive source contract family is exactly the existing PCG interface.

NLAlib.Krylov.CG.HSPCG.StoredContext.laws {n : ℕ} {A B : Matrix (Fin n) (Fin n) ℝ}
  {I : Ops.Interp Krylov.CG.HSPCG.Signature Ops.CmpTst ℝ}
  (h :
    ∀ (o : Krylov.CG.HSPCG.Signature),
      I.Satisfies Ops.Mode.total o
        ((Krylov.CG.HSPCG.StoredContext.relation A B o).spec
          (Krylov.CG.HSPCG.StoredContext.admissible n o))) :
  Ops.IsScalar Ops.RCLikeBlas.machine I ∧
    Ops.IsExactBlas1 id (fun x ↦ True) I ∧
      Ops.IsExactMatvec id A I ∧ Krylov.CG.HSPCG.IsExactPreconditioner id B I

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.StoredContext.