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.
Let be a small category.
Consider two subsets of arrows of . I can define a "pointwise composition" of and :
Now inductively define a set with the following:
It turns out is a monoid with unit element , and the construction surely is simple enough for it to have been formulated by someone else.
Is it the case? Does this have a name?
Additional points:
Hello Moana! How are you doing?
I hope to say more tomorrow on this, but I cannot guarantee it. For the moment, check out "How Comprehensive is the Category of Semigroups?". It does not give you precisely what you want, but I like it. :)
More simply, I would define, to be the set of non-empty subsets of with composition as you defined it. I think, it's not exactly the same thing that what you obtain with your definition by induction?
Now, if is already a monoid ie. a category with a single object, is still equal to the set of all the non-empty subsets of . It is not the same thing than but you have an injective function which send an element of the monoid to and you can identify your monoid with the image .
I got a better idea: define to be the subset of such that if and only if and . Now define .
Define , if , , , and .
It looks like it's really a monoid. And if you start with a monoid, ie. a category with a single object then , you obtain and it's almost isomorphic to except that you have two new useless elements .
The general idea is that your monoid, by multiplication, composes the morphisms like in and there is also an element "0 ie. error" for when you multiply morphisms which are not composable, and a unit which is here because you want a unit.
Remark that in the case where is a monoid, then is a sub-semi-group of which is isomorphic to . A solution to obtain that preserves monoids would therefore be to do the if and only if don't become a sub-semi-group of which is a monoid if you do the . But it is maybe simpler not to care about that.
Ivan Di Liberti said:
Hello Moana! How are you doing?
I hope to say more tomorrow on this, but I cannot guarantee it. For the moment, check out "How Comprehensive is the Category of Semigroups?". It does not give you precisely what you want, but I like it. :)
Hello Ivan :) How are you?
It sure looks very interesting! I will definitely put it at the top of my to-read list :)
@Jean-Baptiste Vienney Thank you :) One solution indeed would be to add an absorbing element that would "skip" composition when it's impossible. I see two consequences to this:
In any case I'll think about this!
Moana Jubert said:
Let be a small category.
Consider two subsets of arrows of . I can define a "pointwise composition" of and :
Now inductively define a set with the following:
- For any arrow of , the set is an element of
- Given , then
It turns out is a monoid with unit element , and the construction surely is simple enough for it to have been formulated by someone else.
Is it the case? Does this have a name?
Additional points:
- weirdly behaves, as for example if is already a monoid seen as a one-object category then in general
- I am actually looking for a "reasonable" way to turn a category into a monoid which is "well-behaved enough", in the sense that everything that I need to know about a category is reflected by the structure of the associated monoid...
Hi Moana,
I cannot add much more to your original question about the construction you propose but I find the topic intriguing. I was wondering, what motivates you to want to capture "everything you need to know about a category" into a monoid? Why that particular (total) algebraic structure?
Hello Carlos! Here's what I have been thinking about:
Let be a monoid seen as a one-object category . A functor amounts to a set equipped with an action when we unfold the necessary data. Now, a natural transformation between merely is a function on the underlying sets which preserves the action of .
canonically acts on itself "on the left" via the only (co)representable functor .
I then have two questions:
I see! So you are looking for constructions of such a right? Why should we expect it to be a total algebraic structure?
Yes! Well because I'm curious if it would work!
But for example, a module is a particular case of monoid, yet it is more "natural" to define a module in terms of an action over an abelian group rather than as a single monoid with some prescribed properties...
In any case monoids are such a basic structure that maybe, maybe there's some way to encode all of, or many of the properties of a category
I can see the pattern for (total) associative-like algebras to be encoded into monoids, like the case of modules you point out, but I am having a hard time thinking how you are going to encode the partial/typed nature of categories. In a sense, that's precisely what categories do beyond just being monoids. If one insists that monoid be the name of an algebra with an associative binary and identity, then categories should be called "monoidoids" in the same naming convention that gives "groupoids" from groups ;) Maybe I am missing something... I do find this question interesting since I am exploring exotic higher-arity algebras and I have just focused on the "-oid" version from the start, since they are easier to define in a typed framework (totality is a specific property of certain diagrams or type constraints).