3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 01:13:18 +00:00

string to regex approximation used to strengthen membership constraints (#4610)

* string to regex approximation used to strengthen membership constraints

* fixed pull request comments
This commit is contained in:
Margus Veanes 2020-08-01 16:45:00 -07:00 committed by GitHub
parent fb035c0634
commit 8137143ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 98 additions and 3 deletions

View file

@ -75,6 +75,9 @@ namespace smt {
bool is_string_equality(literal lit);
// Get a regex which overapproximates a given string
expr_ref get_overapprox_regex(expr* s);
void rewrite(expr_ref& e);
bool coallesce_in_re(literal lit);