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

feat: BitVec.toInt_shiftLeft theorem #6346

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mhk119
Copy link
Contributor

@mhk119 mhk119 commented Dec 9, 2024

This PR completes the toNat/Int/Fin family for shiftLeft.

@mhk119 mhk119 requested a review from kim-em as a code owner December 9, 2024 17:47
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Dec 9, 2024
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Dec 9, 2024

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 520d4b698f3f1f8ed5d673fad6cc810179642279 --onto 3f791933f16d74d74ab8116c96cadec6cdf7b70e. (2024-12-09 18:06:31)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 520d4b698f3f1f8ed5d673fad6cc810179642279 --onto a8a160b09147c3225150703ac727eea6ee9a3b0e. (2024-12-16 09:44:07)

@tobiasgrosser
Copy link
Contributor

changelog-library

@github-actions github-actions bot added the changelog-library Library label Dec 9, 2024
@tobiasgrosser
Copy link
Contributor

@mhk119, the PR message should start with "This PR ...".

@mhk119 mhk119 changed the title feat : toInt_shiftLeft theorem feat : toInt_shiftLeft theorem Dec 9, 2024
@mhk119 mhk119 changed the title feat : toInt_shiftLeft theorem feat: toInt_shiftLeft theorem Dec 9, 2024
@kim-em kim-em self-assigned this Dec 10, 2024
@kim-em
Copy link
Collaborator

kim-em commented Dec 10, 2024

While you're here, could you adjust this theorem, and the ones immediately above/below (and any analogues for right shift?) to use dot notation rather than BitVec.toX and Int.bmod?

@kim-em kim-em added the awaiting-author Waiting for PR author to address issues label Dec 10, 2024
@tobiasgrosser
Copy link
Contributor

Also, please use BitVec in the PR title.

@mhk119 mhk119 changed the title feat: toInt_shiftLeft theorem feat: BitVec:toInt_shiftLeft theorem Dec 15, 2024
@mhk119 mhk119 changed the title feat: BitVec:toInt_shiftLeft theorem feat: BitVec.toInt_shiftLeft theorem Dec 15, 2024
@mhk119 mhk119 requested a review from kim-em December 16, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-author Waiting for PR author to address issues changelog-library Library toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants