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.
[Beginner Question]
Hi everyone,
I was hoping I could get some clarification on my understanding of coproducts as I believe I have finally wrapped my head around them, but I want to be clear that I do. To understand coproducts, I started with the set theory definition of a coproduct:
where denotes indexing from some index set, , using the index term, and represents some family of sets indexed by and is some element of the respective set. Then, based on readings from Category Theory texts, I have gathered that the following is equivalent notation to the formal set theory definition: . As an example to make sure I am on the right track, here is a small simple problem and its solution according to my understanding:
Find given the following:
Solution:
Where I am confused is the following:
What is the difference between and and syntax notation (the latter notation concerns two specific sets)? I have seen all notations when referring to coproducts when viewed from both set theory and category theory perspectives. Is it a matter of aesthetic or is there a functional/semantic difference occurring?
I have read that coproducts are also known as disjoint unions. I read about disjoint unions from a set theory perspective and also a category theory perspective but cannot really discern a functional (i.e. practical) difference from coproducts. Are coproducts and disjoint unions really effectively the same idea?
Anything from my current explanation that I sound unclear on or am wrong on?
Thanks all and let me know if I can clarify anywhere!
In short, the disjoint union of a family of sets is exactly the same thing as its coproducts (up to isomorphism) and the difference in notation is irrelevant (you might have also seen the notations or ).
I am failing to see exactly what you are missing (if there is anything), so let me give some details and motivation.
The name 'disjoint union' probably comes from the fact when the 's are pairwise disjoint ( for all ), the disjoint union and union of the family are isomorphic: . When the 's are not disjoint, the disjoint union is taking their union as if they were disjoint using the trick of identifying with (so that if ). This is one of the possible tricks that allows this construction, but there are other ways to "force" the disjointness and then take the union.
In category theory, we prefer not to refer to elements of sets, and we love to extract the essence of a definition to get rid of all unnecessary information . Thus, we came up with the definition of coproducts, which informally says that the coproduct of a family of sets is a set that contains copies of each set (via the coprojections ) that are completely independent of each other (via the universal property: any way you want to map the 's into , you can combine the functions to map the coproduct into ).
This is an appropriate definition because the disjoint union of sets (along with the coprojections ) is the coproduct of the family (up to isomorphism). However, it is possible that you have a different opinion about what the essence of disjoint unions is. Then, you might want to try formalizing another categorical definition that captures that essence and verify it coincides with disjoint union.
An example of unnecessary information in this case is that the elements of the disjoint union are pairs of elements of and elements of , that is, . This fact has nothing to do with our intuition of disjoint union (indeed, we usually don't bother to refer to elements of the disjoint union with the pairs except when doing very rigorous technical things), and the other "tricks" mentioned above might get rid of it, but inevitably bringing another piece of irrelevant information about the disjoint union.
That is not really accurate, I am only trying to motivate things from this point of view.
Jacob Zelko said:
- What is the difference between and and syntax notation (the latter notation concerns two specific sets)? I have seen all notations when referring to coproducts when viewed from both set theory and category theory perspectives. Is it a matter of aesthetic or is there a functional/semantic difference occurring?
There's no difference, people often use different notations for the same thing in math.
The notation probably comes from people who write the disjoint union of two sets as so that it looks similar to the union ; these people tend to write for the union of a bunch of sets and for their disjoint union. The notation probably comes from people who noticed that the coproduct is dual to the product: they turned the product symbol upside down.
- I have read that coproducts are also known as disjoint unions. I read about disjoint unions from a set theory perspective and also a category theory perspective but cannot really discern a functional (i.e. practical) difference from coproducts. Are coproducts and disjoint unions really effectively the same idea?
Probably the best thing to say is that coproducts in the category of sets, and various related categories like the category of topological spaces, are the same as disjoint unions.
Nobody I know calls coproducts 'disjoint unions' in an arbitrary category. For example coproducts in the category of vector spaces are called 'direct sums'. Everyone will understand you if you say 'direct sum of vector spaces', and category theorists will know this is their coproduct, but people would think you don't understand math if you say 'disjoint union of vector spaces'.
Amusingly, however, the coproduct of vector spaces is formally a [[disjoint coproduct]].
Hi @Ralph Sarkis and @John Baez!
Apologies for taking so long to respond to your great responses! I actually have read the response about 3 or 4 times but was digesting the information.
Ralph, I appreciate your further explanation into the disjoint union and getting more into the intuition of the mechanism. Furthermore, I am glad that according to your understanding, I am not far off with my understandings of the disjoint union -- really breaking down the exact difference between disjoint unions and the coproduct definition was super clarifying.
John, thanks for the clarification on the notation and disentangling my confusion there! This is going directly into my notes! The semantics you introduced about "coproducts" in the category of sets and related categories wasn't something I have really thought much about. As I am primarily working within the category of Set, you made me realize I was, naively, taking this machinery for granted and it is something I need to be more cognizant of.
Thank you and have a wonderful day!
Great, I'm glad it helped!