3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 21:50:52 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-26 10:38:13 -07:00
parent ee2e81b696
commit 5da2169a0e
4 changed files with 28 additions and 1 deletions

View file

@ -184,6 +184,12 @@ public:
m_bounds(*g);
if (m_bounds.inconsistent()) {
g->inc_depth();
result.push_back(g.get());
return;
}
for (unsigned i = 0; i < g->size(); i++) {
collect_fd(g->form(i));
}
@ -194,7 +200,7 @@ public:
return;
}
for (unsigned i = 0; i < g->size(); i++) {
for (unsigned i = 0; !g->inconsistent() && i < g->size(); i++) {
expr_ref new_curr(m);
proof_ref new_pr(m);
func_decl_ref var(m);
@ -319,6 +325,7 @@ public:
return false;
}
bool is_bound(expr* f, func_decl_ref& var, unsigned& val) {
return is_lower(f, var, val) || is_upper(f, var, val);
}