NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Certification.algorithm

Library · def

Work: program manifest

Preconditioned conjugate gradient succeeds on every admitted system: positive-definite matrix and inverse preconditioner, and a right-hand side whose preconditioned Krylov grade is at least the horizon. No success or numerical execution witness is an assumption. Both operators retain separate charges.

NLAlib.Krylov.CG.HSPCG.Certification.algorithm (domain : (Fin 2 → ℕ) → Prop)
  (admitted : ∃ d, domain d)
  (supply : ∀ (d : Fin 2 → ℕ), domain d → ∃ x, Krylov.CG.HSPCG.Certification.accepts d x)
  (cost : Ops.Standard.Costing) (aw ap sw sp : List ℕ → ℕ) :
  Ops.Algorithm
    (Krylov.CG.HSPCG.Model.exactModel (Krylov.CG.HSPCG.Certification.problem domain admitted supply)
      (fun d ↦ d 0) (fun x X ↦ (↑X).1.1) (fun x X ↦ (↑X).1.2.1)
      (Krylov.CG.HSPCG.Model.resources cost aw ap sw sp))
    (Krylov.CG.HSPCG.Certification.specification domain admitted supply
      (Krylov.CG.HSPCG.Model.resources cost aw ap sw sp))

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Certification.