-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Heapster] Reduce catchpoints and add more Mbox proofs #1413
Conversation
… fail are pruned in favor of branches that are guaranteed not to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Coq proofs look good! The Haskell code is my own, though, so I'm waiting for someone else (possibly @m-yac himself, who authored this PR) to review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me. I did comment one readability nitpick, but if you don't care I'd be happy to merge this as-is.
mbCombine RL.typeCtxProxies mb_impl1) >>= \trans_pair1 -> | ||
pitmCatching (translatePermImpl prx $ | ||
mbCombine RL.typeCtxProxies mb_impl2) >>= \trans_pair2 -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use a pattern matching lambda here (i.e. ... >>= \(mtrans1,hasf1) ->
) like you do below (lies 3150 and 3152)?
The CI tests all passed before the latest commit, which was just a small tweak and also I tested thoroughly on my local machine, so I am squashing without waiting for the CI. May I be struck down by your angry words if I break the build. |
This PR has two parts:
mbox_drop
,mbox_concat_chains
, andmbox_len
.NB: The changes to
arrays.v
,clearbufs,v
,iter_linked_list.v
,mbox.v
,rust_lifetimes.v
, andstring_set.v
are all auto-generated. In a future PR, these auto-generated files are going to be added to the.gitignore
.