NLA-lib Explorer

NLAlib.Ops.instrWorkMono

Library · def

The monomial bound of the instrumented tree, computed on the tree itself: the recursion of NLAlib.Ops.stmtWorkMono on NLAlib.Ops.Stmt.instrument of s, with the structural instructions of each node added as NLAlib.Ops.tallyWorkMono. It equals the bound of the instrumented tree (NLAlib.Ops.stmtWorkMono_instrument) and is cheaper to evaluate, since the instrumented tree is never built.

NLAlib.Ops.instrWorkMono {Op Tst : Type} : Ops.Stmt Op Tst → List Ops.WorkMono → Ops.WorkMono

Full source on GitHub

Import NLAlib.Ops.MonomialWork.