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
-
In Python SAW one can call
:prove
from Cryptol. The following example illustrates how one can use this command:However, there's no Python support for Cryptol's
:sat
command. In fact, currently Python SAW lacks the typeSatResult
found in native SAW. It doesn't seem like a solution should be too bad though:saw_client/__init__.py
add a classSatResult
with two methodsget_example
andis_satisfiable
similar toProofResult
.saw_client/__init__.py
add a functionsat
similar toprove
.saw_client/commands.py
add a classSAT(SAWCommand)
similar toProve(SAWCommand)
.Beta Was this translation helpful? Give feedback.
All reactions