std::vector<Node> sivars;
d_sip->getSingleInvocationVariables(sivars);
Node invariant = d_sip->getFunctionInvocationFor(prog);
- Assert(!invariant.isNull());
+ if (invariant.isNull())
+ {
+ // the conjecture did not have an instance of the invariant
+ // (e.g. it is trivially true/false).
+ return;
+ }
invariant = invariant.substitute(sivars.begin(),
sivars.end(),
prog_templ_vars.begin(),
regress0/sygus/no-syntax-test.sy
regress0/sygus/parity-AIG-d0.sy
regress0/sygus/parse-bv-let.sy
+ regress0/sygus/pbe-pred-contra.sy
regress0/sygus/pLTL-sygus-syntax-err.sy
regress0/sygus/real-si-all.sy
regress0/sygus/sygus-no-wf.sy
--- /dev/null
+; COMMAND_LINE: --cegqi-si=none --sygus-out=status
+; EXPECT: unknown
+(set-logic LIA)
+(synth-fun P ((x Int)) Bool)
+(constraint (P 54))
+(constraint (not (P 54)))
+(check-synth)