## Arrow Categories

One very useful example of a category is the category of arrows of a given category .

We start with any category with objects and morphisms . From this we build a new category called , for reasons that I’ll explain later. The objects of are just the morphisms of . The morphisms of this new category are where things start getting interesting.

Let’s take two objects of — that is, two morphisms of — and lay them side-by-side:

Now we want something that transforms one into the other. What we’ll do is connect each of the objects on the left to the corresponding object on the right by an arrow:

and require that the resulting square commute: as morphisms in . This is a morphism from to . Sometimes we’ll write , and sometimes we’ll name the square and write .

If we have three morphisms , , and in , and commuting squares and then we can get a commuting square . We check that this square commutes: . This gives a composition of commuting squares. It’s easily checked that this is associative.

Given any morphism in we can just apply the identity arrows to each of and to get a commuting square between and itself. It is clear that this square serves as the identity arrow on the object in , completing our proof that arrows and commuting squares in do form a category.

## ARML Scrimmage Power Question

As expected, the only really interesting part of the scrimmage was the “power question”. This is basically a proof-based problem the whole team of 15 (or so) works on for an hour. This was always what I was best at, and tonight’s was no exception. I’ll post the question here for you to chew on. I’m restating it somewhat for this forum. You can ask for clarifications in the comments, but I’d rather you not post solutions since I intend to come back to it in a week to give my own (cleaned-up) solutions.

I didn’t write them all the answers out myself, but I could have done within the hour if I didn’t have to write them out longhand. I also give credit to more fastidious members of the team reviewing some of my answers and writing them out in the actual competition.

This problem is concerned with “arrangements” of “bits”. A bit is just a symbol in one of two states: or . A configuration is a string of bits, considered to loop around from one end to the other. Actually the problem is written in terms of bits arranged around a circle, but I’ll just write them as strings to avoid having to draw circular configurations here.

We’re interested in the following transformation on arrangements: a string becomes the string , where if and if . Since we’re considering the strings to loop around, we have if and if . As an example, the string becomes the string .

Part I

1. What arrangements are created by starting with and transforming it one, two, three, and four times?

2. Show the first 4 transformations of .

3. Justify why will never become all zeroes no matter how many transformations are applied.

Part II

4. Show that any arrangement of two bits becomes all zeroes within two transformations.

5. Let be any three consecutive bits in an arrangement, which may have any number of other bits (these three may also wrap from the end of a string to the beginning). Show that transforming the arrangements twice gives a or at position depending on whether and are the same or different.

6. Use problem 5 to prove the following statement: if an arrangement with an even number of bits is transformed twice, then the result is the same if every other bit was treated as an arrangement and transformed once. That is: going to in two transformations is equivalent to and going to and in one transformation each, and similarly for other even-length arrangements.

7. Extend the idea of problems 5 and 6 by proving the following. Let be an arrangement of length . Prove that after transformations, the value in position depends only on whether and were the same or different in the original arrangement for all .

8. Prove that, for any positive integer , any arrangement of bits becomes all zeros after transformations.

Part III

9. Justify why arrangements that are either all zeros or all ones are the only arrangements that give all zeros after one transformation.

10. Prove that one transformation on any arrangement of bits results in arrangement with an even number of ones.

11. Combine Problems 9 and 10 and prove that if an arrangement has an odd number of bits and is not all zeros and not all ones, then no number of transformations will result in all zeros.

12. Prove that if an arrangement has an even number of bits that is not a power of two, and exactly one bit is , then no number of transformations will result in an arrangement of all zeros.

*[UPDATE]* Somehow the post got clipped.. I’ve replaced the old material as close to my original wording as I remember