diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2017-10-25 13:04:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 13:04:05 -0700 |
commit | c49ef48588c708bfef3c7a0f9db8219415301a94 (patch) | |
tree | 1664042f6a64daeaf3cee0dbbe0ebf7caa3544be /test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2 | |
parent | e03d56b6de112cae8e9234fff16b985f0765740e (diff) |
CBQI BV: Add handling for missing operators. (#1274)
This adds inverse handling for BITVECTOR_XOR, BITVECTOR_SIGN_EXTENDS, BITVECTOR_COMP, BITVECTOR_ASHR. Function isInvertible() now corresponds to exactly the operators (plus index) for which we can determine an inverse, which avoids traversing along non-invertible paths.
This further enables a test case that I missed to enable in PR #1268.
Diffstat (limited to 'test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2')
-rw-r--r-- | test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2 b/test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2 new file mode 100644 index 000000000..db7725896 --- /dev/null +++ b/test/regress/regress0/quantifiers/qbv-test-invert-bvashr-0.smt2 @@ -0,0 +1,10 @@ +; COMMAND-LINE: --cbqi-bv +; EXPECT: sat +(set-logic BV) +(set-info :status sat) +(declare-fun a () (_ BitVec 32)) +(declare-fun b () (_ BitVec 32)) + +(assert (forall ((x (_ BitVec 32))) (not (= (bvashr x a) b)))) + +(check-sat) |