mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 19:00:25 +00:00
z3str3: fix Issues 4349, 4354, and 4310 (#4529)
* regex needs lesson; m.mk_eq not ctx.mk_eq * when unsat core is of size 0, then do naive learning * remove two extra comments, and correct positive regex learning * replace magic numbers for fixed-length lessons with constants
This commit is contained in:
parent
c0fbb31379
commit
8d16a9a034
3 changed files with 36 additions and 29 deletions
|
@ -780,6 +780,11 @@ protected:
|
|||
void get_unique_non_concat_nodes(expr * node, std::set<expr*> & argSet);
|
||||
bool propagate_length_within_eqc(expr * var);
|
||||
|
||||
|
||||
const rational NEQ = rational(-1); // negative word equation lesson
|
||||
const rational PFUN = rational(-2); // positive function lesson
|
||||
const rational NFUN = rational(-3); // negative function lesson
|
||||
|
||||
// TESTING
|
||||
void refresh_theory_var(expr * e);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue