summaryrefslogtreecommitdiff
path: root/src/theory/logic_info.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-11-03 21:18:01 -0500
committerGitHub <noreply@github.com>2017-11-03 21:18:01 -0500
commit2ef8fe2eefaecdb62653d36c88169fe906512b9d (patch)
tree09e1c088ba3f9e9f99a4238dd1a3528b131a9c59 /src/theory/logic_info.cpp
parentf70af84aa6ad1511963e6cec97c6096fdcc1b37d (diff)
Suppport SAT logic (#1310)
* Support SAT logic. * Add lustre example. * Add to smt1 as well. * Fix. * Fix. * Fix for new option.
Diffstat (limited to 'src/theory/logic_info.cpp')
-rw-r--r--src/theory/logic_info.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/logic_info.cpp b/src/theory/logic_info.cpp
index ad3a010c0..335a87501 100644
--- a/src/theory/logic_info.cpp
+++ b/src/theory/logic_info.cpp
@@ -336,6 +336,10 @@ void LogicInfo::setLogicString(std::string logicString) throw(IllegalArgumentExc
} else if(!strcmp(p, "QF_SAT")) {
// propositional logic only; we're done.
p += 6;
+ } else if(!strcmp(p, "SAT")) {
+ // quantified Boolean formulas only; we're done.
+ enableQuantifiers();
+ p += 3;
} else if(!strcmp(p, "QF_ALL_SUPPORTED")) {
// the "all theories included" logic, no quantifiers
enableEverything();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback