summaryrefslogtreecommitdiff
path: root/src/theory/strings/kinds
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2014-02-18 10:48:04 -0600
committerTianyi Liang <tianyi-liang@uiowa.edu>2014-02-18 10:48:04 -0600
commita51d41f2a267df30c7ef24de5b753ce73e0ac479 (patch)
tree3bbf0450eb196604b9d1210dcef17c262d70aa87 /src/theory/strings/kinds
parent84da041c64ef16b95f3028183e1a5a2c994d98ec (diff)
switch to total function str.to.int: maps invalid and non-digit strings to 0
Diffstat (limited to 'src/theory/strings/kinds')
-rw-r--r--src/theory/strings/kinds4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/theory/strings/kinds b/src/theory/strings/kinds
index 09f536b15..7fbefe251 100644
--- a/src/theory/strings/kinds
+++ b/src/theory/strings/kinds
@@ -22,8 +22,7 @@ operator STRING_STRREPL 3 "string replace"
operator STRING_PREFIX 2 "string prefixof"
operator STRING_SUFFIX 2 "string suffixof"
operator STRING_ITOS 1 "integer to string"
-operator STRING_STOI 1 "string to integer (user symbol)"
-operator STRING_STOI_TOTAL 1 "string to integer (internal symbol)"
+operator STRING_STOI 1 "string to integer (total function)"
#sort CHAR_TYPE \
# Cardinality::INTEGERS \
@@ -120,7 +119,6 @@ typerule STRING_PREFIX ::CVC4::theory::strings::StringPrefixOfTypeRule
typerule STRING_SUFFIX ::CVC4::theory::strings::StringSuffixOfTypeRule
typerule STRING_ITOS ::CVC4::theory::strings::StringIntToStrTypeRule
typerule STRING_STOI ::CVC4::theory::strings::StringStrToIntTypeRule
-typerule STRING_STOI_TOTAL ::CVC4::theory::strings::StringStrToIntTypeRule
typerule STRING_IN_REGEXP ::CVC4::theory::strings::StringInRegExpTypeRule
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback