mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 11:43:36 +00:00
11 lines
168 B
Python
11 lines
168 B
Python
# Copyright (c) Microsoft Corporation 2015
|
|
|
|
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())
|