mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
z3str3: force eager axiom setup on new terms
This commit is contained in:
parent
f91af02675
commit
b9a407c25f
|
@ -8164,10 +8164,12 @@ namespace smt {
|
||||||
if (!existing_toplevel_exprs.contains(lhs)) {
|
if (!existing_toplevel_exprs.contains(lhs)) {
|
||||||
existing_toplevel_exprs.insert(lhs);
|
existing_toplevel_exprs.insert(lhs);
|
||||||
set_up_axioms(lhs);
|
set_up_axioms(lhs);
|
||||||
|
propagate();
|
||||||
}
|
}
|
||||||
if (!existing_toplevel_exprs.contains(rhs)) {
|
if (!existing_toplevel_exprs.contains(rhs)) {
|
||||||
existing_toplevel_exprs.insert(rhs);
|
existing_toplevel_exprs.insert(rhs);
|
||||||
set_up_axioms(rhs);
|
set_up_axioms(rhs);
|
||||||
|
propagate();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lhs_sort != str_sort || rhs_sort != str_sort) {
|
if (lhs_sort != str_sort || rhs_sort != str_sort) {
|
||||||
|
@ -8630,6 +8632,7 @@ namespace smt {
|
||||||
if (!existing_toplevel_exprs.contains(e)) {
|
if (!existing_toplevel_exprs.contains(e)) {
|
||||||
existing_toplevel_exprs.insert(e);
|
existing_toplevel_exprs.insert(e);
|
||||||
set_up_axioms(e);
|
set_up_axioms(e);
|
||||||
|
propagate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue