mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
updated answer to binary interpolant
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1636e35bf9
commit
a85f1784db
|
@ -7344,7 +7344,7 @@ def binary_interpolant(a,b,p=None,ctx=None):
|
|||
|
||||
>>> x = Int('x')
|
||||
>>> print binary_interpolant(x<0,x>2)
|
||||
x <= 2
|
||||
Not(x >= 0)
|
||||
"""
|
||||
f = And(Interp(a),b)
|
||||
return tree_interpolant(f,p,ctx)[0]
|
||||
|
|
Loading…
Reference in a new issue