3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-10 17:25:47 +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

@ -34,6 +34,7 @@ Revision History:
#include "smt/smt_context.h"
#include "smt/smt_quick_checker.h"
#include "smt/uses_theory.h"
#include "smt/theory_special_relations.h"
#include "smt/smt_for_each_relevant_expr.h"
#include "smt/smt_model_generator.h"
#include "smt/smt_model_checker.h"
@ -1543,6 +1544,13 @@ namespace smt {
}
}
void context::get_specrels(func_decl_set& rels) const {
family_id fid = m.get_family_id("specrels");
if (th)
dynamic_cast<theory_special_relations*>(th)->get_specrels(rels);
}
void context::relevant_eh(expr * n) {
if (b_internalized(n)) {
bool_var v = get_bool_var(n);