3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

trace also declarations in assumptions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-11 09:39:17 -07:00
parent 1f48eabea5
commit 9f7e80c440

View file

@ -79,6 +79,10 @@ extern "C" {
} }
void solver2smt2_pp::check(unsigned n, expr* const* asms) { void solver2smt2_pp::check(unsigned n, expr* const* asms) {
for (unsigned i = 0; i < n; ++i) {
m_pp_util.collect(asms[i]);
}
m_pp_util.display_decls(m_out);
m_out << "(check-sat"; m_out << "(check-sat";
for (unsigned i = 0; i < n; ++i) { for (unsigned i = 0; i < n; ++i) {
m_pp_util.display_expr(m_out << "\n", asms[i]); m_pp_util.display_expr(m_out << "\n", asms[i]);