Debian Codegraph @

test/regress/cli/regress1/strings/issue8970-strip-sym-len.smt2

raw
1 ; EXPECT: sat
2 (set-logic QF_SLIA)
3 (declare-fun t () String)
4 (assert (str.prefixof "-" (str.substr t 0 1)))
5 (assert (> (str.len (str.substr t 0 2)) 1))
6 (assert (= "-0" (str.update "-0" 0 t)))
7 (assert (str.suffixof (str.replace t "-0" "-") "-"))
8 (check-sat)