summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/expr_miner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/expr_miner.cpp')
-rw-r--r--src/theory/quantifiers/expr_miner.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/theory/quantifiers/expr_miner.cpp b/src/theory/quantifiers/expr_miner.cpp
index 0e8542826..16e59c119 100644
--- a/src/theory/quantifiers/expr_miner.cpp
+++ b/src/theory/quantifiers/expr_miner.cpp
@@ -77,7 +77,7 @@ void ExprMiner::initializeChecker(std::unique_ptr<SmtEngine>& checker,
// check is ground.
Node squery = convertToSkolem(query);
NodeManager* nm = NodeManager::currentNM();
- if (options::sygusExprMinerCheckTimeout.wasSetByUser())
+ if (options::sygusExprMinerCheckUseExport())
{
// To support a separate timeout for the subsolver, we need to create
// a separate ExprManager with its own options. This requires that
@@ -89,6 +89,8 @@ void ExprMiner::initializeChecker(std::unique_ptr<SmtEngine>& checker,
checker.reset(new SmtEngine(&em));
checker->setTimeLimit(options::sygusExprMinerCheckTimeout(), true);
checker->setLogic(smt::currentSmtEngine()->getLogicInfo());
+ checker->setOption("sygus-rr-synth-input", false);
+ checker->setOption("input-language", "smt2");
Expr equery = squery.toExpr().exportTo(&em, varMap);
checker->assertFormula(equery);
}
@@ -96,8 +98,9 @@ void ExprMiner::initializeChecker(std::unique_ptr<SmtEngine>& checker,
{
std::stringstream msg;
msg << "Unable to export " << squery
- << " but exporting expressions is required for "
- "--sygus-rr-synth-check-timeout.";
+ << " but exporting expressions is "
+ "required for an expression "
+ "miner check.";
throw OptionException(msg.str());
}
needExport = true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback