3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-24 21:26:59 +00:00

more rewrite rules

This commit is contained in:
Nikolaj Bjorner 2021-02-17 17:31:46 -08:00
parent bcad4d9435
commit e63dc7efc2
5 changed files with 150 additions and 39 deletions

View file

@ -282,6 +282,7 @@ class seq_rewriter {
bool reduce_itos(expr_ref_vector& ls, expr_ref_vector& rs, expr_ref_pair_vector& eqs);
bool reduce_eq_empty(expr* l, expr* r, expr_ref& result);
bool min_length(expr_ref_vector const& es, unsigned& len);
bool max_length(expr* e, unsigned& len);
expr* concat_non_empty(expr_ref_vector& es);
bool is_string(unsigned n, expr* const* es, zstring& s) const;