3
0
Fork 0
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:
Nikolaj Bjorner 2014-09-16 23:25:39 -07:00
parent 1636e35bf9
commit a85f1784db

View file

@ -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]