NLA-lib Explorer

NLAlib.Krylov.Lanczos.normalizeRoutine_meets_rounded

Library · theorem

Standard rounding Relative-error BLAS

Input self-dot and zero-output facts, together with the operation models, suffice for successful rounded normalization in both branches. No nonzero-input premise is needed.

NLAlib.Krylov.Lanczos.normalizeRoutine_meets_rounded {K Op Tst : Type} [Inhabited K]
  [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.CmpTst Tst] {M : Ops.Machine K}
  {dec : K → ℝ} {n : ℕ} {u : ℝ} {ε : Ops.Blas1Err} {I : Ops.Interp Op Tst K} {ok : ℕ → Prop}
  (hS : Ops.IsScalar M I) (hM : Ops.StdModel u dec M) (hu : u < 1) (hd : ε.dot n < 1)
  (hB : Ops.IsBlas1 dec ε ok I) (hok : ok n) (hCmp : Ops.IsCmp dec I) :
  Krylov.Lanczos.normalizeRoutine.Meets I
    (Krylov.Lanczos.normalizeRoundedSpec dec (ε.dot n) u ε.scal n)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.Normalization.