diff options
author | Liana Hadarean <lianahady@gmail.com> | 2016-01-26 16:04:26 -0800 |
---|---|---|
committer | Liana Hadarean <lianahady@gmail.com> | 2016-01-26 16:04:26 -0800 |
commit | 42b665f2a00643c81b42932fab1441987628c5a5 (patch) | |
tree | aa851e1fc4828f5a4d94ce0c11fa6d2d1199636f /src/theory/bv/bv_eager_solver.cpp | |
parent | 7006d5ba2f68c01638a2ab2c98a86b41dcf4467c (diff) |
Merged bit-vector and uf proof branch.
Diffstat (limited to 'src/theory/bv/bv_eager_solver.cpp')
-rw-r--r-- | src/theory/bv/bv_eager_solver.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/theory/bv/bv_eager_solver.cpp b/src/theory/bv/bv_eager_solver.cpp index 66b1c4182..2af8d04d6 100644 --- a/src/theory/bv/bv_eager_solver.cpp +++ b/src/theory/bv/bv_eager_solver.cpp @@ -16,6 +16,7 @@ #include "options/bv_options.h" #include "theory/bv/bitblaster_template.h" +#include "proof/bitvector_proof.h" #include "theory/bv/bv_eager_solver.h" using namespace std; @@ -54,6 +55,12 @@ void EagerBitblastSolver::initialize() { d_aigBitblaster = new AigBitblaster(); } else { d_bitblaster = new EagerBitblaster(d_bv); + THEORY_PROOF( + if( d_bvp ){ + d_bitblaster->setProofLog( d_bvp ); + d_bvp->setBitblaster(d_bitblaster); + } + ); } } @@ -112,3 +119,7 @@ void EagerBitblastSolver::collectModelInfo(TheoryModel* m, bool fullModel) { AlwaysAssert(!d_useAig && d_bitblaster); d_bitblaster->collectModelInfo(m, fullModel); } + +void EagerBitblastSolver::setProofLog( BitVectorProof * bvp ) { + d_bvp = bvp; +} |