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: Notation for 2-cell compositions?


view this post on Zulip Shea Levy (Oct 31 2020 at 12:48):

Is there a notational way to distinguish horizontal and vertical composition? I feel like I've seen \circ for both.

view this post on Zulip Fabrizio Genovese (Oct 31 2020 at 12:52):

Some people use n\circ_n, where nn denotes the dimensionality of composition

view this post on Zulip Fabrizio Genovese (Oct 31 2020 at 12:53):

For a k-cell, you have 1,,k\circ_1, \dots, \circ_k, where 1\circ_1 denotes composition along the 11-boundary, and so on.

view this post on Zulip Amar Hadzihasanovic (Oct 31 2020 at 13:28):

Should be 0,,k1\circ_0, \ldots, \circ_{k-1}, but yes.

view this post on Zulip Amar Hadzihasanovic (Oct 31 2020 at 13:30):

If it's just 2-categories you could also use \otimes for horizontal, as in monoidal categories. I think that's what Cockett and Seely use, possibly others too.

view this post on Zulip fosco (Oct 31 2020 at 16:06):

Shea Levy said:

Is there a notational way to distinguish horizontal and vertical composition? I feel like I've seen \circ for both.

\boxvert, and \boxminus, of course! (I never remember which one is already defined, the one that isn't is just a \mathop of the \rotatebox{90} of the other.

view this post on Zulip Nathanael Arkor (Nov 01 2020 at 11:27):

Personally, I find it most intuitive to use \circ for horizontal composition, because it's in the same direction as 1-categorical composition, and then one can use some other symbol, e.g. \bullet, for vertical composition.

view this post on Zulip Reid Barton (Nov 01 2020 at 11:47):

This convention would mean that if α:FG\alpha : F \to G and β:GH\beta : G \to H are natural transformations, the notation for their composition would depend on whether you're currently viewing them as 2-morphisms of Cat or 1-morphisms of a category of functors... which seems like a pretty thin distinction to draw.

view this post on Zulip Reid Barton (Nov 01 2020 at 11:47):

In practice I think most people would just denote both kinds of composition by juxtaposition and let context disambiguate.

view this post on Zulip John Baez (Nov 01 2020 at 15:48):

I've always seen people use separate notations, and this seems pretty important, since one often uses both kinds of composition together, e.g. in the interchange law

(αβ)(αβ)=(αα)(ββ) (\alpha \circ \beta) \otimes (\alpha' \circ \beta') = (\alpha \otimes \alpha') \circ (\beta \otimes \beta')

which if one denotes both forms of composition by juxtaposition becomes

(αβ)(αβ)=(αα)(ββ) (\alpha \beta) (\alpha' \beta') = (\alpha \alpha') (\beta \beta')

view this post on Zulip Reid Barton (Nov 01 2020 at 20:18):

I guess I've also heard of * being used for horizontal composition. It doesn't come up too often, anyways.

view this post on Zulip Reid Barton (Nov 01 2020 at 20:18):

At the point where the notation starts to become nonobvious, it would be better to have a diagram.

view this post on Zulip John Baez (Nov 01 2020 at 20:47):

Some days I use horizontal and vertical composition in 2-categories all day long. I've used various notations at various times, since I don't think there's a standard one. The main thing is to explain your notation.

view this post on Zulip Reid Barton (Nov 01 2020 at 21:24):

I'm thinking of situations in ordinary category theory, like the triangular equations for an adjunction.

view this post on Zulip Reid Barton (Nov 01 2020 at 21:26):

I'd expect to see something like 1=εFFη1 = \varepsilon F \circ F \eta, with an explicit \circ for clarity, but otherwise using juxtaposition where possible. I'd be surprised to see i\circ_i or any notation which needed explanation.

view this post on Zulip John Baez (Nov 01 2020 at 21:44):

Right, i\circ_i tends to show up when you hit 3-categories or higher.

view this post on Zulip John Baez (Nov 01 2020 at 21:45):

I use a lot of mixtures of horizontal and vertical composition of natural transformations in category theory, but as you suggest, it's best to describe these using 2-categorical pasting diagrams: they're a lot clearer.