Support for :sat in Python SAW
#1716
smithnormform
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I agree it would be nice to have better coverage between Python and the commands in SAW. If you're in need of an immediate solution, you can negate ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Python SAW one can call
:provefrom Cryptol. The following example illustrates how one can use this command:However, there's no Python support for Cryptol's
:satcommand. In fact, currently Python SAW lacks the typeSatResultfound in native SAW. It doesn't seem like a solution should be too bad though:saw_client/__init__.pyadd a classSatResultwith two methodsget_exampleandis_satisfiablesimilar toProofResult.saw_client/__init__.pyadd a functionsatsimilar toprove.saw_client/commands.pyadd a classSAT(SAWCommand)similar toProve(SAWCommand).Beta Was this translation helpful? Give feedback.
All reactions