You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(declare-fun a () String)
(declare-fun b () Int)
(assert (= b (+ (str.indexof a "x" 0) 1)))
(assert (str.contains (str.substr a b (* (str.len a) b)) "y"))
(assert (str.contains (str.replace (str.substr a 0 1) "x" "") "z"))
(assert (str.contains a "x"))
(check-sat)
Consider the following formula.
Z3 gives the following on it.
OS: Ubuntu 18.04
Revision:41a4dcf
The text was updated successfully, but these errors were encountered: