-
Notifications
You must be signed in to change notification settings - Fork 459
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
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 |
@luisacicolini, the PR title still needs updating. |
BitVec.(getMSbD, msb)_replicate
, replicate_append_replicate_eq
and support theoremsBitVec.(getMsbD, msb)_replicate, replicate_one
Co-authored-by: Alex Keizer <[email protected]>
awaiting-review |
awaiting-review |
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
This PR adds
BitVec.(getMsbD, msb)_replicate, replicate_one
theorems, corrects a non-terminalsimp
inBitVec.getLsbD_replicate
and simplifies the proof ofBitVec.getElem_replicate
using thecases
tactic.Co-authored with @bollu.