-
Notifications
You must be signed in to change notification settings - Fork 381
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
Conversation
…ing theorems Moved `eval₂AlgHom'` out of `aeval` section and into the previous `CommSemiring` section Added a theorem relating `mapAlgHom` and `eval₂AlgHom'`.
PR summary da14ff5df8Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
mapAlgHom
Sorry but I think I made a mistake. The instance `Algebra (Polynomial R) (Polynomial A)` cannot be inferred automatically. And that should not be added to mathlib in my opinion, since potentially the intermediate X is not necessary map to X.
|
@acmepjz: yeah, I agree. So let's just go ahead and add |
bors merge |
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]>
Pull request successfully merged into master. Build succeeded: |
mapAlgHom
mapAlgHom
Add
Polynomial.mapAlgHom
as an algebra homomorphism between two polynomial rings, extendingPolynomial.mapRingHom
. Provide supporting theorems formapAlgHom
.Moved
Polynomial.eval₂AlgHom'
to earlier inAlgebraMap.lean
, so that I can provide a theorem linkingmapAlgHom
andeval₂AlgHom'
, without having to putmapAlgHom
stuff afteraeval
.