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

Fix fuel issue for mutually recursive functions in the interpreter #9

Open
sonmarcho opened this issue Aug 19, 2022 · 0 comments
Open

Comments

@sonmarcho
Copy link
Contributor

In the current encoding of the proof obligations sent to Boogie, unfolding any function in a group of mutually recursive function consumes fuel. Because this lead to difficulties when doing the proofs, we inlined all the definitions like InterpBlock, InterpBind, etc. in the InterpExpr function, so that in the Block, Bind, etc. cases we don't need to consume two units of fuel (one for InterpExpr, then one for InterpBlock, ...) to reveal what the interpreter actually does. As a consequence, the InterpExpr function has become big: this should be fixed.

@sonmarcho sonmarcho changed the title Fix fuel issue for mutually recursive functions Fix fuel issue for mutually recursive functions in the interpreter Aug 19, 2022
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