void SetDefaults::finalizeLogic(LogicInfo& logic, Options& opts) const
{
+ if (opts.quantifiers.sygusInstWasSetByUser)
+ {
+ if (isSygus(opts))
+ {
+ throw OptionException(std::string(
+ "SyGuS instantiation quantifiers module cannot be enabled "
+ "for SyGuS inputs."));
+ }
+ }
+ else if (!isSygus(opts) && logic.isQuantified()
+ && (logic.isPure(THEORY_FP)
+ || (logic.isPure(THEORY_ARITH) && !logic.isLinear())))
+ {
+ opts.quantifiers.sygusInst = true;
+ }
+
if (opts.bv.bitblastMode == options::BitblastMode::EAGER)
{
if (opts.smt.produceModels