Continued from last week
Solution.
I’m starting to get the feeling that I’m overthinking this exercise and the real purpose was to connect the matrix product with composition. I’ve been basing my Python code around the properties of the adjacency matrix representation of a graph, but this idea really wasn’t explicitly made in the text anywhere.
If I’m just thinking of a traditional “matrix product”, I would evaluate as follows:
My work from last week has a number of errors. Particularly, I mistakely had a duplicate where my should have been, and the text defined opposite to how I did. Specifically, they use such that and for Using that notation, can write our matrix product as This gives us the following:
So I think the trink to this is that our category must have identity maps and an associative property. Given a product we could theoretically substitute or That gives us and This would give us the following two equivalences:
and
Using the properties of our identity maps and zero maps, we can simplify those to the following:
Considering how we’ve defined a “sum” of maps, for any and there should be uniquely defined maps satisfying
and
In other words, we can add a zero map to any map and get the same map back. If follows that and are both “invariate” with respect to this map Our expression for the product above can then be simplified one step more:
And that completes our proof.