mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
outline of invertible reduction
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cce3448fd5
commit
ac014bef94
4 changed files with 251 additions and 6 deletions
|
@ -85,12 +85,9 @@ void collect_occs::operator()(goal const & g, obj_hashtable<expr> & r) {
|
|||
process(t);
|
||||
}
|
||||
|
||||
ptr_vector<app>::const_iterator it = m_vars.begin();
|
||||
ptr_vector<app>::const_iterator end = m_vars.end();
|
||||
for (; it != end; ++it) {
|
||||
if (m_more_than_once.is_marked(*it))
|
||||
continue;
|
||||
r.insert(*it);
|
||||
for (expr* e : m_vars) {
|
||||
if (!m_more_than_once.is_marked(e))
|
||||
r.insert(e);
|
||||
}
|
||||
m_visited.reset();
|
||||
m_more_than_once.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue