3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-05 07:23:58 +00:00

solve_concat_eq_str() for concat(const,const) == const

This commit is contained in:
Murphy Berzish 2015-09-28 10:43:34 -04:00
parent 62cd633b63
commit 9bc685b21d
2 changed files with 103 additions and 7 deletions

View file

@ -62,6 +62,7 @@ namespace smt {
void assert_implication(expr * premise, expr * conclusion);
app * mk_strlen(app * e);
app * mk_concat(app * e1, app * e2);
bool is_concat(app const * a) const { return a->is_app_of(get_id(), OP_STRCAT); }
bool is_concat(enode const * n) const { return is_concat(n->get_owner()); }
@ -74,6 +75,8 @@ namespace smt {
void set_up_axioms(expr * ex);
void handle_equality(expr * lhs, expr * rhs);
expr * get_eqc_value(expr * n, bool & hasEqcValue);
void simplify_concat_equality(expr * lhs, expr * rhs);
void solve_concat_eq_str(expr * concat, expr * str);