Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni206 committed May 2, 2024
1 parent 8a4bc42 commit 22e58c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/preprocessing/passes/bv_to_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ BVToInt::BVToInt(PreprocessingPassContext* preprocContext)
PreprocessingPassResult BVToInt::applyInternal(
AssertionPipeline* assertionsToPreprocess)
{
Trace("bv-to-int-debug") << "entering applyInternal" << std::endl;
// vector of boolean nodes for additional constraints
// this will always contain range constraints
// and for options::SolveBVAsIntMode::BITWISE, it will
Expand Down
2 changes: 1 addition & 1 deletion src/theory/bv/int_blaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ void IntBlaster::collectQuantificationData(Node n) {
}
if (n.getNumChildren() > 0) {
for (Node child : n) {
Assert(d_quantifiedVariables.find(child) != d_quantifiedVariables.end());
Assert(d_quantifiedVariables.find(child) != d_quantifiedVariables.end()) << child;
std::unordered_set<Node> varsOfChild = d_quantifiedVariables[child];
qfvarsOfChildren.insert(varsOfChild.begin(), varsOfChild.end());
}
Expand Down
1 change: 1 addition & 0 deletions test/regress/cli/regress0/bv/bv_to_int_8798.smt2
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
; EXPECT: sat
(set-logic ALL)
(set-option :solve-bv-as-int iand)
(set-option :mbqi true)
(declare-sort byte 0)
(declare-fun to_rep1 (byte) (_ BitVec 8))
(assert (forall ((a (Array Int byte))) (exists ((temp Int)) (= (to_rep1 (select a temp)) (to_rep1 (select a (+ temp 1)))))))
Expand Down

0 comments on commit 22e58c7

Please sign in to comment.