Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid model issue on String theory #7223

Open
fwangdo opened this issue May 13, 2024 · 0 comments
Open

Invalid model issue on String theory #7223

fwangdo opened this issue May 13, 2024 · 0 comments

Comments

@fwangdo
Copy link

fwangdo commented May 13, 2024

Greetings,
For this instance, an invalid bug occurred.
We tried to make this instance as small as possible. We sincerely hope that our report will be helpful for the z3 team.

$ ./z3 ./small.smt2 model_validate=true
sat
(error "line 17 column 10: an invalid model was generated")
 
$ cat ./small.smt2
(set-logic ALL)
(declare-fun T1_20 () String)
(declare-fun T1_9 () String)
(declare-fun T2_20 () String)
(declare-fun T2_9 () String)
(declare-fun T_1 () String)
(declare-fun T_2 () String)
(declare-fun T_3 () String)
(declare-fun T_4 () String)
(declare-fun T_5 () String)
(declare-fun T_6 () String)
(declare-fun T_7 () String)
(declare-fun T_9 () String)
(declare-fun T_a () String)
(declare-fun var_0xINPUT_13340 () String)
(assert (= T1_9 (str.replace (str.from_int (str.len (str.substr T_6 (str.len "/search.jsp") (str.indexof "/search.jsp" T_7 6)))) (str.substr T_3 (str.to_int (str.replace (str.from_int 1) T_a (str.substr "&utmcc=" 8 6))) (mod (str.to_int T_2) (str.to_int (str.from_code 7)))) (str.substr T1_9 (str.len (str.substr T1_20 (str.to_int "/search.jsp") (str.to_int "&utmn=1665319367&utmcs=UTF-8&utmsr=1680x976&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Ask%20A%20Word&utmhn=www.askaword.com&utmhid=445703265&utmr=0&utmp="))) 28))))
(check-sat)
(exit)

commit version: efc8932
release version: 4.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant