BTW, a simpler definition of a (small) category is that it is a partial monoid.
(I’m not sure this ‘simpler definition’ is going to help!)