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..67aa8688c 100644
--- a/src/theory/quantifiers/expr_miner.cpp
+++ b/src/theory/quantifiers/expr_miner.cpp
@@ -77,7 +77,8 @@ 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::sygusExprMinerCheckTimeout.wasSetByUser()
+ || options::sygusRewSynthInput())
{
// To support a separate timeout for the subsolver, we need to create
// a separate ExprManager with its own options. This requires that
@@ -89,6 +90,7 @@ 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);
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