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 am focusing on this book as my preferred introductory-level category theory book.
Exercise 1.1.2 is about showing that a monoid is a category. I understand the general concept, but I realized I was unsure about an aspect of the identity.
I am not currently sure if every arrow in a category could have two identity arrows (a left and right), or if every identity arrow must be two-sided.
Similarly, while I assume a monoid has a unique, two-sided identity element, I wonder if there is a structure where each element has a left and right identity.
I was browsing on Wikipedia and there’s a chance this has something to do with the Grothendieck group.
Is it possible to relax the condition that a monoid have a two-sided identity; and if so, what kind of structure is that?A9046F42-5C36-4A00-9490-48DE1F26F774.png
You can use the same kind of argument you used here: https://categorytheory.zulipchat.com/#narrow/stream/229199-learning.3A-questions/topic/Riehl.2C.20.E2.80.9CCategory.20Theory.20in.20Context.E2.80.9D.2E/near/382361308
I was just thinking about that, really interesting to connect the two. I’ll think more about that, thank you.
I could use help with this exercise. 48D62942-1CDA-438E-AE89-BA9DFF4E342F.png
I am able to show that sets and functions form a category. But I am not sure how to handle the requirement that f \circ \alpha = \beta circ \f.
Is there some sort of insight about these functions \alpha and \beta I need to have?
First of all, you need to guess what should be the identities and the composition of morphisms in this category. Do you see what they should be?
For intuition, this example of category looks a lot like the category of groups. A group is a set equipped with a binary operation (multiplication), a unary operation (an inverse) and a constant (the netural element), and group homomorphisms are functions that preserve this structure. The objects of are sets equipped with a unary operatin and a constant, and the morphisms are function that preserve this structure.
The identities seem simple enough. Each object is a triple (A, alpha, a). The arrows are functions from A to B which preserve the nominated element and also the law f of alpha = beta of f. So it could be written id: (A, alpha, a) -> (A, alpha, a). Clearly, id(a) = a. Perhaps alpha must be the identity function, in this case?
Alpha is like an endomorphism, it’s a mapping from the set to itself. You compare it to how each element in a group can be mapped to its inverse, I think. But in b), they point out how succ: n -> n+1 could also be an example of such an alpha function.
So I guess there is some property of alpha I need to realize, to be able to argue that if f and g have the property that f of alpha = beta of f, then it would still hold for the composition of g and f.
f of alpha = beta of f
g of beta = gamma of g
And somehow show that
h of alpha = gamma of h
I think I might have it, let me just experiment with some algebraic manipulation. Thx.
What is the identity group homomorphism? Use this idea to define the identity for these objects.
can really be any function , you cannot restrict it because your definition of identity morphism should work for any object . Given such an object, you should come up with the definition of .
Your intuition about composition seems a bit better.
So the only way you could respect the law f of alpha = alpha of f is if f is the identity function.
No, the identify function is one such function that satisfies (and ), but there are others. Still, we have to make sure the identity function satisfies it, so we can define the identity morphism to be the identity function. (If the identity function did not satisfy this condition, we would have to look for another candidate to be the identity morphism.)
Now, for composition, if we have two morphisms and , we have to define their composite. Since the identity morphism was the identity function, we may try to define the composition just like the composition of functions, i.e. for all . Can you show that this definition respects the condition to be a morphism .
Hint
Thanks. I feel like I understand the algebra but I would like a more concrete understanding of the function composition equation. I feel like I haven’t encountered some real-world functions which obey this equation. I wrote my thoughts on this problem in this PDF. I’d love if someone could take a look. Thank you.Pno_category.pdf
If you forget about the binary operation of a group, you get an object of Pno, the alpha is the inverse function and the a is the identity element of the group. So a function is a morphism when it preserves "taking inverses" (it does not have to preserve the multiplication if you only care about it being a morphism in Pno).
Another intuitive way to understand objects of Pno is as dynamical systems. A is the set of states that the system can be in, alpha is takes on state and gives back the next state after one step of evolution of the system, and a could be the initial state of the system.
A morphism between two such systems is a function between the states that maps the initial state in A to the initial state in B and for every state, applying the map then taking a step is the same thing as taking a step then applying the map.
Here's a related perspective, based around the idea that morphisms between objects should transform true equations into analogous true equations.
Imagine we have the true equation that in the context of , where . In general, we like morphisms between structures to send true equations to analogous true equations. So, we'd like to be able to change each part of this true equation to get a true equation in the context of . That is, given a function , we'd like to be true provided that is true. Here I've mapped each element of over to a corresponding element of using , and I've changed out for the corresponding function that belongs to .
Let's find a condition we can place on to get our desired behaviour described above. Let us assume that is true. Applying to each side, we find that . Now, we want to show that must also be true. If , then , which is what we want to be true!
So, the condition ensures that true equations involving in get mapped over by to corresponding true equations involving in .
@Ralph Sarkis already explained everything, but just to reiterate:
To prove that morphisms compose, you need three object in your category (A, B, C) and two morphisms ( and ). And you need to give is a way to make a third morphism from those two, such that applying it is equivalent to applying the two morphisms ( and ) one after the other.
In this case, the way to make the third morphism is obvious, since and are just normal functions between sets (normal functional composition).
What is not so obvious at first is whether applying this third moprhism () is equivalent to applying and . Or actually scratch that, what is not obvious is whether is a valid morphism in Pno i.e. whether would preserve the extra law that is needed for our structures to be a category i.e. whether .
The diagram shows that both of these things are true.
Also, I think it's apt to point out that these commuting squares are actually natural transformations. If we take to be a category with one object and one endomorphism, then any pair containing a set and an endofunction, can be represented by a functor . Under this representation, and are natural transformations.