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.{toFin, toInt, msb}_umod #6404

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

alexkeizer
Copy link
Contributor

This PR adds a toFin and msb lemma for unsigned bitvector modulus. Similar to #6402, we don't provide a general toInt_umod lemmas, but instead choose to provide more specialized rewrites, with extra side-conditions.

@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 16, 2024
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 1b15a0f27cfdedfc81470b1720f1d603417192e7 --onto a8a160b09147c3225150703ac727eea6ee9a3b0e. (2024-12-16 18:32:17)

@alexkeizer
Copy link
Contributor Author

This should now be ready for review, but since I'm on holidays I'll keep it as a draft until I'm back and can respond to reviews timely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants