#include "options/smt_options.h"
#include "printer/printer.h"
#include "proof/unsat_core.h"
-#include "smt/model.h"
#include "util/smt2_quote_string.h"
#include "util/utility.h"
d_commandStatus = CommandSuccess::instance();
}
-Command* EmptyCommand::clone() const { return new EmptyCommand(d_name); }
std::string EmptyCommand::getCommandName() const { return "empty"; }
void EmptyCommand::toStream(std::ostream& out) const
printResult(out);
}
-Command* EchoCommand::clone() const { return new EchoCommand(d_output); }
-
std::string EchoCommand::getCommandName() const { return "echo"; }
void EchoCommand::toStream(std::ostream& out) const
}
}
-Command* AssertCommand::clone() const { return new AssertCommand(d_term); }
-
std::string AssertCommand::getCommandName() const { return "assert"; }
void AssertCommand::toStream(std::ostream& out) const
}
}
-Command* PushCommand::clone() const { return new PushCommand(d_nscopes); }
std::string PushCommand::getCommandName() const { return "push"; }
void PushCommand::toStream(std::ostream& out) const
}
}
-Command* PopCommand::clone() const { return new PopCommand(d_nscopes); }
std::string PopCommand::getCommandName() const { return "pop"; }
void PopCommand::toStream(std::ostream& out) const
out << d_result << endl;
}
-Command* CheckSatCommand::clone() const
-{
- CheckSatCommand* c = new CheckSatCommand();
- c->d_result = d_result;
- return c;
-}
-
std::string CheckSatCommand::getCommandName() const { return "check-sat"; }
void CheckSatCommand::toStream(std::ostream& out) const
out << d_result << endl;
}
-Command* CheckSatAssumingCommand::clone() const
-{
- CheckSatAssumingCommand* c = new CheckSatAssumingCommand(d_terms);
- c->d_result = d_result;
- return c;
-}
-
std::string CheckSatAssumingCommand::getCommandName() const
{
return "check-sat-assuming";
d_commandStatus = CommandSuccess::instance();
}
-Command* DeclareSygusVarCommand::clone() const
-{
- return new DeclareSygusVarCommand(d_symbol, d_var, d_sort);
-}
-
std::string DeclareSygusVarCommand::getCommandName() const
{
return "declare-var";
d_commandStatus = CommandSuccess::instance();
}
-Command* SynthFunCommand::clone() const
-{
- return new SynthFunCommand(
- d_symbol, d_fun, d_vars, d_sort, d_isInv, d_grammar);
-}
-
std::string SynthFunCommand::getCommandName() const
{
return d_isInv ? "synth-inv" : "synth-fun";
cvc5::Term SygusConstraintCommand::getTerm() const { return d_term; }
-Command* SygusConstraintCommand::clone() const
-{
- return new SygusConstraintCommand(d_term, d_isAssume);
-}
-
std::string SygusConstraintCommand::getCommandName() const
{
return d_isAssume ? "assume" : "constraint";
return d_predicates;
}
-Command* SygusInvConstraintCommand::clone() const
-{
- return new SygusInvConstraintCommand(d_predicates);
-}
-
std::string SygusInvConstraintCommand::getCommandName() const
{
return "inv-constraint";
out << d_solution.str();
}
-Command* CheckSynthCommand::clone() const { return new CheckSynthCommand(); }
-
std::string CheckSynthCommand::getCommandName() const
{
return d_isNext ? "check-synth-next" : "check-synth";
}
}
-Command* ResetCommand::clone() const { return new ResetCommand(); }
std::string ResetCommand::getCommandName() const { return "reset"; }
void ResetCommand::toStream(std::ostream& out) const
}
}
-Command* ResetAssertionsCommand::clone() const
-{
- return new ResetAssertionsCommand();
-}
-
std::string ResetAssertionsCommand::getCommandName() const
{
return "reset-assertions";
d_commandStatus = CommandSuccess::instance();
}
-Command* QuitCommand::clone() const { return new QuitCommand(); }
std::string QuitCommand::getCommandName() const { return "exit"; }
void QuitCommand::toStream(std::ostream& out) const
d_commandStatus = CommandSuccess::instance();
}
-Command* CommandSequence::clone() const
-{
- CommandSequence* seq = new CommandSequence();
- for (const_iterator i = begin(); i != end(); ++i)
- {
- seq->addCommand((*i)->clone());
- }
- seq->d_index = d_index;
- return seq;
-}
-
CommandSequence::const_iterator CommandSequence::begin() const
{
return d_commandSequence.begin();
d_commandStatus = CommandSuccess::instance();
}
-Command* DeclareFunctionCommand::clone() const
-{
- DeclareFunctionCommand* dfc =
- new DeclareFunctionCommand(d_symbol, d_func, d_sort);
- return dfc;
-}
-
std::string DeclareFunctionCommand::getCommandName() const
{
return "declare-fun";
d_commandStatus = CommandSuccess::instance();
}
-Command* DeclarePoolCommand::clone() const
-{
- DeclarePoolCommand* dfc =
- new DeclarePoolCommand(d_symbol, d_func, d_sort, d_initValue);
- return dfc;
-}
-
std::string DeclarePoolCommand::getCommandName() const
{
return "declare-pool";
d_commandStatus = CommandSuccess::instance();
}
-Command* DeclareOracleFunCommand::clone() const
-{
- DeclareOracleFunCommand* dfc =
- new DeclareOracleFunCommand(d_id, d_sort, d_binName);
- return dfc;
-}
-
std::string DeclareOracleFunCommand::getCommandName() const
{
return "declare-oracle-fun";
d_commandStatus = CommandSuccess::instance();
}
-Command* DeclareSortCommand::clone() const
-{
- return new DeclareSortCommand(d_symbol, d_arity, d_sort);
-}
-
std::string DeclareSortCommand::getCommandName() const
{
return "declare-sort";
d_commandStatus = CommandSuccess::instance();
}
-Command* DefineSortCommand::clone() const
-{
- return new DefineSortCommand(d_symbol, d_params, d_sort);
-}
-
std::string DefineSortCommand::getCommandName() const { return "define-sort"; }
void DefineSortCommand::toStream(std::ostream& out) const
}
}
-Command* DefineFunctionCommand::clone() const
-{
- return new DefineFunctionCommand(d_symbol, d_formals, d_sort, d_formula);
-}
-
std::string DefineFunctionCommand::getCommandName() const
{
return "define-fun";
}
}
-Command* DefineFunctionRecCommand::clone() const
-{
- return new DefineFunctionRecCommand(d_funcs, d_formals, d_formulas);
-}
-
std::string DefineFunctionRecCommand::getCommandName() const
{
return "define-fun-rec";
solver->declareSepHeap(d_locSort, d_dataSort);
}
-Command* DeclareHeapCommand::clone() const
-{
- return new DeclareHeapCommand(d_locSort, d_dataSort);
-}
-
std::string DeclareHeapCommand::getCommandName() const
{
return "declare-heap";
out << d_result << endl;
}
-Command* SimplifyCommand::clone() const
-{
- SimplifyCommand* c = new SimplifyCommand(d_term);
- c->d_result = d_result;
- return c;
-}
-
std::string SimplifyCommand::getCommandName() const { return "simplify"; }
void SimplifyCommand::toStream(std::ostream& out) const
out << d_result << endl;
}
-Command* GetValueCommand::clone() const
-{
- GetValueCommand* c = new GetValueCommand(d_terms);
- c->d_result = d_result;
- return c;
-}
-
std::string GetValueCommand::getCommandName() const { return "get-value"; }
void GetValueCommand::toStream(std::ostream& out) const
out << d_result << endl;
}
-Command* GetAssignmentCommand::clone() const
-{
- GetAssignmentCommand* c = new GetAssignmentCommand();
- c->d_result = d_result;
- return c;
-}
-
std::string GetAssignmentCommand::getCommandName() const
{
return "get-assignment";
void GetModelCommand::printResult(std::ostream& out) const { out << d_result; }
-Command* GetModelCommand::clone() const
-{
- GetModelCommand* c = new GetModelCommand;
- c->d_result = d_result;
- return c;
-}
-
std::string GetModelCommand::getCommandName() const { return "get-model"; }
void GetModelCommand::toStream(std::ostream& out) const
}
}
-Command* BlockModelCommand::clone() const
-{
- BlockModelCommand* c = new BlockModelCommand(d_mode);
- return c;
-}
-
std::string BlockModelCommand::getCommandName() const { return "block-model"; }
void BlockModelCommand::toStream(std::ostream& out) const
}
}
-Command* BlockModelValuesCommand::clone() const
-{
- BlockModelValuesCommand* c = new BlockModelValuesCommand(d_terms);
- return c;
-}
-
std::string BlockModelValuesCommand::getCommandName() const
{
return "block-model-values";
void GetProofCommand::printResult(std::ostream& out) const { out << d_result; }
-Command* GetProofCommand::clone() const
-{
- GetProofCommand* c = new GetProofCommand();
- return c;
-}
-
std::string GetProofCommand::getCommandName() const { return "get-proof"; }
void GetProofCommand::toStream(std::ostream& out) const
out << d_solver->getInstantiations();
}
-Command* GetInstantiationsCommand::clone() const
-{
- GetInstantiationsCommand* c = new GetInstantiationsCommand();
- // c->d_result = d_result;
- c->d_solver = d_solver;
- return c;
-}
-
std::string GetInstantiationsCommand::getCommandName() const
{
return "get-instantiations";
}
}
-Command* GetInterpolantCommand::clone() const
-{
- GetInterpolantCommand* c =
- new GetInterpolantCommand(d_name, d_conj, d_sygus_grammar);
- c->d_result = d_result;
- return c;
-}
-
std::string GetInterpolantCommand::getCommandName() const
{
return "get-interpolant";
}
}
-Command* GetInterpolantNextCommand::clone() const
-{
- GetInterpolantNextCommand* c = new GetInterpolantNextCommand;
- c->d_result = d_result;
- return c;
-}
-
std::string GetInterpolantNextCommand::getCommandName() const
{
return "get-interpolant-next";
}
}
-Command* GetAbductCommand::clone() const
-{
- GetAbductCommand* c = new GetAbductCommand(d_name, d_conj, d_sygus_grammar);
- c->d_result = d_result;
- return c;
-}
-
std::string GetAbductCommand::getCommandName() const { return "get-abduct"; }
void GetAbductCommand::toStream(std::ostream& out) const
}
}
-Command* GetAbductNextCommand::clone() const
-{
- GetAbductNextCommand* c = new GetAbductNextCommand;
- c->d_result = d_result;
- return c;
-}
-
std::string GetAbductNextCommand::getCommandName() const
{
return "get-abduct-next";
out << d_result << endl;
}
-Command* GetQuantifierEliminationCommand::clone() const
-{
- GetQuantifierEliminationCommand* c =
- new GetQuantifierEliminationCommand(d_term, d_doFull);
- c->d_result = d_result;
- return c;
-}
-
std::string GetQuantifierEliminationCommand::getCommandName() const
{
return d_doFull ? "get-qe" : "get-qe-disjunct";
container_to_stream(out, d_result, "(", ")\n", " ");
}
-Command* GetUnsatAssumptionsCommand::clone() const
-{
- GetUnsatAssumptionsCommand* c = new GetUnsatAssumptionsCommand;
- c->d_result = d_result;
- return c;
-}
-
std::string GetUnsatAssumptionsCommand::getCommandName() const
{
return "get-unsat-assumptions";
return d_result;
}
-Command* GetUnsatCoreCommand::clone() const
-{
- GetUnsatCoreCommand* c = new GetUnsatCoreCommand;
- c->d_solver = d_solver;
- c->d_sm = d_sm;
- c->d_result = d_result;
- return c;
-}
-
std::string GetUnsatCoreCommand::getCommandName() const
{
return "get-unsat-core";
return d_result;
}
-Command* GetDifficultyCommand::clone() const
-{
- GetDifficultyCommand* c = new GetDifficultyCommand;
- c->d_sm = d_sm;
- c->d_result = d_result;
- return c;
-}
-
std::string GetDifficultyCommand::getCommandName() const
{
return "get-difficulty";
return d_result;
}
-Command* GetLearnedLiteralsCommand::clone() const
-{
- GetLearnedLiteralsCommand* c = new GetLearnedLiteralsCommand;
- c->d_result = d_result;
- return c;
-}
-
std::string GetLearnedLiteralsCommand::getCommandName() const
{
return "get-learned-literals";
out << d_result;
}
-Command* GetAssertionsCommand::clone() const
-{
- GetAssertionsCommand* c = new GetAssertionsCommand();
- c->d_result = d_result;
- return c;
-}
-
std::string GetAssertionsCommand::getCommandName() const
{
return "get-assertions";
}
}
-Command* SetBenchmarkLogicCommand::clone() const
-{
- return new SetBenchmarkLogicCommand(d_logic);
-}
-
std::string SetBenchmarkLogicCommand::getCommandName() const
{
return "set-logic";
}
}
-Command* SetInfoCommand::clone() const
-{
- return new SetInfoCommand(d_flag, d_value);
-}
-
std::string SetInfoCommand::getCommandName() const { return "set-info"; }
void SetInfoCommand::toStream(std::ostream& out) const
}
}
-Command* GetInfoCommand::clone() const
-{
- GetInfoCommand* c = new GetInfoCommand(d_flag);
- c->d_result = d_result;
- return c;
-}
-
std::string GetInfoCommand::getCommandName() const { return "get-info"; }
void GetInfoCommand::toStream(std::ostream& out) const
}
}
-Command* SetOptionCommand::clone() const
-{
- return new SetOptionCommand(d_flag, d_value);
-}
-
std::string SetOptionCommand::getCommandName() const { return "set-option"; }
void SetOptionCommand::toStream(std::ostream& out) const
}
}
-Command* GetOptionCommand::clone() const
-{
- GetOptionCommand* c = new GetOptionCommand(d_flag);
- c->d_result = d_result;
- return c;
-}
-
std::string GetOptionCommand::getCommandName() const { return "get-option"; }
void GetOptionCommand::toStream(std::ostream& out) const
d_commandStatus = CommandSuccess::instance();
}
-Command* DatatypeDeclarationCommand::clone() const
-{
- return new DatatypeDeclarationCommand(d_datatypes);
-}
-
std::string DatatypeDeclarationCommand::getCommandName() const
{
return "declare-datatypes";
/** Get the command status (it's NULL if we haven't run yet). */
const CommandStatus* getCommandStatus() const { return d_commandStatus; }
- /**
- * Clone this Command (make a shallow copy).
- */
- virtual Command* clone() const = 0;
-
/**
* This field contains a command status if the command has been
* invoked, or NULL if it has not. This field is either a
EmptyCommand(std::string name = "");
std::string getName() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
SymbolManager* sm,
std::ostream& out) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class AssertCommand */
PushCommand(uint32_t nscopes);
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
PopCommand(uint32_t nscopes);
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Sort getSort() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class DeclareFunctionCommand */
const std::vector<cvc5::Term>& getInitialValue() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class DeclarePoolCommand */
const std::string& getBinaryName() const;
void invoke(Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Sort getSort() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class DeclareSortCommand */
cvc5::Sort getSort() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class DefineSortCommand */
cvc5::Term getFormula() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
const std::vector<cvc5::Term>& getFormulas() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Sort getLocationSort() const;
cvc5::Sort getDataSort() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Result getResult() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Result getResult() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Result d_result;
}; /* class CheckSatAssumingCommand */
-class CVC5_EXPORT QueryCommand : public Command
-{
- protected:
- cvc5::Term d_term;
- cvc5::Result d_result;
-
- public:
- QueryCommand(const cvc5::Term& t);
-
- cvc5::Term getTerm() const;
- cvc5::Result getResult() const;
- void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- void printResult(std::ostream& out) const override;
- Command* clone() const override;
- std::string getCommandName() const override;
- void toStream(std::ostream& out) const override;
-}; /* class QueryCommand */
-
/* ------------------- sygus commands ------------------ */
/** Declares a sygus universal variable */
* synthesis conjecture is built later on.
*/
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- /** creates a copy of this command */
- Command* clone() const override;
/** returns this command's name */
std::string getCommandName() const override;
/** prints this command */
* case a synthesis conjecture is built later on.
*/
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- /** creates a copy of this command */
- Command* clone() const override;
/** returns this command's name */
std::string getCommandName() const override;
/** prints this command */
* synthesis conjecture is built later on.
*/
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- /** creates a copy of this command */
- Command* clone() const override;
/** returns this command's name */
std::string getCommandName() const override;
/** prints this command */
* built later on.
*/
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- /** creates a copy of this command */
- Command* clone() const override;
/** returns this command's name */
std::string getCommandName() const override;
/** prints this command */
* d_result.
*/
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- /** creates a copy of this command */
- Command* clone() const override;
/** returns this command's name */
std::string getCommandName() const override;
/** prints this command */
cvc5::Term getResult() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class SimplifyCommand */
cvc5::Term getResult() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetValueCommand */
cvc5::Term getResult() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetAssignmentCommand */
GetModelCommand();
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
BlockModelCommand(modes::BlockModelsMode mode);
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
const std::vector<cvc5::Term>& getTerms() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
static bool isEnabled(cvc5::Solver* solver, const cvc5::Result& res);
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
cvc5::Term getResult() const;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetQuantifierEliminationCommand */
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
std::vector<cvc5::Term> getResult() const;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
std::string getResult() const;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetAssertionsCommand */
std::string getLogic() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class SetBenchmarkLogicCommand */
const std::string& getValue() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class SetInfoCommand */
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetInfoCommand */
const std::string& getValue() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class SetOptionCommand */
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
void printResult(std::ostream& out) const override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class GetOptionCommand */
DatatypeDeclarationCommand(const std::vector<cvc5::Sort>& datatypes);
const std::vector<cvc5::Sort>& getDatatypes() const;
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class DatatypeDeclarationCommand */
public:
ResetCommand() {}
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class ResetCommand */
public:
ResetAssertionsCommand() {}
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class ResetAssertionsCommand */
public:
QuitCommand() {}
void invoke(cvc5::Solver* solver, SymbolManager* sm) override;
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class QuitCommand */
iterator begin();
iterator end();
- Command* clone() const override;
std::string getCommandName() const override;
void toStream(std::ostream& out) const override;
}; /* class CommandSequence */