This fixes a minor issue where models should be dumped for "not entailed" results. This fix was required when preparing the submission to CASC this year.
}
bool isResultUnsat = res.isUnsat() || res.isEntailed();
+ bool isResultSat = res.isSat() || res.isNotEntailed();
// dump the model/proof/unsat core if option is set
if (status) {
std::vector<std::unique_ptr<Command> > getterCommands;
if (d_solver->getOptions().driver.dumpModels
- && (res.isSat()
+ && (isResultSat
|| (res.isSatUnknown()
&& res.getUnknownExplanation() == api::Result::INCOMPLETE)))
{
{
out << "% SZS output start Proof for " << d_env.getFilename() << std::endl;
// TODO (proj #37) print in TPTP compliant format
- out << *fp;
+ out << *fp << std::endl;
out << "% SZS output end Proof for " << d_env.getFilename() << std::endl;
}
else