Adds 3 of the 6 benchmarks from issue 6214, the 1st and 5th benchmarks timeout.
Fixes #6214.
These benchmarks were fixed by
3c98bb2.
regress1/strings/issue6191-replace-all.smt2
regress1/strings/issue6203-1-substr-ctn-strip.smt2
regress1/strings/issue6203-2-re-ccache.smt2
+ regress1/strings/issue6214-2-sym-re-inc.smt2
+ regress1/strings/issue6214-3-sym-re-inc.smt2
+ regress1/strings/issue6214-4-sym-re-inc.smt2
regress1/strings/issue6270.smt2
regress1/strings/issue6271-rnf.smt2
regress1/strings/issue6271-2-rnf.smt2
--- /dev/null
+; COMMAND-LINE: --strings-exp
+; EXPECT: unsat
+(set-logic ALL)
+(declare-fun a () String)
+(declare-fun b () String)
+(assert (str.in_re a (re.range "a" "c")))
+(assert
+ (str.in_re a
+ (re.*
+ (re.union
+ (re.++ (re.union (str.to_re "a") (str.to_re "b")) (str.to_re "a"))
+ (str.to_re (str.from_int (str.len b)))))))
+(check-sat)
--- /dev/null
+; COMMAND-LINE: --strings-exp
+; EXPECT: unsat
+(set-logic ALL)
+(declare-fun a () String)
+(declare-fun b () String)
+(assert
+ (str.in_re
+ (str.++ (ite (str.in_re b (re.* (re.range "a" "u"))) a "") b)
+ (re.++ (re.range "a" "u")
+ (re.diff (str.to_re "")
+ (str.to_re (ite (str.in_re b (re.* (re.range "a" "u"))) "" b))))))
+(assert (str.<= b "a"))
+(check-sat)
--- /dev/null
+; COMMAND-LINE: --strings-exp
+; EXPECT: unsat
+(set-logic ALL)
+(declare-fun a () String)
+(declare-fun b () String)
+(assert
+ (str.in_re
+ (str.++ (ite (str.in_re b (re.* (re.range "a" "u"))) a "") b)
+ (re.++ (re.range "a" "u")
+ (re.diff (str.to_re "")
+ (str.to_re (ite (str.in_re b (re.* (re.range "a" "u"))) "" b))))))
+(assert (str.<= b "a"))
+(check-sat)