NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Certification.oracles

Library · def

The oracles of the model. The matrix is the unstored input: it is in no buffer and is reached only through the products with the matrix and with the preconditioner (which the tree never calls). Scalar arithmetic and the vector operations have one contract at every size and input, and the contract of the product depends on the input only through the matrix. The cost of the certificate is counted in calls of the product.

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

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Certification.