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

fix internalization on post-visit, increase delay to 100

This commit is contained in:
Nikolaj Bjorner 2021-03-14 17:20:39 -07:00
parent 8412ecbdbf
commit 155738088f
3 changed files with 3 additions and 2 deletions

View file

@ -92,6 +92,7 @@ namespace euf {
m_args.push_back(m_egraph.find(to_app(e)->get_arg(i)));
if (root && internalize_root(to_app(e), sign, m_args))
return false;
SASSERT(!get_enode(e));
if (auto* s = expr2solver(e))
s->internalize(e, m_is_redundant);
else

View file

@ -45,7 +45,7 @@ namespace euf {
if (!visit(arg))
goto loop;
}
if (!post_visit(e, sign, root && a == e))
if (!visited(e) && !post_visit(e, sign, root && a == e))
return false;
m_stack.pop_back();
}