z3中不等式连接的简化

z3中不等式连接的简化,z3,Z3,很容易看出,下列两个不等式的结合可以简化为一个等式 (declare-const x Int) (declare-const y Int) (assert ( and ( <= ( + (* -1 x) y ) -1 ) ( <=( + (* -1 y) x ) 1 ))) (apply (and-then simplify propagate-ineqs)) (声明常量x Int) (声明常数y Int) (a)断言(和(

很容易看出,下列两个不等式的结合可以简化为一个等式

(declare-const x  Int)
(declare-const y  Int)
(assert ( and ( <= ( + (* -1 x) y ) -1 ) ( <=( + (* -1 y) x ) 1 )))
(apply (and-then simplify propagate-ineqs))
(声明常量x Int)
(声明常数y Int)
(a)断言(和(