mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
purify
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b8a81bcb09
commit
3bfc3437f1
8 changed files with 44 additions and 101 deletions
|
@ -292,9 +292,6 @@ namespace smt {
|
|||
}
|
||||
|
||||
void found_not_handled(expr* n) {
|
||||
if (a.is_div0(n)) {
|
||||
return;
|
||||
}
|
||||
m_not_handled = n;
|
||||
if (is_app(n) && is_underspecified(to_app(n))) {
|
||||
m_underspecified.push_back(to_app(n));
|
||||
|
@ -379,7 +376,12 @@ namespace smt {
|
|||
}
|
||||
else if (is_app(n) && a.get_family_id() == to_app(n)->get_family_id()) {
|
||||
app* t = to_app(n);
|
||||
found_not_handled(n);
|
||||
if (a.is_div(n, n1, n2) && is_numeral(n2, r)) {
|
||||
// skip
|
||||
}
|
||||
else {
|
||||
found_not_handled(n);
|
||||
}
|
||||
internalize_args(t);
|
||||
mk_enode(t);
|
||||
theory_var v = mk_var(n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue