3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

z3str3: force eager axiom setup on new terms

This commit is contained in:
Murphy Berzish 2019-10-17 15:15:59 -04:00 committed by Nikolaj Bjorner
parent f91af02675
commit b9a407c25f

View file

@ -8164,10 +8164,12 @@ namespace smt {
if (!existing_toplevel_exprs.contains(lhs)) {
existing_toplevel_exprs.insert(lhs);
set_up_axioms(lhs);
propagate();
}
if (!existing_toplevel_exprs.contains(rhs)) {
existing_toplevel_exprs.insert(rhs);
set_up_axioms(rhs);
propagate();
}
if (lhs_sort != str_sort || rhs_sort != str_sort) {
@ -8630,6 +8632,7 @@ namespace smt {
if (!existing_toplevel_exprs.contains(e)) {
existing_toplevel_exprs.insert(e);
set_up_axioms(e);
propagate();
}
}