Skip to content
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

Improve reasoning for linked lists #848

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Conversation

michaelmcinerney
Copy link
Contributor

Please see the commit message

@michaelmcinerney michaelmcinerney added the MCS related to `rt` branch and mixed-criticality systems label Jan 29, 2025
@michaelmcinerney michaelmcinerney self-assigned this Jan 29, 2025
@michaelmcinerney
Copy link
Contributor Author

There's a typo in the commit message: it should say "the various functions which manipulate the linked list pointers"

Copy link
Member

@lsf37 lsf37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! And I like the find_goal uses. It's more to type, but should be less brittle and no longer dependent on goal ordering.

Signed-off-by: Michael McInerney <michael.mcinerney@proofcraft.systems>
This improves reasoning for the linked lists used in the kernel.
In particular, many Hoare triples are stated generally in terms
of list_queue_relation and the various functions which manipulate
the linked list pointers. These are then used within the corres
lemmas for those functions which update the linked lists.

Signed-off-by: Michael McInerney <michael.mcinerney@proofcraft.systems>
@michaelmcinerney michaelmcinerney merged commit 035535f into rt Feb 13, 2025
11 checks passed
@michaelmcinerney michaelmcinerney deleted the michaelm-disjoint_queues branch February 13, 2025 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MCS related to `rt` branch and mixed-criticality systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants