NLAlib.HutchPlusPlus.estimate_peak_le
Library · theorem
A common primitive-workspace ceiling is reserved once above the stored peak.
NLAlib.HutchPlusPlus.estimate_peak_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.CmpTst Tst] [Ops.Has Ops.SampleOp Op]
[Ops.Has Ops.StoredOperatorOp Op] [Ops.Has Ops.IndexOp Op] (W : Op → List ℕ → ℕ) (w : ℕ)
(hW : ∀ (o : Op) (d : List ℕ), W o d ≤ w) (stream n k ell data out : ℕ) :
Ops.stmtPeak W (HutchPlusPlus.estimate stream) [n, k, ell, data, out] ≤ 2 * n * (k + ell) + 2 + wImport NLAlib.Estimation.Trace.HutchPlusPlus.Resources.