Add support for CHOOSE x \in i..j: P
for large |j-i|
#2582
Labels
customer-request
This is issue is required by a customer
feature
A new feature or functionality
help wanted
Consider the following example:
Run the tests as follows:
Apalache fails:
If we change
MAX_UINT64
to2^8
, the tests go through. The issue is that the bounded model checker is trying to expand the set0..MAX_UINT64
, which it should not expand in this case.We should add a special rewriting rule for this case that simply introduces an integer constant and the related constraints over the constant. This case would be useful for abstracting functions over integers.
The text was updated successfully, but these errors were encountered: