NLA-lib Explorer

NLAlib.Ops.stmtPeak_frame_le_uniform

Library · theorem

A uniform body workspace ceiling survives procedure framing, including invalid dimensions or offsets, which contribute zero static workspace.

NLAlib.Ops.stmtPeak_frame_le_uniform {Op Tst : Type} {W : Op → List ℕ → ℕ} {body : Ops.Stmt Op Tst}
  {p : ℕ} (h : ∀ (idx : List ℕ), Ops.stmtPeak W body idx ≤ p) (ds : List Ops.IExp)
  (args : List Ops.Operand) (idx : List ℕ) : Ops.stmtPeak W (Ops.Stmt.frame ds args body) idx ≤ p

Full source on GitHub

Import NLAlib.Ops.AllocationFree.