summaryrefslogtreecommitdiff
path: root/src/parser/smt2
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2015-11-03 04:47:30 -0500
committerKshitij Bansal <kshitij@cs.nyu.edu>2016-04-09 14:35:28 -0400
commit2039eab2d76cf5f4cfe44680f5325f44a4fc5a99 (patch)
tree05ac95009f3aa77a2fa7d41501aa1179d5b73b66 /src/parser/smt2
parent67623ee1e6d62b36cb598c28ad9b871b6957a9dd (diff)
cardinality operation for finite sets (based on my thesis / ijcar16 paper)
Some further cleanup/fixes pending This is squash of 39 commits (kbansal/card branch + cleanup): * add card operator * local reasoning * towards graph building * first implementation * close cardinality terms * model building * more * more * more * Add aggressive sets rewriting. * Recursively aggressive rewrite sets. * Fix * incomplete card2 implementation * ... * Avoid using auto in sets. * fix merge * more * ... * more * ... * Fixed for loops * Slight modification to computeRelevantTerms * more * .. * more * ... * mv empty set lemma generation to later point * more options/reordering * debug related * more trace * ... * fix merge_nodes, models * rm warnigns * fix compile errors * warning * bug fixes/cleanup * mroe fixes * cleanup * ...
Diffstat (limited to 'src/parser/smt2')
-rw-r--r--src/parser/smt2/smt2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/smt2/smt2.cpp b/src/parser/smt2/smt2.cpp
index 55fb4f60d..ebad90583 100644
--- a/src/parser/smt2/smt2.cpp
+++ b/src/parser/smt2/smt2.cpp
@@ -226,6 +226,7 @@ void Smt2::addTheory(Theory theory) {
addOperator(kind::MEMBER, "member");
addOperator(kind::SINGLETON, "singleton");
addOperator(kind::INSERT, "insert");
+ addOperator(kind::CARD, "card");
break;
case THEORY_DATATYPES:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback