EXIT_TOK = 'EXIT';
INCLUDE_TOK = 'INCLUDE';
DUMP_PROOF_TOK = 'DUMP_PROOF';
+ DUMP_UNSAT_CORE_TOK = 'DUMP_UNSAT_CORE';
DUMP_ASSUMPTIONS_TOK = 'DUMP_ASSUMPTIONS';
DUMP_SIG_TOK = 'DUMP_SIG';
DUMP_TCC_TOK = 'DUMP_TCC';
| DUMP_PROOF_TOK
{ cmd = new GetProofCommand(); }
+ | DUMP_UNSAT_CORE_TOK
+ { cmd = new GetUnsatCoreCommand(); }
+
| ( DUMP_ASSUMPTIONS_TOK
| DUMP_SIG_TOK
| DUMP_TCC_TOK
tryToStream<GetAssignmentCommand>(out, c, d_cvc3Mode) ||
tryToStream<GetAssertionsCommand>(out, c, d_cvc3Mode) ||
tryToStream<GetProofCommand>(out, c, d_cvc3Mode) ||
+ tryToStream<GetUnsatCoreCommand>(out, c, d_cvc3Mode) ||
tryToStream<SetBenchmarkStatusCommand>(out, c, d_cvc3Mode) ||
tryToStream<SetBenchmarkLogicCommand>(out, c, d_cvc3Mode) ||
tryToStream<SetInfoCommand>(out, c, d_cvc3Mode) ||
out << "DUMP_PROOF;";
}
+static void toStream(std::ostream& out, const GetUnsatCoreCommand* c, bool cvc3Mode) throw() {
+ out << "DUMP_UNSAT_CORE;";
+}
+
static void toStream(std::ostream& out, const SetBenchmarkStatusCommand* c, bool cvc3Mode) throw() {
out << "% (set-info :status " << c->getStatus() << ")";
}