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

fix #4048: incorrect bvurem rewrite when divisor=0

also, always enable this rewrite, since it shrinks formula size globally
This commit is contained in:
Nuno Lopes 2020-04-22 15:26:30 +01:00
parent dd064a5554
commit 220bc7fcd9
2 changed files with 3 additions and 5 deletions

View file

@ -12,6 +12,5 @@ def_module_params(module_name='rewriter',
("bv_extract_prop", BOOL, False, "attempt to partially propagate extraction inwards"),
("bv_not_simpl", BOOL, False, "apply simplifications for bvnot"),
("bv_ite2id", BOOL, False, "rewrite ite that can be simplified to identity"),
("bv_le_extra", BOOL, False, "additional bu_(u/s)le simplifications"),
("bv_urem_simpl", BOOL, False, "additional simplification for bvurem")
("bv_le_extra", BOOL, False, "additional bu_(u/s)le simplifications")
))