options::bitvectorDivByZeroConst.set(
language::isInputLang_smt2_6(options::inputLanguage()));
}
+ bool is_sygus = false;
if (options::inputLanguage() == language::input::LANG_SYGUS)
{
+ is_sygus = true;
if (!options::ceGuidedInst.wasSetByUser())
{
options::ceGuidedInst.set(true);
{
options::cbqiMidpoint.set(true);
}
- // do not assign function values (optimization)
- if (!options::assignFunctionValues.wasSetByUser())
+ if (options::sygusRepairConst())
{
- options::assignFunctionValues.set(false);
+ if (!options::cbqi.wasSetByUser())
+ {
+ options::cbqi.set(true);
+ }
}
}
- else
- {
- // cannot use sygus repair constants
- options::sygusRepairConst.set(false);
- }
if (options::bitblastMode() == theory::bv::BITBLAST_MODE_EAGER)
{
// cases where we need produce models
if (!options::produceModels()
&& (options::produceAssignments() || options::sygusRewSynthCheck()
- || options::sygusRepairConst()))
+ || is_sygus))
{
Notice() << "SmtEngine: turning on produce-models" << endl;
setOption("produce-models", SExpr("true"));