mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
e5ca451a02
commit
8eb2356b68
1 changed files with 11 additions and 2 deletions
|
@ -359,13 +359,22 @@ final_check_status theory_diff_logic<Ext>::final_check_eh() {
|
|||
}
|
||||
|
||||
TRACE("arith_final", display(tout); );
|
||||
// either will already be zero (as we don't do mixed constraints).
|
||||
m_graph.set_to_zero(get_zero(true), get_zero(false));
|
||||
SASSERT(is_consistent());
|
||||
if (m_non_diff_logic_exprs) {
|
||||
return FC_GIVEUP;
|
||||
}
|
||||
|
||||
for (enode* n : get_context().enodes()) {
|
||||
family_id fid = n->get_owner()->get_family_id();
|
||||
if (fid != get_family_id() &&
|
||||
fid != get_manager().get_basic_family_id()) {
|
||||
return FC_GIVEUP;
|
||||
}
|
||||
}
|
||||
|
||||
// either will already be zero (as we don't do mixed constraints).
|
||||
m_graph.set_to_zero(get_zero(true), get_zero(false));
|
||||
|
||||
return FC_DONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue