Category Theory
Zulip Server
Archive

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.


Stream: learning: questions

Topic: how to recover a commutative ring from its modules


view this post on Zulip John Baez (May 14 2023 at 23:49):

In what follows all my categories, functors, equivalence etc. will be Ab-enriched.

Usually you can't recover a ring from its category of modules. Indeed, we say two rings are Morita equivalent if their categories of module are equivalent, and any ring RR is Morita equivalent to the ring of n×nn \times n matrices with entries in RR.

view this post on Zulip John Baez (May 14 2023 at 23:50):

However, it should be possible to recover a commutative ring from its category of modules.

view this post on Zulip John Baez (May 14 2023 at 23:56):

My evidence for this is Prop. 21.10 in Anderson and Fuller's Rings and Categories of Modules.

(I've owned this book for decades but only recently am I exploring the relevant sections. Now it strikes me how much work they do to show things work the same way in equivalent categories - things that seem obvious. Maybe that means this book is good for people who don't yet "get" category theory.)

view this post on Zulip John Baez (May 14 2023 at 23:57):

This proposition says that if two rings are Morita equivalent, their centers are isomorphic.

view this post on Zulip John Baez (May 14 2023 at 23:57):

But I'd much rather hear a theorem that says how to read off the center of a ring from its category of modules!

view this post on Zulip John Baez (May 15 2023 at 00:02):

And staring at the proof, I think we might be able to do it this way. Suppose MM is any projective generator of the category Mod(R)\mathsf{Mod}(R). Here MM is a generator if for every object XX there's an epimorphism from some (possibly infinite) sum of copies of MM to XX.

view this post on Zulip John Baez (May 15 2023 at 00:06):

Then I believe the center of the ring of endomorphisms of MM (that is, RR-module endomorphisms) is isomorphic to the center of RR!

view this post on Zulip John Baez (May 15 2023 at 00:08):

If this is true then we're done, since for every ring RR, the category Mod(R)\mathsf{Mod}(R) has a projective generator: for example RR itself. So we just take any one, and take center of its ring of endomorphisms, and that's the center of RR.

view this post on Zulip John Baez (May 15 2023 at 00:11):

And the important part is that we don't need to know RR ahead of time to tell what objects in Mod(R)\mathsf{Mod}(R) are projective generators.

view this post on Zulip John Baez (May 15 2023 at 00:15):

However, I'm not completely sure of the logic of Anderson and Fuller's proof (it uses a bunch of facts proved elsewhere, and at least one of the references back to those facts seems wrong).

view this post on Zulip John Baez (May 15 2023 at 00:16):

In particular I'm not really sure of this:

view this post on Zulip John Baez (May 15 2023 at 00:17):

I'm afraid this may be true only for finitely generated projective generators, and unfortunately it seems we do need to know RR ahead of time to tell what objects in RR are finitely generated.

view this post on Zulip John Baez (May 15 2023 at 00:19):

We'll see who among you knows a bunch about rings and modules! It's funny how this sort of math doesn't show up much in programming or "applied" category theory.

view this post on Zulip John Baez (May 15 2023 at 01:49):

Hmm, maybe there's a better way to recover a commutative ring RR from the Ab-enriched category Mod(R)\mathsf{Mod}(R). Here's another attempt. Since RR is commutative, every element rRr \in R acts as an endomorphism of each RR-module MM, namely multiplication by rr.

If I'm not getting myself confused, these fit together to give a natural transformation from 1:Mod(R)Mod(R)1: \mathsf{Mod}(R)\to \mathsf{Mod}(R) to itself.

view this post on Zulip John Baez (May 15 2023 at 01:51):

It seems that natural transformations from 11 to itself form a ring under composition and addition, say End(1Mod(R))\mathrm{End}(1_{\mathsf{Mod}(R)}).

view this post on Zulip John Baez (May 15 2023 at 01:53):

So it seems we have a ring homomorphism

m:REnd(1Mod(R))m : \mathrm{R} \to \mathrm{End}(1_{\mathsf{Mod}(R)})

view this post on Zulip John Baez (May 15 2023 at 01:55):

And this is injective, since distinct elements of RR act differently on the left RR-module that's RR itself.

view this post on Zulip John Baez (May 15 2023 at 01:56):

So if it were surjective too, then we'd get

REnd(1Mod(R)) R \cong \mathrm{End}(1_{\mathsf{Mod}(R)})

(in the commutative case).

view this post on Zulip Mike Shulman (May 15 2023 at 02:20):

Sounds like the [[center of an additive category]].

view this post on Zulip John Baez (May 15 2023 at 02:44):

Yes, thanks.

So now I either need to plow through some French and hope Gabriel proved what I want, or figure it out myself. :upside_down:

view this post on Zulip John Baez (May 15 2023 at 02:48):

I'm thinking I can show

REnd(1Mod(R)) R \cong \mathrm{End}(1_{\mathsf{Mod}(R)})

is surjective roughly as follows. Suppose m:1Mod(R))1Mod(R))m: 1_{\mathsf{Mod}(R)}) \Rightarrow 1_{\mathsf{Mod}(R)}) is a natural transformation. Then on the object RMod(R)R \in \mathsf{Mod}(R), mR:RRm_R: R \to R is just multiplication by some rRr \in R. By naturality this is also how it must work on every free module (that is, any sum of copies of RR). Then... here's the part where I should slow down and think a bit more... since every module is the quotient of a free module, on every module our natural transformation must be just multiplication by this rRr \in R.

view this post on Zulip John Baez (May 15 2023 at 02:49):

I think that's right: I take any module MM, write it as a quotient of a free module

αRM0 \sum_{\alpha} R \to M \to 0

and use naturality to draw a little commutative diagram where on the left side going down you have multiplication by rr on each summand.

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:49):

I was just about to answer that's its surjective

view this post on Zulip John Baez (May 15 2023 at 02:50):

Okay, great!

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:50):

My proof is that you want to show that any natural transformation α:1MOD(R)1MOD(R)\alpha: 1_{MOD(R)} \Rightarrow 1_{MOD(R)} is a of the form αM(m)=rm\alpha_M(m) = r \cdot m for some rRr \in R for all RR-modules MM

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:51):

Now consider the case M=RM=R, we get an RR-linear map αR:RR\alpha_R: R \to R. But RR-linear maps from RR to itself are always just scalar multiplication. Specifically we get αR(r)=αR(1)r\alpha_R(r) = \alpha_R(1) \cdot r

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:52):

Now for every mMm \in M, consider the RR-linear map pm:RMp_m: R \to M which maps 1R1 \in R to mm, so pm(r)=rmp_m(r) = r \cdot m

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:53):

Then using naturality we get αR(m)=αR(pm(1))=pm(αR(1))=αR(1)m\alpha_R(m) = \alpha_R(p_m(1)) = p_m(\alpha_R(1)) = \alpha_R(1) \cdot m

view this post on Zulip JS PL (he/him) (May 15 2023 at 02:53):

Thus every natural transformation from 1MOD(R)1_{MOD(R)} to itself is given by scalar multiplication.

view this post on Zulip John Baez (May 15 2023 at 04:28):

Nice! That's a faster, simpler, better version of my argument using the fact that every RR-module is a quotient of a free one.

view this post on Zulip John Baez (May 15 2023 at 04:55):

I wrote this up on the nLab.

view this post on Zulip Matteo Capucci (he/him) (May 15 2023 at 08:22):

There should be a way more general result for [[Tannakian reconstruction]] that covers these cases

view this post on Zulip Matteo Capucci (he/him) (May 15 2023 at 08:24):

In general if MM is a monoid then MM-acts form a category such that End(1MAct)Z(M)End(1_{MAct}) \cong Z(M). This works for monoidal categories too! And for R modules, I guess it's the Ab-enriched version thereof.

view this post on Zulip John Baez (May 15 2023 at 15:39):

Thanks! I guess the proof that @JS PL (he/him) and I came up with should handle these cases too.

view this post on Zulip John Baez (May 15 2023 at 15:48):

Though for some reason I've been thinking about the case where the ring R (or the monoid M) is commutative, so I need to think a bit more about the noncommutative case (just for fun). Namely, why the obvious map from the center of M to End(1MAct)\mathrm{End}(1_{M\mathsf{Act}}) is surjective. (The argument that it's injective still works.)

view this post on Zulip John Baez (May 15 2023 at 15:50):

In the commutative case we used the fact that every endomorphism of MM as a left MM-set is given by left multiplication by an element of M=Z(M)M = Z(M).

view this post on Zulip John Baez (May 15 2023 at 15:51):

But when MM is noncommutative that's no longer true; now every endomorphism of MM as a left MM-set is given by right multiplication by an element of MM.

view this post on Zulip John Baez (May 15 2023 at 15:52):

Yet somehow (you claim) central elements give all the natural transformations of the identity functor on MActM \mathsf{Act}.

view this post on Zulip John Baez (May 15 2023 at 15:54):

It's quite plausible, but why is it true? It must be easy.

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 07:00):

In the non-commutative case, I believe @JS PL (he/him)'s proof goes through as-is except for the fact that when he argues linear maps RRR \to R have the form rr \cdot - we now have to add that rZ(R)r \in Z(R), since rs=srrs = sr is exactly the property we need

view this post on Zulip John Baez (May 17 2023 at 07:17):

No: as I said, all linear maps RRR \to R have the form r- \cdot r. That is, right multiplication by elements of RR. Of course when rr is in the center of RR we can also express these using left multiplication.

view this post on Zulip John Baez (May 17 2023 at 07:18):

(By the way, I'm saying "linear maps" to be nice, but the mathematician in me is squirming: I want to say "left module endomorphisms". Life is tough for people like us!)

view this post on Zulip John Baez (May 17 2023 at 07:20):

Anyway, so the challenge is to show that of all the left module endomorphisms of RR, only those coming from right multiplication by elements in the center of RR extend naturally to endomorphisms of all the other left modules.

view this post on Zulip John Baez (May 17 2023 at 07:21):

I think this is probably pretty easy, but that's what has to be done.

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 10:28):

John Baez said:

No: as I said, all linear maps RRR \to R have the form r- \cdot r. That is, right multiplication by elements of RR. Of course when rr is in the center of RR we can also express these using left multiplication.

Oh I see :thinking:

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 10:55):

Ok here's a sketch of a proof, with a bunch of hazy details to be discussed (below, CC is a cartesian category and RR is a monoid in it):

Given α:1RAct1RAct\alpha : 1_{RAct} \Rightarrow 1_{RAct}, we want to show that for every m:Mm:M, there exists an r:Rr:R such that αM(m)=rm\alpha_M(m) = rm (I'm using the internal language of RR-Act).
If we prove this, then for M=RM=R this ends up saying r=rr- = -r, meaning rZ(R)r \in Z(R).
It seems to me it's enough to prove this fact for MM free, since the naturality square for the quotient FMF \to M presenting MM will then say αM=r\alpha_M = r- for any other MM.
For a free module FXFX, giving a map αFX:FXFX\alpha_{FX} : FX \to FX is equivalent to a choice of map XFXX \to FX in the underlying category. The free RR-act has the form R×XR \times X. So α\alpha comes from a natural map α:1CR×1C\alpha' : 1_C \Rightarrow R \times 1_C, where CC is the base category (where RR,XX live in). Natural maps of that kind decompose in (1) a 'choice of scalar' 1CR1_C \Rightarrow R and (2) a map α0:1C1C\alpha_0 : 1_C \Rightarrow 1_C.

I guess this second part is irreducible--and it makes sense: any natural endomorphism of the identity of CC surely induces a similar one in RActRAct. If we assume End(1C)=1End(1_C) = 1 (which is true for something like Set), then α0\alpha_0 must be trivial. In generality though, this shows the theorem should really be something like 'End(1RAct(C))=Z(R)×End(1C)End(1_{RAct(C)}) = Z(R) \times End(1_{C})'.

Which brings us to the second problem, what are transformations ρ:1CR\rho : 1_C \Rightarrow R? These should be 'elements of RR', in some way. Naturality tells us the components of ρ\rho are constant. Again, in something pedestrian like Set ρ\rho is given by picking an element in RR.

So with the above two caveats, we now know α\alpha' is given by a scalar rRr \in R, meaning αFX\alpha_{FX} is defined as (s,x)(r,s,x)(rs,x)(s, x) \mapsto (r, s, x) \mapsto (rs, x), i.e. αFX=r\alpha_{FX} = r-, as desired.

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 10:58):

So probably a more accurate conjecture is something like End(1RAct(C))=Z(1CR)End(1C)End(1_{RAct(C)}) = Z(1_C \Rightarrow R) \otimes End(1_{C}), where \otimes is the copowering of CC.

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 10:59):

In many cases 1CR1_C \Rightarrow R should simplify to C(1,R)C(1, R), i.e. the global elements of RR

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 11:10):

Matteo Capucci (he/him) said:

So with the above two caveats, we now know α\alpha' is given by a scalar rRr \in R, meaning αFX\alpha_{FX} is defined as (s,x)(r,s,x)(rs,x)(s, x) \mapsto (r, s, x) \mapsto (rs, x), i.e. αFX=r\alpha_{FX} = r-, as desired.

Ouch actually this goes (s,x)(s,r,x)(sr,x)(s,x) \mapsto (s, r,x) \mapsto (sr, x) which is the wrong side...

view this post on Zulip Matteo Capucci (he/him) (May 17 2023 at 11:12):

Or maybe this just proves ZZ isn't needed?

view this post on Zulip John Baez (May 17 2023 at 15:31):

Let me a take a try at it - I'll only tackle the case of rings and modules, not monoids in a general monoidal category, and I'll talk a lot more like a ring theorist than a category theorist.

view this post on Zulip John Baez (May 17 2023 at 15:31):

My goal was to show that for any ring RR, End(1RMod) \mathsf{End}(1_{R \mathsf{Mod}}) is the center of RR. To prove this, one task remained:

Anyway, so the challenge is to show that of all the left module endomorphisms of RR, only those coming from right multiplication by elements in the center of RR extend naturally to endomorphisms of all the other left modules.

view this post on Zulip John Baez (May 17 2023 at 15:38):

First, just to warm up, it's well-known that for any ring RR, every endomorphism of RR as a left RR-module, say f:RRf: R \to R, is given by right multiplication by some rRr \in R. But it's easy to show so let's show it! Let f(1)=rf(1) = r. Then for any xRx \in R we have

f(x)=f(x1)=xf(1)=xr f(x) = f(x 1) = x f(1) = x r

Done.

view this post on Zulip John Baez (May 17 2023 at 15:40):

Now, suppose α:1RMod1RMod\alpha: 1_{R \mathsf{Mod}} \to 1_{R \mathsf{Mod}} is a natural transformation of the identity. αR:RR\alpha_R: R \to R is some endomorphism of RR as a left RR-module, so as we've just seen, for some sRs \in R we have

αR(x)=xs \alpha_R(x) = x s

for all xRx \in R.

view this post on Zulip John Baez (May 17 2023 at 15:42):

But for α\alpha to be natural, a commutative square condition needs to hold. In particular αR\alpha_R needs to commute with any left RR-module endomorphism f:RRf: R \to R.

view this post on Zulip John Baez (May 17 2023 at 15:43):

Take ff as above; then

αR(f(x))=xrs \alpha_R(f(x)) = x r s

while

f(αR(x))=xsr f(\alpha_R(x)) = x s r

view this post on Zulip John Baez (May 17 2023 at 15:44):

Since this is true for all ff, i.e. all rr, ss must be in the center of RR!

Done.

view this post on Zulip John Baez (May 17 2023 at 15:51):

And why did we care about this? Because we know α\alpha must act as left multiplication by this central element rr on every module MM. @JS PL (he/him) showed it in the commutative case but let me check that the argument works in general. For any MRModM \in R\mathsf{Mod} and any mMm \in M there's a unique left RR-module homomorphism g:RMg: R \to M with g(1)=mg(1) = m, namely the one with

g(x)=xmg(x) = xm

for all xRx \in R.

view this post on Zulip John Baez (May 17 2023 at 15:54):

By naturality we get a commutative square that says

αMg=gαR \alpha_M \circ g = g \circ \alpha_R

but

αM(g(1))=αM(m) \alpha_M (g(1)) = \alpha_M (m)

while

g(αR(1))=g(r)=rm g (\alpha_R(1)) = g(r) = r m

view this post on Zulip John Baez (May 17 2023 at 15:55):

so

αM(m)=rm \alpha_M(m) = r m

view this post on Zulip John Baez (May 17 2023 at 15:55):

Done!

view this post on Zulip John Baez (May 17 2023 at 15:56):

This completes the proof that for any ring RR, End(1RMod) \mathsf{End}(1_{R \mathsf{Mod}}) is the center of RR.

view this post on Zulip Matteo Capucci (he/him) (May 19 2023 at 08:03):

For the record, this is where I went wrong:

For a free module FXFX, giving a map αFX:FXFX\alpha_{FX} : FX \to FX is equivalent to a choice of map XFXX \to FX in the underlying category. The free RR-act has the form R×XR \times X. So α\alpha comes from a natural map α:1CR×1C\alpha' : 1_C \Rightarrow R \times 1_C, where CC is the base category (where RR,XX live in).

We can't get α\alpha' of that form from α\alpha.

view this post on Zulip Matteo Capucci (he/him) (May 19 2023 at 08:05):

John Baez said:

Let me a take a try at it - I'll only tackle the case of rings and modules, not monoids in a general monoidal category, and I'll talk a lot more like a ring theorist than a category theorist.

It seems to me your proof actually ends up working for arbitrary monoid objects, am I right?

view this post on Zulip John Baez (May 19 2023 at 19:37):

I used a fact that's true for rings (and monoids) that I don't know how to correctly state for monoid objects in general.

view this post on Zulip John Baez (May 19 2023 at 19:39):

Namely, for a monoid M (in Set) every map of left M-sets from M to M is given by right multiplication by some element of M.

view this post on Zulip John Baez (May 19 2023 at 19:42):

Then I used this: every natural transformation of the identity functor on MSet is determined by its value on M.

view this post on Zulip Mike Shulman (May 19 2023 at 19:51):

John Baez said:

Namely, for a monoid M (in Set) every map of left M-sets from M to M is given by right multiplication by some element of M.

That's an instance of the Yoneda lemma for one-object categories. And the Yoneda lemma is true for categories enriched over any monoidal category, hence also for one-object ones, i.e. monoid objects. At least if the monoidal category is closed and complete, you can state the result by saying that MM is isomorphic to the object of left MM-set maps from MM to MM, the latter defined as a subobject of the internal-hom cut out by an equalizer.

view this post on Zulip Matteo Capucci (he/him) (May 22 2023 at 20:59):

John Baez said:

First, just to warm up, it's well-known that for any ring $R$, every endomorphism of $R$ as a left $R$-module, say $f: R \to R$, is given by right multiplication by some $r \in R$. But it's easy to show so let's show it! Let $f(1) = r$. Then for any $x \in R$ we have

$ f(x) = f(x 1) = x f(1) = x r$

Done.

Also this proof works for monoids, doesn't it?

view this post on Zulip John Baez (May 22 2023 at 22:26):

Yes, the whole proof never needs addition. So it works for monoids... and also rigs, and also rings. But at least as stands, it does use some other things peculiar to the fact that we're working in the category of sets. Mike Shulman tried to explicate some of those... but I want to add that unless we're in a symmetric monoidal category the concept of the 'center' doesn't make sense. (Or braided, but that gets very tricky.)

view this post on Zulip John Baez (May 22 2023 at 22:26):

So, it would be a nice project to figure out how much we can generalize.

view this post on Zulip John Baez (May 22 2023 at 22:27):

I wouldn't be surprised if someone had already done this.