3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

add tc and trc functionals for binary relations

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-04-09 22:47:01 +02:00
parent d3305aac16
commit ae982c5225
13 changed files with 361 additions and 77 deletions

View file

@ -66,6 +66,13 @@ namespace smt {
m_var2enode.push_back(n);
return v;
}
theory_var get_th_var(expr* e) const;
theory_var get_th_var(enode* n) const {
return n->get_th_var(get_id());
}
public:
/**
@ -317,6 +324,10 @@ namespace smt {
return m_var2enode[v];
}
app * get_expr(theory_var v) const {
return get_enode(v)->get_owner();
}
/**
\brief Return the equivalence class representative
of the given theory variable.