NLAlib.Krylov.CG.HSCG.Carried.Rounded.runs_solve
Library · theorem
Standard rounding Relative-error BLAS Oracle: matrix–vector product
Under mathematical input spectral/precision bounds the full rounded program succeeds, with an actual existing run, early-stop meaning and residual-gap guarantee. The error bound e dominates scalar division, dot and axpy bounds. [StrakosTichy2002, (7.16)].
NLAlib.Krylov.CG.HSCG.Carried.Rounded.runs_solve {K Op Tst : Type} [Inhabited K]
[Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op]
[Ops.Has Ops.CmpTst Tst] {M : Ops.Machine K} {dec : K → ℝ} {em u e : ℝ} {ε : Ops.Blas1Err}
{ok : ℕ → Prop} {n cap : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K}
(hS : Ops.IsScalar M I) (hM : Ops.StdModel u dec M) (hB : Ops.IsBlas1 dec ε ok I) (hok : ok n)
(hA : Ops.IsMatvec dec A (em * specNorm A) I) (hCmp : Ops.IsCmp dec I) (hAT : Aᵀ = A) {a a' : ℝ}
(ha : 0 < a) (hspec : spectrum ℝ A ⊆ Set.Icc a a') (hu : 0 ≤ u) (hd : 0 ≤ ε.dot n)
(haa : 0 ≤ ε.axpy) (hem : em ≤ e) (hue : u ≤ e) (hde : ε.dot n ≤ e) (hae : ε.axpy ≤ e)
(he : e ≤ 1 / 100) (hprec : 3 * e * a' ≤ a)
(hwindow : ↑cap ^ 2 * √↑cap * e * (a' / a) ^ 2 ≤ 1 / 10 ^ 5) (W : Op → List ℕ → ℕ)
{τ : Ops.Tape K} {μ : Ops.Mem K} {b x r p v : ℕ × ℕ} {bs xs : List K} (hbx : b.1 ≠ x.1)
(hbr : b.1 ≠ r.1) (hbp : b.1 ≠ p.1) (hbv : b.1 ≠ v.1) (hxr : x.1 ≠ r.1) (hxp : x.1 ≠ p.1)
(hxv : x.1 ≠ v.1) (hrp : r.1 ≠ p.1) (hrv : r.1 ≠ v.1) (hpv : p.1 ≠ v.1)
(hl : μ.Live [b, x, r, p, v]) (hbs : μ.store.readBlock b.1 b.2 n = some bs)
(hxs : μ.store.readBlock x.1 x.2 n = some xs) (hx0 : Ops.decv dec n xs = 0)
(hz : μ.Room [x, r, p, v] [n, n, n, 1]) :
Ops.ConditionalRuns I W τ Krylov.CG.HSCG.Carried.Rounded.solve
(Ops.Env.frame [n, cap] [b, x, x, r, p, v]) μ (Krylov.CG.HSCG.Carried.Rounded.solveCount n cap)
(Krylov.CG.HSCG.Carried.Rounded.solvePeak W n) fun μ' ↦
μ'.pos = μ.pos ∧
Krylov.CG.HSCG.Carried.Rounded.Output dec A (Ops.decv dec n bs) e cap x r p v μ'Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Solve.