Skip to content
Back to exploration
Mathematical modeling / English

#38 Homotopy Type Theory Explained: Natural Transformations, Cat. of Functors

HoTT Math · YouTube · 4:05

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This video segment provides a visual and narrated introduction to the concept of natural transformations in category theory. Building on the previous topic of functors, it defines a natural transformation η\eta between two functors FF and GG (both mapping from category CC to DD) as a rule that assigns to each object xx in CC a morphism ηx\eta_x in DD from F(x)F(x) to G(x)G(x). The segment emphasizes that this assignment must satisfy a crucial commutativity condition: for any morphism h:x→yh: x \to y in CC, the equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x must hold. This is illustrated through a step-by-step animated diagram that constructs the categories, functors, objects, morphisms, and finally the commutative square, making the abstract definition concrete. This video segment explains the concept of natural transformations in category theory, starting with the definition of commutative diagrams. It then introduces the category of functors, denoted as DCD^C, where functors are objects and natural transformations are morphisms. Finally, it details how to compose natural transformations componentwise.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Introduction to Natural Transformations0:38Setting up Functors F and G1:07Defining Components of a Natural Transformation2:05The Commutative Square Condition2:30Commutative Diagrams and Natural Transformations3:03The Category of Functors3:26Composition of Natural Transformations

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The video begins by recalling the concept of functors, which map objects and morphisms between categories, and announces a shift to a higher-level concept: natural transformations.

To establish the context, the narrator introduces two functors, FF and GG, both mapping from a source category CC to a target category DD. A diagram visually separates these two categories with a vertical line and shows arrows for the functors.

Focusing on an arbitrary object xx in category CC, the video shows its images under the two functors, F(x)F(x) and G(x)G(x), located in category DD. This sets the stage for defining the components of a natural transformation.

A natural transformation η\eta from FF to GG is defined as a rule that assigns to every object xx in CC a specific morphism ηx\eta_x in DD. This morphism connects the two images, going from F(x)F(x) to G(x)G(x). The notation ηx:homD(F(x),G(x))\eta_x : \text{hom}_D(F(x), G(x)) is displayed to formalize this.

The process is repeated for another object yy in CC, yielding a corresponding component morphism ηy\eta_y from F(y)F(y) to G(y)G(y) in DD. This illustrates that the rule applies universally to all objects in the source category.

Next, the video considers a morphism hh from xx to yy within category CC. Because FF and GG are functors, they map this morphism to corresponding morphisms F(h)F(h) and G(h)G(h) in category DD, connecting the respective image objects.

The final and crucial condition for η\eta to be a natural transformation is introduced: the diagram must commute. This means that for any morphism h:x→yh: x \to y, the composition of paths around the square formed by F(x)F(x), F(y)F(y), G(x)G(x), and G(y)G(y) must be equal. Specifically, ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x. This ensures the natural transformation is structurally consistent with the functors and the categories they connect.

The video begins by defining what it means for a diagram to commute: if two different paths between the same objects result in the same composite morphism, the diagram commutes. This is illustrated with the equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x.

Next, the concept of a natural transformation is introduced. A natural transformation η\eta between functors FF and GG consists of a family of morphisms ηx:F(x)→G(x)\eta_x : F(x) \to G(x) that satisfy the commutative property shown earlier for every morphism hh in the source category.

The focus then shifts to constructing a new category, the category of functors from CC to DD, denoted DC\mathcal{D}^\mathcal{C}. In this category, the objects are the functors themselves, and the morphisms are the natural transformations between these functors.

Finally, the video explains how to compose morphisms in this new category. The composition of two natural transformations η:F→G\eta : F \to G and γ:G→H\gamma : G \to H is defined componentwise: for each object xx in CC, the xx-component of γ∘η\gamma \circ \eta is simply the composite morphism γx∘ηx\gamma_x \circ \eta_x in DD.

Knowledge cards

01

Natural Transformation Definition

A natural transformation η\eta between two functors F,G:C→DF, G: C \to D is a family of morphisms ηx:F(x)→G(x)\eta_x: F(x) \to G(x) in DD, one for each object xx in CC. These morphisms are called the components of the natural transformation.

ηx:homD(F(x),G(x))\eta_x : \text{hom}_D(F(x), G(x))
02

Commutativity Condition

For the family of morphisms η\eta to constitute a natural transformation, it must satisfy a commutativity condition for every morphism h:x→yh: x \to y in CC. The square formed by the images of xx and yy under FF and GG, connected by ηx\eta_x, ηy\eta_y, F(h)F(h), and G(h)G(h), must commute.

ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
03

Commutative Diagram

A diagram commutes if all directed paths between any two given objects yield the same composite morphism.

ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
04

Natural Transformation

A natural transformation η\eta between functors FF and GG assigns a morphism ηx:F(x)→G(x)\eta_x : F(x) \to G(x) for each object xx, such that the corresponding squares commute.

ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
05

Category of Functors

The category DC\mathcal{D}^\mathcal{C} has functors from CC to DD as objects and natural transformations as morphisms.

DC\mathcal{D}^\mathcal{C}
06

Composition of Natural Transformations

The composition of natural transformations η\eta and γ\gamma is defined componentwise: (γ∘η)x=γx∘ηx(\gamma \circ \eta)_x = \gamma_x \circ \eta_x.

(γ∘η)x:=γx∘ηx(\gamma \circ \eta)_x := \gamma_x \circ \eta_x

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 26

F

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The left side of the board lists `F : C -> D`.

  2. Audio
    Observation

    The narrator says, "Suppose we have the functors F and G from the category C to the category D."

Symbol

F

Meaning

A functor from category C to category D.

Domain

Category C

G

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The left side of the board lists `G : C -> D`.

  2. Audio
    Observation

    The narrator says, "Suppose we have the functors F and G from the category C to the category D."

Symbol

G

Meaning

A functor from category C to category D.

Domain

Category C

C

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The diagram shows a vertical line separating categories labeled `C` and `D`.

  2. Audio
    Observation

    The narrator says, "from the category C to the category D."

Symbol

C

Meaning

The source category containing objects x and y and morphism h.

Domain

N/AN/A

D

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The diagram shows a vertical line separating categories labeled `C` and `D`.

  2. Audio
    Observation

    The narrator says, "from the category C to the category D."

Symbol

D

Meaning

The target category containing objects F(x)F(x), G(x)G(x), F(y)F(y), and G(y)G(y).

Domain

N/AN/A

x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    An object labeled `x` is drawn in category C.

  2. Audio
    Observation

    The narrator says, "given an object x in C".

Symbol

x

Meaning

An arbitrary object in category C.

Domain

Category C

y

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    An object labeled `y` is drawn in category C below x.

  2. Audio
    Observation

    The narrator says, "If we had an object y in C".

Symbol

y

Meaning

Another arbitrary object in category C.

Domain

Category C

h

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    A pink arrow labeled `h` is drawn from x to y in category C.

  2. Audio
    Observation

    The narrator says, "given a morphism h from x to y".

Symbol

h

Meaning

A morphism in category C from object x to object y.

Domain

Category C

η\eta

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The symbol `η\eta` is written on the left side of the board.

  2. Audio
    Observation

    The narrator says, "A natural transformation η\eta from F to G".

Symbol

η\eta

Meaning

A natural transformation between functors F and G.

Domain

Functors F and G

ηx\eta_x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The text `ηx\eta_x : hom_D(F(x)F(x), G(x)G(x))` is written on the left side of the board.

  2. Audio
    Observation

    The narrator says, "assigns to each object x in C a morphism ηx\eta_x from F(x)F(x) to G(x)G(x)".

Symbol

ηx\eta_x

Meaning

The component of the natural transformation η\eta at object x, which is a morphism in D from F(x)F(x) to G(x)G(x).

Domain

Category D

ηy\eta_y

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    An arrow labeled `ηy\eta_y` is drawn from F(y)F(y) to G(y)G(y) in category D.

  2. Audio
    Observation

    The narrator says, "we could similarly speak of a morphism ηy\eta_y from F(y)F(y) to G(y)G(y)".

Symbol

ηy\eta_y

Meaning

The component of the natural transformation η\eta at object y, which is a morphism in D from F(y)F(y) to G(y)G(y).

Domain

Category D

F(x)F(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    An object labeled `F(x)F(x)` is drawn in category D.

  2. Audio
    Observation

    The narrator says, "there are the objects F(x)F(x) and G(x)G(x) in D".

Symbol

F(x)F(x)

Meaning

The image of object x under the functor F.

Domain

Category D

G(x)G(x)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    An object labeled `G(x)G(x)` is drawn in category D below F(x)F(x).

  2. Audio
    Observation

    The narrator says, "there are the objects F(x)F(x) and G(x)G(x) in D".

Symbol

G(x)G(x)

Meaning

The image of object x under the functor G.

Domain

Category D

Knowledge points · 6

Definition of a Natural Transformation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The text `ηx\eta_x : hom_D(F(x)F(x), G(x)G(x))` is written on the left side of the board.

  2. Audio
    Observation

    The narrator says, "A natural transformation η\eta from F to G would then be a rule that assigns to each object x in C a morphism ηx\eta_x from F(x)F(x) to G(x)G(x)."

Definition
Explanation

A natural transformation η\eta between two functors FF and GG (both mapping from category CC to category DD) is a rule that assigns to every object xx in CC a morphism ηx\eta_x in DD, specifically from F(x)F(x) to G(x)G(x). This morphism ηx\eta_x is called the component of the natural transformation at object xx.

Conditions
  1. FF and GG are functors from category CC to category DD.

  2. For each object xx in CC, ηx\eta_x is a morphism in DD from F(x)F(x) to G(x)G(x).

Commutative Square Condition for Natural Transformations

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The equation `ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x` is written at the bottom of the screen.

  2. Audio
    Observation

    The narrator says, "Finally, for η\eta to be a natural transformation, ηy\eta_y composed with F(h)F(h) needs to be equal to G(h)G(h) composed with ηx\eta_x."

Formula
Explanation

For a collection of morphisms ηx\eta_x to form a natural transformation, it must satisfy a specific condition for every morphism h:x→yh: x \to y in the source category CC. The diagram formed by the objects F(x)F(x), F(y)F(y), G(x)G(x), and G(y)G(y) and the morphisms ηx\eta_x, ηy\eta_y, F(h)F(h), and G(h)G(h) must commute. This means that composing F(h)F(h) followed by ηy\eta_y yields the same result as composing ηx\eta_x followed by G(h)G(h).

Formula
ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
Conditions
  1. hh is a morphism in CC from object xx to object yy.

  2. FF and GG are functors from CC to DD.

  3. ηx\eta_x and ηy\eta_y are components of the natural transformation η\eta.

Prerequisites
  1. Definition of a Natural Transformation

Commutative Diagram

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'two objects in a diagram are equal like this. We say that it commutes.'

  2. Formula
    Observation

    The equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x is displayed.

Definition
Explanation

A diagram is said to commute if any two directed paths between the same pair of objects yield equal composite morphisms.

Formula
ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
Conditions
  1. Applies to diagrams formed by morphisms in a category.

Natural Transformation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The text 'η\eta : hom_C(F(x)F(x), G(x)G(x))' is shown, along with the commutative square.

Uncertainties
  1. The notation 'hom_C(F(x)F(x), G(x)G(x))' is likely a typo for 'hom_D(F(x)F(x), G(x)G(x))' since F(x)F(x) and G(x)G(x) are objects in D.

Definition
Explanation

A natural transformation η\eta between functors F and G assigns to each object x in C a morphism ηx\eta_x : F(x)→G(x)F(x) \to G(x) in D such that for every morphism h : x→yx \to y in C, the corresponding square commutes.

Formula
ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x
Conditions
  1. F and G are functors from C to D.

  2. x and y are objects in C.

  3. h is a morphism from x to y in C.

Prerequisites
  1. Commutative Diagram

Category of Functors

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'Suppose we wanted to define the category D superscript C, that is, the category of functors from C to D.'

  2. Formula
    Observation

    The symbol This formula needs review. Please report it using the page feedback control.mathcal{C} is displayed.

Definition
Explanation

The category of functors from C to D, denoted This formula needs review. Please report it using the page feedback control.mathcal{C}, has functors from C to D as its objects and natural transformations between these functors as its morphisms.

Formula
DC\mathcal{D}^\mathcal{C}
Conditions
  1. C and D are categories.

Prerequisites
  1. Natural Transformation

Composition of Natural Transformations

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'And for composition, we'll say that the x component of gamma composed with eta is defined as gamma x composed with eta x.'

  2. Formula
    Observation

    The equation (γ∘η\gamma \circ \eta)_x := γx∘ηx\gamma_x \circ \eta_x is displayed.

Formula
Explanation

The composition of two natural transformations η\eta : F→GF \to G and γ\gamma : G→HG \to H is defined componentwise: for each object x in C, the x-component of γ∘η\gamma \circ \eta is the composite morphism γx∘ηx\gamma_x \circ \eta_x in D.

Formula
(γ∘η)x:=γx∘ηx(\gamma \circ \eta)_x := \gamma_x \circ \eta_x
Conditions
  1. η\eta is a natural transformation from F to G.

  2. γ\gamma is a natural transformation from G to H.

  3. x is an object in C.

Prerequisites
  1. Category of Functors
Visual events · 5

Diagram of Functors between Categories

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The video draws a diagram showing two categories C and D separated by a vertical line, with arrows representing functors F and G going from C to D.

Objects
  1. Category C

  2. Category D

  3. Functor F

  4. Functor G

Changes
  1. Arrows for F and G are drawn from C to D.

Invariants
  1. The vertical line separating C and D remains constant.

Interpretation

This visual establishes the setting: two functors mapping between the same pair of categories, which is the prerequisite for defining a natural transformation between them.

Visualizing Components of a Natural Transformation

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    Objects x and y are added to C. Their images F(x)F(x), G(x)G(x), F(y)F(y), G(y)G(y) are added to D. Arrows ηx\eta_x and ηy\eta_y are drawn connecting F(x)F(x) to G(x)G(x) and F(y)F(y) to G(y)G(y) respectively.

Objects
  1. Object x

  2. Object y

  3. Object F(x)F(x)

  4. Object G(x)G(x)

  5. Object F(y)F(y)

  6. Object G(y)G(y)

  7. Morphism ηx\eta_x

  8. Morphism ηy\eta_y

Changes
  1. Objects and their images are sequentially added.

  2. Vertical arrows representing the components of the natural transformation are drawn in category D.

Invariants
  1. The overall structure of categories C and D and functors F and G remains.

Interpretation

This animation illustrates the first part of the definition: a natural transformation assigns a specific morphism (component) in the target category D to each object in the source category C, connecting the images of that object under the two functors.

The Commutative Square Diagram

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A morphism h is drawn from x to y in C. Corresponding morphisms F(h)F(h) and G(h)G(h) are drawn between the images in D. The equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x appears.

Objects
  1. Morphism h

  2. Morphism F(h)F(h)

  3. Morphism G(h)G(h)

  4. Equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x

Changes
  1. Horizontal arrows representing the images of morphism h under functors F and G are added.

  2. The commutativity equation is displayed at the bottom.

Invariants
  1. The previously drawn objects and vertical component arrows remain.

Interpretation

This completes the visual representation of a natural transformation. It shows that for any morphism h between two objects in C, the square formed by the images of those objects and the images of h must commute in D. This ensures the natural transformation is consistent with the structure of the categories.

Commutative Square Diagram

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A commutative square is drawn showing objects F(x)F(x), F(y)F(y), G(x)G(x), G(y)G(y) and morphisms ηx\eta_x, ηy\eta_y, F(h)F(h), G(h)G(h).

Objects
  1. F(x)F(x)

  2. F(y)F(y)

  3. G(x)G(x)

  4. G(y)G(y)

  5. ηx\eta_x

  6. ηy\eta_y

  7. F(h)F(h)

  8. G(h)G(h)

Changes
  1. The diagram illustrates the condition for a natural transformation.

Invariants
  1. The equality of the two paths from F(x)F(x) to G(y)G(y).

Interpretation

The visual representation confirms that applying F to h and then ηy\eta_y yields the same result as applying ηx\eta_x and then G to h.

Functor Category Diagram

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A diagram shows functors F, G, H as objects in This formula needs review. Please report it using the page feedback control.mathcal{C}, with natural transformations η\eta and γ\gamma as morphisms between them.

Objects
  1. This formula needs review. Please report it using the page feedback control.mathcal{C}

  2. F

  3. G

  4. H

  5. η\eta

  6. γ\gamma

Changes
  1. The diagram illustrates the structure of the category of functors.

Invariants
  1. The composition of morphisms γ∘η\gamma \circ \eta.

Interpretation

The visual representation shows how functors serve as objects and natural transformations as morphisms in the functor category This formula needs review. Please report it using the page feedback control.mathcal{C}.

Misconceptions · 1

Typo in Hom-set Notation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The text 'η\eta : hom_C(F(x)F(x), G(x)G(x))' is displayed.

Uncertainties
  1. It is highly probable that 'hom_C' is a typo for 'hom_D', as F(x)F(x) and G(x)G(x) are objects in the target category D.

Misconception

The video displays η\eta : hom_C(F(x)F(x), G(x)G(x)), which incorrectly places the morphisms in the source category C.

Clarification

Since F and G map from C to D, their images F(x)F(x) and G(x)G(x) are objects in D. Therefore, the components ηx\eta_x should be morphisms in D, meaning the correct notation is ηx\eta_x : hom_D(F(x)F(x), G(x)G(x)).

Concept relations · 3

Definition of a Natural Transformation → Commutative Square Condition for Natural Transformations

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator states, 'Finally, for η\eta to be a natural transformation...' followed by the commutative condition.

Contains
Explanation

The commutative square condition is an essential component of the full definition of a natural transformation; assigning components is necessary but not sufficient without this structural consistency requirement.

Natural Transformation → Category of Functors

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker connects natural transformations to the definition of the category of functors.

Application
Explanation

Natural transformations are used as the morphisms to define the category of functors This formula needs review. Please report it using the page feedback control.mathcal{C}.

Composition of Natural Transformations → Category of Functors

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker defines composition within the context of the newly introduced category.

Application
Explanation

The componentwise composition of natural transformations provides the composition operation for the morphisms in the category of functors This formula needs review. Please report it using the page feedback control.mathcal{C}.

Find an answer · 6

What is the formal definition of a natural transformation in category theory?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator explicitly defines what a natural transformation is.

Knowledge points
  1. Definition of a Natural Transformation
  2. Commutative Square Condition for Natural Transformations

Why must the diagram involving F(h)F(h), G(h)G(h), ηx\eta_x, and ηy\eta_y commute for a natural transformation?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The equation ηy∘F(h)=G(h)∘ηx\eta_y \circ F(h) = G(h) \circ \eta_x is shown as the final condition.

Knowledge points
  1. Commutative Square Condition for Natural Transformations

What does it mean for a diagram to commute?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker defines when a diagram commutes.

Knowledge points
  1. Commutative Diagram

How is a natural transformation between two functors defined?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The commutative square equation is shown.

Knowledge points
  1. Natural Transformation

What is the category of functors from C to D?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker introduces the category DCD^C.

Knowledge points
  1. Category of Functors

How do you compose two natural transformations?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The composition formula is displayed.

Knowledge points
  1. Composition of Natural Transformations
Coverage and review notes

Covered · Introductory remarks referencing previous content on functors and announcing the topic of natural transformations.

Covered · Detailed explanation and visual construction of the definition of a natural transformation, including its components and the required commutative square condition.

Covered · Definition of commutative diagrams and natural transformations.

Covered · Transition and introduction to the next topic.

Covered · Definition of the category of functors and composition of natural transformations.

Covered · Conclusion and outro.

Explore the knowledge in this video

Reviewed subject paths