NLAlib.Krylov.CG.Reorth.Certification.algorithm_checked
Library · theorem
Exact arithmetic Oracle: matrix–vector product
What the certificate states: at every admitted size, for every admitted input, every interpretation satisfying the contracts of the model and every tape, the run of the fixed program from the supplied buffers succeeds within the scratch, the budget, the work, the span and the memory of the specification, and its final memory satisfies the output condition (NLAlib.Ops.Inputs.Checked). The matrix is not in memory: it is reached only through the products of the model, and the work is counted in those products and the vector operations.
NLAlib.Krylov.CG.Reorth.Certification.algorithm_checked {K : Type} [Inhabited K]
{domain : (Fin 2 → ℕ) → Prop} {admitted : ∃ d, domain d}
(model : Ops.Standard.Model (Krylov.CG.Reorth.Certification.problem domain admitted) fun d ↦ d 0)
(hExact : model.scheme = Ops.Standard.Scheme.exact) (cost : Ops.Standard.Costing)
(work scratch : List ℕ → ℕ)
(hresources : model.resources = Ops.Standard.resources model.scheme cost work scratch)
(hOp :
Ops.Standard.Model.ReadsOperator (Krylov.CG.Reorth.Certification.inputs domain admitted) model
fun x A ↦ A) :
(Krylov.CG.Reorth.Certification.inputs domain admitted).Checked
(Krylov.CG.Reorth.Certification.algorithm model hExact cost work scratch hresources hOp)Import NLAlib.Krylov.CG.Reorth.Certification.