Under Construction
Contents
Attempt #2
Introduction
Thank you to Toby for helping me think this through. We had a discussion on some of these issues on the n-Forum.
He helped convince me that the boundary of a 2-morphism might not be exactly what I’m looking for. However, the ideas I presented here seem to be somehow neat and I can’t help but think there is something interesting to be uncovered here.
Source and Target Endomorphisms
So now, in my second attempt, instead of a single boundary endomorphism
\partial\alpha: y\to y,
I want to consider two endomorphisms
s_\alpha: x\to x
and
t_\alpha: y\to y
satisfying
t_\alpha\circ f = g\circ s_\alpha.
The motivation for the above is the archetypal example of a strict 2-category Cat. In this case the 2-morphisms are natural transformations and the source and target endofunctors map to the components via
s_\alpha(a\to b) = \alpha_a
and
t_\alpha(a\to b) = \alpha_b.
Attempt #1
Introduction
In this note, we examine a boundary operation on 2-morphisms and derive its resulting calculus. Using this calculus, we derive the interchange law.
Boundary
To begin, consider two morphisms and a 2-morphism as illustrated below
\begin{aligned}
y &\stackrel{f}{\leftarrow} & x \\
\mathllap{1_y}{\downarrow} & {}^\alpha\Downarrow & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
y &\underset{g}{\leftarrow} & x
\end{aligned}
We would like to conceptually think of as measuring the failure of this diagram to commute.
The approach we take here to make this explicit is to define a new endomorphism
\partial\alpha: y\to y
such that when we insert it into the diagram, the composites become equal, i.e.
\partial\alpha\circ f = g.
In a way, we can think of as one-sided coequalizer that (co)equalizes the two parallel paths.
Vertical Composition
Next, consider three morphisms and two 2-morphisms and . The two 2-morphisms can be vertically composed giving a third 2-morphism .
\begin{aligned}
y &\stackrel{f}{\leftarrow} & x \\
\mathllap{1_y}{\downarrow} & {}^\alpha\Downarrow & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
y &\underset{f'}{\leftarrow} & x \\
\mathllap{1_y}{\downarrow} & {}^{\alpha'}\Downarrow & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
y &\underset{f''}{\leftarrow} & x
\end{aligned}
From the definition of the boundary of we have the following relations
\partial\alpha\circ f = f',
\partial\alpha'\circ f' = f'',
and
\partial(\alpha'\alpha)\circ f = f''.
Putting this together indicates the following rule for vertical composition:
\partial(\alpha'\alpha)\circ f = \partial\alpha'\circ\partial\alpha\circ f.
Horizontal Composition
Now, consider four morphisms and together with two 2-morphisms and . The two 2-morphisms can be horizontally composed giving a third 2-morphism .
\begin{aligned}
z &\stackrel{f_1}{\leftarrow} & y &\stackrel{f_2}{\leftarrow} & x \\
\mathllap{1_z}{\downarrow} & \mathllap{{}^{\alpha_1}}{\Downarrow} & \mathllap{1_y}{\downarrow} & \mathllap{{}^{\alpha_2}}{\Downarrow} & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
z &\underset{f_1'}{\leftarrow} & y &\underset{f_2'}{\leftarrow} & x
\end{aligned}
Again, from the definition of the boundary of we have the following relations
\partial\alpha_1\circ f_1 = f_1',
\partial\alpha_2\circ f_2 = f_2',
and
\partial(\alpha_1\circ\alpha_2)\circ f_1\circ f_2 = f_1'\circ f_2'.
Finally, putting this together indicates the following rule for horizontal composition:
\partial(\alpha_1\circ\alpha_2)\circ f_1\circ f_2 = \partial\alpha_1\circ f_1\circ\partial\alpha_2\circ f_2.
Interchange Law
The interchange law is a consistency requirement relating the vertical and horizontal compositions. In this section, we demonstrate that when there is a well-defined boundary map, the interchange law is satisfied automatically.
To fix the notation, we begin with 6 morphisms and and 4 2-morphisms , , , and as illustrated below:
\begin{aligned}
z &\stackrel{f_1}{\leftarrow} & y &\stackrel{f_2}{\leftarrow} & x \\
\mathllap{1_z}{\downarrow} & \mathllap{{}^{\alpha_1}}{\Downarrow} & \mathllap{1_y}{\downarrow} & \mathllap{{}^{\alpha_2}}{\Downarrow} & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
z &\underset{f_1'}{\leftarrow} & y &\underset{f_2'}{\leftarrow} & x \\
\mathllap{1_z}{\downarrow} & \mathllap{{}^{\alpha_1'}}{\Downarrow} & \mathllap{1_y}{\downarrow} & \mathllap{{}^{\alpha_2'}}{\Downarrow} & \mathrlap{\,\,\,\,1_x}{\downarrow} \\
z &\underset{f_1''}{\leftarrow} & y &\underset{f_2''}{\leftarrow} & x
\end{aligned}
If we vertically compose first and then horizontally compose, we obtain the 2-morphism
(\alpha_1'\alpha_1)\circ(\alpha_2'\alpha_2).
Conversely, if we horizontally compose first and then vertically compose, we obtain the 2-morphism
(\alpha_1'\circ\alpha_2')(\alpha_1\circ\alpha_2).
The interchange law states the the resulting 2-morphism should not depend on the order of composition so that
(\alpha_1'\alpha_1)\circ(\alpha_2'\alpha_2) = (\alpha_1'\circ\alpha_2')(\alpha_1\circ\alpha_2).
Let’s now consider the boundary
\begin{aligned}
\partial[(\alpha_1'\alpha_1)\circ(\alpha_2'\alpha_2)]\circ f_1\circ f_2
&= \partial(\alpha_1'\alpha_1)\circ f_1\circ\partial(\alpha_2'\alpha_2)\circ f_2 \\
&= \partial\alpha_1'\circ\partial\alpha_1\circ f_1\circ\partial\alpha_2'\circ\partial\alpha_2\circ f_2 \\
&= \partial\alpha_1' \circ f_1'\circ \partial\alpha_2'\circ f_2' \\
&= \partial(\alpha_1'\circ\alpha_2')\circ f_1'\circ f_2' \\
&= \partial(\alpha_1'\circ\alpha_2')\circ\partial\alpha_1\circ f_1\circ\partial\alpha_2\circ f_2 \\
&= \partial(\alpha_1'\circ\alpha_2')\circ\partial(\alpha_1\circ\alpha_2)\circ f_1\circ f_2 \\
&= \partial[(\alpha_1'\circ\alpha_2')(\alpha_1\circ\alpha_2)]\circ f_1\circ f_2.
\end{aligned}
This demonstrates that the action of on is the same as the action of on when the boundary is defined. In other words, when the boundary map is defined, horizontal and vertical composition automatically satisfy the interchange law.
I don't agree with this conclusion. What you've shown is that, when a well-defined boundary operation exists, the interchange law is satisfied up to boundaries. But you haven't proved that ; you've only proved that . (Actually, you haven't even proved that, since you've also got those s hanging on the end.) So the theorem only holds when you have an injective well-defined boundary operation (and sometimes not even then).
I think that this is likely to be very rare. Consider the case of a strict -groupoid (or even some more general strict -category in which morphisms are invertible but -morphisms might not be). Then there is a well-defined boundary operation, with for (as you know). But this is far from injective, since there may be many -morphisms from to . So the interchange law that you've proved amounts to , which is true enough, but this does nothing to prove the actual interchange law, which is an equation between -morphisms.
—Toby Bartels
2-Groupoids
When dealing with groupoids, the boundary map takes on a more intuitive form, i.e.
\partial\alpha = g\circ f^{-1}.
For vertical composition, we obtain
\partial(\alpha'\alpha) = \partial\alpha'\circ\partial\alpha
and for horizontal composition
\partial(\alpha'\circ\alpha) = \partial\alpha'\circ f\circ\partial\alpha\circ f^{-1}.
Note that the boundary of horizontally composed 2-morphisms is reminiscent of the semidirect product.
Source and Target Morphisms
Given a 2-morphism , in addition to the boundary morphism , we can consider source and target morphisms
s(\alpha) = f
and
t(\alpha) = g.
With source and target morphisms, we can write the boundary endomorphism as
\partial\alpha\circ s(\alpha) = t(\alpha).
2-Morphisms out of Identities
When a 2-morphism has an identity morphism as its source, i.e. , then the boundary of the 2-morphism is equal to the target
\partial\alpha = t(\alpha).
Horizontally composing two such 2-morphisms results in
\partial(\alpha'\circ\alpha) = \partial\alpha'\circ\partial\alpha = t(\alpha')\circ t(\alpha)
so the boundary of horizontally composed 2-morphisms whose sources are identities is simply the composition of the respective target morphisms.
Categories, functors, and natural transformations comprise the archetypal example of a strict 2-category. Therefore, it is natural to consider the boundary of a natural transformation. So given categories and , functors , and a natural transformation , we’d like to understand the endofunctor (if it exists)
\partial\alpha:D\to D
satisfying
\partial\alpha\circ F = G.
To make things concrete, we can consider a simple example where consists of two objects and one non-identity morphism between them
a\to b.