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(Polynomial/AlgebraMap): add mapAlgHom #14814

Closed
wants to merge 5 commits into from

Conversation

quangvdao
Copy link
Collaborator

Add Polynomial.mapAlgHom as an algebra homomorphism between two polynomial rings, extending Polynomial.mapRingHom. Provide supporting theorems for mapAlgHom.

Moved Polynomial.eval₂AlgHom' to earlier in AlgebraMap.lean , so that I can provide a theorem linking mapAlgHom and eval₂AlgHom', without having to put mapAlgHom stuff after aeval.


Open in Gitpod

…ing theorems

Moved `eval₂AlgHom'` out of `aeval` section and into the previous `CommSemiring` section

Added a theorem relating `mapAlgHom` and `eval₂AlgHom'`.
@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Jul 16, 2024
Copy link

github-actions bot commented Jul 16, 2024

PR summary da14ff5df8

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ coe_mapAlgEquiv
+ coe_mapAlgHom
+ mapAlgEquiv
+ mapAlgEquiv_coe_ringHom
+ mapAlgEquiv_comp
+ mapAlgEquiv_id
+ mapAlgHom
+ mapAlgHom_coe_ringHom
+ mapAlgHom_comp
+ mapAlgHom_eq_eval₂AlgHom'_CAlgHom
+ mapAlgHom_id

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

@quangvdao quangvdao self-assigned this Jul 16, 2024
@quangvdao quangvdao changed the title Polynomial.map alg hom feat(Polynomial/AlgebraMap): add mapAlgHom Jul 16, 2024
@quangvdao quangvdao added the t-algebra Algebra (groups, rings, fields, etc) label Jul 16, 2024
@quangvdao quangvdao removed their assignment Jul 16, 2024
@kim-em kim-em added the awaiting-author A reviewer has asked the author a question or requested changes label Jul 16, 2024
@quangvdao quangvdao added awaiting-CI and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jul 17, 2024
@acmepjz
Copy link
Collaborator

acmepjz commented Jul 17, 2024 via email

@quangvdao
Copy link
Collaborator Author

@acmepjz: yeah, I agree. So let's just go ahead and add mapAlgHom, mapAlgEquiv the way I currently write it?

@kim-em
Copy link
Contributor

kim-em commented Jul 17, 2024

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jul 17, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 17, 2024
Add `Polynomial.mapAlgHom` as an algebra homomorphism between two polynomial rings, extending `Polynomial.mapRingHom`. Provide supporting theorems for `mapAlgHom`.

Moved `Polynomial.eval₂AlgHom'` to earlier in `AlgebraMap.lean` , so that I can provide a theorem linking `mapAlgHom` and `eval₂AlgHom'`, without having to put `mapAlgHom` stuff after `aeval`.



Co-authored-by: Quang Dao <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 17, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Polynomial/AlgebraMap): add mapAlgHom [Merged by Bors] - feat(Polynomial/AlgebraMap): add mapAlgHom Jul 17, 2024
@mathlib-bors mathlib-bors bot closed this Jul 17, 2024
@mathlib-bors mathlib-bors bot deleted the Polynomial.mapAlgHom branch July 17, 2024 17:38
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants