-
Notifications
You must be signed in to change notification settings - Fork 72
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
Conversation
in standard Rust
@@ -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, |
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.
The broadcast group range_all_spec
is never used. Is it meant to be used here, instead of saying all_spec_implies
directly here?
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.
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
.
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.
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 incompute.rs
. Or I can just delete the group fromcompute.rs
.
Either way sounds fine to me.
No description provided.