-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add BitVec.(getMsbD, msb)_(rotateLeft, RotateRight)
#34
Conversation
561f19c
to
7584a93
Compare
@luisacicolini High-level comment: What we do in this proof is to play games to rewrite rw [← rotateLeft_mod_eq_rotateLeft]
...
rw [rotateLeft_eq_rotateLeftAux_of_lt (by assumption)] So I feel it's worth it to write a clearer proof directly in terms of |
thanok you @bollu. So, if I understand correctly, we now want |
@luisacicolini Correct. |
Thank you @bollu. I just pushed all the theorems, including the helper ones, following a similar proving strategy as |
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, modulo the change I asked for!
Co-authored-by: Siddharth <[email protected]>
I will now close this PR and open one to lean4. |
This PR introduces theorems
BitVec.(getMsbD, msb)_(rotateLeft, rotateRight)