mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
log classificaiton
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
25f53c0467
commit
1d12b72bbc
3 changed files with 11 additions and 17 deletions
|
@ -1656,10 +1656,9 @@ namespace qe {
|
|||
return false;
|
||||
}
|
||||
|
||||
unsigned_vector& vec = m_partition.back();;
|
||||
for (unsigned i = 0; i < vec.size(); ++i) {
|
||||
vars.push_back(m_current->free_var(vec[i]));
|
||||
}
|
||||
unsigned_vector& vec = m_partition.back();
|
||||
for (auto v : vec)
|
||||
vars.push_back(m_current->free_var(v));
|
||||
m_partition.pop_back();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -264,21 +264,16 @@ namespace qe {
|
|||
bool is_array_app_of(app* a, unsigned& idx, expr* t, decl_kind k, vector<ptr_vector<expr> >& args) {
|
||||
if (m_ctx.is_var(a, idx)) {
|
||||
contains_app& contains_v = m_ctx.contains(idx);
|
||||
if (args.empty() || contains_v(t)) {
|
||||
if (args.empty() || contains_v(t))
|
||||
return false;
|
||||
}
|
||||
for (unsigned i = 0; i < args.size(); ++i) {
|
||||
for (unsigned j = 0; j < args[i].size(); ++j) {
|
||||
if (contains_v(args[i][j])) {
|
||||
for (auto const& vs : args)
|
||||
for (auto v : vs)
|
||||
if (contains_v(v))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (!is_app_of(a, m_fid, k)) {
|
||||
if (!is_app_of(a, m_fid, k))
|
||||
return false;
|
||||
}
|
||||
args.push_back(ptr_vector<expr>());
|
||||
for (unsigned i = 1; i < a->get_num_args(); ++i) {
|
||||
args.back().push_back(a->get_arg(i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue