diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-08-24 21:03:19 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-08-24 21:03:19 +0000 |
commit | 278cdeb360322c7e9ae4b102abd740d101f37c6d (patch) | |
tree | 4c6c79e73b1c9cb60b21c8ffb743c4218f61094f /src/theory/builtin | |
parent | ad18245c092ea6e5b998b556aaec74ef9109bd8c (diff) |
Simplification of the preregister and register throught a NodeVisitor class. The theoryOf is not all in one place, theory::theoryOf. The uninterpreted sorts belong to the builtin theory and are dispatched to the apropriate theory (QF_UF, QF_AX) through theoryOf based on the setting in the Theory class.
Diffstat (limited to 'src/theory/builtin')
-rw-r--r-- | src/theory/builtin/kinds | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/theory/builtin/kinds b/src/theory/builtin/kinds index f5195e256..d170469e0 100644 --- a/src/theory/builtin/kinds +++ b/src/theory/builtin/kinds @@ -228,6 +228,22 @@ sort BUILTIN_OPERATOR_TYPE \ not-well-founded \ "Built in type for built in operators" +# Justified because we can have an unbounded-but-finite number of +# sorts. Assuming we have |Z| is probably ok for now.. +sort KIND_TYPE \ + Cardinality::INTEGERS \ + not-well-founded \ + "Uninterpreted Sort" + +variable SORT_TAG "sort tag" +parameterized SORT_TYPE SORT_TAG 0: "sort type" +# This is really "unknown" cardinality, but maybe this will be good +# enough (for now) ? Once we support quantifiers, maybe reconsider +# this.. +cardinality SORT_TYPE "Cardinality(Cardinality::INTEGERS)" +well-founded SORT_TYPE false + + # A kind representing "inlined" operators defined with OPERATOR # Conceptually, (EQUAL a b) is actually an (APPLY EQUAL a b), but it's # not stored that way. If you ask for the operator of (EQUAL a b), |