Zulip Chat Archive

Stream: mathlib4

Topic: Polynomial.map ZeroHom


Bolton Bailey (Aug 20 2023 at 01:09):

Watching over my video from last week, I remebered a question I had. Is there a reason docs#Polynomial.map takes a RingHom rather than a ZeroHom?

Bolton Bailey (Aug 20 2023 at 01:53):

(I guess I can't think of an application)

David Ang (Aug 20 2023 at 02:23):

Mapping the derivative linear map across a polynomial ring over a polynomial ring can’t be done currently :/

David Ang (Aug 20 2023 at 17:36):

I think it's even possible to let it take in a regular function? I tried refactoring it about a year ago and it was slightly fiddly, so I gave up.

Eric Wieser (Aug 20 2023 at 17:38):

Note that docs#DFinsupp.mapRange and docs#Finsupp.mapRange both take unbundled zero_homs

Eric Wieser (Aug 20 2023 at 17:39):

Most of the polynomial API is unfortunately built from scratch instead of saying "oh, we already defined this for finsupp let's just reuse it"

Notification Bot (Aug 22 2023 at 12:06):

This topic was moved here from #general > Polynomial.map ZeroHom by Kyle Miller.


Last updated: Dec 20 2023 at 11:08 UTC