mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
parent
7255a2afd1
commit
e5aa02b8f5
|
@ -63,7 +63,7 @@ struct pull_quant::imp {
|
|||
|
||||
for (unsigned i = 0; i < num_children; i++) {
|
||||
expr * child = children[i];
|
||||
if (is_quantifier(child)) {
|
||||
if (is_quantifier(child) && !is_lambda(child)) {
|
||||
|
||||
if (!found_quantifier && (is_forall(child) || is_exists(child))) {
|
||||
found_quantifier = true;
|
||||
|
@ -184,11 +184,11 @@ struct pull_quant::imp {
|
|||
// Remark: patterns are ignored.
|
||||
// See comment in reduce1_app
|
||||
result = m.mk_forall(var_sorts.size(),
|
||||
var_sorts.data(),
|
||||
var_names.data(),
|
||||
nested_q->get_expr(),
|
||||
std::min(q->get_weight(), nested_q->get_weight()),
|
||||
q->get_qid());
|
||||
var_sorts.data(),
|
||||
var_names.data(),
|
||||
nested_q->get_expr(),
|
||||
std::min(q->get_weight(), nested_q->get_weight()),
|
||||
m.is_lambda_def(q) ? symbol("pulled-lambda") : q->get_qid());
|
||||
}
|
||||
|
||||
void pull_quant1(quantifier * q, expr * new_expr, expr_ref & result) {
|
||||
|
|
Loading…
Reference in a new issue