mirror of
https://github.com/AdaCore/z3.git
synced 2026-02-12 12:40:40 -08:00
9 lines
122 B
Python
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()
|