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: theory: category theory

Topic: diagrammatic vs applicative composition order


view this post on Zulip Tim Campion (Feb 23 2023 at 13:34):

For composition in an ω\omega-category, I'm currently finding it convenient to write aαba \circ_\alpha b and αa\partial_\alpha a for αZ\alpha \in \mathbb Z to be defined as

αa=αα/αa\partial_\alpha a = \partial_{|\alpha|}^{\alpha / |\alpha|} a

aαb={aαbα=αbαaα=αa \circ_\alpha b = \begin{cases} a \circ_{|\alpha|} b & \alpha = |\alpha| \\ b \circ_{|\alpha|} a & \alpha = -|\alpha| \end{cases}

This has eased a lot of casework in a paper I'm writing, saving me from saying "without loss of generality" or else writing out very similar cases quite a bit. There are two issues though:

  1. What should akba \circ_{k} b mean when kNk \in \mathbb N? Should it mean composition in diagrammatic order, or in applicative order? My intuition has always been that diagrammatic order is "forward" and applicative order is "backward", so I'm inclined to define akba \circ_k b to mean diagrammatic composition, and recover applicative composition as akba \circ_{-k} b. The counterargument would be that, well, applicative composition is conventionally denoted akba \circ_k b, so maybe that should be my convention. I'm curious if anybody might have any thoughts on this.

  2. In my notation, it's not quite the case that aαba \circ_\alpha b is defined for αZ\alpha \in \mathbb Z, because really I have to consider 00 and 0-0 as being distinct. This is fine so far as it goes -- it just means that I really have α{±1}×N\alpha \in \{\pm 1\} \times \mathbb N. But it does raise a question -- maybe I should have αZ{0}\alpha \in \mathbb Z \setminus \{0\} and denote what is usually called akba \circ_k b by ak+1ba \circ_{k+1} b? There would be some logic to this -- really globular composition k\circ_k has to do with the interaction between 11 dimension and kk other dimensions, so there's some logic to thinking of it as a k+1k+1-dimensional phenomenon. But it does fit nicely in the usual convention to say that k\circ_k composition has to do with matching up k\partial_k and k\partial_{-k} of the compositands. Not nearly so nice to have a shift here... Anyway, I'd be curious to hear any thoughts about this too.

view this post on Zulip Mike Shulman (Feb 23 2023 at 17:47):

I would probably argue that the most ordinary sort of \circ should mean applicative order. It's increasingly common to use a semicolon instead to denote composition in diagrammatic order.

view this post on Zulip Mike Shulman (Feb 23 2023 at 17:48):

I don't know about the other. I would probably tend to go with {±1}×N\{\pm 1\} \times \mathbb{N}, unless you end up doing a bunch of arithmetic on subscripts that comes out looking nicer with Z{0}\mathbb{Z}\setminus \{0\}.

view this post on Zulip Tim Campion (Feb 23 2023 at 19:15):

Hmm... I guess I see the logic to a semicolon. Although I think it would look pretty ugly to have all over the place, and it's really not great to put a subscript on a semicolon, since it already goes below the bottom of the line... f;kgf ;_k g
(I suppose what I'm saying is that I really kind of prefer diagrammatic order in my context, so I'd almost rather switch to "usual notation for diagrammatic composition" everywhere rather than use "usual notation with applicative composition" everywhere... and I'm thinking that would not look very good)

view this post on Zulip Tim Campion (Feb 23 2023 at 19:18):

What about a bullet instead? fαgf \bullet_\alpha g or fαgf \cdot_\alpha g

view this post on Zulip Tim Campion (Feb 23 2023 at 19:19):

for comparison fαgf \circ_\alpha g or f;αgf ;_\alpha g

view this post on Zulip Tim Campion (Feb 23 2023 at 19:19):

Actually, I think I like fαgf \cdot_\alpha g

view this post on Zulip Tim Campion (Feb 23 2023 at 19:20):

Maybe even better than fαgf \circ_\alpha g

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 19:50):

What do you think of f#kgf \,\#_k\, g, which is what Steiner uses?

(I personally prefer the look when you reduce the size of the sharp, so f#kgf \, {\scriptstyle \#}_k \, g)

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 19:53):

My second favourite notation is fkgf\, *_k\, g which is what Street used in the oriented simplices paper.

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 19:56):

The latter is also adopted by most of the French working on ω\omega-categories, e.g. here or here.

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 19:58):

All of these are for diagrammatic order, by the way.

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 20:01):

As for your question about kk vs k+1k+1, I think there is a strong precedent for kk and it would be confusing to shift it.

Having both 00 and 0-0 does not look like a major issue if you want to use your notational shorthand.

view this post on Zulip Amar Hadzihasanovic (Feb 23 2023 at 20:06):

(For what it's worth, I always prefer to use notation and terminology which has some history, rather than make up my own, even when I don't think it is optimal; to me it feels like a small show of appreciation for work that came before our own.)

view this post on Zulip Mike Shulman (Feb 23 2023 at 20:34):

If you want to subscript a semicolon, you could use a fatter semicolon: fαgf \mathbin{⨾_\alpha} g.

view this post on Zulip Mike Shulman (Feb 23 2023 at 20:36):

I don't always prefer to use notation and terminology that has some history, but I do agree that in general it's better to stick with what's established, to reduce confusion, unless what's established is extremely bad. My favorite remark along these lines is from Jaap van Oosten: "The only thing worse than bad terminology is continually changing terminology". Cf also https://xkcd.com/927/ -- if everyone invented their own terminology and notation, pretty soon no one would be able to read anything written by anyone else.