NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.Rounded.Stored.solveRoutine_meets

Library · theorem

Standard rounding Relative-error BLAS

Reorthogonalized Lanczos on a stored dense matrix meets its rounded specification under the standard model of scalar arithmetic, rounded vector contracts and a normwise bound on the product with every stored matrix: it is the matrix-free rounded routine on stored data (NLAlib.Ops.Routine.Meets.withData).

NLAlib.Krylov.Lanczos.Reorth.Rounded.Stored.solveRoutine_meets
  {I : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ} {M : Ops.Machine ℝ} {u em E : ℝ}
  {e : Ops.Blas1Err} {ok : ℕ → Prop} (hS : Ops.IsScalar M I) (hM : Ops.StdModel u id M)
  (hB : Ops.IsBlas1 id e ok I) {n : ℕ} (hok : ok n) (hCmp : Ops.IsCmp id I)
  (hprec : Krylov.Lanczos.Rounded.Precision em u E e n) (hem : 0 ≤ em)
  (hError :
    ∀ (raw xs : List ℝ),
      ‖WithLp.toLp 2
            (Ops.StoredOperator.denseMatrix n n raw *ᵥ Ops.decv id n xs -
              Ops.decv id n (List.map (Ops.StoredDense.rowWord M n n raw xs) (List.range n)))‖ ≤
        em * specNorm (Ops.StoredOperator.denseMatrix n n raw) *
          ‖WithLp.toLp 2 (Ops.decv id n xs)‖) :
  Krylov.Lanczos.Reorth.Stored.solveRoutine.Meets I
    (Krylov.Lanczos.Reorth.Rounded.Stored.solveSpec n em u E e)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.Rounded.StoredRoutine.