summaryrefslogtreecommitdiff
path: root/src/theory/arith/kinds
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-11-08 21:25:27 +0000
committerTim King <taking@cs.nyu.edu>2012-11-08 21:25:27 +0000
commitb3470b5e0b7a664443b9f835db5dd86fb1487866 (patch)
treecbfe76629fc1de740b552e574a058906eb4f2321 /src/theory/arith/kinds
parent2d422bab11e46f056bfafa85b0d49282fec289d8 (diff)
Improved support for division by zero. This adds the *_TOTAL kinds and uninterpreted functions for division by 0.
Diffstat (limited to 'src/theory/arith/kinds')
-rw-r--r--src/theory/arith/kinds13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/theory/arith/kinds b/src/theory/arith/kinds
index a724124bd..0be7d31a5 100644
--- a/src/theory/arith/kinds
+++ b/src/theory/arith/kinds
@@ -18,9 +18,12 @@ operator PLUS 2: "arithmetic addition"
operator MULT 2: "arithmetic multiplication"
operator MINUS 2 "arithmetic binary subtraction operator"
operator UMINUS 1 "arithmetic unary negation"
-operator DIVISION 2 "real division"
-operator INTS_DIVISION 2 "ints division"
-operator INTS_MODULUS 2 "ints modulus"
+operator DIVISION 2 "real division (user symbol)"
+operator DIVISION_TOTAL 2 "real division with interpreted division by 0 (internal symbol)"
+operator INTS_DIVISION 2 "ints division (user symbol)"
+operator INTS_DIVISION_TOTAL 2 "ints division with interpreted division by 0 (internal symbol)"
+operator INTS_MODULUS 2 "ints modulus (user symbol)"
+operator INTS_MODULUS_TOTAL 2 "ints modulus with interpreted division by 0 (internal symbol)"
operator POW 2 "arithmetic power"
sort REAL_TYPE \
@@ -87,4 +90,8 @@ typerule GEQ ::CVC4::theory::arith::ArithPredicateTypeRule
typerule INTS_DIVISION ::CVC4::theory::arith::ArithOperatorTypeRule
typerule INTS_MODULUS ::CVC4::theory::arith::ArithOperatorTypeRule
+typerule DIVISION_TOTAL ::CVC4::theory::arith::ArithOperatorTypeRule
+typerule INTS_DIVISION_TOTAL ::CVC4::theory::arith::ArithOperatorTypeRule
+typerule INTS_MODULUS_TOTAL ::CVC4::theory::arith::ArithOperatorTypeRule
+
endtheory
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback