NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Certification.countedAlgorithm

Library · def

Work: closed

Conjugate gradient at order n and horizon k runs within 6 n + 127 k + 92 instructions of the model with unit weights, with the output of algorithm. The program, the model and the hypotheses are those of algorithm.

NLAlib.Krylov.CG.HSCG.Certification.countedAlgorithm (domain : (Fin 2 → ℕ) → Prop)
  (admitted : ∃ d, domain d)
  (supply : ∀ (d : Fin 2 → ℕ), domain d → ∃ x, Krylov.CG.HSCG.Certification.accepts d x) :
  Ops.Algorithm (Krylov.CG.HSCG.Certification.unitModel domain admitted supply)
    (Krylov.CG.HSCG.Certification.countedSpecification domain admitted supply)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Certification.