-
Notifications
You must be signed in to change notification settings - Fork 449
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)_replicate, replicate_one
#6326
base: master
Are you sure you want to change the base?
Conversation
BitVec.(getMSbD, msb)_replicate
and necessary theoremsBitVec.(getMSbD, msb)_replicate
, replicate_append_replicate_eq
and support theorems
@alexkeizer, can you do a round of reviews? |
Mathlib CI status (docs):
|
thanks @alexkeizer for the review. I refactored the proof with |
de271ab
to
eb1d9ee
Compare
After the merging of #6476 I updated the proof of |
changelog-library |
Co-authored-by: Alex Keizer <[email protected]>
Co-authored-by: Alex Keizer <[email protected]>
@luisacicolini, the PR title still needs updating. |
BitVec.(getMSbD, msb)_replicate
, replicate_append_replicate_eq
and support theoremsBitVec.(getMsbD, msb)_replicate, replicate_one
This PR adds
BitVec.(getMsbD, msb)_replicate, replicate_one
theorems. It also movesBitVec.(getLsbD, getElem)_replicate
to put them closer toBitVec.getMsbD_replicate
, which depends onreverse
theorems.Co-authored with @bollu.