Interchange law
Template:More citations needed In mathematics, specifically category theory, the interchange law regards the relationship between vertical and horizontal compositions of natural transformations.
Let and where are functors and are categories. Also, let and while and where are natural transformations. For simplicity's and this article's sake, let and be the "secondary" natural transformations and and the "primary" natural transformations. Given the previously mentioned, we have the interchange law, which says that the horizontal composition () of the primary vertical composition () and the secondary vertical composition () is equal to the vertical composition () of each secondary-after-primary horizontal composition (); in short, .[1]
The word "interchange" stems from the observation that the compositions and natural transformations on one side are switched or "interchanged" in comparison to the other side. The entire relationship can be shown in the following diagram.

If we apply this context to functor categories, and observe natural transformations and within a category and and within a category , we can imagine a functor , such that
the natural transformations are mapped like such:
- and .
The functors are also mapped accordingly as such:
- and .