AltErgoLib.StepsModule_Name
This module aims to count the number of steps in the theories used to solve the problem.
type incr_kind = | MatchingMatching step increment
*)| Interval_CalculusArith : Interval Calculus increment
*)| FourierArith : FourierMotzkin step increment
*)| OmegaArith : number of omega procedure on Real and Int
*)| UfUF step increment
*)| AcAC step reasoning
*)| CPConstraint propagation
*)| Th_assumed of intIncrement the counter for each term assumed in the theories environment
*)Define the type of increment
val incr : incr_kind -> unitIncrement the number of steps depending of the incr_kind
Disables the step limit during the execution of the continuation.
with_step_limit limit ~scope calls scope with the provided limit. The limit is local: only steps performed during the call to scope are counted towards the limit (in particular, any steps that have already been recorded are *NOT* counted towards the limit).
with_step_limit is not guaranteed to raise if the limit is reached, as the Util.Step_limit_reached exception might be caught by scope.
with_step_limit respects any current limit enforced by set_steps_bound or another call to with_step_limit higher in the call stack: if a parent limit would be reached, then this limit is also considered as reached.