From f4abe3db0237e5439db74fcedcf39f731f642d29 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Thu, 2 Sep 2021 03:13:46 -0700 Subject: [PATCH] #5528 --- src/sat/smt/q_mam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sat/smt/q_mam.cpp b/src/sat/smt/q_mam.cpp index bd8859575fc..e5922fd8cb7 100644 --- a/src/sat/smt/q_mam.cpp +++ b/src/sat/smt/q_mam.cpp @@ -3745,7 +3745,7 @@ namespace q { // However, the simplifier may turn a non-ground pattern into a ground one. // So, we should check it again here. for (expr* arg : *mp) - if (is_ground(arg)) + if (is_ground(arg) || has_quantifiers(arg)) return; // ignore multi-pattern containing ground pattern. update_filters(qa, mp); m_new_patterns.push_back(qp_pair(qa, mp));