You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
193 B

#!/usr/bin/python
from z3 import *
# TODO: Check for equivalence:
## - (((y & x)*-2) + (y+x))
## - x^y
s= Solver()
result = s.check()
print(result)
if result == sat:
print(s.model())