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

SyGuS #226

Merged
merged 11 commits into from
Jan 17, 2023
Merged

SyGuS #226

merged 11 commits into from
Jan 17, 2023

Conversation

andreistefanescu
Copy link
Contributor

@andreistefanescu andreistefanescu commented Dec 13, 2022

Add support for Syntax Guided Synthesis (SyGuS) and Constrained Horn Clauses (CHC).

@andreistefanescu
Copy link
Contributor Author

@RyanGlScott do you know why the CI fails?

@RyanGlScott RyanGlScott mentioned this pull request Dec 13, 2022
Copy link
Contributor

@RyanGlScott RyanGlScott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know why the CI fails?

I think this is because the CI is using an especially old version of Nix. I've submitted #227 with a fix.

what4/src/What4/Interface.hs Outdated Show resolved Hide resolved
what4/src/What4/Interface.hs Outdated Show resolved Hide resolved
what4/src/What4/Interface.hs Outdated Show resolved Hide resolved
what4/src/What4/Protocol/SMTLib2/Response.hs Outdated Show resolved Hide resolved
what4/src/What4/Protocol/SMTLib2/Syntax.hs Outdated Show resolved Hide resolved
what4/test/InvariantSynthesis.hs Outdated Show resolved Hide resolved
what4/src/What4/Solver/Z3.hs Show resolved Hide resolved
what4/src/What4/Solver/CVC5.hs Show resolved Hide resolved
what4/src/What4/Protocol/SMTLib2.hs Outdated Show resolved Hide resolved
what4/src/What4/Protocol/SMTLib2.hs Outdated Show resolved Hide resolved
Copy link
Contributor

@chameco chameco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a large change, it would be nice to document some things in the PR description / eventual squashed commit message. In particular:

  • broadly, what has changed that could affect existing codepaths (such as using Z3 normally through What4 from SAW) in case something breaks elsewhere - I suspect this isn't too much, but e.g. things like the IsSymFn typeclass change
  • what new features were introduced, and what is the interface to those features

I think overall this looks good to merge, pending some additional documentation. Thanks for the tests for the new functionality. It might also be nice to use some of our existing proofs to make sure that existing functionality doesn't break - in the absence of Fryingpan, CI passing on a draft SAW PR that points to this branch would be reassuring.

what4/src/What4/Protocol/SMTLib2.hs Outdated Show resolved Hide resolved
what4/src/What4/Protocol/SMTLib2.hs Show resolved Hide resolved
@andreistefanescu andreistefanescu merged commit 98ae759 into master Jan 17, 2023
@andreistefanescu andreistefanescu deleted the sygus branch January 17, 2023 02:31
RyanGlScott added a commit to GaloisInc/language-sally that referenced this pull request Mar 10, 2023
GaloisInc/what4#226 adds some additional methods to `SMTWriter` that
`language-sally` must implement.
RyanGlScott added a commit to GaloisInc/language-sally that referenced this pull request Mar 13, 2023
GaloisInc/what4#226 adds some additional methods to `SMTWriter` that
`language-sally` must implement.
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.

4 participants