if (!lit.isNull())
{
lit = Rewriter::rewrite(lit);
- lit = d_valuation.ensureLiteral(lit);
}
d_literals.push_back(lit);
}
- return d_literals[n];
+ Node ret = d_literals[n];
+ if (!ret.isNull())
+ {
+ // always ensure it is in the CNF stream
+ ret = d_valuation.ensureLiteral(ret);
+ }
+ return ret;
}
DecisionStrategySingleton::DecisionStrategySingleton(
regress0/fmf/fmc_unsound_model.smt2
regress0/fmf/fmf-strange-bounds-2.smt2
regress0/fmf/forall_unit_data2.smt2
+ regress0/fmf/issue3661-ccard-dec.smt2
regress0/fmf/krs-sat.smt2
regress0/fmf/no-minimal-sat.smt2
regress0/fmf/quant_real_univ.cvc
--- /dev/null
+; COMMAND-LINE: --fmf-fun -i
+; EXPECT: sat
+; EXPECT: sat
+(set-logic ALL)
+(declare-fun a (Int) Bool)
+(declare-fun b (Int) Bool)
+(assert (= (a 0) (b 0)))
+(push)
+(check-sat)
+(pop)
+(check-sat)