Esempio n. 1
0
 void context::display(std::ostream & out) const {
     get_pp_visited().reset();
     out << "Logical context:\n";
     out << "scope-lvl: " << m_scope_lvl << "\n";
     out << "base-lvl:  " << m_base_lvl  << "\n";
     out << "search-lvl:  " << m_search_lvl  << "\n";
     out << "inconsistent(): " << inconsistent() << "\n";
     out << "m_asserted_formulas.inconsistent(): " << m_asserted_formulas.inconsistent() << "\n";
     display_bool_var_defs(out);
     display_enode_defs(out);
     display_asserted_formulas(out);
     if (!m_aux_clauses.empty()) {
         out << "auxiliary clauses:\n";
         display_clauses(out, m_aux_clauses);
     }
     if (!m_lemmas.empty()) {
         out << "lemmas:\n";
         display_clauses(out, m_lemmas);
     }
     display_binary_clauses(out);
     display_assignment(out);
     display_eqc(out);
     m_cg_table.display_compact(out);
     m_case_split_queue->display(out);
     display_expr_bool_var_map(out);
     display_app_enode_map(out);
     display_relevant_exprs(out);
     display_theories(out);
     display_decl2enodes(out);
     display_hot_bool_vars(out);
 }
Esempio n. 2
0
 void context::display_bool_var_defs(std::ostream & out) const {
     unsigned num = get_num_bool_vars();
     for (unsigned v = 0; v < num; v++) {
         expr * n = m_bool_var2expr[v];
         ast_def_ll_pp(out, m_manager, n, get_pp_visited(), true, false);
     }
 }
Esempio n. 3
0
 void context::display_enode_defs(std::ostream & out) const {
     ptr_vector<enode>::const_iterator it  = m_enodes.begin();
     ptr_vector<enode>::const_iterator end = m_enodes.end();
     for (; it != end; ++it) {
         expr * n = (*it)->get_owner();
         ast_def_ll_pp(out, m_manager, n, get_pp_visited(), true, false);
     }
 }
Esempio n. 4
0
 void context::display_asserted_formulas(std::ostream & out) const {
     m_asserted_formulas.display_ll(out, get_pp_visited());
 }
Esempio n. 5
0
 void context::display_enode_defs(std::ostream & out) const {
     for (enode * x : m_enodes) {
         expr * n = x->get_owner();
         ast_def_ll_pp(out, m_manager, n, get_pp_visited(), true, false);
     }
 }