Category Theory
Zulip Server
Archive

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.


Stream: learning: questions

Topic: elements of a group, and the category of groups


view this post on Zulip David Egolf (Dec 03 2021 at 02:26):

I've been working through an introductory book on group theory ("Contemporary Abstract Algebra" by Gallian), and had the fun idea of trying to "translate" definitions and theorems in the book into categorical language. Almost immediately, this plan has run into a problem, which I thought would be interesting to ask about here.

To set the context for this problem, I've realized that there are two "levels" one can use to consider groups in the setting of category theory. On the "lower" level, to translate some group GG into categorical language, we can consider a single-object category with morphisms satisfying the compositional properties that the element of GG satisfy. On the "higher" level, we can model some things about groups by considering the category Grp\mathsf{Grp} where objects are groups and morphisms are group homomorphisms.

Using the "lower" categorical level to prove statements about a single group yields arguments identical to those in the introductory book I'm following, which isn't much fun. On the other hand, at least sometimes, statements can be translated to Grp\mathsf{Grp} and this tends to take more thought. As an example, I believe that we can translate the concept of subgroup to Grp\mathsf{Grp} by defining a subgroup of a group GG in this setting to be a monomorphism from some group HH to GG.

However, I then came to this theorem in the text (Gallian, page 48):

In a group GG, the right and left cancellation laws hold; that is,
ba=caba = ca implies b=cb = c, and ab=acab = ac implies b=cb = c.

Using the "lower" levelling modelling, this is fast to prove - the result follows immediately by using the fact that every morphism is an isomorphism.
However, I would be interested in figuring out the corresponding statement (should there be one) in the setting of Grp\mathsf{Grp}. At least to my taste, it feels a bit contrary to the spirit of working in Grp\mathsf{Grp} to consider the elements "inside" of individual objects. To my understanding, a key philosophy of category theory is that we can understand objects in terms of morphisms from and to them. So, I am interested in the corresponding statement in Grp\mathsf{Grp} stated in terms of morphisms to and from GG (and possibly other auxiliary groups).

My initial thought is to wonder if we can create morphisms in Grp\mathsf{Grp} that correspond to elements. For example, one can do this sort of thing in the category of sets by considering different morphisms from a singleton set to a set of interest. However, morphisms from the single-element group do not perform this "element identifying" function in Grp\mathsf{Grp}, as every morphism from the single-element group must be the morphism sending the identity element to the identity element. I don't think we can specify individual elements in terms of morphisms in Grp\mathsf{Grp} . However, I believe we can specify individual subgroups of GG in terms of morphisms in Grp\mathsf{Grp} - each subgroup corresponds to a monomorphism into GG. If we can specify subgroups using morphisms in Grp\mathsf{Grp}, this makes me wonder if the statement about cancellation we are trying to "translate" needs to first be translated into some statements on subgroups. However, the statement about cancellation doesn't really seem to be about subgroups in any way that is obvious to me. So, I guess I got stuck at this point.

Perhaps a simpler place to start is to consider if we can figure out how many elements a group GG has by considering morphisms to and from groups. This is possible at least in one case: if we know there is exactly one morphism from some group GG to every other group, then we know that this group must have a single element. Maybe this means that the right perspective here is to study groups in terms of the universal properties they satisfy?

In summary - I am wondering how much we can say about a group by studying morphisms to and from it in Grp\mathsf{Grp}, and how we can use this to "translate" statements about elements of GG to statements about morphisms in Grp\mathsf{Grp}.

view this post on Zulip Zhen Lin Low (Dec 03 2021 at 03:12):

The forgetful functor from the category of groups to the category of sets is representable. That means there is a certain group, call it Z\mathbb{Z} (hint!), such that group homomorphisms ZG\mathbb{Z} \to G are in natural bijection with elements of GG. Therefore, by brute force if necessary, you can translate any statement involving elements of a group into a statement about certain group homomorphisms.

view this post on Zulip John Baez (Dec 03 2021 at 03:36):

David Egolf said:

As an example, I believe that we can translate the concept of subgroup to Grp\mathsf{Grp} by defining a subgroup of a group GG in this setting to be a monomorphism from some group HH to GG.

You're definitely on the right track, but two different monomorphisms can define the same subgroup of GG. A subgroup of GG is really a certain equivalence class of monomorphisms into GG. You might try figuring out this equivalence relation.

This idea is very important in category theory! A "subobject" of an object in a category is a certain equivalence class of monomorphisms into that object. You can figure out this equivalence relation by looking at a couple of examples, like the category of groups and the category of sets.

If you get stuck you can look this up on the nLab or Wikipedia.

view this post on Zulip John Baez (Dec 03 2021 at 03:37):

However, I bet you can figure out the idea on your own, and that would fit into your project very nicely!

view this post on Zulip Oscar Cunningham (Dec 03 2021 at 13:01):

Related is this question on mathoverflow: Could groups be used instead of sets as a foundation of mathematics?. The answer shows than any mathematical statement can be translated into a fact about Grp\sf{Grp}.

view this post on Zulip David Egolf (Dec 03 2021 at 21:44):

Zhen Lin Low said:

The forgetful functor from the category of groups to the category of sets is representable. That means there is a certain group, call it Z\mathbb{Z} (hint!), such that group homomorphisms ZG\mathbb{Z} \to G are in natural bijection with elements of GG.

If I understand, part of the idea is that a group homomorphism f:ZGf: \mathbb{Z} \to G is totally determined by what element in GG it sends 1Z1 \in \mathbb{Z} to. (Here Z\mathbb{Z} is the group of integers with addition). So, we can associate the element aGa \in G with the group homomorphism f:ZGf: \mathbb{Z} \to G with f(1)=af(1) = a. There is exactly one homomorphism like this per element in GG, so we have a bijective relationship.
This relates to the idea that morphisms have subspaces as their image, not individual elements. So, the things we specify about a group by probing it with morphisms should generally be in terms of information about subspaces. From that perspective, it is tempting to consider "translating" the element aGa \in G to the subspace a\langle a \rangle generated by aa. This is sort of what is going on here, as the image of f:ZGf: \mathbb{Z} \to G associated with aa (so that f(1)=af(1) = a) has as its image a\langle a \rangle.

I was wondering why Z\mathbb{Z} is such a nice group for associating morphisms with elements. I think the answer is that Z\mathbb{Z} is the free group on one element. This ensures that there is indeed a group homomorphism f:ZGf: \mathbb{Z} \to G so that f(1)=af(1) = a for any aGa \in G. If the source group was not free, there would be additional equations that would hold in it, and that would need to hold in the image of a homomorphism. This could prevent some of these desired homomorphisms from existing.
Trying to generalize, I suppose if we want to consider pairs of elements in GG, we might consider associating these with homomorphisms from the free group on two elements (which I am calling F2F_2). If we call the two generators of this free group mm and nn, then the homomorphism f:F2Gf: F_2 \to G such that f(m)=af(m) = a and f(n)=bf(n) = b would be associated with the pair of elements {a,b}\{a,b\} in GG.

view this post on Zulip David Egolf (Dec 03 2021 at 21:47):

Oscar Cunningham said:

Related is this question on mathoverflow: Could groups be used instead of sets as a foundation of mathematics?. The answer shows than any mathematical statement can be translated into a fact about Grp\sf{Grp}.

That's amazing! The link is over my head, but that's still really interesting.

view this post on Zulip John Baez (Dec 03 2021 at 22:33):

I was wondering why Z\mathbb{Z} is such a nice group for associating morphisms with elements. I think the answer is that Z\mathbb{Z} is the free group on one element.

Yes, that's it. And it works for lots of things, not just groups. For example, consider the ring of polynomials with integer variables in one variable, called Z[x]\mathbb{Z}[x]. This is the free ring on one variable. So, there's a natural bijection between elements of any ring RR and homomorphisms from Z[x]\mathbb{Z}[x] to RR.

view this post on Zulip John Baez (Dec 03 2021 at 22:34):

There's a whole big fat theory of this stuff, which I will not burden you with now.

view this post on Zulip John Baez (Dec 03 2021 at 22:35):

Suffice it to say that when I said "it works for lots of things", people know a vast amount about exactly which things.

view this post on Zulip Zhen Lin Low (Dec 03 2021 at 22:37):

David Egolf said:

This relates to the idea that morphisms have subspaces as their image, not individual elements. So, the things we specify about a group by probing it with morphisms should generally be in terms of information about subspaces. From that perspective, it is tempting to consider "translating" the element aGa \in G to the subspace a\langle a \rangle generated by aa. This is sort of what is going on here, as the image of f:ZGf: \mathbb{Z} \to G associated with aa (so that f(1)=af(1) = a) has as its image a\langle a \rangle.

No, you should not do this. Information is lost when you pass to the image. For example, aaa \mapsto \langle a \rangle cannot distinguish between elements and their inverse.

view this post on Zulip David Egolf (Dec 03 2021 at 22:40):

John Baez said:

You're definitely on the right track, but two different monomorphisms can define the same subgroup of GG. A subgroup of GG is really a certain equivalence class of monomorphisms into GG. You might try figuring out this equivalence relation.

This idea is very important in category theory! A "subobject" of an object in a category is a certain equivalence class of monomorphisms into that object. You can figure out this equivalence relation by looking at a couple of examples, like the category of groups and the category of sets.

Yes, that's a good point. I suppose it is a bad idea to have multiple distinct monomorphisms that we each consider in isolation to "be" a given subgroup. We want, then, to figure out an equivalence relationship \sim on monomorphisms into a group GG. We want two monomorphisms to be equivalent, ϕ1ϕ2\phi_1 \sim \phi_2, exactly when they specify the same subgroup.

The following line of argument is tempting. Say ϕ1:H1G\phi_1: H_1 \to G and ϕ2:H2G\phi_2: H_2 \to G. I think of a monomorphism from HiH_i to GG as specifying that the structure of HiH_i exists in GG. This is because, as a monomorphism in Grp\mathsf{Grp}, it has to be injective and therefore not collapse any subgroups to the identity. So, it is tempting to say that ϕ1\phi_1 and ϕ2\phi_2 are specifying the same thing about GG exactly when H1H_1 is isomorphic to H2H_2, so that there exists a group isomorphism f:H1H2f: H_1 \to H_2. So, we would say (ϕ1:H1G)(ϕ2:H2G)    H1H2(\phi_1:H_1 \to G) \sim (\phi_2: H_2 \to G) \iff H_1 \cong H_2.

I'm not sure if this makes sense, though. We can apply this construction to the category of sets as a test. In this setting, monomorphisms are injective maps between sets, and we would like to associate an equivalence class of monomorphisms into a set SS with a subset of SS. Say S={a,b,c}S = \{a,b,c\} and we have two other sets H1={1,2}H_1 = \{1, 2\} and H2={3,4}H_2 = \{3,4\}. Now define two monomorphisms, ϕ1\phi_1 with ϕ1(1)=a\phi_1(1) = a and ϕ1(2)=b\phi_1(2) = b, and ϕ1(3)=a\phi_1(3) = a and ϕ1(4)=c\phi_1(4) = c. We have that H1H_1 is isomorphic to H2H_2, and so under the equivalence relationship suggested above, modified for the category of sets, we would claim that ϕ1\phi_1 and ϕ2\phi_2 should be considered as equivalent, and they should specify the same subset of SS. However, notice that the image of ϕ1\phi_1 and the image of ϕ2\phi_2 are different. I think our equivalence relationship only ensures that ϕ1ϕ2    image(ϕ1)image(ϕ2)\phi_1 \sim \phi_2 \implies image(\phi_1) \cong image(\phi_2).

I am not sure if this state of affairs is satisfying. In Grp\mathsf{Grp} I expect we would get a similar result, and an equivalence class of monomorphisms under this equivalence relationship would only correspond to an equivalence class of isomorphic subgroups of GG - not to a particular subgroup.

Maybe we can fix this. What we want is ϕ1ϕ2    image(ϕ1)=image(ϕ2)\phi_1 \sim \phi_2 \implies image(\phi_1) = image(\phi_2). Let us now require that an isomorphism f:H1H2f: H_1 \to H_2 exists that also satisfies ϕ2f=ϕ1\phi_2 \circ f = \phi_1. Under this condition, image(ϕ2)=image(ϕ2f)image(\phi_2) = image(\phi_2 \circ f), because ff is surjective (because it is an isomorphism), and finally image(ϕ2f)=image(ϕ1)image(\phi_2 \circ f)=image(\phi_1) because ϕ2f=ϕ1\phi_2 \circ f = \phi_1. This condition on ff also appears to be necessary, as is illustrated by the example with sets above.

So, I think we want ϕ1ϕ2    ϕ2f=ϕ1\phi_1 \sim \phi_2 \iff \phi_2 \circ f = \phi_1 for some isomorphism ff, to be the rule for considering monomorphisms to be equivalent with respect to the subobject they identity.

view this post on Zulip David Egolf (Dec 03 2021 at 22:43):

Zhen Lin Low said:

No, you should not do this. Information is lost when you pass to the image. For example, aaa \mapsto \langle a \rangle cannot distinguish between elements and their inverse.

That is a good point!

view this post on Zulip John Baez (Dec 03 2021 at 22:50):

David Egolf said:

So, I think we want ϕ1ϕ2    ϕ2f=ϕ1\phi_1 \sim \phi_2 \iff \phi_2 \circ f = \phi_1 for some isomorphism ff, to be the rule for considering monomorphisms to be equivalent with respect to the subobject they identity.

That's exactly right! And this is the equivalence relation on monomorphisms that we use when defining a subobject of an object in any category!

view this post on Zulip John Baez (Dec 03 2021 at 22:51):

Then people take results about subsets, and subgroups, etc., and see how to generalize them to subobjects in general categories. Some theorems generalize to all categories, while others generalize only to certain specially nice categories, like 'regular' categories.

view this post on Zulip David Egolf (Dec 07 2021 at 18:04):

[It is possible this related question was already answered above (and that I just need to work on understanding those answers).]

I was reading in "Category Theory In Context" (by Riehl) and was struck by this statement on page 3:

...the algebra of morphisms determines the category...

This is interesting to consider in the context of groups.
A single group GG, viewed as a category, is specified in this way as follows, I think:

However, it seems that we usually do things a bit differently when defining the category Grp\mathsf{Grp} having groups as its objects and group homomorphisms as its morphisms. This specification of the category goes something like this:
-The objects are all the groups
-A morphism ff from GG to HH must satisfy f(a)f(b)=f(ab)f(a)f(b) = f(ab) for all a,bGa,b \in G, where f(a),f(b),f(ab)Hf(a), f(b), f(ab) \in H. In addition, we must have f(idG)=idHf(id_G) = id_H.
This description of Grp\mathsf{Grp} "mixes levels", in that it uses data about composition of morphisms in the categories one sees when "zooming in" on individual groups. It does not directly specify the algebra of composition of morphisms in Grp\mathsf{Grp}. As a result, when working in Grp\mathsf{Grp}, one often considers elements inside objects - instead of focusing entirely on morphisms between objects.

How might one go about specifying Grp\mathsf{Grp} by directly describing the algebra of morphisms, without using the auxiliary concept of elements internal to the obejcts?
(My initial idea is to start by considering the algebra of morphisms about special universal objects and try to build up things from there).

view this post on Zulip John Baez (Dec 07 2021 at 18:08):

How might one go about specifying Grp\mathsf{Grp} by directly describing the algebra of morphisms, without using the auxiliary concept of elements internal to the objects?

The most important thing to realize is that doing this would be a virtuoso exercise - not something we need to do, and not something we should spend our time on unless we happen to enjoy it.

view this post on Zulip Nathanael Arkor (Dec 07 2021 at 18:13):

David Egolf said:

How might one go about specifying Grp\mathsf{Grp} by directly describing the algebra of morphisms, without using the auxiliary concept of elements internal to the obejcts?

This is essentially how [[Lawvere theories]] work: there is a Lawvere theory G\mathbb G of groups, and the category of groups is given by the category of finite-product-preserving functors from G\mathbb G into Set\mathbf{Set}. All the elementwise structure is encapsulated in the category of sets, distinct from the pure algebraic structure of groups.

view this post on Zulip John Baez (Dec 07 2021 at 18:33):

But in this approach a group is still a set equipped with extra structure. You can't instantly read off the morphisms in Grp\mathsf{Grp} from looking at the Lawvere theory G\mathbb{G}. You have to determine the models of G\mathbb{G}, which are sets equipped with operations in G\mathbb{G} (namely groups), and then determine the morphisms between these models, which are functions preserving these operations (namely group homomorphisms).

Lawvere theories are great, but we don't want David to be fooled into thinking they're a trick for "describing the algebra of morphisms [in Grp\mathsf{Grp}], without using the auxiliary concept of elements internal to the objects".

view this post on Zulip John Baez (Dec 07 2021 at 18:35):

What they are is a trick for describing all the operations that any group has, and the laws they obey, without referring to any particular group or its elements.

view this post on Zulip David Egolf (Dec 07 2021 at 22:36):

Thanks to both of you for your interesting responses. It is very helpful to know that the "algebra of morphisms" characterization of Grp\mathsf{Grp} is not necessarily something worth pursuing. I will keep note of the phrase "Lawvere theory" for future reference.

I am beginning to think that some statements about individual groups are just best to state in terms of elements, even if they can be instead stated in terms of morphisms to and from the group. In particular, I suspect this is the case for statements that hold for any group - and are not dependent on particular structure. So, in my "translate introductory group theory into categorical terms" project, some statements will perhaps be best stated in terms of elements, while others may be better stated in Grp\mathsf{Grp} in terms of group homomorphisms.

I did notice (I think) that the compositional structure of a group can be detected by morphisms from the free group on two elements, which was interesting. If we wish to know what the result is from composing aa with bb in a group GG, we can consider the morphism (a,b)(a,b) from the free group on two elements - which sends the first generator to aa and the second to bb. If we call the two generators g1g_1 and g2g_2, then (a,b)(g1g2)=(a,b)(g1)(a,b)(g2)=ab(a,b)(g_1 g_2) = (a,b)(g_1) (a,b)(g_2) = ab. So, if we have a description of terms of elements of this morphism, we can figure out the internal structure of GG in terms of elements. It can also be interesting to look at the kernel of (a,b)(a,b), which tells us about the non-free relationships that hold between aa and bb. However, I don't think this is really helpful in providing a different perspective on proving things about elements in a group that are required to hold for all groups (such as cancellation).

view this post on Zulip Zhen Lin Low (Dec 07 2021 at 22:53):

In fact, any equation that holds in the free group on infinitely many generators will hold for every group.

view this post on Zulip David Egolf (Dec 07 2021 at 23:01):

A related question that comes to mind - is there a description in Grp\mathsf{Grp} of the "free group on one element" Z\mathbb{Z} that does not make use of elements or "underlying sets", but is instead in terms of the algebra of morphisms in Grp\mathsf{Grp}?

view this post on Zulip Zhen Lin Low (Dec 07 2021 at 23:05):

I believe there is, yes, based on its characterisation as the infinite cyclic group.

view this post on Zulip David Egolf (Dec 07 2021 at 23:36):

I've been thinking about it, but I haven't been able to think of a way to specify the infinite cyclic group Z\mathbb{Z} in terms of the algebra of morphisms in Grp\mathsf{Grp}. Any hints would be appreciated.

view this post on Zulip Reid Barton (Dec 07 2021 at 23:58):

There is one described in this MO answer.

view this post on Zulip David Egolf (Dec 08 2021 at 00:14):

Reid Barton said:

There is one described in this MO answer.

Great! Thanks.

view this post on Zulip David Egolf (Dec 13 2021 at 23:53):

Earlier in this thread, I was talking about how I wanted to relate statements in an introductory abstract algebra book to corresponding categorical statements. One such statement is that left-cancellation holds in a group: in a group GG, we have ab=ac    b=cab = ac \implies b=c.

This statement can be proved in categorical language, but the way I was doing this did not seem that interesting. I was modelling the group GG as a category with a single object where each morphism is an isomorphism. The process of proof ends up being very similar to that in the introductory book.

However, I was recently learning about opposite categories and this gave me an idea for how to make the categorical exploration of these theorems a little more interesting. The idea is to follow this process:

  1. Consider some statement SS that we want to show holds for a group GG
  2. "Lift" that statement to a statement about an arbitrary category CC
  3. Prove that statement in this more general setting, so we learn the statement holds for any category
  4. Note that the statement also holds for the opposite category CopC^{op}
  5. Translate the statement in CopC^{op} back to a statement in CC to obtain a "dual" theorem in CC
  6. If possible, "lower" this statement to obtain a dual theorem about the group GG
    If this process works, we can get a dual theorem for our original theorem about groups that we started with.

Here is how the process would look for the left cancellation statement above:

  1. Our statement SS is "in a group GG, we have ab=ac    b=cab = ac \implies b=c"
  2. Lifting the statement yields: In a category CC, we have ab=ac    b=cab=ac \implies b =c for isomorphisms a,b,ca,b,c.
  3. Composing on the left with a1a^{-1} shows that ab=ac    b=cab=ac \implies b=c.
  4. This statement holds in any category, and so in particular it holds in the opposite category: ab=ac    b=cab=ac \implies b =c for isomorphisms a,b,ca,b,c in CopC^{op}.
  5. Translating the statement of the theorem in the opposite category back to CC: ba=ca    b=cba=ca \implies b =c for isomorphisms a,b,ca,b,c. This statement I think still holds for any category. (I'm still figuring out how opposite categories work, so hopefully this is correct).
  6. In particular, the statement holds for GG viewed as a category. We get: "In a group GG, we have ba=ca    b=cba=ca \implies b=c".
    If this process was done correctly, it would seem that right-cancellation in a group is "dual" to left-cancellation!
    This seems really neat, because it gives us a second theorem from a starting theorem.

view this post on Zulip Zhen Lin Low (Dec 13 2021 at 23:57):

Yes, you can do that for groups directly too. You can construct for every group an opposite group – but a special thing about groups (and groupoids) is that they are isomorphic to their opposites!

view this post on Zulip Jean-Baptiste Vienney (Dec 14 2021 at 00:43):

You have really interesting ideas and good intuition ! In the case of groups, it’s effectively quite trivial but I believe that in some other situations, finding the dual theorem is way more interesting. I believe that this kind of duality was known for some problems of plane geometry maybe before the advent of category theory. I don’t know interesting examples of this but I know it exists. Maybe somebody will be able to develop this point.

view this post on Zulip Jean-Baptiste Vienney (Dec 14 2021 at 00:59):

I remember, I read this in the introduction of the book Quantum groups : A path to current algebra by Ross Street. There is such duality in « projective plane geometry » and he gives the example of two theorems known as Pascal’s theorem and Bianchon’s theorem which are duals.

view this post on Zulip David Egolf (Dec 14 2021 at 01:05):

Jean-Baptiste Vienney said:

I remember, I read this in the introduction of the book Quantum groups : A path to current algebra by Ross Street. There is such duality in « projective plane geometry » and he gives the example of two theorems known as Pascal’s theorem and Bianchon’s theorem which are duals.

Very interesting! It looks like I can get a copy through my school library, so I'll be able to take a look.

view this post on Zulip Jean-Baptiste Vienney (Dec 14 2021 at 01:35):

But we always have dual definitions and dual theorems in category theory, you will see that with the further things you will learn. So you take a definition, put a « co » before and have a new definition. Related to the fields I know a little, we have a structure which is named «differential category », if we reverse all the arrows it gives us a « codifferential categories ». The definition without the « co » comes from logic where we found some years ago differential logic. But in Mathematics, not like in logic, it seems that this is the codifferential categories which are more naturals, quite funny ! Because of that fact people need often to add some « co » in their phrases. This is the same story as with electrons, bad luck, we chose at some time that the current is positive in some direction and not the other one and because of that electrons have now a negative charge and not a positive one. Well, this is what I have in my head about duality :grinning_face_with_smiling_eyes: . It’s no more related to groups.

view this post on Zulip Morgan Rogers (he/him) (Dec 14 2021 at 07:08):

Re using duality to get theorems for free: this two for the price of one observation is used all over the place. You might have heard that left adjoints preserve colimits; the dual result is that right adjoints preserve limits, and we get this for free!
Some definitions of specific classes of category are self-dual, which allows us to perform similar deductions. For example, the definition of abelian category is self-dual, which means that any result one can prove about abelian categories is also true for opposites of abelian categories. This becomes a lot more interesting when you consider that the typical examples of abelian categories (categories of modules over commutative rings, say) are far from being equivalent to their opposites.