Debian Codegraph @

test/regress/cli/regress1/strings/replaceall-len.smt2

raw
1 (set-info :smt-lib-version 2.6)
2 (set-logic ALL)
3 (set-info :status sat)
4
5 (set-option :strings-fmf true)
6 (set-option :produce-models true)
7 (declare-fun x () String)
8 (assert (= (str.len (str.replace_all x "B" "CC")) (+ (str.len x) 2)))
9 (assert (> (str.len x) 2))
10 (check-sat)