NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.solveRoutine_meets

Library · theorem

Standard rounding Relative-error BLAS Oracle: matrix–vector product

The rounded solver meets its specification under the standard model of arithmetic, rounded vector and matrix-vector contracts, and spectral and precision bounds on the matrix; no trajectory or successful-execution hypothesis is assumed. Initialization, then the capped loop, each used by its judgment.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.solveRoutine_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) ℝ} {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.Rounded.solveRoutine.Meets I
    (Krylov.CG.HSCG.Carried.Rounded.solveSpec dec A e a a')

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.Solve.