-
Notifications
You must be signed in to change notification settings - Fork 63
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 Array Prover Redux #1617
Conversation
abakst
commented
Mar 16, 2022
- Reimplementation of Array prover logic in Heapster
- Adds test framework for Heapster implication prover plus Array testcases
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.
There were a lot of comments, so I'd like to wait until those get fixed before approving
@@ -1912,7 +1925,11 @@ simplImplIn (SImpl_LLVMArrayReturn x ap ret_ap) = | |||
distPerms2 x (ValPerm_Conj [Perm_LLVMArray ret_ap]) | |||
x (ValPerm_Conj [Perm_LLVMArray ap]) | |||
else | |||
error "simplImplIn: SImpl_LLVMArrayReturn: array not being borrowed or not a sub-array" | |||
error ("simplImplIn: SImpl_LLVMArrayReturn: array not being borrowed or not a sub-array:\n" ++ | |||
renderDoc ( |
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.
Small nitpick, but maybe put the entire renderDoc
call on one line?
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.
Actually I had only added this for my own debugging and missed it when I initially reviewed the diffs. @eddywestbrook do you think it's useful to leave in, given that it has to use emptyPPInfo
?
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.
You're right, you should just take it out
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.
Looks good, thanks Alex!