Debian Codegraph @

test/regress/cli/regress1/strings/issue4701_substr_splice.smt2

raw
1 (set-logic QF_SLIA)
2 (set-info :status sat)
3
4 (declare-fun a () String)
5 (declare-fun b () String)
6 (declare-fun c () String)
7 (declare-fun e () String)
8 (assert (= e (str.++ b (str.substr a 0 1))))
9 (assert (= a (str.substr c 0 (str.len e))))
10 (assert (= "a" b))
11 (assert (= (str.++ b a) (str.replace c e a)))
12 (check-sat)