summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser/smt1/smt1.cpp1
-rw-r--r--src/theory/logic_info.cpp8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/parser/smt1/smt1.cpp b/src/parser/smt1/smt1.cpp
index c3365eb13..047373436 100644
--- a/src/parser/smt1/smt1.cpp
+++ b/src/parser/smt1/smt1.cpp
@@ -61,6 +61,7 @@ std::unordered_map<std::string, Smt1::Logic> Smt1::newLogicMap() {
logicMap["ALL_SUPPORTED"] = ALL_SUPPORTED;
logicMap["QF_ALL"] = QF_ALL_SUPPORTED;
logicMap["ALL"] = ALL_SUPPORTED;
+ logicMap["HORN"] = ALL_SUPPORTED;
return logicMap;
}
diff --git a/src/theory/logic_info.cpp b/src/theory/logic_info.cpp
index 9fe3b713f..41d74b4a0 100644
--- a/src/theory/logic_info.cpp
+++ b/src/theory/logic_info.cpp
@@ -377,6 +377,14 @@ void LogicInfo::setLogicString(std::string logicString)
enableQuantifiers();
arithNonLinear();
p += 3;
+ }
+ else if (!strcmp(p, "HORN"))
+ {
+ // the HORN logic
+ enableEverything();
+ enableQuantifiers();
+ arithNonLinear();
+ p += 4;
} else {
if(!strncmp(p, "QF_", 3)) {
disableQuantifiers();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback