We should add the ability to manually specify range constraints (e.g., that all values representing times are less than 2 ^Int 40) to remove various chops — this would require extending the natspec annotation mechanism.
The annotations should support at least basic boolean operations on variables including input and storage ones and having different types (e.g., mapping elements should be translated to lookups).
One example of preconditions we want to support is
We should add the ability to manually specify range constraints (e.g., that all values representing times are less than 2 ^Int 40) to remove various
chop
s — this would require extending the natspec annotation mechanism.The annotations should support at least basic boolean operations on variables including input and storage ones and having different types (e.g., mapping elements should be translated to lookups).
One example of preconditions we want to support is