return utils::mkTrue();
}
- if (newLeft > newRight) {
+ if (newLeft < newRight) {
Assert((newRight == left && newLeft == right) ||
Rewriter::rewrite(newRight) != left ||
Rewriter::rewrite(newLeft) != right);
if(res.node!= node) {
Debug("bitvector-rewrite") << "TheoryBV::postRewrite " << node << std::endl;
Debug("bitvector-rewrite") << "TheoryBV::postRewrite to " << res.node << std::endl;
- if (res.node.getKind() == kind::EQUAL) {
- Assert (res.node[0] < res.node[1]);
- }
- }
- if (res.node.getKind() == kind::EQUAL) {
- Assert (res.node[0] < res.node[1]);
}
-
- // if (res.status == REWRITE_DONE) {
- // Node rewr = res.node;
- // Node rerewr = d_rewriteTable[rewr.getKind()](rewr, false).node;
- // Assert(rewr == rerewr);
- // }
-
return res;
}