summaryrefslogtreecommitdiff
path: root/src/theory/logic_info.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-05-02 21:27:53 -0500
committerGitHub <noreply@github.com>2018-05-02 21:27:53 -0500
commit5ed0a1b8dd73e339189df1556fa4bdbf95767245 (patch)
tree1b2801bafa942e717b7811f3d31f713fbde1f0bf /src/theory/logic_info.cpp
parent716ce9168d846ea991f8404a78aeb1ccccfbce14 (diff)
Support HORN logic string (#1849)
Diffstat (limited to 'src/theory/logic_info.cpp')
-rw-r--r--src/theory/logic_info.cpp8
1 files changed, 8 insertions, 0 deletions
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