mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 01:16:15 +00:00
updated answer to binary interpolant
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1636e35bf9
commit
a85f1784db
1 changed files with 1 additions and 1 deletions
|
@ -7344,7 +7344,7 @@ def binary_interpolant(a,b,p=None,ctx=None):
|
||||||
|
|
||||||
>>> x = Int('x')
|
>>> x = Int('x')
|
||||||
>>> print binary_interpolant(x<0,x>2)
|
>>> print binary_interpolant(x<0,x>2)
|
||||||
x <= 2
|
Not(x >= 0)
|
||||||
"""
|
"""
|
||||||
f = And(Interp(a),b)
|
f = And(Interp(a),b)
|
||||||
return tree_interpolant(f,p,ctx)[0]
|
return tree_interpolant(f,p,ctx)[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue