summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2014-06-14 23:06:50 -0400
committerlianah <lianahady@gmail.com>2014-06-14 23:06:50 -0400
commit782bfe1b122a34f72c0533d9f189045379eb1d58 (patch)
tree099de5435867ce26654b9c0e44195c7fc8ccb0fc /src/smt/smt_engine.cpp
parentaeeb951b0fcc33e03feb6a6300808834a96daff5 (diff)
Evil bitvector preprocessing pass for simplifying powers of two.
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 6b7bf424f..ab805a6c5 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -89,6 +89,7 @@
#include "printer/options.h"
#include "theory/arith/pseudoboolean_proc.h"
+#include "theory/bv/bvintropow2.h"
using namespace std;
using namespace CVC4;
@@ -2926,6 +2927,10 @@ void SmtEnginePrivate::processAssertions() {
dumpAssertions("post-unconstrained-simp", d_assertionsToPreprocess);
}
+ if(options::bvIntroducePow2()){
+ theory::bv::BVIntroducePow2::pow2Rewrite(d_assertionsToPreprocess);
+ }
+
dumpAssertions("pre-substitution", d_assertionsToPreprocess);
// Apply the substitutions we already have, and normalize
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback