3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 03:57:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-09-27 17:06:59 -07:00
parent 95e2d174c7
commit e1edadabec
2 changed files with 1 additions and 10 deletions

View file

@ -279,22 +279,16 @@ namespace polysat {
if (fi.perform(s, v, cjust_v, *this))
return true;
}
std::cout << "vars " << m_vars << " contains: " << m_vars.contains(v) << "\n";
m_vars.remove(v);
for (auto c : cjust_v)
insert(c);
std::cout << "try explain v" << v << "\n";
for (auto* engine : ex_engines)
if (engine->try_explain(v, *this))
return true;
std::cout << "try elim v" << v << "\n";
// No value resolution method was successful => fall back to saturation and variable elimination
while (s.inc()) {
// TODO: as a last resort, substitute v by m_value[v]?
@ -306,7 +300,6 @@ namespace polysat {
set_bailout();
if (s.is_assigned(v))
m_vars.insert(v);
std::cout << "vars " << m_vars << "\n";
return false;
}