diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-08-24 23:23:34 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-08-24 23:23:34 +0000 |
commit | 80afd586eb0865efcc38aa14833d682f1b7cc27f (patch) | |
tree | aac37b28e0330bf3b72083e979ae94ee71918771 /src/theory/builtin | |
parent | 3619c784bd5dd4b91ab0a2ad429ea145636d3424 (diff) |
* disallow internal uses of mkVar() (you have to mkSkolem())
* add support for mkBoundVar() (BOUND_VAR_LISTs in quantifiers must be bound vars)
Diffstat (limited to 'src/theory/builtin')
-rw-r--r-- | src/theory/builtin/kinds | 3 | ||||
-rw-r--r-- | src/theory/builtin/theory_builtin_type_rules.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/builtin/kinds b/src/theory/builtin/kinds index 285eb651f..48fe4d84a 100644 --- a/src/theory/builtin/kinds +++ b/src/theory/builtin/kinds @@ -293,8 +293,9 @@ parameterized APPLY FUNCTION 0: "defined function application" operator EQUAL 2 "equality" operator DISTINCT 2: "disequality" -variable SKOLEM "skolem var" variable VARIABLE "variable" +variable BOUND_VARIABLE "bound variable" +variable SKOLEM "skolem var" operator TUPLE 1: "a tuple" constant TYPE_CONSTANT \ diff --git a/src/theory/builtin/theory_builtin_type_rules.h b/src/theory/builtin/theory_builtin_type_rules.h index ef7078624..68d9e8702 100644 --- a/src/theory/builtin/theory_builtin_type_rules.h +++ b/src/theory/builtin/theory_builtin_type_rules.h @@ -152,7 +152,7 @@ public: } inline static Node mkGroundTerm(TypeNode type) { Assert(type.getKind() == kind::SORT_TYPE); - return NodeManager::currentNM()->mkVar( type ); + return NodeManager::currentNM()->mkSkolem( type ); } };/* class SortProperties */ |