NLAlib.Ops.stmtPeak_frame_le
Library · theorem
A frame's operand evaluation cannot increase its workspace. A body estimate uniform in operand offsets therefore needs only the actual evaluated dimension list.
NLAlib.Ops.stmtPeak_frame_le {Op Tst : Type} {W : Op → List ℕ → ℕ} {ds : List Ops.IExp}
{args : List Ops.Operand} {body : Ops.Stmt Op Tst} {idx d : List ℕ} {p : ℕ}
(hd : Ops.IExp.evalList idx ds = some d)
(hb : ∀ (offs : List ℕ), Ops.stmtPeak W body (d ++ offs) ≤ p) :
Ops.stmtPeak W (Ops.Stmt.frame ds args body) idx ≤ pImport NLAlib.Ops.AllocationFree.