NLA-lib Explorer

Context-sensitive polynomial bounds for complete program work

Library · Source module

Context-sensitive polynomial bounds for complete program work

Each index slot retains its own polynomial exponent through frames and loops. Sequential composition adds fixed coefficients and takes the larger degree. This separates the computed polynomial loop degree from the number of scalar and structural instructions in the code. Applying the estimate to instrumented syntax retains every canonical charge.

Main results

* NLAlib.Ops.stmtWeightedCost_le_coefficient_mul_pow: full finite-envelope work majorant.

Declarations