NLAlib.Krylov.Lanczos.Linked.Certification.algorithm
Library · def
Standard rounding Oracle: matrix–vector product Work: program manifest
The actual sequential scalar lowering succeeds under its scalar-derived reduction errors, rounded matvec, symmetry and precision assumptions. Every canonical resource bound is checked on that same lowered program, with no successful-execution premise.
NLAlib.Krylov.Lanczos.Linked.Certification.algorithm {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)
(cost : Ops.Standard.Costing) (matvecWork matvecScratch : List ℕ → ℕ)
(hresources : model.resources = Ops.Standard.resources model.scheme cost matvecWork matvecScratch)
(em E : (Fin 2 → ℕ) → ℝ)
(haccuracy :
∀ (d : Fin 2 → ℕ),
domain d →
Ops.Standard.Accuracy (em d) (model.scheme.roundoff model.unit) (E d)
(Ops.Blas.seq.err (model.scheme.roundoff model.unit)) (d 0))
(hbudget :
∀ (d : Fin 2 → ℕ),
domain d →
∀ (x : (Krylov.Lanczos.Certification.problem domain admitted).Input d),
model.scheme.roundoff (model.matvecAllowance d x) ≤ em d * specNorm (model.matrix d x))
(hAT :
∀ (d : Fin 2 → ℕ),
domain d →
∀ (x : (Krylov.Lanczos.Certification.problem domain admitted).Input d),
(model.matrix d x)ᵀ = model.matrix d x) :
Ops.Algorithm model.access (Krylov.Lanczos.Linked.Certification.specification model E)Import NLAlib.Krylov.Lanczos.LinkedCertification.