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

Z3str3: fix empty-string contradictions #2538

Merged
merged 5 commits into from
Sep 7, 2019

Conversation

mtrberzi
Copy link
Collaborator

@mtrberzi mtrberzi commented Sep 5, 2019

Fixes #2301. Addresses cases where making the second argument to str.indexof the empty string (whether the literal or indirectly through a variable) caused contradictions and incorrect UNSAT answers.

@mtrberzi
Copy link
Collaborator Author

mtrberzi commented Sep 6, 2019

Great, build is passing now, ready for review.

@NikolajBjorner NikolajBjorner merged commit 18ba14c into Z3Prover:master Sep 7, 2019
@mtrberzi mtrberzi deleted the issue2301 branch October 25, 2019 18:08
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

Successfully merging this pull request may close these issues.

Z3str3 unsat answer for sat formula with indexOf
2 participants