3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 05:30:51 +00:00

add filter to detect circumventing the default semantics of bit-vector division with the use of the sat-based bit-vector solver. Provides a way to fix issue #190

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-24 16:27:07 -07:00
parent ee5f1ad6b6
commit ef7915858b
3 changed files with 8 additions and 0 deletions

View file

@ -28,6 +28,7 @@ Notes:
#include"rewriter_def.h"
#include"for_each_expr.h"
#include"cooperate.h"
#include"bv_rewriter.h"
class bv1_blaster_tactic : public tactic {
@ -491,6 +492,8 @@ tactic * mk_bv1_blaster_tactic(ast_manager & m, params_ref const & p) {
class is_qfbv_eq_probe : public probe {
public:
virtual result operator()(goal const & g) {
bv_rewriter rw(g.m());
if (!rw.hi_div0()) return false;
bv1_blaster_tactic t(g.m());
return t.is_target(g);