-
Notifications
You must be signed in to change notification settings - Fork 5
Cake thunks #78
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
Merged
Merged
Cake thunks #78
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… proof remains cheated in `state_to_cakeProof`
…hrough singleton env
Proofs updated except thunk_unthunk, thunk_Let_Delay_Var, and thunk_Delay_Lam.
… that
`Force` cannot return a thunk:
- Proofs regarding `thunkLang` were modified to work with the changes.
- A new delayed top-level semantics was added for `thunkLang` to allow
the `thunk_unthunk` proof to work, and an `undelay_next` proof was
added that converts between these semantics and the normal top-level
semantics.
- Wrapping of monads with `Ret`s was transferred from
`pure_to_thunk_1` to `thunk_unthunk`.
- In `pure_to_thunk_2`, the `thunk_unthunk` step now comes right after
`pure_to_thunk_1` and the `undelay` step sits between `thunk_unthunk`
and the rest of the steps.
- A new check that `Cons`' arguments are delayed was added in the
semantics.
Proofs up to and including `pure_to_thunk2` complete without cheats.
There are still cheats in `thunk_Let_Delay_VarScript` and
`thunk_Delay_LamScript` whose proofs are trickier.
…e of `mk_rec_env`
Resolved conflicts
Need to check that `pure_lexer_impl` change is correct. `pure_demands_analysisProof` fails due to changes in HOL and needs fixing. HOL commit 48a676cadda70ad7fc2f6c7b17ecd434f84db113. Cake commit 270490bcc6fcf81c10361fdc2cd750058f84df46.
cake. `pure_demands_analysisProof` needs fix. HOL commit 48a676cadda70ad7fc2f6c7b17ecd434f84db113 cake commit 2ef8c9fe897bd690a4c42e65b4c19b3bd461e58a
`state_to_cakeProof`. Updated state proofs. `state_unthunkProof` is cheated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.