diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-09-13 21:08:28 -0500 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2017-09-13 19:08:28 -0700 |
commit | daf1d6bf1176834fa697dd57c6fe28142e715585 (patch) | |
tree | 89c385fa7b5b280531b90a70e505d3c34c8a27c3 /src/theory/uf/kinds | |
parent | c4306288347e043091628b63797f9f54b0359a7c (diff) |
Add new kinds required for higher-order. (#1083)
This consists of a binary apply symbol HO_APPLY that returns the result of applying its first argument to its second argument. Update the UF rewriter to ensure that non-standard APPLY_UF applications are rewritten into curried applications of HO_APPLY.
Diffstat (limited to 'src/theory/uf/kinds')
-rw-r--r-- | src/theory/uf/kinds | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/uf/kinds b/src/theory/uf/kinds index e2d740e20..500295a0c 100644 --- a/src/theory/uf/kinds +++ b/src/theory/uf/kinds @@ -29,4 +29,7 @@ typerule PARTIAL_APPLY_UF ::CVC4::theory::uf::PartialTypeRule operator CARDINALITY_VALUE 1 "cardinality value of sort S: first parameter is (any) term of sort S" typerule CARDINALITY_VALUE ::CVC4::theory::uf::CardinalityValueTypeRule +operator HO_APPLY 2 "higher-order (partial) function application" +typerule HO_APPLY ::CVC4::theory::uf::HoApplyTypeRule + endtheory |