-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add TimSort rewritten code #932
base: master
Are you sure you want to change the base?
Conversation
Add #[cargo_test]
fn test_timsort() {
test_local_project("verifying_tim_sort");
} |
Is the |
@@ -0,0 +1,57 @@ | |||
extern crate prusti_contracts; | |||
use prusti_contracts::*; |
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.
Please remove this file.
@Omar0Tarek Please fix the errors so that the CI passes. You should be able to run the test locally as follows: ./x.py build --all; ./x.py test timsort P. S. You need to run |
I finished verifying the absence of panics and overflows. When I run Prusti from the IDE, the verification succeeds, but when I run the CI tests locally, they fail producing the following error.
|
I think this is caused by the example being very large and stressing the limits of the verifier. Since the example verifies on CI, it seems to be fine. |
rewriting TimSort implementation code to be ready for verification