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

enforce flat within QF_BV tactic, cap in-processing var-elim loops

This commit is contained in:
Nikolaj Bjorner 2022-10-27 20:10:55 -07:00
parent 1fae3aa152
commit a409a4a677
5 changed files with 15 additions and 13 deletions

View file

@ -229,6 +229,7 @@ namespace sat {
}
}
unsigned count = 0;
do {
if (m_subsumption)
subsume();
@ -240,8 +241,9 @@ namespace sat {
return;
if (!m_subsumption || m_sub_counter < 0)
break;
++count;
}
while (!m_sub_todo.empty());
while (!m_sub_todo.empty() && count < 20);
bool vars_eliminated = m_num_elim_vars > m_old_num_elim_vars;
if (m_need_cleanup || vars_eliminated) {