NLA-lib Explorer

NLAlib.Krylov.Lanczos.Certification.ritzAlgorithm

Library · def

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

The same canonically certified Lanczos program also certifies physical rounded Ritz residuals when cap times local error is at most one hundredth. No positivity of the cap or nonzero-input restriction is needed; those cases retain their explicit output alternatives. The full original resource specification is preserved unchanged.

NLAlib.Krylov.Lanczos.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.Certification.specification model E))
  (hsmall : ∀ (d : Fin 2 → ℕ), domain d → ↑(d 1) * E d ≤ 1 / 100) :
  Ops.Algorithm model.access (Krylov.Lanczos.Certification.ritzSpecification model E)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.RitzCertification.