summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/quantifiers/sygus/ce_guided_single_inv.cpp7
-rw-r--r--src/theory/quantifiers/sygus/synth_conjecture.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp b/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
index 47ddaa0d2..f96e1e579 100644
--- a/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
+++ b/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
@@ -233,8 +233,13 @@ bool CegSingleInv::solve()
siSmt->assertFormula(siq);
Result r = siSmt->checkSat();
Trace("sygus-si") << "Result: " << r << std::endl;
- if (r.asSatisfiabilityResult().isSat() != Result::UNSAT)
+ Result::Sat res = r.asSatisfiabilityResult().isSat();
+ if (res != Result::UNSAT)
{
+ Warning() << "Warning : the single invocation solver determined the SyGuS "
+ "conjecture"
+ << (res == Result::SAT ? " is" : " may be") << " infeasible"
+ << std::endl;
// conjecture is infeasible or unknown
return false;
}
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.cpp b/src/theory/quantifiers/sygus/synth_conjecture.cpp
index e5dadcb7c..0eb96e277 100644
--- a/src/theory/quantifiers/sygus/synth_conjecture.cpp
+++ b/src/theory/quantifiers/sygus/synth_conjecture.cpp
@@ -284,6 +284,8 @@ bool SynthConjecture::needsCheck()
if (!value)
{
Trace("sygus-engine-debug") << "Conjecture is infeasible." << std::endl;
+ Warning() << "Warning : the SyGuS conjecture may be infeasible"
+ << std::endl;
return false;
}
else
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback