summaryrefslogtreecommitdiff
path: root/src/theory/strings/kinds
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2013-10-01 20:03:30 -0500
committerTianyi Liang <tianyi-liang@uiowa.edu>2013-10-01 20:05:18 -0500
commit5b8a3fe89cd4b10f7bdc69dd5b1a66ebcbb823db (patch)
tree91ea1f996e13b68be25ac0b9cdad0cabdea9a342 /src/theory/strings/kinds
parent3c2fc39e3b8b53466705bfd82818c442f6eb22e5 (diff)
adds partial function substr. the use of this function should be guarded, especially for disequalities
Diffstat (limited to 'src/theory/strings/kinds')
-rw-r--r--src/theory/strings/kinds3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/strings/kinds b/src/theory/strings/kinds
index 814276a7c..fe7b9b3d9 100644
--- a/src/theory/strings/kinds
+++ b/src/theory/strings/kinds
@@ -16,6 +16,8 @@ operator STRING_IN_REGEXP 2 "membership"
operator STRING_LENGTH 1 "string length"
+operator STRING_SUBSTR 3 "string substr"
+
#sort CHAR_TYPE \
# Cardinality::INTEGERS \
# well-founded \
@@ -99,6 +101,7 @@ 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_IN_REGEXP ::CVC4::theory::strings::StringInRegExpTypeRule
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback