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

Havoc scoped variables explicitly #468

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gauravpartha
Copy link
Contributor

This pull request adds explicit havocs to scoped variables. Previously, havocs were omitted, which is sound because Carbon introduces a unique Boogie variable for each scoped variable and thus the implicit havoc for the variable at the beginning of the program is sufficient. The reason for adding explicit havocs is (1) to make the encoding reflect the Viper program structure more closely, and (2) to allow reusing the same Boogie variable for scoped variables that do not overlap.

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.

1 participant