3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-03-18 18:07:00 -07:00
parent 064b1f0721
commit c05c5caab5

View file

@ -1503,7 +1503,7 @@ bool theory_seq::add_length_to_eqc(expr* e) {
expr* o = n->get_expr();
if (!has_length(o)) {
expr_ref len(m_util.str.mk_length(o), m);
enque_axiom(len);
ensure_enode(len);
add_length(o, len);
change = true;
}
@ -3028,6 +3028,7 @@ void theory_seq::relevant_eh(app* n) {
m_util.str.is_from_code(n) ||
m_util.str.is_to_code(n) ||
m_util.str.is_unit(n) ||
m_util.str.is_length(n) ||
m_util.str.is_le(n)) {
enque_axiom(n);
}