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

support indexed relations

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-03-26 08:39:56 -07:00
parent 81b1338af6
commit f55e4ccc41
7 changed files with 45 additions and 63 deletions

View file

@ -65,7 +65,11 @@ namespace smt {
}
std::ostream& theory_special_relations::relation::display(theory_special_relations const& th, std::ostream& out) const {
out << m_decl->get_name() << ":\n";
out << mk_pp(m_decl, th.get_manager());
for (unsigned i = 0; i < m_decl->get_num_parameters(); ++i) {
th.get_manager().display(out << " ", m_decl->get_parameter(i));
}
out << ":\n";
m_graph.display(out);
out << "explanation: " << m_explanation << "\n";
m_uf.display(out);