NLAlib.Krylov.CG.HSCG.Carried.Rounded.roundsRoutine_meets
Library · theorem
Standard rounding Relative-error BLAS Oracle: matrix–vector product
The rounded capped loop meets its specification under the standard model of arithmetic, rounded vector and matrix-vector contracts, and spectral and precision bounds on the matrix. Each active round is used by its judgment; a zero retained residual product exits before the next division.
NLAlib.Krylov.CG.HSCG.Carried.Rounded.roundsRoutine_meets {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 : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {b : 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) :
Krylov.CG.HSCG.Carried.roundsRoutine.Meets I
(Krylov.CG.HSCG.Carried.Rounded.roundsSpec dec A b (ε.dot n) e a a')Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Rounds.