NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Stored.Certification.scalarCountedAlgorithm

Library · def

Standard rounding Uniform model Work: closed

Scalar Lanczos on a stored matrix of order n with cap k runs within 33 n² k + 153 n k + 302 k + 58 n + 179 instructions of the scalar model, with the output of scalarAlgorithm. The program, model and hypotheses are those of scalarAlgorithm.

NLAlib.Krylov.Lanczos.Rounded.Stored.Certification.scalarCountedAlgorithm
  {domain : (Fin 2 → ℕ) → Prop} {admitted : ∃ d, domain d} (M : Ops.Machine ℝ) (u : ℝ)
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (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)) :
  Ops.Algorithm
    (Ops.RoundedScalarBlas.model
      (Krylov.Lanczos.Rounded.Stored.Certification.problem domain admitted) M)
    (Krylov.Lanczos.Rounded.Stored.Certification.scalarCountedSpecification M E)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.OperationCount.