Zulip Chat Archive

Stream: Is there code for X?

Topic: units as a functor


Yaël Dillies (Feb 24 2022 at 00:52):

Do we have this functor anywhere?

import algebra.category.Group.basic

/-- `units` as a functor. -/
def Mon_to_Group : Mon  Group :=
{ obj := λ X, Group.of Xˣ,
  ... }

Am I right in thinking it is the free functor?

Yaël Dillies (Feb 24 2022 at 00:53):

I had to build the maps myself, so I suspect not.

Eric Rodriguez (Feb 24 2022 at 01:00):

curiosity: free functor seems to be the group completion, whose nlab article is way above my level

Yaël Dillies (Feb 24 2022 at 01:02):

The nLab article is about the commutative though, but I guess that doesn't change much?

Eric Rodriguez (Feb 24 2022 at 01:02):

i found the example in https://ncatlab.org/nlab/show/free+functor, seems the link is wrong there

Kyle Miller (Feb 24 2022 at 01:09):

The group-of-units functor is right adjoint to the forgetful functor, and the group completion functor (the result known as the universal enveloping group of a monoid in Bergman's book) is left adjoint to the forgetful functor.

These can be very different. Consider the monoid N\mathbb{N} under addition with its group of units ({0}\{0\}) and its universal enveloping group (Z\mathbb{Z}).

Yaël Dillies (Feb 24 2022 at 01:09):

Ahah! I was right on one side at last.

Yaël Dillies (Feb 24 2022 at 09:48):

Thanks for the tip, Kyle. It turned out to be pretty easy.


Last updated: Dec 20 2023 at 11:08 UTC