summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-07-27 10:19:13 -0500
committerAndres Noetzli <andres.noetzli@gmail.com>2018-07-27 08:19:13 -0700
commit78c7749478ba9152065349f888ae15a5732c409d (patch)
tree93fceea83531fa59773d445c8bf7380496c6d704
parente0ee22291dff96679a98ac77f3fbaa01de3ab035 (diff)
Make check-synth robust for assertions that are not the synth conjecture (#2217)
-rw-r--r--src/smt/smt_engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index d807567b7..5296a3bca 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -5581,6 +5581,11 @@ void SmtEngine::checkSynthSolution()
}
Notice() << "SmtEngine::checkSynthSolution(): -- expands to " << conj << endl;
Trace("check-synth-sol") << "Expanded assertion " << conj << "\n";
+ if (conj.getKind() != kind::FORALL)
+ {
+ Trace("check-synth-sol") << "Not a checkable assertion.\n";
+ continue;
+ }
// Apply solution map to conjecture body
Node conjBody;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback