NLAlib.Ops.stmtPeak_link_le_zero_add
Library · theorem
A fixed table with uniform stored scratch adds one shared reservation above the source allocation peak. The bound also covers invalid arities and unevaluable expressions, whose linked calls abort. It assumes no successful execution or algorithm-specific invariant.
NLAlib.Ops.stmtPeak_link_le_zero_add {Op Lo Tst : Type} (T : Ops.Table Op Lo Tst) (w : ℕ)
(hT :
∀ (o : Op) (r : Ops.Impl Lo Tst),
T o = Sum.inl r → ∀ (idx : List ℕ), Ops.stmtPeak (fun x x_1 ↦ 0) r.body idx ≤ w)
(s : Ops.Stmt Op Tst) (idx : List ℕ) :
Ops.stmtPeak (fun x x_1 ↦ 0) (Ops.Stmt.link T s) idx ≤ Ops.stmtPeak (fun x x_1 ↦ 0) s idx + wImport NLAlib.Ops.LinkWorkspace.