Zulip Chat Archive

Stream: new members

Topic: constructing modules in abstarct algebra


Esteban Estupinan (Jul 10 2021 at 21:07):

hi, vector space is a kind of module, when we using a field instead a ring or semiring, I believe. I have two questions, why to construct a module we need a commutative group or monoid, instead a simple group or monoid? Why this commutative group or monoid must be only additive ?

Kevin Buzzard (Jul 10 2021 at 21:45):

This is the definition of a module. I'm not sure what kind of answer you're looking for here

Kyle Miller (Jul 10 2021 at 22:40):

Maybe this is a reason to believe that modules over semirings should be commutative monoids. More generally, a monoid object in an appropriate kind of category (a monoidal category to be precise) is an object AA along with morphisms μ:A×AA\mu:A\times A\to A and η:1A\eta:1\to A, where all the diagrams associated to the axioms of a monoid commute. A left module MM over the monoid is another object along with a morphism α:A×MM\alpha:A\times M\to M such that the diagrams associated to the axioms of a monoid action commute. A semiring is a monoid object in the category of commutative monoids, so a module is defined to be a commutative monoid.

One observation is that since you'd want something like (a+b)m=am+bm(a+b)m = am+bm out of a module, and a+b=b+aa+b=b+a is true for the semiring, then you'd have am+bm=bm+amam+bm=bm+am. You may as well require m+n=n+mm+n=n+m for all mm and nn in MM.

Kyle Miller (Jul 10 2021 at 22:41):

From this point of view, modules are additive (rather than multiplicative) monoids because semirings are additive monoids (with additional multiplicative structure from μ\mu).

David Wärn (Jul 11 2021 at 08:39):

Indeed for any module over any semiring, left- and right- distributivity means (m+n)+(m+n)=(1+1)(m+n)=(m+m)+(n+n)(m+n) + (m+n) = (1+1)(m+n) = (m+m) + (n+n). Assuming addition in the module is cancellative and associative we get n+m=m+nn+m = m+n, so commutativity is automatic (same argument works for addition in semirings). Still, Lean could conceivable only require [add_group M] to say module R M, and prove commutativity from this.

Sebastien Gouezel (Jul 11 2021 at 08:44):

There is a catch that you could not use typeclass inference to deduce commutativity of the addition from [module R M] since Lean would not know which R it should look for.

Esteban Estupinan (Jul 12 2021 at 13:06):

every vector space is an additive abelian group. Its ok, but the scalar operation forms 4 axioms more, where do these operations come from? do they have to do with some groups or fields? where I can find information about the origin of these operations with the scalar ?

Esteban Estupinan (Jul 12 2021 at 13:07):

imagen.png

Eric Wieser (Jul 12 2021 at 13:42):

In mathlib, you can use docs#mul_action to get axioms 1 and 2; docs#distrib_mul_action to get axioms 1 2 and 3, and docs#module to get all four (plus some axioms about zero that only follow from the other axioms if V is an additive group and not just an additive monoid)

Adam Topaz (Jul 12 2021 at 14:22):

Let me reiterate what Kyle said above. A (semi)ring is a monoid object in a specific monoidal category, and a module over a (semi)ring is an object with an action of said monoid object.

If you work with the category of sets, you get the usual notion of a monoid acting on a set.

If you work with the category Ab of abelian groups, you recover the usual notion of a module over a ring.


Last updated: Dec 20 2023 at 11:08 UTC