Zulip Chat Archive

Stream: Is there code for X?

Topic: Restriction of `monoid_hom` to units?


Michael Stoll (Jun 15 2022 at 19:42):

There is docs#monoid_hom.to_hom_units, which, given a monoid_hom from a group G to M gives a monoid_hom from G to the units of M.
Do we also have a conversion from a monoid_hom between two monoids to a monoid_hom between there unit groups?

Riccardo Brasca (Jun 15 2022 at 19:46):

This is docs#units.map

Michael Stoll (Jun 15 2022 at 20:07):

Thanks! Is there also a way to extend a homomorphism between the unit groups to a homomorphism between the monoids by extending by zero (when the target is a monoid_with_zero, otherwise it does not make sense).

Riccardo Brasca (Jun 15 2022 at 20:11):

I think you have to do this by hand, using docs#function.extend

Eric Wieser (Jun 15 2022 at 20:52):

Something like docs#with_zero.lift?

Eric Wieser (Jun 15 2022 at 20:53):

Hmm, I assume we have the monoid_with_zero version of that somewhere

Eric Rodriguez (Jun 15 2022 at 20:58):

Michael Stoll said:

Thanks! Is there also a way to extend a homomorphism between the unit groups to a homomorphism between the monoids by extending by zero (when the target is a monoid_with_zero, otherwise it does not make sense).

As in all of the other results get sent to zero?

Michael Stoll (Jun 16 2022 at 13:54):

Yes.


Last updated: Dec 20 2023 at 11:08 UTC