mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
selective expansion of strings for canonizer to fix #1690 regression
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4634d1daed
commit
6a0b70ee5c
|
@ -2898,14 +2898,13 @@ expr_ref theory_seq::expand(expr* e, dependency*& eqs) {
|
|||
expr_ref theory_seq::try_expand(expr* e, dependency*& eqs){
|
||||
expr_ref result(m);
|
||||
expr_dep ed;
|
||||
zstring s;
|
||||
if (m_rep.find_cache(e, ed)) {
|
||||
if (e != ed.first) {
|
||||
eqs = m_dm.mk_join(eqs, ed.second);
|
||||
}
|
||||
result = ed.first;
|
||||
}
|
||||
else if (m_util.str.is_string(e, s) && s.length() > 0) {
|
||||
else if (m_util.str.is_string(e)) {
|
||||
result = add_elim_string_axiom(e);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue