diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2013-09-09 14:47:53 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-02-21 07:25:13 -0500 |
commit | 50c26544c83a71e87efa487e4af063b1b5647c0f (patch) | |
tree | 82d4f3b2632a2cf06aff70550f37f80dc80d9543 /src/options | |
parent | 53b8499f48a00dc876d56c76fbc79aafe5803529 (diff) |
add new theory (sets)
Specification (smt2) -- as per this commit, subject to change
- Parameterized sort Set, e.g. (Set Int)
- Empty set constant (typed), use with "as" to specify the type, e.g.
(as emptyset (Set Int))
- Create a singleton set
(setenum X (Set X)) : creates singleton set
- Functions/operators
(union (Set X) (Set X) (Set X))
(intersection (Set X) (Set X) (Set X))
(setminus (Set X) (Set X) (Set X))
- Predicates
(in X (Set X) Bool) : membership
(subseteq (Set X) (Set X) Bool) : set containment
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/options/Makefile.am b/src/options/Makefile.am index 5b0894680..8780922c9 100644 --- a/src/options/Makefile.am +++ b/src/options/Makefile.am @@ -40,7 +40,9 @@ OPTIONS_FILES_SRCS = \ ../parser/options.cpp \ ../parser/options.h \ ../theory/idl/options.cpp \ - ../theory/idl/options.h + ../theory/idl/options.h \ + ../theory/sets/options.cpp \ + ../theory/sets/options.h OPTIONS_FILES = \ $(patsubst %.cpp,%,$(filter %.cpp,$(OPTIONS_FILES_SRCS))) @@ -101,7 +103,9 @@ nodist_liboptions_la_SOURCES = \ ../parser/options.cpp \ ../parser/options.h \ ../theory/idl/options.cpp \ - ../theory/idl/options.h + ../theory/idl/options.h \ + ../theory/sets/options.cpp \ + ../theory/sets/options.h BUILT_SOURCES = \ exprs-builts \ |