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

Add support for CVC5 #1846

Merged
merged 4 commits into from
Mar 24, 2023
Merged

Add support for CVC5 #1846

merged 4 commits into from
Mar 24, 2023

Conversation

RyanGlScott
Copy link
Contributor

This adds basic support for the CVC5 SMT solver by adding cvc5 and related proof scripts. I have added a test_cvc5 integration test to kick the tires.

This addresses one part of #1706.

The main payload of this commit is to bump the `what4` submodule to bring in
the changes from GaloisInc/what4#204. This also brings in a variety of other
submodule changes to accommodate this:

* GaloisIns/crucible#1068, which ensures that everything can build against
  `tasty-sugar >= 2.0` (the version of the library that `what4-1.4` depends on).
* GaloisInc/cryptol#1504, which adapts Cryptol to CVC5. This adjusts the lower
  and upper version bounds on SBV in Cryptol, so I do the same here in
  `saw-core.sbv.cabal` and `saw-script.cabal`.
* GaloisInc/language-sally#12, which performs a similar `what4` adaptation.
* GaloisInc/macaw#328, which performs a similar `what4` adaptation.
@RyanGlScott
Copy link
Contributor Author

@andreistefanescu, I've added you as a reviewer since you indicated an interest in being able to use the changes from GaloisInc/what4#226 in SAW, which this PR achieves as a side effect of bumping the what4 submodule.

@RyanGlScott
Copy link
Contributor Author

I was perplexed to see that the integration tests were timing out on Windows... but then I remembered that SAW uses SBV-based proof tactics by default, not What4-based ones, so we are most likely running into LeventErkok/sbv#644. I will update the test case to avoid this issue.

This adds basic support for the CVC5 SMT solver by adding `cvc5` and related
proof scripts. I hae added a `test_cvc5` integration test to kick the tires.

This addresses one part of #1706.
Sadly, this action is timing out very frequently. I am going to remove it for
the sake of getting CI to work.

Fixes #1834.
@RyanGlScott RyanGlScott added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label Mar 23, 2023
@RyanGlScott RyanGlScott merged commit dfb69ec into master Mar 24, 2023
@RyanGlScott RyanGlScott deleted the cvc5 branch March 24, 2023 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants