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

Enable let expressions with weakly pure subexpressions #678

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

jcp19
Copy link
Contributor

@jcp19 jcp19 commented Sep 21, 2023

This PR allows us to write assertions such as the following:

let z := y in Q(z)
let z := x in acc(z)

So far, these assertions were rejected because Q(z) and acc(z) are not strongly pure.

Furthermore, I moved the desugaring of strongly pure let expressions from exprD to ghostExprD

@jcp19
Copy link
Contributor Author

jcp19 commented Sep 21, 2023

PS: the tests are passing, but the CI is reporting failures due to non-deterministic factors

@jcp19 jcp19 merged commit 17f510b into master Sep 22, 2023
3 checks passed
@jcp19 jcp19 deleted the joao-generalize-let branch September 22, 2023 14:08
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.

3 participants