Skip to content

Moving to cvc5 and fixing it up #50

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

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Moving to cvc5 and fixing it up #50

merged 1 commit into from
Oct 4, 2022

Conversation

msooseth
Copy link
Collaborator

@msooseth msooseth commented Oct 4, 2022

Description

This fixes using cvc, now using cvc5. There was a bug in the prelude -- lines cannot be cut by spec, but Z3 allows them to be cut, so this bug was not caught. The new cvc5 requires a different option (--no-interactive) to get a "clean" interactive shell. Tests are NOT fixed up in this PR, because that would conflict with @zoep 's work on fixing up tests.

NOTE: you must rm -rf dist-newstyle in order for your cabal v2-repl to correctly find cvc5. Unfortunately, cabal v2-repl caches your $PATH and if it changes, it will not be reflected next time your run cabal v2-repl. So cvc5 will not be found. See haskell/cabal#2015 for details.

@d-xo d-xo merged commit 78672d4 into main Oct 4, 2022
@d-xo
Copy link
Collaborator

d-xo commented Oct 4, 2022

nice! Our encoding is still not compatible with cvc5, but this is good by itself

@msooseth
Copy link
Collaborator Author

msooseth commented Oct 5, 2022

True, but it's not 100% unusable -- some things do work! :) I removed a test from here because it would conflict with the work of Zoe, but some tests do pass with CVC5. Once Zoe is done with her test fix-up, I can add some CVC5 tests, too, to demonstrate where it works.

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

Successfully merging this pull request may close these issues.

2 participants