mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
handle variables and quantifiers, fixes issue #150
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
eeef4d29d6
commit
3fd5d0eaba
|
@ -112,6 +112,12 @@ public:
|
|||
expr* n1, *n2;
|
||||
while (is_forall(n)) n = to_quantifier(n)->get_expr();
|
||||
if (m.is_implies(n, n1, n2) && is_predicate(n2)) {
|
||||
if (is_var(n1)) {
|
||||
return true;
|
||||
}
|
||||
if (is_quantifier(n1)) {
|
||||
return false;
|
||||
}
|
||||
app* a1 = to_app(n1);
|
||||
if (m.is_and(a1)) {
|
||||
for (unsigned i = 0; i < a1->get_num_args(); ++i) {
|
||||
|
|
Loading…
Reference in a new issue