summaryrefslogtreecommitdiff
path: root/src/theory/strings/kinds
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-10-15 15:57:03 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-10-15 15:57:03 +0200
commit614080814375998f494adc839484f455b31a5f43 (patch)
treecbbb71338e2bc4372862124d97cc7a9a5bac8726 /src/theory/strings/kinds
parentf4420f2a1f82ee4a2f86d6d4318286d21520e280 (diff)
Change semantics of str.substr to allow endpoint out of bounds, and return empty string for error conditions. Improve rewriter for str.substr.
Diffstat (limited to 'src/theory/strings/kinds')
-rw-r--r--src/theory/strings/kinds6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/theory/strings/kinds b/src/theory/strings/kinds
index 0f68d1207..3cdff9cba 100644
--- a/src/theory/strings/kinds
+++ b/src/theory/strings/kinds
@@ -15,9 +15,8 @@ typechecker "theory/strings/theory_strings_type_rules.h"
operator STRING_CONCAT 2: "string concat (N-ary)"
operator STRING_IN_REGEXP 2 "membership"
operator STRING_LENGTH 1 "string length"
-operator STRING_SUBSTR 3 "string substr (user symbol)"
-operator STRING_SUBSTR_TOTAL 3 "string substr (internal symbol)"
-operator STRING_CHARAT 2 "string charat (user symbol)"
+operator STRING_SUBSTR 3 "string substr"
+operator STRING_CHARAT 2 "string charat"
operator STRING_STRCTN 2 "string contains"
operator STRING_STRIDOF 3 "string indexof"
operator STRING_STRREPL 3 "string replace"
@@ -107,7 +106,6 @@ typerule STRING_TO_REGEXP ::CVC4::theory::strings::StringToRegExpTypeRule
typerule STRING_CONCAT ::CVC4::theory::strings::StringConcatTypeRule
typerule STRING_LENGTH ::CVC4::theory::strings::StringLengthTypeRule
typerule STRING_SUBSTR ::CVC4::theory::strings::StringSubstrTypeRule
-typerule STRING_SUBSTR_TOTAL ::CVC4::theory::strings::StringSubstrTypeRule
typerule STRING_CHARAT ::CVC4::theory::strings::StringCharAtTypeRule
typerule STRING_STRCTN ::CVC4::theory::strings::StringContainTypeRule
typerule STRING_STRIDOF ::CVC4::theory::strings::StringIndexOfTypeRule
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback