3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

interp: fix gomory cut rule with non-local conclusion (issue #200)

This commit is contained in:
Ken McMillan 2015-10-27 18:27:25 -07:00
parent b343dcb341
commit 589053fc10

View file

@ -1201,9 +1201,12 @@ public:
ast t = arg(my_con,0);
ast c = arg(my_con,1);
ast d = gcd_of_coefficients(t);
/*
t = z3_simplify(mk_idiv(t,d));
c = z3_simplify(mk_idiv(c,d));
ast cut_con = make(op(my_con),t,c);
*/
ast cut_con = con;
return iproof->make_cut_rule(my_con,d,cut_con,res);
}