3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-21 05:13:39 +00:00

Z3Py extra files

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-02 08:24:25 -07:00
parent e9ff9ba9fc
commit 3f9edad676
5 changed files with 56 additions and 0 deletions

8
python/example.py Normal file
View file

@ -0,0 +1,8 @@
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()