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 twoPow multiplication lemmas #6742

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

bollu
Copy link
Contributor

@bollu bollu commented Jan 22, 2025

This PR adds the lemmas that show what happens when multiplying by twoPow to an arbitrary term, as well to another twoPow.

This will be followed up by a PR that uses these to build a simproc to canonicalize twoPow w i * x and x * twoPow w i.

This PR adds the lemmas that shows what happens when multiplying by
`twoPow` to an arbitrary term, as well to another `twoPow`.

This will be followed up by a PR that uses these to build a simproc to
canonicalize `twoPow w i * x` and `x * twoPow w i`.
@bollu bollu requested a review from kim-em as a code owner January 22, 2025 16:18
@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 Jan 22, 2025
@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 6ebce421423445eeac59a6f4347a562897a99e8d --onto 9b74c07767dc50645efa00356a7724e7f7176227. (2025-01-22 16:48:09)

@hargoniX hargoniX added the changelog-library Library label Jan 22, 2025
@hargoniX hargoniX added this pull request to the merge queue Jan 22, 2025
Merged via the queue into leanprover:master with commit 6befda8 Jan 22, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants