NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Stored.Certification.algorithm_checked

Library · theorem

Standard rounding

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).

NLAlib.Krylov.Lanczos.Rounded.Stored.Certification.algorithm_checked {domain : (Fin 2 → ℕ) → Prop}
  {admitted : ∃ d, domain d} (M : Ops.Machine ℝ) (u : ℝ) (hM : Ops.StdModel u id M) (hu : 0 ≤ u)
  (cost : Ops.Standard.Costing) (E : (Fin 2 → ℕ) → ℝ)
  (hprec :
    ∀ (d : Fin 2 → ℕ),
      domain d →
        Krylov.Lanczos.Rounded.Precision (Ops.ScalarProducts.roundoff u (d 0) * √↑(d 0)) u (E d)
          (Ops.Blas.seq.err u) (d 0)) :
  (Krylov.Lanczos.Rounded.Stored.Certification.inputs domain admitted).Checked
    (Krylov.Lanczos.Rounded.Stored.Certification.algorithm M u hM hu cost E hprec)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.StoredCertification.