NLAlib.Krylov.GolubKahan.Band.linkedSolve_checked
Library · theorem
What the linked certificate states: at every size, for every real matrix, every interpretation satisfying the contracts of the lower model and every tape, the run of the linked program from five uninitialized blocks succeeds within the scratch, the budget, the work and the span of the specification, and the five blocks decode to an exact run for the matrix from the start block of the tape (NLAlib.Ops.Inputs.Checked). The matrix is in no buffer: it is reached through the two products of the lower model.
NLAlib.Krylov.GolubKahan.Band.linkedSolve_checked {Lo : Type} [Ops.Has Ops.OperatorPairOp Lo]
[Ops.Has Ops.SampleOp Lo]
(L : Ops.AccessModel Lo Ops.CmpTst Krylov.GolubKahan.Band.Certification.problem)
(E : Ops.Stmt Lo Ops.CmpTst) (stream : ℕ)
(ht :
(Krylov.GolubKahan.Band.linkedSolveProgram E stream).wellTyped L.resources
Krylov.GolubKahan.Band.Certification.problem.formats =
true)
(hA :
∀ (d : Fin 4 → ℕ) (x : Krylov.GolubKahan.Band.Certification.problem.Input d)
(I : Ops.Interp Lo Ops.CmpTst ℝ), L.contracts d x I → Ops.IsExactMatvecPair id (↑x).1 I)
(hSample :
∀ (d : Fin 4 → ℕ) (x : Krylov.GolubKahan.Band.Certification.problem.Input d)
(I : Ops.Interp Lo Ops.CmpTst ℝ), L.contracts d x I → Ops.IsSample I)
(hE :
∀ (d : Fin 4 → ℕ) (x : Krylov.GolubKahan.Band.Certification.problem.Input d)
(I : Ops.Interp Lo Ops.CmpTst ℝ),
L.contracts d x I → (Ops.extendRoutine E).Meets I (Ops.exactExtendSpec id)) :
(Krylov.GolubKahan.Band.Certification.inputs.castOps
(Krylov.GolubKahan.Band.linkedSolveRoutine E stream) ⋯ ⋯).Checked
(Krylov.GolubKahan.Band.linkedSolveAlgorithm L E stream ht hA hSample hE)Import NLAlib.Krylov.GolubKahan.Band.Linked.