}
// Turn on justification heuristic of the decision engine for QF_BV and QF_AUFBV
if(!Options::current()->decisionModeSetByUser) {
- Options::DecisionMode decMode =
+ Options::DecisionMode decMode =
//QF_BV
( !d_logic.isQuantified() &&
d_logic.isPure(THEORY_BV)
Trace("smt") << "setting decision mode to " << decMode << std::endl;
NodeManager::currentNM()->getOptions()->decisionMode = decMode;
}
-
+
}
void SmtEngine::setInfo(const std::string& key, const SExpr& value)
Assert(!isSetup(eq));
Node reEq = Rewriter::rewrite(eq);
if(reEq.getKind() == CONST_BOOLEAN){
- if(reEq.getConst<bool>() != isDistinct){
+ if(reEq.getConst<bool>() == isDistinct){
+ // if is (not true), or false
Assert((reEq.getConst<bool>() && isDistinct) ||
(!reEq.getConst<bool>() && !isDistinct));
d_raiseConflict(assertion);