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.
Is there a notational way to distinguish horizontal and vertical composition? I feel like I've seen for both.
Some people use , where denotes the dimensionality of composition
For a k-cell, you have , where denotes composition along the -boundary, and so on.
Should be , but yes.
If it's just 2-categories you could also use for horizontal, as in monoidal categories. I think that's what Cockett and Seely use, possibly others too.
Shea Levy said:
Is there a notational way to distinguish horizontal and vertical composition? I feel like I've seen 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.
Personally, I find it most intuitive to use for horizontal composition, because it's in the same direction as 1-categorical composition, and then one can use some other symbol, e.g. , for vertical composition.
This convention would mean that if and 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.
In practice I think most people would just denote both kinds of composition by juxtaposition and let context disambiguate.
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
which if one denotes both forms of composition by juxtaposition becomes
I guess I've also heard of being used for horizontal composition. It doesn't come up too often, anyways.
At the point where the notation starts to become nonobvious, it would be better to have a diagram.
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.
I'm thinking of situations in ordinary category theory, like the triangular equations for an adjunction.
I'd expect to see something like , with an explicit for clarity, but otherwise using juxtaposition where possible. I'd be surprised to see or any notation which needed explanation.
Right, tends to show up when you hit 3-categories or higher.
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.