NLA-lib Explorer

NLAlib.Krylov.Lanczos.Linked.Certification.ritzAlgorithm

Library · def

Standard rounding Oracle: matrix–vector product Work: program manifest

The actual sequential scalar lowering retains its complete independently computed resource specification while strengthening its output with the same physical Ritz residual guarantee.

NLAlib.Krylov.Lanczos.Linked.Certification.ritzAlgorithm {K : Type} [Inhabited K]
  {domain : (Fin 2 → ℕ) → Prop} {admitted : ∃ d, domain d}
  (model : Ops.Standard.Model (Krylov.Lanczos.Certification.problem domain admitted) fun d ↦ d 0)
  (E : (Fin 2 → ℕ) → ℝ)
  (cert : Ops.Algorithm model.access (Krylov.Lanczos.Linked.Certification.specification model E))
  (hsmall : ∀ (d : Fin 2 → ℕ), domain d → ↑(d 1) * E d ≤ 1 / 100) :
  Ops.Algorithm model.access
    (have __src := Krylov.Lanczos.Linked.Certification.specification model E;
    { budget := __src.budget, scratch := __src.scratch, work := __src.work, span := __src.span,
      memory := __src.memory,
      good := (Krylov.Lanczos.Certification.ritzSpecification model E).good })

Full source on GitHub

Import NLAlib.Krylov.Lanczos.RitzCertification.