You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
I know the concrete construction of coproducts of monoids in but I am unaware of how to do it category-theoretically rather than syntactically even in the special case of never mind anything that works in a more general context. Does anyone know or have a reference to such a construction?
(I guess I do know a way: I could use the general construction of coproducts for monad algebras from Adamek and Koubek together with the construction of coequalizers from Porst but I was hoping for something maybe a bit more direct.)
@William Troiani looked at this in his Masters thesis ; I'm tagging him since he's produced cleaner exposition of it since, I think.
Oh wait I apparently completely misread your question. William does coproducts of sets, syntactically. Almost entirely unrelated. Please disregard.
An article that might be related is A unified treatment of transfinite constructions for free algebras, free monoids, colimits, associated sheaves, and so on by Kelly
Let's see... To construct the coproduct of two monoids, you take the coproduct of their underlying sets, take the free structure on that (so we're at so far) and quotient by an equivalence relation generated by multiplication of adjacent terms when applicable, so , where and and (and similarly for elements of ), plus the relation , where is the unique element of . I can see why you would want to streamline that.
Oh right, expanding the syntactic construction, we can do the following:
Present a monoid as an algebra for the free monoid monad (for the free monoid on the underlying set of ); taking the kernel pair of this map gives the congruence defining . Doing this for monoids , we have defining two relations on , of which we can take the union. Taking the standard transitive and reflexive closure of this relation, we obtain the congruence on that I described inefficiently above. It's still cumbersome, but at least it's clearly categorical.
(It feels like I'm missing part of the relation this way, so it needs checking, but that should be the flavour of the construction)
Seems like that gives the underlying set of the monoid but where does the algebra structure come from?
Hm, actually maybe it doesn't even give the underlying set, there's no quotienting done on strings that mix s and s when you implement this in Set.
Right, you need it to be a congruence, not just an equivalence relation. I suppose that's somehow the crux of the construction
I think you will need a distributivity of products over coproducts for what Morgan said first. You should have to use:
But in fact maybe you can work without distributivity if you directly use the right-hand side expression i.e. the
After this, you could try defining a as a coequalizer of a whole bunch of maps from to which do every possible combinations of multiplying and then inserting units both in the and in the and then take the colimit of a diagram of the form
where the arrow from to is an inclusion map inherited from the inclusion .
Of course making this precise and checking that everything works fine should be a bit of work.
(I'm not even sure that it can work exactly as I wrote.)
EDIT: No, you will need the distributivity in any case when you define the structure of monoid on P I think.
Second of course: defining the multiplication and unit of will be a bit of work also... and checking the associativity and unitality as well.
Also, for the multiplication, you should have to define maps first, then , then (by postcomposing by the inclusion given by the colimit) and finally I think.
I'm not completely sure about this as well, but it must something like this.
Also, sorry I supposed that you wanted to define the coproduct of monoids in an arbitrary category with products but I don't know if it is what you wanted to do.
I've just realized that what I've sketched must work in any monoidal category (no need for the monoidal product to be a cartesian product), producing also the coproduct of non-commutative rings (and non necessarily commutative -algebras as well I guess).
A fun related fact: if we’re interested in the coproduct of and (monoid objects in a distributive monoidal category) and is free, their coproduct as monoids has carrier object: .
I don't really understand this. I think we will have different copies of the elements of in
such as , and . That's why I wanted to take a directed colimit at some point and not just a coproduct: in order to make equal these copies.
But I get it that if or is free, then things will be easier. As it is easier if we're looking at commutative monoids.
You only get one copy of : the inclusion is
The idea is you’re building ‘formal sums’ by alternating between ‘elements’ of and ‘variables’ drawn from
Jean-Baptiste Vienney said:
But I get it that if or is free, then things will be easier. As it is easier if we're looking at commutative monoids.
I think this is unrelated: the coproduct of two commutative monoids as monoids is not the same as their coproduct as commutative monoids
Nathan Corbyn said:
Jean-Baptiste Vienney said:
But I get it that if or is free, then things will be easier. As it is easier if we're looking at commutative monoids.
I think this is unrelated: the coproduct of two commutative monoids as monoids is not the same as their coproduct as commutative monoids
Ooh ok. I should have said "the coproduct of commutative monoids in the category of commutative monoids.
(Also free monoids aren’t commutative in general)
(yeah, I know this)
Then I don’t think I follow :sweat_smile:
Well, I was just saying that the coproduct in a category of commutative of monoids is easier to build that the coproduct in a category of monoids.
I was just confused because I haven’t mentioned any commutative monoids—in fact, the monoidal structure I assumed isn’t required to be symmetric or even braided so we don’t actually have an ambient notion of commutative monoid
Nathan Corbyn said:
You only get one copy of : the inclusion is
Ok. I think I understand this better now. My and just didn't make sense because of the .
Nathan Corbyn said:
I was just confused because I haven’t mentioned any commutative monoids—in fact, the monoidal structure I assumed isn’t required to be symmetric or even braided so we don’t actually have an ambient notion of commutative monoid
Ok, if the category is symmetric monoidal then the coproduct in the category of commutative monoids is just the tensor coproduct in the base category. This is all I wanted to say.
Jean-Baptiste Vienney said:
I think you will need a distributivity of products over coproducts for what Morgan said first. You should have to use:
But in fact maybe you can work without distributivity if you directly use the right-hand side expression i.e. the
After this, you could try defining a as a coequalizer of a whole bunch of maps from to which do every possible combinations of multiplying and then inserting units both in the and in the and then take the colimit of a diagram of the form
where the arrow from to is an inclusion map inherited from the inclusion .Of course making this precise and checking that everything works fine should be a bit of work.
Sorry, this is absolutely not correct! :sweat_smile: The right hand side in the first equality is not the good one.
We should have to work with expressions like this:
Is the construction here just the Adamek&Koubek/Porst argument you don't want?
Indeed.