1 of 21

A tutorial on category theory

for consciousness researchers

By Nao Tsuchiya & Hayato Saigo

2022 Mar 9 13:30-15:00 (JST), 15:30-17:00 (AEST)

1

2 of 21

Format

5 min break after ~30 min

We strongly encourage any question.

We will try to answer all questions both in Zoom (raised hand, chat box) as well as Youtube comments.

Without questions, this tutorial is meaningless!

Don’t worry about the time. We will launch a follow-up if we cannot get to the end of the contents

2

3 of 21

Links

We follow the structure of our paper

Tsuchiya & Saigo 2021 Neuroscience of Consciousness ,

土谷&西郷 2019 認知科学

3

Preprint (Free)

Neurosci Conscious

4 of 21

Contents

  1. Category
    1. Categorical isomorphism
  2. Functor
  3. Natural transformation
  4. Functor category
    • Categorical equivalence
  5. Hom Functor
  6. Yoneda lemma

4

5 of 21

The goal of this tutorial is to understand what the Yoneda lemma is and why we we think it can be used for characterizing qualia

5

What does it mean for qualia to constitute a category?

What does it mean for the structure to be related / similar / same with the structure of information?

How can we characterize and quantify “structure” using category theory?

What do we mean by “different levels of sameness” in category theory?

6 of 21

6

7 of 21

References

Consciousness researchers

Spivak DI. Category Theory for the Sciences. Massachusetts: MIT Press, 2014.

Lawvere FW, Schanuel SH. Conceptual mathematics. Cambridge: CUP, 2009.

Computer scientists

Fong B, Spivak DI. An Invitation to Applied Category Theory. Cambridge: CUP, 2019.

Mathematicians (mathematically oriented people)

Awodey S. Category Theory. Oxford: OUP, 2010.

Leinster T. Basic Category Theory. Vol. 143 Cambridge: Cambridge University Press, 2014.

Harold Simmons: An Introduction to the category theory

7

8 of 21

What is a category?

8

Free category of a directed graph

There may be a lot of arrows between any two objects.

If there is only one arrow, it’s called pre-order.

Many arrows: Category of states and state transitions

Q. Does f;g count as indirect connection or as direct as f and g?

  1. Depends on the context. Semicolon is an “operator” like “+” or “x”. Taking 2 arrows and then sending it to another arrow.

9 of 21

What is a category?

9

10 of 21

isomorphism

10

Q. Is f;g the same as g;f ?

  1. No!

For example, f is the function 2x and g is the function 1+, then (2) f ; g = 5, but (2) g ; f = 6.

Q. is similarity arrow then invertible?

  1. Yes (Groupoid)

11 of 21

11

Different levels of “sameness” in category theory

Q. Is this similarity hierarchy properly contained? (every isomorphism between categories is also a functor)

  1. Yes.

12 of 21

What is a functor?

12

13 of 21

What is a functor?

13

14 of 21

What is a functor?

14

15 of 21

What is a natural transformation?

A key concept in category theory!

We’ll discuss this in more detail.

This is a cornerstone of understanding category theory.

This concept allows us to characterize a structure in a way that other theoretical tools cannot.

Essence: thinking about a lot of arrows at the same time.

Natural transformations are the basis for other important concepts that we plan to introduce into consciousness research in the future (e.g., adjunction)

15

16 of 21

What is a natural transformation?

16

Natural transformation is very unique to CT.

Very frequent

Coordinate transformation

Fourier transform

Psychology, analogy

A:B :: C: D

2-map

2nd order function

Q. Could we get some intuition about difference between isomorphism and Natural Transformation?

  1. Nat T is between Functors.

Q. Is it that isomorphism is within-category, and nat. transformation is between-categories ?)

  1. Equivalence of category can be defined using natural transformation

17 of 21

What is a natural transformation?

17

18 of 21

What is a natural transformation?

18

19 of 21

What is a natural transformation?

19

20 of 21

What is a functor category?

20

21 of 21

What is categorical equivalence?

21

Category C and E are categorically equivalent if there are invertible natural transformations from 1C to F;G and from 1E to G;F.