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:
parent
e9ff9ba9fc
commit
3f9edad676
5 changed files with 56 additions and 0 deletions
8
python/example.py
Normal file
8
python/example.py
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue