NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.cgsPassRoutine_meets

Library · theorem

Every admitted classical pass succeeds under dot/axpy contracts and exact scalar negation. Exact negation is explicit and is satisfied by the genuinely rounded inflating machine.

NLAlib.Krylov.Lanczos.Reorth.cgsPassRoutine_meets {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Inhabited K] {M : Ops.Machine K} {dec : K → ℝ} {ed : ℕ → ℝ} {ea : ℝ}
  {ok : ℕ → Prop} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
  (hD :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
      ((Ops.dotRel dec ed).spec (Ops.OutApart ok)))
  (hA :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.axpy)
      ((Ops.axpyRel dec ea).spec (Ops.InPlace ok)))
  (hneg : ∀ (a : K), dec (M.neg a) = -dec a) :
  Krylov.Lanczos.Reorth.cgsPassRoutine.Meets I (Krylov.Lanczos.Reorth.cgsPassSpec dec ed ea ok)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.Sweep.