NLA-lib Explorer

Capped loops as stopped mathematical iteration

Library · Source module

Capped loops as stopped mathematical iteration

A client represents a mathematical state in memory, identifies the actual Boolean query, and proves one transition under the active guard. The shared rule constructs the loop invariant and handles early exit: once inactive, the mathematical transition is the identity. No successful-execution hypothesis is required, and reaching the cap asserts no convergence.

Main results

* NLAlib.Ops.writes_whileFuel_iterate: total capped execution returns the stopped iterate.

Declarations