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:
parent
d3305aac16
commit
ae982c5225
13 changed files with 361 additions and 77 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue