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.
 
 

14 lines
266 B

# coding: utf-8
import os, sys
from z3 import *
# Create an instance of a z3 solver
solver = Solver()
# Declare z3 variables for the needed BitVectors
# Check and print the result.
result = solver.check()
print(result)
if result == sat:
print(solver.model())