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

Make it more pleasant to write a proof-by-computation over a range of values #1338

Merged
merged 14 commits into from
Nov 15, 2024

Conversation

parno
Copy link
Collaborator

@parno parno commented Nov 6, 2024

No description provided.

@@ -114,6 +116,7 @@ pub broadcast group group_vstd_default {
string::group_string_axioms,
std_specs::range::group_range_axioms,
raw_ptr::group_raw_ptr_axioms,
compute::all_spec_implies,
Copy link
Collaborator

Choose a reason for hiding this comment

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

The broadcast group range_all_spec is never used. Is it meant to be used here, instead of saying all_spec_implies directly here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, I forgot I'd created the group. I could add it here so that we don't need to change vstd.rs if we add more lemmas in compute.rs. Or I can just delete the group from compute.rs.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I forgot I'd created the group. I could add it here so that we don't need to change vstd.rs if we add more lemmas in compute.rs. Or I can just delete the group from compute.rs.

Either way sounds fine to me.

@parno parno merged commit 4e01256 into main Nov 15, 2024
10 checks passed
@parno parno deleted the depoly_compute branch November 15, 2024 20:58
utaal pushed a commit to principled-systems/verus that referenced this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants