Are rings really more fundamental objects than semi-rings? - MathOverflow most recent 30 from http://mathoverflow.net2013-05-19T20:07:44Zhttp://mathoverflow.net/feeds/question/20604http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-ringsAre rings really more fundamental objects than semi-rings?Qfwfq2010-04-07T07:51:54Z2010-04-07T18:32:06Z
<p>The discovery (or invention) of negatives, which happened several centuries ago by the Chinese, Indians and Arabs, has of course be of fundamental importance to mathematics.
From then on, it seems that mathematicians have always striven to "put the negatives" into whatever algebraic structure they came across, in analogy with the usual "numerical" structure, $\mathbb{Z}$. </p>
<p>But perhaps there are cases in which the notion of a semiring seems more natural than the notion of a ring (I will be very very sloppy!):</p>
<p>1) The Cardinals. They have a natural structure of semiring, and the usual construction that allows to pass from $\mathbb{N}$ to $\mathbb{Z}$ cannot be performed in this case without great loss of information.</p>
<p>2) Vector bundles over a space; and notice that in the infinite rank case the Grothendieck <em>ring</em> is trivial just because negatives are allowed.</p>
<p>3) Tropical geometry.</p>
<p>4) The notion of semiring, as opposed to that of a ring, seems to be the most natural for "categorification", in two separate senses: (i) For example, the set of isomorphism classes of objects in a category with direct sums and tensor products (e.g. finitely-generated projective modules over a commutative ring) is naturally a semiring. When one constructs the Grothendieck ring of a category, one usually adds formal negatives, but this can be a very lossy operation, as in the case of vector bundles. (ii) A category with finite biproducts (products and coproducts, and a natural isomorphism between these) is automatically enriched over commutative monoids, but not automatically enriched over abelian groups. As such, it's naturally a "many object semiring", but not a "many object ring".</p>
<p>Do you have any examples of contexts in which semirings (which are not rings) arise naturally in mathematics?</p>
http://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-rings/20607#20607Answer by Mariano Suárez-Alvarez for Are rings really more fundamental objects than semi-rings?Mariano Suárez-Alvarez2010-04-07T08:00:12Z2010-04-07T08:00:12Z<p>The algebraic treatment of formal language theory uses systematically semi-rings of power series.</p>
http://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-rings/20612#20612Answer by Neel Krishnaswami for Are rings really more fundamental objects than semi-rings?Neel Krishnaswami2010-04-07T09:30:00Z2010-04-07T09:30:00Z<p>Semirings are pervasive throughout computer science: every notion of resource lacking a corresponding notion of debt gives rise to semiring structure in a standard way. </p>
<ol>
<li><p>First, you formalize resource as a (partial) commutative monoid. That is, you have a set representing resources (for example, time bounds or memory usage of a computer program), and the monoidal structure has the unit representing "no resource", and the concatenation representing "combine these two resources". </p></li>
<li><p>Then, you can generate a quantale from this monoid by taking the powerset of the monoid. This forms a quantale, where the ordering is set inclusion, meet and join are set intersection and union, with monoidal structure $A \otimes B = \{ a \cdot b \;|\; a \in A \land b \in B \}$, and $I = \{e\}$ (For partial monoids, we can just consider the defined pairs.) This quantale can be interpreted as "propositions about resources".</p></li>
<li><p>Note that $(I, \otimes, \bot, \vee)$ forms a semiring. As an aside, this fact is very useful for reasoning about programs.</p></li>
</ol>
<p>Some further observations:</p>
<ol>
<li><p>If you have a notion of "debt" corresponding to your notion of resource, then you can start with a group structure in step 1, and repeat the construction to get a ring. </p></li>
<li><p>Mariano's example fits into this framework, too, if you relax the commutativity restriction. Then you can view words as elements of a free monoid over an alphabet, and then you get languages as forming a noncommutative quantale. </p></li>
<li><p>Tropical algebra is an excellent framework for modelling optimization problems (ie, minimizing a cost function). You can often derive algorithms for by just twiddling Galois connections between the tropical semiring and a semiring of data. When this works, the process is so transparent it feels like magic! </p></li>
</ol>
http://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-rings/20628#20628Answer by José Figueroa-O'Farrill for Are rings really more fundamental objects than semi-rings?José Figueroa-O'Farrill2010-04-07T13:43:04Z2010-04-07T13:43:04Z<p>Although not a ring, the <a href="http://en.wikipedia.org/wiki/Renormalization_group" rel="nofollow">renormalisation group</a> of quantum field
theory is really a semigroup. Moreover, there is no compelling
physical reason to add inverses, since in fact physically inverses
need not exist. Indeed, the process of renormalisation often loses
information, admits fixed points,...</p>
http://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-rings/20652#20652Answer by Carl Weisman for Are rings really more fundamental objects than semi-rings?Carl Weisman2010-04-07T18:05:05Z2010-04-07T18:05:05Z<p>Nikolai Durov showed that a commutative algebraic monad with 0 "is" a semiring if and only if b(x,0)=x for all x, where b is a binary operation with b(x,y) not identically equal to x.</p>
<p>So semirings are in some sense easy to get.</p>
<p>On the other hand, the commutative algebraic monads that seem to be his motivating examples, the unit ball in a commutative Banach algebra, are not semirings.</p>
http://mathoverflow.net/questions/20604/are-rings-really-more-fundamental-objects-than-semi-rings/20654#20654Answer by Reid Barton for Are rings really more fundamental objects than semi-rings?Reid Barton2010-04-07T18:32:06Z2010-04-07T18:32:06Z<p>Of course the real question is whether abelian groups are really more fundamental objects than commutative monoids. In a sense, the answer is obviously no: the definition of commutative monoid is simpler and admits alternative descriptions such as the one I give <a href="http://mathoverflow.net/questions/2551/why-do-groups-and-abelian-groups-feel-so-different/9302#9302" rel="nofollow">here</a>. The latter description can be adapted to other settings, such as to the 2-category of locally presentable categories, which shares many formal properties with the category of commutative monoids (such as being closed symmetric monoidal, having a zero object, having biproducts). As such I would claim that any locally presentable closed symmetric monoidal category is itself a categorified version of a semiring, not in the sense you describe, but in that it is an algebra object in a closed symmetric monoidal category, so we may talk of modules over it, etc.</p>
<p>However, it is undeniable that there is a large qualitative difference between the theories of abelian groups and commutative monoids. Observe that an abelian group is just a commutative monoid which is a module over $\mathbb{Z}$ (more precisely a commutative monoid has either a unique structure of $\mathbb{Z}$-module, if it has additive inverses, and no structure of $\mathbb{Z}$-module otherwise). The situation is analogous to the (smaller) difference between abelian groups and $\mathbb{Q}$-vector spaces. I do not know of a characterization of $\mathbb{Z}$ as a commutative monoid that can be transported to other settings. It seems that there is something deep about the fact that $\mathbb{Z}$-modules are so much nicer than commutative monoids, which often is taken for granted.</p>