NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveRoutine_meets

Library · theorem

Standard rounding Relative-error BLAS

The vector-level routine meets its specification: it is the rounded zero-start routine on stored data, and under the interpretation in which each product reads the stored words of its matrix that routine meets its own specification at the decoded matrices (NLAlib.Ops.Routine.Meets.withData).

NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveRoutine_meets {M : Ops.Machine ℝ} {u E a₀ a₁ p₀ p₁ : ℝ}
  {J : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ} (hS : Ops.IsScalar M J)
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u)
  (hB : Ops.IsBlas1 id (Ops.Blas.seq.err u) (fun x ↦ True) J)
  (hDot :
    J.IsFn Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot) (Ops.dotSeqFn M)
      (Ops.OutApart fun x ↦ True))
  (hCmp : Ops.IsCmp id J) {n : ℕ}
  (hAccuracy :
    Ops.Standard.Accuracy (Krylov.CG.HSPCG.Rounded.StoredContext.relativeError u n) u E
      (Ops.Blas.seq.err u) n)
  (ha₀ : 0 < a₀) (hp₀ : 0 < p₀) (hAp : 6 * E * a₁ ≤ a₀) (hPp : 6 * E * p₁ ≤ p₀) :
  Krylov.CG.HSPCG.Rounded.Stored.solveRoutine.Meets J
    (Krylov.CG.HSPCG.Rounded.Stored.solveSpec hM hu n E a₀ a₁ p₀ p₁)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.StoredRoutine.