mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
8 lines
122 B
Python
8 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()
|