summaryrefslogtreecommitdiff
path: root/src/theory/uf/kinds
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-09-13 21:08:28 -0500
committerAina Niemetz <aina.niemetz@gmail.com>2017-09-13 19:08:28 -0700
commitdaf1d6bf1176834fa697dd57c6fe28142e715585 (patch)
tree89c385fa7b5b280531b90a70e505d3c34c8a27c3 /src/theory/uf/kinds
parentc4306288347e043091628b63797f9f54b0359a7c (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/kinds3
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback