One fine day, it would be nice to think about Lump(X), the category (groupoid, i...
Conor Titania Mc Bride @pigworker@types.pl
One fine day, it would be nice to think about Lump(X), the category (groupoid, indeed (equivalence relation, indeed indeed)) whose objects are lists of lists (lilists) of things in X, and whose morphisms witness having the same flattening. (Some say flatten, some say concat, some say join, some say multiplication, ymmv...)
So there is a morphism between [[1,2],[3,4,5]] and [[1],[2,3],[],[4,5]] because both of these lilists flatten to [1,2,3,4,5]. The identity and composition structure is reassuringly boring.
What starts entertaining us is the monoidal structure. We have
flatten [] = []
flatten (xss ++ yss) = flatten xss ++ flatten yss
so (++) is an honest-to-goddess tensor.
I've spent most of today trying to figure out when a given morphism in this category is irreducible with respect to (++). We say h is irreducible if, whenever h = f ++ g, at least one of f and g is [].
I've been maddeningly dim in my efforts to test irreducibility, but I think I've finally got something which does the job.