You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
Take a directed graph with edges and a function , where is a vector space, or a semi-module, or a commutative monoid with and . Now, take the reflexive and transitive closure as usual to get a free category, but also extend like so:
Now, to avoid possible confusion, consider any two arrows with the same source and target that sends to the same vector to be equal. So, essentially arrows are vectors, though technically equipped with source and target assignment (just as functions are in categories of sets and functions).
Now, as seems obvious:
The requirements of category are fulfilled at once, as is the identity of the associative in any vector, semi-module or commutative monoid.
How do I call categories so constructed? Is there any literature that describes them?
David Spivak and Brendan Fong describe something similar in chapter 2 of the book Seven Sketches in Compositionality, but as far as I recall they only consider the case of a single number where I want to have a set of vectors, and the whole machinery of enrichment they spin up is not needed in my construction.
This construction is in the paper @Adittya Chaudhuri and I are writing! It's probably not new. If I understand what you're talking about, it works for any monoid : I don't see commutativity being used.
We can describe it like this. Any monoid gives a category called its [[delooping]] . This has one object, one morphism for each , and composition is the monoid operation.
There's a forgetful functor from categories to graphs
So, we also get a graph with one vertex and one edge for each element of .
Now the fun starts: a graph with edges labeled by elements of is the same as a map of graphs
The forgetful functor has a left adjoint
By the way adjoints work, the map of graphs
gives a functor between categories
And I believe this is what you want. maps each morphism in the free category on to an element of your monoid , and since it's a functor it obeys
another perspective on this is that you're defining an enrichment in ; indeed such enrichments correspond to lax functors from a category (such as ) to (aka [[polyad]]). since is a mere monoid your lax functor is in fact strict.
Note that neither of these constructions perform the identification of arrows that you requested @Ignat Insarov ; is that important?
Maybe we can split the functor through a category , like so: . Now, if we require that have the same objects as and that be full and faithful, should be exactly as I wanted. Right?