-
Notifications
You must be signed in to change notification settings - Fork 257
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
Map created with comprehension shorthand vs full comprehension #336
Comments
RustanLeino
added a commit
to RustanLeino/dafny
that referenced
this issue
Aug 3, 2019
If a general map comprehension has the form `map x | R(x) :: x := T(x)`, then translate it (in the verifier) in the same way as the common `map x | R(x) :: T(x)`. Fixes dafny-lang#336
amaurremi
pushed a commit
to amaurremi/dafny
that referenced
this issue
Aug 7, 2019
If a general map comprehension has the form `map x | R(x) :: x := T(x)`, then translate it (in the verifier) in the same way as the common `map x | R(x) :: T(x)`. Fixes dafny-lang#336
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the following:
Note that the second map comprehension implicitly uses
k
as the key(
k := a[k].0
vsa[k].0
)I get:
@samuelgruetter on Gitter suggests proving it with:
But we believe this should be provable without the
map_ext
hint.The text was updated successfully, but these errors were encountered: