Skip to content
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

Support cvc5 #237

Closed
QDelta opened this issue Aug 13, 2022 · 2 comments
Closed

Support cvc5 #237

QDelta opened this issue Aug 13, 2022 · 2 comments

Comments

@QDelta
Copy link

QDelta commented Aug 13, 2022

Rosette now supports boolector, z3 and cvc4, and cvc4 is succeeded by cvc5 now. So will rosette support cvc5? I notice that cvc4/cvc5 outperforms z3 in some cases, so it may be reasonable to support cvc5 for future improvements.

By just replacing the cvc4 executable with cvc5 I got an error:

read-solution: unrecognized solver output: #<eof>

It seems that they have different behaviors.

@sorawee
Copy link
Collaborator

sorawee commented Aug 11, 2023

The issue is that the cvc4 module in Rosette supplies the flag --bv-div-zero-const, which is supported in cvc4, but not in cvc5. If you manually remove the option in the cvc4 module, it should allow you to use cvc5 with the cvc4 module.

There's currently also an effort to add cvc5 to Rosette proper. See #260.

@sorawee
Copy link
Collaborator

sorawee commented Sep 14, 2023

Fixed by #260.

@sorawee sorawee closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants