This PR changes --dump-unsat-cores-full to --print-unsat-cores-full.
It also makes it so that solely having --dump-unsat-cores-full no longer automatically prints unsat cores.
getterCommands.emplace_back(new GetInstantiationsCommand());
}
- if ((d_solver->getOptionInfo("dump-unsat-cores").boolValue()
- || d_solver->getOptionInfo("dump-unsat-cores-full").boolValue())
+ if (d_solver->getOptionInfo("dump-unsat-cores").boolValue()
&& isResultUnsat)
{
getterCommands.emplace_back(new GetUnsatCoreCommand());
help = "output unsat cores after every UNSAT/VALID response"
[[option]]
- name = "dumpUnsatCoresFull"
+ name = "printUnsatCoresFull"
category = "regular"
- long = "dump-unsat-cores-full"
+ long = "print-unsat-cores-full"
type = "bool"
default = "false"
help = "dump the full unsat core, including unlabeled assertions"
}
else
{
- if (options::dumpUnsatCoresFull())
+ if (options::printUnsatCoresFull())
{
// use the assertions
UnsatCore ucr(termVectorToNodes(d_result));
opts.smt.produceAssignments = true;
}
// unsat cores and proofs shenanigans
- if (opts.driver.dumpUnsatCoresFull)
- {
- opts.driver.dumpUnsatCores = true;
- }
if (opts.driver.dumpDifficulty)
{
opts.smt.produceDifficulty = true;
-; COMMAND-LINE: --dump-unsat-cores-full
+; COMMAND-LINE: --print-unsat-cores-full --dump-unsat-cores
; EXPECT: unsat
; EXPECT: (
; EXPECT: (and (= x y) (< x y))