mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 02:30:23 +00:00
Improve distinct constraint generation
still many more optimizations possible
This commit is contained in:
parent
baa96909cc
commit
f936c92efc
2 changed files with 23 additions and 7 deletions
|
@ -315,10 +315,10 @@ namespace qe {
|
|||
}
|
||||
|
||||
app_ref_vector euf_arith_mbi_plugin::get_arith_vars(expr_ref_vector const& lits) {
|
||||
arith_util a(m);
|
||||
app_ref_vector avars(m);
|
||||
is_arith_var_proc _proc(avars, m_shared);
|
||||
for_each_expr(_proc, lits);
|
||||
arith_util a(m);
|
||||
app_ref_vector avars(m);
|
||||
is_arith_var_proc _proc(avars, m_shared);
|
||||
for_each_expr(_proc, lits);
|
||||
return avars;
|
||||
}
|
||||
|
||||
|
@ -358,8 +358,8 @@ namespace qe {
|
|||
tg.set_vars(m_shared, false);
|
||||
tg.add_lits(lits);
|
||||
lits.reset();
|
||||
//lits.append(tg.project(*mdl));
|
||||
lits.append(tg.project());
|
||||
lits.append(tg.project(*mdl));
|
||||
//lits.append(tg.project());
|
||||
TRACE("qe", tout << "project: " << lits << "\n";);
|
||||
return mbi_sat;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue