NLA-lib Explorer

NLAlib.Ops.stmtPeak_le_zero_add_on_support

Library · theorem

Only shapes in the static call support contribute primitive workspace. Shapes whose index expressions fail to evaluate have neither a static call nor workspace.

NLAlib.Ops.stmtPeak_le_zero_add_on_support {Op Tst : Type} (W : Op → List ℕ → ℕ) (w : ℕ)
  (s : Ops.Stmt Op Tst) (idx : List ℕ) (hW : (Ops.stmtCost s idx).BoundsWorkspace W w) :
  Ops.stmtPeak W s idx ≤ Ops.stmtPeak (fun x x_1 ↦ 0) s idx + w

Full source on GitHub

Import NLAlib.Ops.Workspace.