carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Havoc scoped variables explicitly

Open gauravpartha opened this issue 2 years ago • 0 comments

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.

gauravpartha avatar Sep 15 '23 08:09 gauravpartha