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

ChooseEncoder doesn't transform all the trees #167

Open
jad-hamza opened this issue Oct 1, 2021 · 0 comments
Open

ChooseEncoder doesn't transform all the trees #167

jad-hamza opened this issue Oct 1, 2021 · 0 comments

Comments

@jad-hamza
Copy link
Contributor

jad-hamza commented Oct 1, 2021

While copying ChooseEncoder to Stainless, I noticed that it doesn't traverse all the trees (for instance bound expressions in lets), so I've added a transformer to make sure that we traverse everything. We could port this change back to Inox:
https://github.com/epfl-lara/inox/blob/e74baa7fdb9a941f4e4ce8e880b96a32a96c8b59/src/main/scala/inox/solvers/unrolling/ChooseEncoder.scala
https://github.com/epfl-lara/stainless/blob/729aa8b1666f101f82d918f6caeccd18115ec7f8/core/src/main/scala/stainless/extraction/inlining/ChooseEncoder.scala

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