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

[Merged by Bors] - feat(data/nat/factorization): add lemma factorization_prod #11395

Closed
wants to merge 7 commits into from

Conversation

stuart-presnell
Copy link
Collaborator

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.


Open in Gitpod

@stuart-presnell stuart-presnell added the awaiting-review The author would like community review of the PR label Jan 12, 2022
@ChrisHughes24
Copy link
Member

bors merge

@github-actions 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
@bryangingechen 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
@bors
Copy link

bors bot commented Jan 12, 2022

✌️ stuart-presnell can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
@stuart-presnell
Copy link
Collaborator Author

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`.
@bors
Copy link

bors bot commented Jan 12, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(data/nat/factorization): add lemma factorization_prod [Merged by Bors] - feat(data/nat/factorization): add lemma factorization_prod Jan 12, 2022
@bors bors bot closed this Jan 12, 2022
@bors bors bot deleted the SP_factorization_prod branch January 12, 2022 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants