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 for W4 solvers #173

Closed
weaversa opened this issue Jun 26, 2021 · 2 comments
Closed

Support for W4 solvers #173

weaversa opened this issue Jun 26, 2021 · 2 comments
Assignees

Comments

@weaversa
Copy link

We're trying to use cryptol-remote-api's safe command with a w4-based prover (such as W4_Z3) to prove some safety properties about functions containing unimplemented primitives (for example, in the SuiteB) module. Unfortunately, Python is complaining about an 'invalid param' when we try to pass one of the w4-based provers.

for example:

...
result = c.safe(expr=<any cryptol function>, solver=cryptol.solver.W4_Z3).result()
...
@pnwamk pnwamk self-assigned this Jun 29, 2021
@pnwamk
Copy link
Contributor

pnwamk commented Jun 29, 2021

The initial implementation of the SMT solver-related server functionality focused on just the SBV backends.

Work to extend support to include all backends is being done here: https://github.com/galoisinc/cryptol/tree/rpc/w4-solvers

@pnwamk
Copy link
Contributor

pnwamk commented Jul 2, 2021

The server should now be able to handle both the SBV and What4 based solver backends: GaloisInc/cryptol#1224

@pnwamk pnwamk closed this as completed Jul 2, 2021
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