NLA-lib Explorer

NLAlib.Ops.Stmt.countPoly

Library · def

The instruction polynomial of a tree, given bounds env of its index variables as polynomials in the sizes. A call and a query count one; a loop multiplies its body by the bound of its number of rounds; a branch adds its two sides.

NLAlib.Ops.Stmt.countPoly {Op Tst : Type} : Ops.Stmt Op Tst → List Ops.CountPoly → Ops.CountPoly

Full source on GitHub

Import NLAlib.Ops.OperationCount.