NLAlib.Krylov.GolubKahan.Band.solveRoutine_meets_of
Library · theorem
The driver meets the specification of its contracts. If the loops over the columns of a block with matvec and rmatvec compute blocks related by Mv b and Rmv b to their inputs at every block size b, extend satisfies the contract of a basis extension for the predicate Ext with the admission ok, and the draws return the words of the tape, then on five live output blocks in distinct buffers with room for the output lengths the program terminates, writes only the output blocks, consumes exactly n\mathbf{b} samples and releases its scratch; the stored blocks decode to matrices related block by block (NLAlib.Krylov.GolubKahan.Band.IsStoredRun), from the start block decoded from the window of the tape. The exact and the rounded judgments are instances.
NLAlib.Krylov.GolubKahan.Band.solveRoutine_meets_of {K Op Tst : Type} [Ops.Has Ops.OrthOp Op]
[Ops.Has Ops.OperatorPairOp Op] [Ops.Has Ops.SampleOp Op] [Inhabited K] {dec : K → ℝ} {m n : ℕ}
{Ext : Ops.ExtendPred ℝ} {ok : ℕ → ℕ → ℕ → Prop}
{Mv : (b : ℕ) → Matrix (Fin n) (Fin b) ℝ → Matrix (Fin m) (Fin b) ℝ → Prop}
{Rmv : (b : ℕ) → Matrix (Fin m) (Fin b) ℝ → Matrix (Fin n) (Fin b) ℝ → Prop}
{I : Ops.Interp Op Tst K}
(hMv :
∀ (b : ℕ),
Krylov.GolubKahan.Band.AppliesColumns dec I (Ops.Has.inj Ops.OperatorPairOp.matvec) m n b
(Mv b))
(hRmv :
∀ (b : ℕ),
Krylov.GolubKahan.Band.AppliesColumns dec I (Ops.Has.inj Ops.OperatorPairOp.rmatvec) n m b
(Rmv b))
(hO :
I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.OrthOp.extend)
((Ops.extendRelOf dec ok Ext).spec Ops.ExtendOperands))
(hSample : Ops.IsSample I) (stream : ℕ) :
(Krylov.GolubKahan.Band.solveRoutine stream).Meets I
(Krylov.GolubKahan.Band.solveSpecOf stream dec m n ok fun b x ↦
Krylov.GolubKahan.Band.IsStoredRun Ext (Mv b) (Rmv b))Import NLAlib.Krylov.GolubKahan.Band.Solve.