summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-05-27 17:08:05 -0500
committerGitHub <noreply@github.com>2021-05-27 17:08:05 -0500
commit2977399d5b1d1ad6f32893c0241f776ae891fc91 (patch)
tree5d9edb57c60ab8c8a07dab52f18b72dd441d4fdf /src/theory/quantifiers
parent5dafc7d331fdb8efb92863da8e945dba673a463d (diff)
parent631032b15327c28c44b51490dceb434a38f3419a (diff)
Merge branch 'master' into indexof_reindexof_re
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r--src/theory/quantifiers/bv_inverter.cpp1
-rw-r--r--src/theory/quantifiers/cegqi/ceg_instantiator.cpp3
-rw-r--r--src/theory/quantifiers/cegqi/vts_term_cache.cpp1
-rw-r--r--src/theory/quantifiers/ematching/pattern_term_selector.cpp1
-rw-r--r--src/theory/quantifiers/sygus/sygus_grammar_cons.cpp4
-rw-r--r--src/theory/quantifiers/sygus/sygus_unif_rl.h5
-rw-r--r--src/theory/quantifiers/term_util.cpp4
7 files changed, 14 insertions, 5 deletions
diff --git a/src/theory/quantifiers/bv_inverter.cpp b/src/theory/quantifiers/bv_inverter.cpp
index fd204fffd..cfcc5f5a1 100644
--- a/src/theory/quantifiers/bv_inverter.cpp
+++ b/src/theory/quantifiers/bv_inverter.cpp
@@ -23,6 +23,7 @@
#include "theory/quantifiers/bv_inverter_utils.h"
#include "theory/quantifiers/term_util.h"
#include "theory/rewriter.h"
+#include "util/bitvector.h"
using namespace cvc5::kind;
diff --git a/src/theory/quantifiers/cegqi/ceg_instantiator.cpp b/src/theory/quantifiers/cegqi/ceg_instantiator.cpp
index 0d85b8946..88da629a0 100644
--- a/src/theory/quantifiers/cegqi/ceg_instantiator.cpp
+++ b/src/theory/quantifiers/cegqi/ceg_instantiator.cpp
@@ -1088,7 +1088,8 @@ bool CegInstantiator::doAddInstantiation(std::vector<Node>& vars,
bool CegInstantiator::isEligibleForInstantiation(Node n) const
{
- if (n.getKind() != INST_CONSTANT && n.getKind() != SKOLEM)
+ Kind nk = n.getKind();
+ if (nk != INST_CONSTANT && nk != SKOLEM && nk != BOOLEAN_TERM_VARIABLE)
{
return true;
}
diff --git a/src/theory/quantifiers/cegqi/vts_term_cache.cpp b/src/theory/quantifiers/cegqi/vts_term_cache.cpp
index ca4abf497..fe47f1dd1 100644
--- a/src/theory/quantifiers/cegqi/vts_term_cache.cpp
+++ b/src/theory/quantifiers/cegqi/vts_term_cache.cpp
@@ -20,6 +20,7 @@
#include "theory/arith/arith_msum.h"
#include "theory/quantifiers/quantifiers_inference_manager.h"
#include "theory/rewriter.h"
+#include "util/rational.h"
using namespace cvc5::kind;
diff --git a/src/theory/quantifiers/ematching/pattern_term_selector.cpp b/src/theory/quantifiers/ematching/pattern_term_selector.cpp
index d5af43242..83234d115 100644
--- a/src/theory/quantifiers/ematching/pattern_term_selector.cpp
+++ b/src/theory/quantifiers/ematching/pattern_term_selector.cpp
@@ -20,6 +20,7 @@
#include "theory/quantifiers/quant_util.h"
#include "theory/quantifiers/term_util.h"
#include "theory/rewriter.h"
+#include "util/rational.h"
using namespace cvc5::kind;
diff --git a/src/theory/quantifiers/sygus/sygus_grammar_cons.cpp b/src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
index 7ee22dc5b..7072b77e1 100644
--- a/src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
+++ b/src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
@@ -18,6 +18,7 @@
#include <sstream>
#include <stack>
+#include "expr/ascription_type.h"
#include "expr/dtype_cons.h"
#include "options/quantifiers_options.h"
#include "theory/bv/theory_bv_utils.h"
@@ -30,6 +31,7 @@
#include "theory/quantifiers/term_util.h"
#include "theory/rewriter.h"
#include "theory/strings/word.h"
+#include "util/floatingpoint.h"
using namespace cvc5::kind;
@@ -866,7 +868,7 @@ void CegGrammarConstructor::mkSygusDefaultGrammar(
}
// ternary ops with RM
std::vector<Kind> ternary_rm_kinds = {
- FLOATINGPOINT_PLUS,
+ FLOATINGPOINT_ADD,
FLOATINGPOINT_SUB,
FLOATINGPOINT_MULT,
FLOATINGPOINT_DIV,
diff --git a/src/theory/quantifiers/sygus/sygus_unif_rl.h b/src/theory/quantifiers/sygus/sygus_unif_rl.h
index a5c7af161..28506d0bd 100644
--- a/src/theory/quantifiers/sygus/sygus_unif_rl.h
+++ b/src/theory/quantifiers/sygus/sygus_unif_rl.h
@@ -19,10 +19,11 @@
#define CVC5__THEORY__QUANTIFIERS__SYGUS_UNIF_RL_H
#include <map>
-#include "options/main_options.h"
-#include "theory/quantifiers/sygus/sygus_unif.h"
+#include "options/main_options.h"
#include "theory/quantifiers/lazy_trie.h"
+#include "theory/quantifiers/sygus/sygus_unif.h"
+#include "util/bool.h"
namespace cvc5 {
namespace theory {
diff --git a/src/theory/quantifiers/term_util.cpp b/src/theory/quantifiers/term_util.cpp
index 0c9cb91d7..746cc7f11 100644
--- a/src/theory/quantifiers/term_util.cpp
+++ b/src/theory/quantifiers/term_util.cpp
@@ -20,8 +20,10 @@
#include "theory/bv/theory_bv_utils.h"
#include "theory/quantifiers/term_database.h"
#include "theory/quantifiers/term_enumeration.h"
-#include "theory/strings/word.h"
#include "theory/rewriter.h"
+#include "theory/strings/word.h"
+#include "util/bitvector.h"
+#include "util/rational.h"
using namespace cvc5::kind;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback