NLAlib.Krylov.CG.HSCG.runs_step
Library · theorem
Exact arithmetic Oracle: matrix–vector product
The exact round terminates with the specified CG state, its closed operation counts and its declared workspace. The output contract also preserves every cell outside the three state blocks and preserves the tape position.
NLAlib.Krylov.CG.HSCG.runs_step {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 → ℝ} {n : ℕ}
{A : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
(hM : Ops.ExactModel dec M) (hB : Ops.IsExactBlas1 dec (fun x ↦ True) I)
(hA : Ops.IsExactMatvec dec A I) (W : Op → List ℕ → ℕ) {τ : Ops.Tape K} {μ : Ops.Mem K}
{x r p : ℕ × ℕ} {xs rs ps : List K} (hxr : x.1 ≠ r.1) (hxp : x.1 ≠ p.1) (hrp : r.1 ≠ p.1)
(hl : μ.Live [x, r, p]) (hx : μ.store.readBlock x.1 x.2 n = some xs)
(hr : μ.store.readBlock r.1 r.2 n = some rs) (hp : μ.store.readBlock p.1 p.2 n = some ps)
(hdom : Krylov.CG.Nonbreakdown A (Krylov.CG.HSCG.decodedState dec n xs rs ps))
(hz : μ.Room [x, r, p] [n, n, n]) :
Ops.ConditionalRuns I W τ Krylov.CG.HSCG.step (Ops.Env.frame [n] [x, r, p, x, r, p]) μ
(Krylov.CG.HSCG.stepCount n) (Krylov.CG.HSCG.stepPeak W n)
((Krylov.CG.HSCG.stepRel dec A).Post [n] [xs, rs, ps] [x, r, p] [] μ)Import NLAlib.Krylov.CG.HSCG.Exact.