3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-05 08:30:50 +00:00

use regex instead of head/tail split for string-integer conversion; check sort of refreshed vars; add intersection difficulty estimation

This commit is contained in:
Murphy Berzish 2018-01-26 14:52:18 -05:00
parent c01dda4e31
commit 1ee5ce96b8
2 changed files with 18 additions and 9 deletions

View file

@ -555,6 +555,7 @@ protected:
// regex automata and length-aware regex
unsigned estimate_regex_complexity(expr * re);
unsigned estimate_regex_complexity_under_complement(expr * re);
unsigned estimate_automata_intersection_difficulty(eautomaton * aut1, eautomaton * aut2);
bool check_regex_length_linearity(expr * re);
bool check_regex_length_linearity_helper(expr * re, bool already_star);
expr_ref infer_all_regex_lengths(expr * lenVar, expr * re, expr_ref_vector & freeVariables);