3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 19:53:34 +00:00
z3/examples/python/example.py
Leonardo de Moura 3cddd6977b Added make install/uninstall
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-27 20:22:51 -07:00

9 lines
122 B
Python

from z3 import *
x = Real('x')
y = Real('y')
s = Solver()
s.add(x + y > 5, x > 1, y > 1)
print s.check()
print s.model()