3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-03 13:56:08 +00:00

add v0 of equality solver

This commit is contained in:
Nikolaj Bjorner 2024-11-30 17:25:49 -08:00
parent 05e053247d
commit 24c3cd38d1
4 changed files with 113 additions and 3 deletions

View file

@ -38,6 +38,7 @@ namespace sls {
bool is_value = false;
unsigned min_length = 0;
unsigned max_length = UINT_MAX;
ptr_vector<expr> lhs, rhs;
};
seq_util seq;
@ -69,6 +70,7 @@ namespace sls {
bool repair_down_seq(app* e);
bool repair_down_eq(app* e);
bool repair_down_str_eq_unify(app* e);
bool repair_down_str_eq(app* e);
bool repair_down_str_extract(app* e);
bool repair_down_str_contains(expr* e);
@ -107,6 +109,8 @@ namespace sls {
eval& get_eval(expr* e);
eval* get_eval(expr* e) const;
ptr_vector<expr> const& lhs(expr* eq);
ptr_vector<expr> const& rhs(expr* eq);
bool is_value(expr* e);
public: