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.
Hi everyone, let me share a cute observation. I write for the monad of (set-theoretic) monoids, i.e. is the set of finite lists/words over the set seen as an alphabet. Writing for the concatenation, I noticed that the function
is a bijection natural in the set . Moreover, the multiplication corresponds to the unique monoid homomorphism which is the identity on and sends to the empty word. (Notice however that the natural bijection above is NOT a natural isomorphism for the free monoid structures!)
For those interested, I came across this on my work on higher-order regular languages. Indeed, any finite set induces the type
whose closed simply typed -terms correspond exactly to words on the alphabet , through the Church encoding. This assignment goes from finite sets to simple types so cannot be composed with itself, but following the natural bijection above the inhabitants of the type
correspond exactly to words of words .
This led me to consider which endofunctors on the category of sets can be equipped with a natural bijection
For the moment, my only examples of such are the functors , , and any constant functor. It is easy to take a polynomial functor induced by some family and to compute what such an isomorphism amounts to on that family, but I want concrete examples.
Also, moving from the category of sets to the category of graphs/quivers, we can see that the free category monad, which I write , verifies an analog property:
where is the graph with same vertices as and with just one "endo"-edge for every vertex.
Fiore and Leinster showed that any arithmetic statement that can be proven using complex numbers establishes a corresponding isomorphism between objects of a rig category (Objects of Categories as Complex Numbers). Can you prove arithmetically and then deduce your isomorphism using the results of Fiore and Leinster?
Nathanael Arkor said:
Fiore and Leinster showed that any arithmetic statement that can be proven using complex numbers establishes a corresponding isomorphism between objects of a rig category (Objects of Categories as Complex Numbers).
I did not know that paper, thanks! I'm going to check that.
Well I just skimmed through the paper, but from what I understand the equation would correspond on complex numbers to the function
on appropriate , and we then compute that
and that
Unless I am missing something, it therefore seems that the bijection above is not captured by the arithmetic of complex numbers?
Only have a moment now, but don't the empty list of lists and the singleton list of the empty list both get sent to the empty list? If so, it would explain why you have an extra one in the calculation of in the last message.
I don't think I've noticed this before. What did you mean when you said that "the natural bijection is not a natural isomorphism for the free monoid structures", does that mean it is not well-behaved with respect to the monad structure?
I ask because at first glance it seems like an isomorphism provides a different way to extract a monad structure on a composite of a monad with an endofunctor compared with the usual way (distributive law). Namely, we get , where the latter is the multiplication of twice. Maybe someone has thought about this example in such a context?
David Corfield said:
Only have a moment now, but don't the empty list of lists and the singleton list of the empty list both get sent to the empty list? If so, it would explain why you have an extra one in the calculation of in the last message.
Right, it should be X** = (X+1)*+1
In which case, the isomorphism would arise from the Fiore–Leinster result, though this doesn't seem to explain the connection to the monad structure.
Oops looks like I messed up my analysis, thanks for pointing out that corner case! Hopefully no future employer of mine will see this thread :)
More generally, the correct formula for graphs is .
Morgan Rogers (he/him) said:
I don't think I've noticed this before. What did you mean when you said that "the natural bijection is not a natural isomorphism for the free monoid structures", does that mean it is not well-behaved with respect to the monad structure?
Well, now I don't know how to answer as the formula was incorrect :( What I meant was that the function defined in the first message does not preserve concatenation, i.e. is not a monoid morphism.
However, if we take the restriction to , where is the monad of semigroups given by non-empty lists, then we have a bijection which is a morphism of semigroups if the codomain set is endowed with the semigroup operation defined as , which adds a bullet in the middle of the concatenation. This is quite satisfying actually :)
Oscar Cunningham said:
Right, it should be X** = (X+1)*+1
So if we make the interpretation
then we get
so the desired relation holds! :tada: :tada: