NLAlib.Krylov.CG.Reorth.round_writes
Library · theorem
Exact arithmetic Oracle: matrix–vector product
One active round terminates and stores the exact reorthogonalized recurrence.
A fragment of NLAlib.Krylov.CG.Reorth.solveRoutine, not a routine: its basis is a prefix of the residual history that the solver allocates, at a length set by the loop of rounds.
NLAlib.Krylov.CG.Reorth.round_writes {K Op Tst : Type} [Inhabited K] [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] {M : Ops.Machine K} {dec : K → ℝ}
{I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I) (hM : Ops.ExactModel dec M)
(hB : Ops.IsExactBlas1 dec (fun x ↦ True) I) {n k : ℕ} {A : Matrix (Fin n) (Fin n) ℝ}
(hA : Ops.IsExactMatvec dec A I) {τ : Ops.Tape K} {μ : Ops.Mem K} {x r p Q : ℕ × ℕ}
{xs rs ps qs : List K} (hxr : x.1 ≠ r.1) (hxp : x.1 ≠ p.1) (hrp : r.1 ≠ p.1) (hQx : Q.1 ≠ x.1)
(hQr : Q.1 ≠ r.1) (hQp : Q.1 ≠ p.1) (hl : μ.Live [x, r, p, Q])
(hxs : μ.store.readBlock x.1 x.2 n = some xs) (hrs : μ.store.readBlock r.1 r.2 n = some rs)
(hps : μ.store.readBlock p.1 p.2 n = some ps) (hqs : μ.store.readBlock Q.1 Q.2 (k * n) = some qs)
(hz : μ.Room [x, r, p] [n, n, n])
(hdom : Krylov.CG.Nonbreakdown A (Krylov.CG.HSCG.decodedState dec n xs rs ps)) :
Ops.Writes Ops.Mode.total I τ Krylov.CG.Reorth.round (Ops.Env.frame [n, k] [x, r, p, Q, x, r, p])
(Ops.Fp.blocks [x, r, p] [n, n, n])
(fun μ' ↦
μ'.pos = μ.pos ∧
∃ xs' rs' ps',
μ'.readBlocks [x, r, p] [n, n, n] = some [xs', rs', ps'] ∧
Krylov.CG.HSCG.decodedState dec n xs' rs' ps' =
Krylov.CG.Reorth.reorthStep A (Krylov.CG.Reorth.column dec n qs) k
(Krylov.CG.HSCG.decodedState dec n xs rs ps))
μImport NLAlib.Krylov.CG.Reorth.RoundExact.