-
Notifications
You must be signed in to change notification settings - Fork 285
Fix #1461 Add a reflexivity axiom for $HeapSucc #6260
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
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM!
Head branch was pushed to by a user without write access
|
@robin-aws Could reapprove the workflows please? Some tests failed |
|
Gladly, but I see a unit test failure you still need to fix too first: https://github.com/dafny-lang/dafny/actions/runs/15448207454/job/43492837619 |
I think we're good to go. I still have a few tests that fail locally, but they seem unrelated to me. So I think the CI can run and will see. I'm also trying to fix my setup to that these tests pass locally, that'd help for the future. |
|
I fixed the amount of resource in the expected output for SchorrWaite.dfy. I don't know yet why they are failing given what changed. I'll investigate. For which seems weird as why the axiom can change this. Maybe the new axiom changes the context which changes what counterexample is found. The one we get now seems correct so I updated the expected output. |
|
And the other test which is failing starts with and now it does not verify anymore. As this seems to be desirable, I'm moving the test + changing the expected output. This is open for discussion, but the diffs in the PR will help in that regard |
…ed not verifying, as wished
|
Do you have a reason for putting the new test into |
No, I didn't the git-issues folder when I created this test. Let me move that to |
|
The failing test The SchorrWaite test is fixed too (EDIT: I didn't realize that there were 2 expected output files for this one, hence my confusion about the resource usage). |
|
Could someone authorize the workflows? Now, only the std library should fail, I'm working on it! |
|
After adding a weight annotation to EDIT: so |
|
I think that's more manageable than what you got @fabiomadge on the previous version. The differences seem attributable to noise here, or actually better with the new axiom. WDYT? |
What was changed?
Add a new axiom for the reflexivity of
$HeapSuccin the prelude, fixing #1461.How has this been tested?
A new test in
IntegrationTests/TestFiles/LitTests/LitTest/dafny4/git-issue1461.dfy.By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.