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: add BitVec Int add & mul lemmas #3880

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

joehendrix
Copy link
Contributor

This adds some basic lemmas to support commuting ofInt/toInt and add/mul.

It also removes the simp annotation on ofNat_add_ofNat as in some contexts the other direction or conversion to Int may be desired.

@digama0
Copy link
Collaborator

digama0 commented Apr 11, 2024

It also removes the simp annotation on ofNat_add_ofNat as in some contexts the other direction or conversion to Int may be desired.

This will most likely have mathlib fallout. Test this on mathlib first.

@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc April 11, 2024 12:21 Inactive
@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 Apr 11, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Apr 11, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Apr 11, 2024
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc April 11, 2024 12:38 Inactive
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Apr 11, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Apr 11, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Apr 11, 2024

Mathlib CI status (docs):

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Apr 11, 2024
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc April 11, 2024 14:14 Inactive
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Apr 11, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Apr 11, 2024
@joehendrix joehendrix added this pull request to the merge queue Apr 11, 2024
Merged via the queue into master with commit 2ba0a45 Apr 11, 2024
19 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Apr 17, 2024
Just a lemma that we noticed is missing when working on #3880 at the
retreat. We also noticed that there are naming inconsistencies in the
lemmas for `bmod` and `emod`, we should fix that in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR 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