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.
(Note: This stream was split from Bimodules vs Spans: Puzzle 1 and Bimodules vs Spans: Puzzle 2. Some comments here refer to those streams and contains links to the respective posts.)
Puzzle 3: What’s a bimodule of a pair of monoid objects in ?
[Edit: This solution is completely wrong. See Attempt #2 below.]
A bimodule would be a set with compatible left and right actions.
Let
and
so that the actions can be written
Together, the actions form a cospan
and pulling this back enforces their compatibility resulting in a span
We can go one step further by forming the spans
so that the composition of these two spans is
Ahh Eric, check what monoidal product is in play in !! A "monoid object in [monoidal category with monoidal product and monoidal unit ]" needs maps and
John Baez said:
A set is a monoid object in the monoidal category .
We can define bimodules for monoid objects in any monoidal category.
A span of sets is a bimodule in .
John mentioned already what monoidal product you should be using here in the message quoted above :wink:
Hi Morgan :wave:
I'm afraid I don't follow :thinking:
I was going by what the original post said:
Let’s work in the category , where a morphism is a function from to . This is a monoidal category with as its tensor product. So, we can talk about monoid objects in .
Hmmm, does there mean the product in or in ?
I certainly made some mistakes (and hope to learn from them), but I don't think I got that wrong :sweat_smile:
This comment makes me think we really want for
So I was using (where , i.e. the terminal set).
The dual problem with is also interesting :blush:
Eric Forgy said:
Puzzle 1: What’s a monoid object in ?
The "object" is a set , but for this to be a monoid object, we need a multiplication
and a unit
satisfying the conditions. I don't think the answer is complete without specifying those :thinking:
Attempt #1: Before looking at Puzzle #2
I think a multiplication in is a function in and the only function that would make sense to me is
A unit in is a function in and that is unique since is terminal.A quick doodle confirms these satisfy associativity and unit laws.
Right! And the really cool part is that this is the only possible choice of maps and obeying (co)associativity and the (co)unit laws. (We usually put the word "co" in here since the maps are going backwards.) So while in you need to specify and to say how we are treating our set as a monoid, in you don't: there's only one choice!
Morgan Rogers (he/him) said:
John Baez said:
A set is a monoid object in the monoidal category .
We can define bimodules for monoid objects in any monoidal category.
A span of sets is a bimodule in .
John mentioned already what monoidal product you should be using here in the message quoted above :wink:
But my remark was probably confusing, because the coproduct + in is exactly what we usually call the product in . Anyway, this is the monoidal product I want: the coproduct in , which we should probably write as because it's the familiar set
which is the product in .
It was my mistake, then, not Eric's! Thanks for clarifying.
Sure!
Anyway, Eric was completely correct in his first attempt to solve Puzzle 1.
Here's a more general way to think about this puzzle. In any monoidal category where the monoidal structure is given by coproduct, every object becomes a monoid in a unique way.
The unit is unique because is initial. The left and right unit laws force to be the codiagonal or 'fold' map .
is associative so becomes a monoid this way. In fact it's commutative.
Even better, the maps are are natural, every morphism in our category becomes a morphism of commutative monoids.
Btw, I've the split the original stream into 3 streams, one for each puzzle, so this is now the stream for Puzzle 3 :blush:
My answer above for Puzzle 3 is completely wrong, so starting over :face_palm:
Given a monoid object , i.e. a set, a left -module is a set together with a function
Similarly, a right -module is a set together with a function
Attempt #2
Given monoid objects and , an -bimodule is a set together with compatible functions
and
These functions form a cospan
that can be pulled back (enforcing compatibility) forming a span
Hence, an -bimodule in is a span
Note this means the answer to Puzzle #2 is also a span of sets.
Let , then
and
so that a -bimodule is a span
but this is a left -module so a left -module is an -bimodule.
Similarly, a right -module is a -bimodule.
Furthermore, an -bimodule is the composition of a left -module, i.e. -bimodule, with a right -module, i.e. -bimodule.