From adb91ae93cd0b299a0aa1151020623a64c47da7c Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Thu, 11 Jul 2019 09:07:18 +0100 Subject: [PATCH] compile 0 case regardless of numerical value Signed-off-by: Nikolaj Bjorner --- src/tactic/arith/purify_arith_tactic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tactic/arith/purify_arith_tactic.cpp b/src/tactic/arith/purify_arith_tactic.cpp index 0ef8adfbe..18947787b 100644 --- a/src/tactic/arith/purify_arith_tactic.cpp +++ b/src/tactic/arith/purify_arith_tactic.cpp @@ -297,7 +297,7 @@ struct purify_arith_proc { EQ(u().mk_mul(y, k), x))); push_cnstr_pr(result_pr); rational r; - if (complete() && (!u().is_numeral(y, r) || !r.is_zero())) { + if (complete()) { // y != 0 \/ k = div-0(x) push_cnstr(OR(NOT(EQ(y, mk_real_zero())), EQ(k, u().mk_div(x, mk_real_zero()))));