This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
[Merged by Bors] - feat(data/nat/factorization): add lemma factorization_prod
#11395
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stuart-presnell
added
the
awaiting-review
The author would like community review of the PR
label
Jan 12, 2022
bors merge |
github-actions
bot
added
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
and removed
awaiting-review
The author would like community review of the PR
labels
Jan 12, 2022
1 task
bryangingechen
added
delegated
The PR author may merge after reviewing final suggestions.
and removed
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
labels
Jan 12, 2022
✌️ stuart-presnell can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
bors r+ |
bors bot
pushed a commit
that referenced
this pull request
Jan 12, 2022
For any `p : ℕ` and any function `g : α → ℕ` that's non-zero on `S : finset α`, the power of `p` in `S.prod g` equals the sum over `x ∈ S` of the powers of `p` in `g x`. Generalises `factorization_mul`, which is the special case where `S.card = 2` and `g = id`.
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
feat(data/nat/factorization): add lemma
[Merged by Bors] - feat(data/nat/factorization): add lemma Jan 12, 2022
factorization_prod
factorization_prod
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For any
p : ℕ
and any functiong : α → ℕ
that's non-zero onS : finset α
, the power ofp
inS.prod g
equals the sum overx ∈ S
of the powers ofp
ing x
.Generalises
factorization_mul
, which is the special case whereS.card = 2
andg = id
.