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 all. I've come across the following phenomenon, which looks like a sort of duality. Can someone tell me if it is an instance of something known?
Let and be sets. Consider the function given by and .
Consider now a (discrete) distribution on , with values . The push-forward distribution on is as follows: , , . In other words, the pushforward distribution looks at what happens in the -preimage of a given point of , it sums whatever is in there in case the preimage is not a single point, and it gives zero if the preimage is empty. So the commutative monoid structure of (where distributions take values) is showing up.
Now consider a function , with values . We can pull back the function to by precomposition, that is, forming . In this case we have that and . In other words, the pullback function looks at what happens in the -image of a given point of , it copies the value to all the elements of the preimage in case there is not a single point, and it discards that value (for example, ) in case the preimage is empty. So the commutative comonoid structure of is showing up.
What kind of duality is this?
If has both structures and they're compatible (something Hopf algebra-ish, say), you might hope that these operations are adjoint to one another somehow. This construction only really works as stated for functions between finite sets and quite special ; both parts can be adapted to infinite situations but the operations become a lot more subtle!
I can think of a category in which there is a known duality between the monoid and comonoid structures you point out: if is a field, swapping addition/zero with copy/discard gives a duality on -linear relations, i.e., those relations that are linear subspaces of . The duality becomes obvious when working with a presentation of this (symmetric monoidal) category, such as the one in this paper, where addition/zero are the white nodes and copy/discard are the black nodes. Then, swapping the two colours defines a (self-)duality! One explanation for why this works is that all the equations involving these two structures are completely symmetric, a somewhat mysterious fact already pointed out by @Pawel Sobocinski in this blog post for example.
Now I'm not sure precisely how it is related to what you've pointed out, but there must be a similar underlying explanation hiding somewhere.
In fact, all the objects you're working with live in this category - the distributions are just vectors and the set maps are maps between the canonical bases, which are all certainly -linear relations - so it might not be so hard to make sense of what you've noticed in those terms
Oh, and isn't the pullback given by the transpose of the relevant map, seen as a matrix? In the associated graphical language, the transpose is realised by colour-swap (followed by taking the converse relation) so that would explain it
Not quite what you're after in terms of algebraic structures, but if you categorify (in the sense that you see and as discrete categories and substitute the monoid with a category with objects the elements of and such that the coproduct corresponds to the sum in and the initial object to 0), then your map is the left Kan extension of with respect to , so that your two constructions amount to the usual direct and inverse image of presheaves, and the duality is indeed given by an adjunction.
(I'm not sure at all that any monoid can be categorified in this sense, but one can always work with the monoid freely generated by the elements of , through which any naturally factorizes)