mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
trace also declarations in assumptions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1f48eabea5
commit
9f7e80c440
|
@ -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]);
|
||||||
|
|
Loading…
Reference in a new issue