3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

revert mixed integer/real handling pending fix to equality propagation

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-01-12 12:11:27 -08:00
parent f8971362c8
commit e2d54940b4
3 changed files with 6 additions and 0 deletions

View file

@ -66,6 +66,9 @@ namespace smt {
template<typename Ext>
bool theory_arith<Ext>::is_int_expr(expr* e) {
return m_util.is_int(e);
#if 0
Disable refined integer until equality propagation is fixed.
if (m_util.is_int(e)) return true;
if (is_uninterp(e)) return false;
m_todo.reset();
@ -93,6 +96,7 @@ namespace smt {
}
}
return true;
#endif
}

View file

@ -329,6 +329,7 @@ namespace smt {
if (is_equal(x, y))
return;
if (get_manager().get_sort(var2expr(x)) != get_manager().get_sort(var2expr(y))) {
TRACE("arith", tout << mk_pp(var2expr(x), get_manager()) << " = " << mk_pp(var2expr(y), get_manager()) << "\n";);
return;
}
context & ctx = get_context();