3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 02:04:43 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-10-12 17:10:04 -07:00
parent 9a76bf0aa2
commit c15968aa9e
6 changed files with 34 additions and 1 deletions

View file

@ -1146,5 +1146,11 @@ namespace smt {
expr* e = ctx.bool_var2expr(a.var());
out << (a.phase() ? "" : "(not ") << mk_pp(e, get_manager()) << (a.phase() ? "" : ")") << "\n";
}
void theory_special_relations::get_specrels(func_decl_set& rels) const {
for (auto [f, r] : m_relations)
rels.insert(m_util.get_relation(r->m_decl));
}
}