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.)
Puzzle 2: What’s a module of a monoid object in ?
We're looking for an object, i.e. set, and a monoid object together with an action
Attempt #1
I think this action should be
This is true for every set in so every set is an -module.
Attempt #2: After looking at Puzzle #3
Referring to Attempt #3 in Puzzle #1, there are actually two kinds of modules in corresponding to the two types of monoid objects.
1. A left -module is a set and an action
2. A right -module is a set and an action
In both cases, the action is function evaluation.
I see my mistake. My intuition wasn't too bad, but as often the case, I missed the mark :bow_and_arrow: :bulls_eye:
My action is too big. It contains all possible actions. The set is important. Hookoodanode :shrug:
The way I should probably think of it is the action
is more like a map
For each , we get an endofunction
Attempt #3
Now that I see it, is is almost embarassing. The answer is pretty much embedded in the puzzle.
An -module of a monoid object in is a set and a function
:face_palm:
As mentioned in my solution to Puzzle 3, an even better solution to Puzzle 2 is the following:
A left -module of a monoid object in is a span
Left -Module
A right -module of a monoid object in is a span
Right -module
An -module of monoid objects in is a span
which can be seen as the composition of left and right modules, where a left -module is a -bimodule and a right -module is a -bimodule.
Eric Forgy said:
Attempt #3
Now that I see it, is is almost embarassing. The answer is pretty much embedded in the puzzle.
An -module of a monoid object in is a set and a function
No, that's not true. An action of a monoid object in is a set and a function such that 2 equations hold (which I'm too lazy to write now). But I'm asking about an action of a monoid object in !
So you have to turn around an arrow in your answer, and you need to take those 2 equations into account.
But there are also other surprises, which show up when you think a bit harder about this using Puzzle 1.
Thank you :pray:
I'll keep at this. I'm hoping this will pay off :sweat_smile:
The ultimate answer here is incredibly simple, but it takes some thought to get it.
Ok. An action
in is a function :thinking:
Is that right at least? Or do I need to swap products too, i.e. ?
All these puzzles are taking place in the category where the monoidal structure is , defined by
I just answered your question. I hope you see how I answered it.
I didn't want to just say "yes" or "no"... I wanted to remind you of what you need to know.
I obviously have zero intuition when it comes to stuff.
Well, so what's the answer to your question "Is that right at least?"
Yes? Or no?
John Baez said:
All these puzzles are taking place in the category where the monoidal structure is , defined by
You have it now in the display line, but without that, it's potentially confusing because the cartesian product in corresponds to the coproduct in .
I don't know.
is a diagram and 'ing it gives a different diagram so I am confused.
An action
in is also a diagram. Since an arrow in is an arrow in , there seems to be just enough ambiguity for me to get confused whether that should be or in :pensive:
Todd Trimble said:
John Baez said:
All these puzzles are taking place in the category where the monoidal structure is , defined by
You have it now in the display line, but without that, it's potentially confusing because the cartesian product in corresponds to the coproduct in .
Yeah! So let's just all agree that we're using the product in Set to give a monoidal structure which we are going to call .
It's confusing no matter what you call it, so let's just call it .
Eric Forgy said:
I don't know.
is a diagram and 'ing it gives a different diagram so I am confused.
I said that that is our notation for the set . I wrote out that crud to emphasize that in these puzzles, that's what I always mean by . Okay?
I said it all before:
John Baez said:
All these puzzles are taking place in the category where the monoidal structure is , defined by
So I told you what our monoidal category is:
A morphism from to is a function , and the tensor product is as defined above!
Once you know that, you know (in theory) what a monoid object is, in this monoidal category.
Puzzle 1 was to figure out all possible monoid objects in this monoidal category.
Puzzle 2, which relies heavily on puzzle 1, is to figure out all actions of monoid object in this monoidal category.
So what's an action of a monoid object in this monoidal category?
Hold on...
I need to get my bearings before I can answer basic questions.
(You're talking to someone who has never really thought much about and has never worked with .)
In we have a product and a coproduct The product is a universal diagram (a span actually) and the coproduct is a universal cospan. An object can be written in terms of elements of and as
This object exists in both and but it is not the product of and in . It is actually their coproduct because a universal span in is a universal cospan in More generally, a limit in is a colimit in and vise versa.
So, getting back to the puzzle, an action
in is a morphism from the object to the object which corresponds to a function
from the object to the object
The only function I can think of would pick an element and we can write
This feels a little weird, but if we have a function
and choose an element , we can define a function
I don't know what you're doing. I suggest you start by writing down the definition of a module in the monoidal category I so painstakingly specified.
Then, after you've written down the definition, including the two equations that need to hold, you could seek to analyze what a module in that monoidal category actually amounts to.
Eric Forgy said:
This feels a little weird, but if we have a function
Since is a morphism in , this is technically the opposite of a function. Not sure if this will help you, but it might be easier to think about the honest-to-goodness functions of which there are many. Generally, crazy stuff could happen in both the part and in the part of , but you want to find the one(s) that play(s) well with the definition of a module when you op it/them.
John Baez said:
I don't know what you're doing. I suggest you start by writing down the definition of a module in the monoidal category I so painstakingly specified.
This is what I'm trying to do :pensive:
From the nLab:
Let be a [[monoidal category]] and a [[monoid object]] in , hence an object equipped with a multiplication morphism
and a unit element
satisfying the [[associativity law]] and the [[unit law]].
A (left) module over in is
an [[object]]
equipped with a morphism
in
such that this satisfies the axioms of an [[action]], in that the following are [[commuting diagrams]] in :
Puzzle 1 was about sorting out the monoid objects and I think I got that.
Puzzle 2 is defining the module. Looking at the definition above, the thing I need is an action
I was trying to define the action, but obviously failing :pensive:
Jason Erbele said:
Eric Forgy said:
This feels a little weird, but if we have a function
Since is a morphism in , this is technically the opposite of a function. Not sure if this will help you, but it might be easier to think about the honest-to-goodness functions of which there are many. Generally, crazy stuff could happen in both the part and in the part of , but you want to find the one(s) that play(s) well with the definition of a module when you op it/them.
Thanks Jason. I was missing the "usual equations" :face_palm:
I understood the monoid object by looking at the opposite functions in To understand an action in , I was trying to look at the opposite function , but I failed to consider the "usual equations". I'll keep trying...
Remember, in an ordinary action of an ordinary monoid A on a set X we demand two equations, the left unit law
1x = x
and associativity
a(bx) = (ab)x
You should be familiar with these in from the definition of a module, which is an action of a monoid object in on an object in .
So we abstract these and write these as commutative diagrams to get the definition of a monoid object in any monoidal category on any object of that category.
The point of Puzzle 2 is to see what these imply in our example .
I don't think you ever really solved Puzzle 1, which is to take the axioms for a monoid object and see what they imply in . In my own answer I sketched the miracle that happens there: it turns out that for any set there's exactly one way to make it into a monoid object in . To prove this you need to use the equations in the definition of monoid object.
A similar miracle happens in Puzzle 2, and the argument is similar.
Quick recap of Puzzle 1...
A monoid object in is, first of all, a set (what else could it be?) . But we also need a multiplication
and a unit
satisfying equations.
To understand , you can look at the opposite function . This is the diagonal map
To understand , you can look at the opposite function . This just sends every element of to the one element in
A quick doodle confirms the equations are satisfied.
For Puzzle 2...
A (left) -module is a set , a monoid object and an action
satisfying equations.
To understand , you can look at the opposite function This is a function that for a given maps
A quick doodle confirms the equations are satisfied.
Here is the doodle:
We need to check
is the same as
Check :check_mark:
We also need to check
is the same as
Check :check_mark:
Will any other way of choosing satisfy these equations?
Maybe? :sweat_smile:
Actually, no. I don't think so.
This was my first thought, but I striked it out above and generalized to
but then this didn't satisfy the unit equations.
If there is another way, can you find it? If there isn't, can you prove that there is no other way of choosing to satisfy these equations?
Also, because the diagonal map, there can only be one chosen . We have freedom which we choose, but once its chosen, that is your
Sure. You have a collection of s indexed by your choice of , but that's all one way of choosing . :upside_down:
I started with a more general
but that only commutes if
I'm just going to re-state this:
Jason Erbele said:
Generally, crazy stuff could happen in both the part and in the part of , but you want to find the one(s) that play(s) well with the definition of a module when you op it/them.
Sorry, I'm feeling dense. Did I miss something or is what I said correct? :sweat_smile:
To understand an action in , we can look at the opposite function in and this function is , so in is the opposite of this function. Right?
You're looking for an action . This is essentially the same as a function from to . I think you've got that point. But the point I'm making in the bit I quoted is that you can have a function that, let's say, maps to , maps to , and maps to . So a function in general can have crazy stuff going on in both the and parts.
Right. That is why it is important to check "the equations" :blush:
Now that particular function, when opped, will not be (an instance of) the action you are looking for, and it looks like see why. But the point is that it seems you are ignoring a huge swath of potential actions.
Oh. Ok. Thanks. I was too dense to realize that is what you meant :sweat_smile:
I'll think some more :pray:
If you take the special case of , you have already identified an important morphism (in puzzle 1) that looks like . Have you checked the action equations on that one?
I think I see what you mean. Instead of choosing an element , we want a function
Will something like that always work? Is there a way to express what you were doing with as a special case of this new attempt?
Check :check_mark:
Check :check_mark:
Jason Erbele said:
Will something like that always work? Is there a way to express what you were doing with as a special case of this new attempt?
What I had before was equivalent to having just one that sends every element of to the element
Now for the big question: Is there any other way that you could pick an action?
Of course not!
(I wish I was that confident :sweat_smile: But I don't think so :blush: )
That seems to be the most general that will satisfy the conditions.
You've played with what I referred to as "craziness" that can happen in the part of with that . Where else did I mention "craziness" could happen in a function ?
Ok ok :blush:
Back to the drawing board. Thank you :raised_hands:
There is one step in the equations I'm not sure about. There is an arrow , which gets reversed to . I thought this should be with no craziness, but if that is the case, then there can not be any craziness in the part of :thinking:
So if involved both a function and a function with
then I need that identity equation to be :thinking:
Check :check_mark:
Doesn't check :x:
The only way to make it check is if the map knows about somehow :thinking:
So what can you conclude about what happens in the part?
I don't think can know about , so the part cannot vary and we have
Is there anything else that can happen, then?
Not that I can think of :sweat_smile:
How confident are you in that answer?
I'm not confident about anything when it comes to this stuff :sweat_smile:
But fairly confident I guess.
The thing I'm not sure about is if that is allows to know about , but I don't think it is. If that is the case, my confidence increases.
Okay. Under what circumstances could that map know about ? Are there any specific problems that could occur otherwise?
There is definitely one circumstance that you have identified where things do work. What does that map know about in that obviously good case?
Or more simply, what is in that case?
In the case that appears to work,
In that case, we can write explicitly as
Right. In the simplest case where a function from to doesn't have to be id, has two elements. There are four functions in that case. What bad things happen with some of those?
(I like to think about simple concrete examples if I'm completely drawing a blank)
Looking up the definition on unitor on nLab, I see
is a natural isomorphism, so that in any case, I think any such should have an inverse.
Wikipedia calls it the right identity.
So it's not just any isomorphism, it's a natural isomorphism. That means more that just having an inverse. And the wikipedia entry gives you a further clue.
From this diagram,
Eric Forgy said:
Check :check_mark:
we see there is no restriction on so it is fine.
The diagram we need to worry about is this one:
Eric Forgy said:
Doesn't check :x:
For that diagram to commute, we need
So what happens when you choose a different for your proposed action? And what did we already see definitely does work?
But the first line needs to be a natural isomorphism so if has two elements, then 2 of the possible 4 s will be invertible and two will not.
Right. In the two-element case there are two very bad situations where isn't an isomorphism.
One of the invertible ones is
The other invertible one maps the one element to the other and vice versa.
The two bad ones map both elements to the same one element (two choices).
Does the swapping case give a natural isomorphism? (and what does that "natural" bit really mean, anyway?)
Two-sided inverse? :sweat_smile:
That's what the "isomorphism" part gives you. :wink:
I don't have a good enough intuition to answer your question about natural isomorphism. I think when there are just two elements, it might be natural (since there is no choice involved), but if there are more than 2 elements, maybe it isn't "natural"?
A simple intuition about whether a morphism is natural would be: is the morphism as boring as possible for that context?
I'm not confident, but I think in this situation, the only natural isomorphism is the identity morphism.
If I had done a better job with this last part, you would be a lot more confident that this really is the only way to go:
Eric Forgy said:
Even if you could do something else for , what you would get would be isomorphic to this.
Don't say that. How can you do better under the circumstances? I am the worst student ever :joy:
That sounds good enough for me! Move on! :smiley: :runner: :blush:
So an action on is the same as a function in
I don't think you qualify as the worst student. You are actually working at figuring stuff out. That's already lightyears beyond some of the students I have in the classes I teach.
Out of curisoity, how is that so obvious to everyone except me? :sweat_smile:
What is the trick I am missing?
It wasn't immediately obvious to me that that was the answer to the puzzle. It only seemed obvious to me in retrospect. You try everything (in this case literally), and only a few things end up actually working.
Yes. A lot of the way I learn things is a random walk. Try. Fail. Try again. This goes for everything in life. Not just mathematics. By making every possible mistake, you end up learning more than getting everything right the first time. I now know about 10,000 ways how NOT to get a module on :joy:
Though I might be tempted to phrase it as "an action on is the same as the graph of a function." But that might be more opaque for someone less familiar with the algebraic definition of the graph of a function.
By "try everything," I don't necessarily mean making every possible mistake. We systematically looked at every possible function and found the ones that could work with the definition.
(A quick nLab search later) Fair enough, but if you know a function, you know its graph, right? So the important thing is to know the function and then you know the action.
Jason Erbele said:
By "try everything," I don't necessarily mean making every possible mistake. We systematically looked at every possible function and found the ones that could work with the definition.
That is only because you were here to guide me. Left to my own devices, I probably would have tried almost everything :sweat_smile:
Right. The graph of a function is "the same as" a function in the same way that an action on is "the same as" a function.
A systematic approach to trying everything certainly makes it easier to know when you're done. I guess I should probably qualify that – everything that parses. If you try stuff that doesn't even parse, you will never finish.
So here is
Atempt #4
Puzzle 2: What’s a module of a monoid object in ?
A left -module of a monoid object in is a function
We see this by considering the definition of a module. A module in is a set and a monoid object together with an action
satisfying some conditions.
This action can be understood by looking at the opposite function
in Such a function is determined by a function so that can be given explicitly in terms of (and ) via
where is the diagonal map
The opposite of in is an action
Eric Forgy said:
For Puzzle 2...
A (left) -module is a set , a monoid object and an action
satisfying equations.
Here the arrow is not a function but a morphism in , right? (I never ask rhetorical questions.) I would avoid using the same kind of arrow for both functions and morphisms in ; it's confusing. Personally I would only talk about functions.
To understand , you can look at the opposite function This is a function that for a given maps
Is this your guess as to what does? You're not making it clear that this is a guess. You seem to be making one guess for each element . You seem to be guessing that for any choice of ,
will give you an action of .
Is that what you're claiming?
(You don't talk like a mathematician, so I often have trouble understanding you.)
John, I tried to guide Eric last night through this puzzle, and that does seem to be what he was claiming about what does, before I jumped in. His final claim in this thread is at around 11:30 p.m. (in our time zone, at least).
Good morning :coffee:
Thanks again Jason. With Jason's help, my most recent attempt at a solution is three comments up, i.e. my last comment :blush:
I'm fairly confident this last one is correct.
Eric Forgy said:
So here is
Atempt #4
Puzzle 2: What’s a module of a monoid object in ?
A left -module of a monoid object in is a function
But then every function corresponds to a span, so another answer is:
A left -module of a monoid object in is a span
I need to check, but I think a safe guess is that a right -module is a span
and an -bimodule is the composition of the two, i.e.
and the composition of an -bimodule with a -bimodule is the composition of the two spans
If this guess isn't correct, then something very similar looking to this should be correct (but I think this is correct).
I'm fairly confident about this, because:
A -bimodule is a monoid object :blush:
Eric Forgy said:
But then every function corresponds to a span, so another answer is:
A left -module of a monoid object in is a span
I don't believe that. I believe a left -module of a monoid object in is the same as a span of the form
In other words, the morphism from to itself in this span must be the identity.
Such a span is a long-winded way of talking about a function , so I'd say the answer is "a function from to ".
Yes. That is what I meant. That is how you turn a function into a span (I've seen it denoted ).
Okay, good. Please try to say what you mean... if you say "a span ", that means an arbitrary span of this form.
Ok. I still need to learn when I need to be explicit and when not. It seems you guys are always leaving off stuff like that :sweat_smile:
We leave out unimportant things. You're leaving out crucial things. It's like I asked "what's 2+2" and you said "an even number", and then it turns out you meant 4. Part of my goal in this discussion is to try to teach you to communicate with mathematicians. This involves a higher level of precision.
Maybe part of the problem is this: when reviewing material one can leave out details while making it clear details are being left out, so the person reading it can ask questions. But when answering puzzles, or proving theorems (which is basically the same thing), one can't leave out details that make the difference between truth and falsity.
Ok. Thank you :pray:
I think it does help to think of modules in as spans though since:
Yeah, it's useful to think of modules as a special case of bimodules, and morphisms as a special case of spans.
But if you want to give the royal answer to
"what's a module of a monoid object in ?"
that is, the simplest, clearest answer, it's:
"a function".
There are lots of puzzles like this in category theory, where a fancy-sounding concept turns out to be something you already know. For such puzzles one always seeks the simplest answer.
Similarly, the royal answer to
"what's a bimodule between monoid objects in ?"
is
"a span of sets"
or perhaps even more clearly:
"a pair of functions with the same domain".
John Baez said:
But if you want to give the royal answer to
"what's a module of a monoid object in ?"
that is, the simplest, clearest answer, it's:
"a function".
That is a left module.
What is a right module of a monoid in ?
Also a function.
I didn't specify left or right modules because for a commutative monoid object there's a natural bijection between left and right modules.
So it doesn't make any difference in this particular question.
Ok. I wondered about that.
For noncommutative monoid objects it's necessary to say "left" or "right" module.... except in some other situations where you have a recipe to turn left modules into right modules and vice versa, which I don't want to get into.
But for commutative monoid objects it's rare to explicitly say whether the module is a left or right one. For example, nobody ever talks about "left vector spaces" and "right vector spaces".
Sure. That makes sense. Thank you.
Sometimes I work with "quaternionic vector spaces" - and then you gotta distinguish between left and right vector spaces! (They're just left or right -modules, but they act so much like vector spaces in some ways that it's tempting to call them quaternionic vector spaces.)