3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00

logging names of quantified variables and updating inst-possible line

This commit is contained in:
nilsbecker 2019-01-08 22:09:32 +01:00
parent 58def55796
commit 3620dfee5e
2 changed files with 6 additions and 1 deletions

View file

@ -2477,6 +2477,11 @@ quantifier * ast_manager::mk_quantifier(quantifier_kind k, unsigned num_decls, s
if (m_trace_stream && r == new_node) {
trace_quant(*m_trace_stream, r);
*m_trace_stream << "[attach-var-names] #" << r->get_id();
for (unsigned i = 0; i < num_decls; ++i) {
*m_trace_stream << " " << decl_names[num_decls - i - 1].str();
}
*m_trace_stream << "\n";
}
return r;

View file

@ -212,7 +212,7 @@ namespace smt {
if (f) {
if (has_trace_stream()) {
if (pat == nullptr) {
trace_stream() << "[mbqi-triggered] " << static_cast<void*>(f) << " #" << q->get_id();
trace_stream() << "[inst-possible] MBQI " << static_cast<void*>(f) << " #" << q->get_id();
for (unsigned i = 0; i < num_bindings; ++i) {
trace_stream() << " #" << bindings[num_bindings - i - 1]->get_owner_id();
}