-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite loop with recursive list #531
Comments
The dolmen frontend rejects this file: Gbury/dolmen#121 |
This is somewhat expected because the definition for
and The smt2 version of that file is:
where we also loop. Z3 has specific support for recursive functions (I have already mentioned this offline, and still think it would be worth it to explore a similar implementation) and answers
CVC5 terminates quickly in both cases and answers In any case, we need some feedback from model generation somehow to stop us from expanding the definition infinitely. Another thing we could investigate is to wait until we have learnt (either through propagation or through a sat-solver decision) that we are exploring the "then" branch before triggering the next instantiation -- I don't know if we do that currently. |
Alt-ergo seems to enter an infinite loop on the following example:
The text was updated successfully, but these errors were encountered: