}
void DefineFunctionCommand::invoke(SmtEngine* smtEngine) {
- Dump("declarations") << *this << endl;
+ //Dump("declarations") << *this << endl; -- done by SmtEngine
if(!d_func.isNull()) {
smtEngine->defineFunction(d_func, d_formals, d_formula);
}
const std::vector<Expr>& formals,
Expr formula) {
Trace("smt") << "SMT defineFunction(" << func << ")" << endl;
- /*
if(Dump.isOn("declarations")) {
stringstream ss;
ss << Expr::setlanguage(Expr::setlanguage::getLanguage(Dump("declarations")))
Dump("declarations") << DefineFunctionCommand(ss.str(), func, formals, formula)
<< endl;
}
- */
NodeManagerScope nms(d_nodeManager);
// type check body