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

instantiate string-eq length-eq axiom

This commit is contained in:
Murphy Berzish 2015-09-27 17:48:53 -04:00
parent 114b51dec8
commit 6481fe941a
2 changed files with 67 additions and 1 deletions

View file

@ -38,6 +38,7 @@ namespace smt {
str_util m_strutil;
ptr_vector<enode> m_basicstr_axiom_todo;
svector<std::pair<enode*,enode*> > m_str_eq_length_axiom_todo;
protected:
void assert_axiom(ast * e);
@ -47,6 +48,7 @@ namespace smt {
bool is_concat(enode const * n) const { return is_concat(n->get_owner()); }
void instantiate_concat_axiom(enode * cat);
void instantiate_basic_string_axioms(enode * str);
void instantiate_str_eq_length_axiom(enode * lhs, enode * rhs);
void set_up_axioms(expr * ex);
void handle_equality(expr * lhs, expr * rhs);