mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
add equivalence explanations
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
7c05d5e5d3
commit
0ff07aed3f
3 changed files with 41 additions and 38 deletions
|
@ -35,9 +35,11 @@ public:
|
|||
m_explanation.push_back(std::make_pair(one_of_type<mpq>(), j));
|
||||
}
|
||||
|
||||
template <typename A> void add(const A& a) { for (constraint_index j : a) push_justification(j); }
|
||||
bool empty() const {
|
||||
return m_explanation.empty();
|
||||
}
|
||||
template <typename A>
|
||||
void add(const A& a) { for (auto j : a) push_justification(j); }
|
||||
|
||||
void add(unsigned j) { push_justification(j); }
|
||||
|
||||
bool empty() const { return m_explanation.empty(); }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue