(set-info :smt-lib-version 2.6) (set-logic ALL) (set-info :status sat) (set-option :strings-exp true) (set-option :strings-fmf true) (declare-fun x () String) (declare-fun y () String) (declare-fun z () String) (declare-fun w () String) (assert (= (str.len (str.replace_all x y z)) (+ (str.len (str.replace_all x y w)) 3))) (check-sat)