NLAlib.ShiftedQR.deflationAlgorithm
Library · def
Uniform model Work: program manifest
Certify one fixed decoupling implementation using only local standard exact operation contracts. The model exposes scalar arithmetic, index operations, comparisons, bounded index queries and the two specified spectral kernels; every other operation is explicit syntax. Algorithm: shifted-qr (run model)
NLAlib.ShiftedQR.deflationAlgorithm (D : Ops.Stmt ShiftedQR.Op ShiftedQR.Tst)
(kernelWork kernelWorkspace : ShiftedQR.EigenvalueKernelOp → List ℕ → ℕ)
(hTyped :
(ShiftedQR.deflationProgram D).wellTyped (ShiftedQR.resources kernelWork kernelWorkspace)
ShiftedQR.deflationProblem.formats =
true)
(hD :
∀ (θ : ℝ) (hθ : 1 ≤ θ) (I : Ops.Interp ShiftedQR.Op ShiftedQR.Tst ℝ),
Ops.IsScalar Ops.exactMachine I →
Ops.IsIndexLit Ops.exactMachine I →
Ops.IsCmp id I →
Ops.IsToNat id I →
ShiftedQR.IsEigenvalueKernels (ShiftedQR.exactRoutinesFor θ hθ) I →
ShiftedQR.DecouplingContract θ D I) :
Ops.Algorithm
(ShiftedQR.model ShiftedQR.deflationProblem ShiftedQR.exactRoutines
(ShiftedQR.resources kernelWork kernelWorkspace))
(ShiftedQR.deflationSpecification D kernelWork kernelWorkspace)Import NLAlib.Eigensolvers.ShiftedQR.DeflationCertification.