NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.staticPeak_rounds_le

Library · theorem

Early exit and the cap share the same reusable round workspace.

NLAlib.Krylov.CG.HSCG.Carried.staticPeak_rounds_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] [Ops.Has Ops.CmpTst Tst]
  (W : Op → List ℕ → ℕ) (n cap a b c d a' b' c' d' : ℕ) :
  Ops.stmtPeak W Krylov.CG.HSCG.Carried.rounds [n, cap, a, b, c, d, a', b', c', d'] ≤
    Krylov.CG.HSCG.Carried.stepPeak W n

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Alg.