Category Theory - Definition of Hom(X,X) in Awodey

Click For Summary

Discussion Overview

The discussion revolves around the definition of $$ Hom_{Sets} (X,X) $$ as presented in Steve Awodey's book "Category Theory." Participants explore whether the functions defined in this context can be considered homomorphisms, given the suggestive notation, and how this relates to the broader framework of category theory.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Peter questions whether the functions in $$ Hom_{Sets} (X,X) $$ are indeed homomorphisms or if the notation is misleading, given that Awodey defines it simply as a set of functions.
  • Some participants explain that category theory emerged to consolidate common notions across different structures, leading to the idea that morphisms are "structure-preserving maps."
  • It is noted that sets can be viewed as having "null structure," meaning that a set homomorphism is just a function since there is no operation to preserve.
  • A later reply elaborates on the concept of functors and the "hom-functor," which assigns morphisms between objects in a category, emphasizing that for the category of sets, morphisms are functions.
  • Some participants highlight that in certain categories, morphisms can have the same kind of structure as the objects they are morphisms of, as seen in the case of R-modules.

Areas of Agreement / Disagreement

Participants express varying views on the interpretation of the notation "Hom" and its implications for understanding functions in category theory. There is no consensus on whether the functions in $$ Hom_{Sets} (X,X) $$ should be classified as homomorphisms.

Contextual Notes

The discussion touches on the limitations of definitions in category theory, particularly regarding the assumptions about structure in different mathematical contexts. The relationship between sets and homomorphisms remains a point of contention.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
I am reading Steve Awodey's book, "Category Theory" (Second Edition).

In Chapter 1 within a small section on monoids, Awodey defines $$ Hom_{Sets} (X,X) $$ as follows:

" ... ... for any set X, the set of functions from X to X, written as $$ Hom_{Sets} (X,X) $$ is a monoid under the operation of composition."

Despite the notation "Hom" suggesting that we are dealing with a set of homomorphisms, Awodey just defines $$ Hom_{Sets} (X,X) $$ as a set of functions ...

Are these functions actually homomorphisms for some reason, or is the suggestive notation simply misleading in this sense ...?

Hope someone can help.

The relevant text from Awodey is as follows:

View attachment 2519

I just note in passing that D&F first define Hom in the context of R-modules on page 345 as follows:

"Let M and N be R-modules and define $$ Hom_R (M,N) $$ to be the set of R-module homomorphisms from M into N"

I understand that the context of the two definitions are different, one pertaining to modules and one to a set X, but the notation "Hom" is used in both cases, suggesting homomorphisms.

Hoping someone can clarify this issue.

Peter
 
Last edited:
Physics news on Phys.org
One of the impetuses for the creation of category theory was to consolidation common notions that occur ACROSS different structures. This led to the notion of categories at first being "structured things" and morphisms being "structure-preserving maps".

It turned out that this idea is "too restrictive": many mathematical objects are not necessarily "sets with structure". However, many of them ARE, and for these objects "structure-preserving maps" are often called "homomorphisms".

Sets can be viewed as "sets with null structure", that is, a set is a set, together with a null binary operation (no operation at all!). Since a set "homomorphism" has no operation to preserve, it is just a plain old function.

Categories DO have a structure: their arrows form a monoid-like structure (or rather, the analogue for monoids that groupoids are for groups). "Morphisms" of categories are called functors.

There is a "natural" functor for any category $\mathcal{C}$ from $\mathcal{C}^{\text{op}}\times \mathcal{C} \to \mathbf{Set}$ called the "hom-functor", and often written like so:

$\text{Hom}_{\mathcal{C}}(-,-)$

which assigns to any pair of objects $A,B \in \mathcal{C}$ the SET of morphisms $f:A \to B$, and assigns to any pair of morphisms:

$f:A' \to A$ (the "prime" comes first because we are in $\mathcal{C}^{\text{op}}$)
$g:B \to B'$

a map $\text{Hom}_{\mathcal{C}}(A,B) \to \text{Hom}_{\mathcal{C}}(A',B')$ that sends: $h: A \to B$ to $g \circ h \circ f$.

It is often easier to understand this if one "fixes" an object $A$ of $\mathcal{C}$ and considers the two functors:

$\text{Hom}_{\mathcal{C}}(A,-): \mathcal{C}^{\text{op}} \to \mathbf{Set}$

$\text{Hom}_{\mathcal{C}}(-,A): \mathcal{C} \to \mathbf{Set}$

individually.

In some kinds of categories, we have a related functor that takes values in $\mathcal{C}$ itself, instead of $\mathbf{Set}$, that is, that sets of morphisms of a structure have the SAME kind of structure as the objects they are morphisms OF. This is the case with $R$-modules (and thus for abelian groups, and vector spaces, the two "extreme cases" of $R$-modules).

The notation, then "$\text{Hom}_{\mathcal{C}}$" should be read as "morphisms of category $\mathcal{C}$", which for:

$\mathcal{C} = \mathbf{Set}$

means: functions.
 
Deveno said:
One of the impetuses for the creation of category theory was to consolidation common notions that occur ACROSS different structures. This led to the notion of categories at first being "structured things" and morphisms being "structure-preserving maps".

It turned out that this idea is "too restrictive": many mathematical objects are not necessarily "sets with structure". However, many of them ARE, and for these objects "structure-preserving maps" are often called "homomorphisms".

Sets can be viewed as "sets with null structure", that is, a set is a set, together with a null binary operation (no operation at all!). Since a set "homomorphism" has no operation to preserve, it is just a plain old function.

Categories DO have a structure: their arrows form a monoid-like structure (or rather, the analogue for monoids that groupoids are for groups). "Morphisms" of categories are called functors.

There is a "natural" functor for any category $\mathcal{C}$ from $\mathcal{C}^{\text{op}}\times \mathcal{C} \to \mathbf{Set}$ called the "hom-functor", and often written like so:

$\text{Hom}_{\mathcal{C}}(-,-)$

which assigns to any pair of objects $A,B \in \mathcal{C}$ the SET of morphisms $f:A \to B$, and assigns to any pair of morphisms:

$f:A' \to A$ (the "prime" comes first because we are in $\mathcal{C}^{\text{op}}$)
$g:B \to B'$

a map $\text{Hom}_{\mathcal{C}}(A,B) \to \text{Hom}_{\mathcal{C}}(A',B')$ that sends: $h: A \to B$ to $g \circ h \circ f$.

It is often easier to understand this if one "fixes" an object $A$ of $\mathcal{C}$ and considers the two functors:

$\text{Hom}_{\mathcal{C}}(A,-): \mathcal{C}^{\text{op}} \to \mathbf{Set}$

$\text{Hom}_{\mathcal{C}}(-,A): \mathcal{C} \to \mathbf{Set}$

individually.

In some kinds of categories, we have a related functor that takes values in $\mathcal{C}$ itself, instead of $\mathbf{Set}$, that is, that sets of morphisms of a structure have the SAME kind of structure as the objects they are morphisms OF. This is the case with $R$-modules (and thus for abelian groups, and vector spaces, the two "extreme cases" of $R$-modules).

The notation, then "$\text{Hom}_{\mathcal{C}}$" should be read as "morphisms of category $\mathcal{C}$", which for:

$\mathcal{C} = \mathbf{Set}$

means: functions.

Thanks Deveno ... most helpful ... definitely taken my study of category theory forward!

Just working through your post in detail now.

Peter
 
Deveno said:
One of the impetuses for the creation of category theory was to consolidation common notions that occur ACROSS different structures. This led to the notion of categories at first being "structured things" and morphisms being "structure-preserving maps".

It turned out that this idea is "too restrictive": many mathematical objects are not necessarily "sets with structure". However, many of them ARE, and for these objects "structure-preserving maps" are often called "homomorphisms".

Sets can be viewed as "sets with null structure", that is, a set is a set, together with a null binary operation (no operation at all!). Since a set "homomorphism" has no operation to preserve, it is just a plain old function.

Categories DO have a structure: their arrows form a monoid-like structure (or rather, the analogue for monoids that groupoids are for groups). "Morphisms" of categories are called functors.

There is a "natural" functor for any category $\mathcal{C}$ from $\mathcal{C}^{\text{op}}\times \mathcal{C} \to \mathbf{Set}$ called the "hom-functor", and often written like so:

$\text{Hom}_{\mathcal{C}}(-,-)$

which assigns to any pair of objects $A,B \in \mathcal{C}$ the SET of morphisms $f:A \to B$, and assigns to any pair of morphisms:

$f:A' \to A$ (the "prime" comes first because we are in $\mathcal{C}^{\text{op}}$)
$g:B \to B'$

a map $\text{Hom}_{\mathcal{C}}(A,B) \to \text{Hom}_{\mathcal{C}}(A',B')$ that sends: $h: A \to B$ to $g \circ h \circ f$.

It is often easier to understand this if one "fixes" an object $A$ of $\mathcal{C}$ and considers the two functors:

$\text{Hom}_{\mathcal{C}}(A,-): \mathcal{C}^{\text{op}} \to \mathbf{Set}$

$\text{Hom}_{\mathcal{C}}(-,A): \mathcal{C} \to \mathbf{Set}$

individually.

In some kinds of categories, we have a related functor that takes values in $\mathcal{C}$ itself, instead of $\mathbf{Set}$, that is, that sets of morphisms of a structure have the SAME kind of structure as the objects they are morphisms OF. This is the case with $R$-modules (and thus for abelian groups, and vector spaces, the two "extreme cases" of $R$-modules).

The notation, then "$\text{Hom}_{\mathcal{C}}$" should be read as "morphisms of category $\mathcal{C}$", which for:

$\mathcal{C} = \mathbf{Set}$

means: functions.

Hi Deveno,

Just a couple of basic questions.

You write:"There is a "natural" functor for any category $\mathcal{C}$ from $\mathcal{C}^{\text{op}}\times \mathcal{C} \to \mathbf{Set}$ called the "hom-functor", and often written like so:

$\text{Hom}_{\mathcal{C}}(-,-)$"Can you explain what is meant by $$\mathcal{C}^{\text{op}}$$?Also, you write:"$\text{Hom}_{\mathcal{C}}(-,-)$

which assigns to any pair of objects $A,B \in \mathcal{C}$ the SET of morphisms $f:A \to B$, and assigns to any pair of morphisms:

$f:A' \to A$ (the "prime" comes first because we are in $\mathcal{C}^{\text{op}}$)
$g:B \to B'$"Why is the prime - ' - first in one case and second in the other? Is this a typo?Hope you can help.Peter
 
$\mathcal{C}^{\text{op}}$ is the "opposite category of $\mathcal{C}$" which has the same OBJECTS, but an arrow $f:A \to B$ in $\mathcal{C}$ is an arrow $g:B \to A$ in $\mathcal{C}^{\text{op}}$, in other words the arrows go "the opposite direction".

The image of an arrow $f:B \to C$ under the hom-functor:

$H = \text{Hom}_{\mathcal{C}}(A,-)$ is often written: $\text{Hom}_{\mathcal{C}}(A,f)$

or, perhaps more intelligibly: $H(f) = f'$ where for any $g \in \text{Hom}_{\mathcal{C}}(A,B)$

$f'(g) = f \circ g \in \text{Hom}_{\mathcal{C}}(A,C)$ (you may recognize this idea from Dummit and Foote).

This is called a "co-variant" functor, since the direction of the arrows is preserved.

The other hom-functor does the same thing, but instead of post-composition with $f$, we do pre-composition with $f$, which reverses the directions of the arrows:

for $F =\text{Hom}_{\mathcal{C}}(-,A)$, we still get a set $\text{Hom}_{\mathcal{C}}(X,A)$ for any $X \in \text{obj}(\mathcal{C})$, but now, for any arrow $f:X \to Y$, we have:

$F(f) = f_{\ast}$ where for any $g \in \text{Hom}_{\mathcal{C}}(Y,A)$, we have $f_{\ast}(g) = g \circ f$ so that:

$f_{\ast}:\text{Hom}_{\mathcal{C}}(Y,A) \to \text{Hom}_{\mathcal{C}}(X,A)$

(we've "reversed the flow" of FROM $X$ TO $Y$).

Such a functor is called "contra-variant", and is akin to "anti-homomorphisms" one often encounters in rings:

$h(xy) = h(y)h(x)$ (one example of such an "anti-homomorphism" is the transpose map on the ring of $n \times n$ matrices over a commutative ring),

and these are often characterized as (regular) homomorphisms from $R \to R^{\text{op}}$.

With functions (indeed with many categories, not just $\mathbf{Set}$) this is not a "perfect mirror symmetry", the domain and co-domain play asymmetrical roles in a function. As you saw in studying modules, just because we have a surjection:

$M \to M/N$

there is no reason to believe we have an injection $M/N \to M$ (for a concrete example of how this might happen, consider the canonical surjection:

$\Bbb Z \to \Bbb Z/n\Bbb Z$

where it is clear we can have several homomorphisms going left-to-right (just send 1 to a divisor of $n$), but only one possible morphism going right-to-left (the 0-map, which is very much NOT injective)).

So, in general, $\mathcal{C}$ and $\mathcal{C}^{\text{op}}$ behave rather differently. Nevertheless, if something is true for any category, then it can be formulated as a statement about the opposite category of any given category, which often tells us something new and unexpected. This principle is called "categorical duality".
 
Deveno said:
$\mathcal{C}^{\text{op}}$ is the "opposite category of $\mathcal{C}$" which has the same OBJECTS, but an arrow $f:A \to B$ in $\mathcal{C}$ is an arrow $g:B \to A$ in $\mathcal{C}^{\text{op}}$, in other words the arrows go "the opposite direction".

The image of an arrow $f:B \to C$ under the hom-functor:

$H = \text{Hom}_{\mathcal{C}}(A,-)$ is often written: $\text{Hom}_{\mathcal{C}}(A,f)$

or, perhaps more intelligibly: $H(f) = f'$ where for any $g \in \text{Hom}_{\mathcal{C}}(A,B)$

$f'(g) = f \circ g \in \text{Hom}_{\mathcal{C}}(A,C)$ (you may recognize this idea from Dummit and Foote).

This is called a "co-variant" functor, since the direction of the arrows is preserved.

The other hom-functor does the same thing, but instead of post-composition with $f$, we do pre-composition with $f$, which reverses the directions of the arrows:

for $F =\text{Hom}_{\mathcal{C}}(-,A)$, we still get a set $\text{Hom}_{\mathcal{C}}(X,A)$ for any $X \in \text{obj}(\mathcal{C})$, but now, for any arrow $f:X \to Y$, we have:

$F(f) = f_{\ast}$ where for any $g \in \text{Hom}_{\mathcal{C}}(Y,A)$, we have $f_{\ast}(g) = g \circ f$ so that:

$f_{\ast}:\text{Hom}_{\mathcal{C}}(Y,A) \to \text{Hom}_{\mathcal{C}}(X,A)$

(we've "reversed the flow" of FROM $X$ TO $Y$).

Such a functor is called "contra-variant", and is akin to "anti-homomorphisms" one often encounters in rings:

$h(xy) = h(y)h(x)$ (one example of such an "anti-homomorphism" is the transpose map on the ring of $n \times n$ matrices over a commutative ring),

and these are often characterized as (regular) homomorphisms from $R \to R^{\text{op}}$.

With functions (indeed with many categories, not just $\mathbf{Set}$) this is not a "perfect mirror symmetry", the domain and co-domain play asymmetrical roles in a function. As you saw in studying modules, just because we have a surjection:

$M \to M/N$

there is no reason to believe we have an injection $M/N \to M$ (for a concrete example of how this might happen, consider the canonical surjection:

$\Bbb Z \to \Bbb Z/n\Bbb Z$

where it is clear we can have several homomorphisms going left-to-right (just send 1 to a divisor of $n$), but only one possible morphism going right-to-left (the 0-map, which is very much NOT injective)).

So, in general, $\mathcal{C}$ and $\mathcal{C}^{\text{op}}$ behave rather differently. Nevertheless, if something is true for any category, then it can be formulated as a statement about the opposite category of any given category, which often tells us something new and unexpected. This principle is called "categorical duality".
Thanks Deveno … appreciate the help ...

Just working through the post in detail now ...

Peter
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K