NLAlib.Ops.stmtCost_alloc
Library · theorem
An allocation of one-byte cells adds no primitive calls to its body. Structural allocation instructions are included separately by canonical program instrumentation.
NLAlib.Ops.stmtCost_alloc {Op Tst : Type} (len : Ops.IExp) (body : Ops.Stmt Op Tst) (idx : List ℕ) :
Ops.stmtCost (Ops.Stmt.alloc len body) idx = Ops.stmtCost body idxImport NLAlib.Ops.Static.