Structure of Some Idempotent Semirings

Total Page:16

File Type:pdf, Size:1020Kb

Structure of Some Idempotent Semirings Journal of Computer and Mathematical Sciences, Vol.7(5), 294-301, May 2016 ISSN 0976-5727 (Print) (An International Research Journal), www.compmath-journal.org ISSN 2319-8133 (Online) Structure of Some Idempotent Semirings N. Sulochana1 and T. Vasanthi2 1Assistant Professor, Department of Mathematics, K.S.R.M College of Engineering, Kadapa-516 003, A. P., INDIA. Email: [email protected] 2Professor of Mathematics, Department of Mathematics, Yogi Vemana University, Kadapa-516 003, A. P., INDIA. (Received on: May 30, 2016) ABSTRACT In this paper we study the notion of some special elements such as additive idempotent, idempotent, multiplicatively sub-idempotent, regular, absorbing and characterize these subidempotent and almost idempotent semiring. It is prove that, if S is a subidempotent semiring and (S, ) be a band, then S is a mono semiring and S is k - regular. 2000 Mathematics Subject Classification: 20M10, 16Y60. Keywords: Integral Multiple Property (IMP); Band; Mono Semirings; Rectangular Band; Multiplicatively Subidempotent; k-regular. 1. INTRODUCTION The concept of semirings was first introduced by Vandiver in 1934. However the developments of the theory in semirings have been taking place since 1950. The theory of rings and the theory of semigroups have considerable impact on the developments of the theory of semirings and ordered semirings. It is well known that if the multiplicative structure of an ordered semiring is a rectangular band then its additive structure is a band. P.H. Karvellas2 has proved that if the multiplicative structure of a semiring is a regular semigroup and if the additive structure is an inverse semigroup, then the additive structure is commutative. There is considerable impact of semigroup theory and semiring theory on the development of ordered semirings both in theory and applications, which are Akin to ordered rings and ordered semirings. In this direction the works of H. J. Weinert6, M. Satyanarayana, J.Hanumanthachari and D. Umamaheswara Reddy4, They tend to arise whenever we use dynamic programming in 294 N. Sulochana, et al., Comp. & Math. Sci. Vol.7 (5), 294-301 (2016) order to find the "best" of some set of things: e.g., the most likely tag sequence, the shortest path, the longest path, etc. This is what part of speech tagging, matrix chain multiplication, and Dijkstra's algorithm are all about. The concept of subidempotent semiring is taken from the book of Jonathan S. Golan1, entitled “Semirings and their Applications”. 2. PRELIMINARY DEFINITIONS Definition 2.1: A triple (S, +, •) is said to be a semiring if S is a non - empty set and “+, •” are binary operations on S satisfying that (i) (S, +) is a semigroup (ii) (S, •) is a semigroup (iii) a(b + c) = ab + ac and (b + c)a = ba + ca, for all a, b, c in S. Examples of Semiring (i) The set of natural numbers under the usual addition, multiplication (ii) Every distributive lattice (L, ∨, ∧ ). (iii) Any ring (R, +, •). Definition 2.2: An element a of a semiring S is multiplicatively subidempotent if and only if a + a2 = a and a semiring S is multiplicatively subidempotent if and only if each of its elements is multiplicatively subidempotent. Definition 2.3: A viterbi semiring is a semiring in which S is additively idempotent and multiplicatively subidempotent. i.e., a + a = a and a + a2 = a for all ‘a’ in S. Definition 2.4: An additive idempotent semiring S is k – regular if for all a in S there is a b in S for which a + aba = aba. Definition 2.5: A semiring S is said to be mono semiring if a + b = ab for all a, b in S. Definition2.6: An element a of a semigroup (S, ·) is left (right) regular if there exists an element b in S such that ba2 = a (a2b = a). A semigroup (S, ·) is called left (right) regular if every element of S is left (right) regular. Definition 2.7: (i) A semigroup (S, +) satisfying the identity a = a + b + a is a rectangular band. (ii) A semigroup (S, ·) satisfying the identity a = aba is a rectangular band. 3. STRUCTURE OF SUBIDEMPOTENT SEMIRINGS In this section we studied some properties of subidempotent semirings by considering different conditions. Definition 3.1: A semigroup (S, ·) is called left (right) permutable if for every a, b, c in S, abc = acb (abc = bac). A semigroup S is called permutable if it is both left and right permutable. 295 N. Sulochana, et al., Comp. & Math. Sci. Vol.7 (5), 294-301 (2016) Definition 3.2: A C – semiring is a semiring in which (i) (S, +) is a commutative monoid (ii) (S, ·) is a commutative monoid (iii) a (b + c) = ab + ac and (b + c) a = ba + ca for every a, b, c in S (iv) a.0 = 0.a = 0 (v) (S, +) is a band and 1 is the absorbing element of ‘+’. Definition 3.3: A semiring is said to be subidempotent semiring if S satisfies the identity a + ab = b for every a, b S. Theorem 3.4: Let S is a subidempotent semiring. (i) If (S, ·) is left permutable then (S, ·) commutative. (ii) Suppose (S, ·) is a right regular semigroup then (S, ·) is left regular semigroup Proof: (i) To show that (S, ·) is commutative Consider a + ab = b (I) a2 + aba = ba Since (S, ·) is left permutable we have aba = aab a2 + aab = ba a ( a + ab ) = ba On substitution of condition (I) we get ab = ba Therefore (S, ·) is commutative. (ii) Since S is a subidempotent semiring a + ab = b (I) Since (S, ·) is right regular we have a = a2b a2b + (a2b) b = b a (a + ab)b = b By condition (I) it takes the form a(b)b = b ab2 = b Hence (S, ·) is left regular semigroup. Theorem 3.5: If S is a subidempotent semiring and b + a = b then b + an = b Proof: By the definition of subidempotent we have a + ab = b (I) Using the condition b + a = b in above it reduces to a + a(b +a) = b a + ab+ a2 = b Using first equation we get b + a2 = b ab + a3 = ab On addition of a we have a + ab + a3 = a + ab Which implies b + a3 = b Continuing in a similar way, we get b + an = b Theorem 3.6: Let S be a subidempotent semiring and (S, ) be a band. Then the following hold (i) S is a mono semiring. (ii) S is k - regular. 296 N. Sulochana, et al., Comp. & Math. Sci. Vol.7 (5), 294-301 (2016) Proof: (i) Given that S is a subidempotent semiring thus we have a + ab = b Using the condition that (S, ) is a band, a2 = a then above equation is written as a2 + a2b = b a (a + ab) = b Since a + ab = b it takes the form ab = b --------- (I) Again a + ab = b is reduced to a + b = b --------- (II) Therefore from equations (I) and (II) we conclude that a + b = ab Hence S is a mono semiring (ii) Consider aba = a (a + ab) a = a (a2 + aba) = a (a + aba) = a2 + a2ba Since (S, ) is a band we get aba = a + aba Thus we proved that S is k – regular Example: Here we framed an example by considering a three element set S = {a, b, c} which satisfies the conditions of the above theorem + a b c · a b c a a b c a a b c b a b c b a b c c a b c c a b c Theorem 3.7: If S is a subidempotent semiring and (S, ·) is a rectangular band, then (i) S is multiplicatively subidempotent and (ii) If (S, +) is left cancellative, then anb = ab for all a, b in S. Proof: (i) Suppose (S, ·) is rectangular band, aba = a for all a, b in S Given that S is a subidempotent semiring a + ab = b a2 + aba = ba a2 + a = ba a3 + a2 = aba a + a2 = a ---------- (I) Again a + ab = b ba + bab = b2 ba + b = b2 bab+ b2 = b3 b + b2 = b---------- (II) Hence S is multiplicatively subidempotent (ii) We can still show that anb = ab for all a, b in S For this consider a + ab = b a2 + a2b = ab a + a2 + a2b = a + ab From (i), we have a + a2 = a, which implies a + a2b = a + ab a + a2b = b a2 + a3b = ab a + a2 + a3b = a + ab a + a3b = a + ab a + a3b = b Continuing like this a + anb = b for all n > 0 And also a + anb = a + ab By using left cancellation we get anb = ab, for n > 0 Hence the theorem 297 N. Sulochana, et al., Comp. & Math. Sci. Vol.7 (5), 294-301 (2016) Theorem 3.8: If S is a subidempotent semiring and (S, +) is commutative, then b + a + b = b is true in the following cases (i) a + b + ab = ab (ii) a + b + a = a Proof: (i) First assume that a + b + ab = ab a + b + ab + a = ab + a Since (S, +) is commutative we get a + b + a + ab = a + ab By the hypothesis a + ab = b thus a + b + b = b b + a + b = b (ii) Assume that a + b + a = a a + b + a + ab = a + ab a + b + b = b Using (S, +) is commutative in above equation reduces to b + a + b = b Thus we proved b + a + b = b Theorem 3.9: If S is a C-semiring which is also subidempotent semiring then an + b = b Proof: By hypothesis S is a C-semiring, in which (S, +) is an absorbing, a + 1 = 1 ab + b = b a + ab + b = a + b b + b = a + b Since (S, +) is band, b + b = b Therefore a + b = b ---- (I) a2 + ab = ab a + a2 + ab = a + ab a2 + a + ab = b a2 + b = b -----(II) Again a3 + ab = ab a + a3 + ab = a + ab a3 + a + ab = b a3 + b = b -----(III) Continuing in this manner, we can conclude that an + b = b 4.
Recommended publications
  • Discriminants and the Monoid of Quadratic Rings
    DISCRIMINANTS AND THE MONOID OF QUADRATIC RINGS JOHN VOIGHT Abstract. We consider the natural monoid structure on the set of quadratic rings over an arbitrary base scheme and characterize this monoid in terms of discriminants. Quadratic field extensions K of Q are characterized by their discriminants. Indeed, there is a bijection 8Separable quadratic9 < = ∼ × ×2 algebras over Q −! Q =Q : up to isomorphism ; p 2 ×2 Q[ d] = Q[x]=(x − d) 7! dQ wherep a separable quadratic algebra over Q is either a quadratic field extension or the algebra Q[ 1] ' Q × Q of discriminant 1. In particular, the set of isomorphism classes of separable quadratic extensions of Q can be given the structure of an elementary abelian 2-group, with identity element the class of Q × Q: we have simply p p p Q[ d1] ∗ Q[ d2] = Q[ d1d2] p × ×2 up to isomorphism. If d1; d2; dp1d2 2pQ n Q then Q( d1d2) sits as the third quadratic subfield of the compositum Q( d1; d2): p p Q( d1; d2) p p p Q( d1) Q( d1d2) Q( d2) Q p Indeed, ifpσ1 isp the nontrivial elementp of Gal(Q( d1)=Q), then therep is a unique extension of σ1 to Q( d1; d2) leaving Q( d2) fixed, similarly with σ2, and Q( d1d2) is the fixed field of the composition σ1σ2 = σ2σ1. This characterization of quadratic extensions works over any base field F with char F 6= 2 and is summarized concisely in the Kummer theory isomorphism H1(Gal(F =F ); {±1g) = Hom(Gal(F =F ); {±1g) ' F ×=F ×2: On the other hand, over a field F with char F = 2, all separable quadratic extensions have trivial discriminant and instead they are classified by the (additive) Artin-Schreier group F=}(F ) where }(F ) = fr + r2 : r 2 F g Date: January 17, 2021.
    [Show full text]
  • On the Hall Algebra of Semigroup Representations Over F1
    ON THE HALL ALGEBRA OF SEMIGROUP REPRESENTATIONS OVER F1 MATT SZCZESNY Abstract. Let A be a finitely generated semigroup with 0. An A–module over F1 (also called an A–set), is a pointed set (M, ∗) together with an action of A. We define and study the Hall algebra HA of the category CA of finite A–modules. HA is shown to be the universal enveloping algebra of a Lie algebra nA, called the Hall Lie algebra of CA. In the case of the hti - the free monoid on one generator hti, the Hall algebra (or more precisely the Hall algebra of the subcategory of nilpotent hti-modules) is isomorphic to Kreimer’s Hopf algebra of rooted forests. This perspective allows us to define two new commutative operations on rooted forests. We also consider the examples when A is a quotient of hti by a congruence, and the monoid G ∪{0} for a finite group G. 1. introduction The aim of this paper is to define and study the Hall algebra of the category of set- theoretic representations of a semigroup. Classically, Hall algebras have been studied in the context abelian categories linear over finite fields Fq. Given such a category A, finitary in the sense that Hom(M, N)andExt1(M, N) are finite-dimensional ∀ M, N ∈ A (and therefore finite sets), we may construct from A an associative algebra HA defined 1 over Z , called the Ringel-Hall algebra of A. Asa Z–module, HA is freely generated by the isomorphism classes of objects in A, and its structure constants are expressed in terms of the number of extensions between objects.
    [Show full text]
  • Some Aspects of Semirings
    Appendix A Some Aspects of Semirings Semirings considered as a common generalization of associative rings and dis- tributive lattices provide important tools in different branches of computer science. Hence structural results on semirings are interesting and are a basic concept. Semi- rings appear in different mathematical areas, such as ideals of a ring, as positive cones of partially ordered rings and fields, vector bundles, in the context of topolog- ical considerations and in the foundation of arithmetic etc. In this appendix some algebraic concepts are introduced in order to generalize the corresponding concepts of semirings N of non-negative integers and their algebraic theory is discussed. A.1 Introductory Concepts H.S. Vandiver gave the first formal definition of a semiring and developed the the- ory of a special class of semirings in 1934. A semiring S is defined as an algebra (S, +, ·) such that (S, +) and (S, ·) are semigroups connected by a(b+c) = ab+ac and (b+c)a = ba+ca for all a,b,c ∈ S.ThesetN of all non-negative integers with usual addition and multiplication of integers is an example of a semiring, called the semiring of non-negative integers. A semiring S may have an additive zero ◦ defined by ◦+a = a +◦=a for all a ∈ S or a multiplicative zero 0 defined by 0a = a0 = 0 for all a ∈ S. S may contain both ◦ and 0 but they may not coincide. Consider the semiring (N, +, ·), where N is the set of all non-negative integers; a + b ={lcm of a and b, when a = 0,b= 0}; = 0, otherwise; and a · b = usual product of a and b.
    [Show full text]
  • Commutative Monoid Duality
    Commutative monoid duality Jan Niklas Latz* Jan M. Swart∗ August 3, 2021 Abstract We introduce two partially overlapping classes of pathwise dualities between interacting particle systems that are based on commutative monoids (semigroups with a neutral ele- ment) and semirings, respectively. For interacting particle systems whose local state space has two elements, this approach yields a unified treatment of the well-known additive and cancellative dualities. For local state spaces with three or more elements, we discover several new dualities. MSC 2020. Primary: 82C22; Secondary: 16Y60, 20M32. Keywords: interacting particle system, duality, monoid, semiring. Acknowledgements: Work supported by grant 20-08468S of the Czech Science Foundation (GACR).ˇ Contents 1 Introduction 2 2 Dualities based on commutative monoids 4 2.1 Commutative monoids . .4 2.2 Duality of commutative monoids . .5 2.3 Product spaces . .5 3 Dualities based on semirings 6 4 Some special cases 8 4.1 Semirings generated by the unit element . .8 4.2 Lattice duality . .8 5 Examples and discussion 8 5.1 Monoids with up to four elements . .8 5.2 Semirings with up to four elements . 10 5.3 Dualities between commutative monoids . 10 5.4 Discussion . 12 6 Proofs 13 6.1 General theory . 13 6.2 Product spaces . 14 6.3 Semirings . 15 6.4 Lattices . 17 A Appendix 17 A.1 Addition tables of commutative monoids of order four . 17 A.2 Duality functions for commutative monoids of order four . 18 A.3 Multiplications in semirings of cardinality four . 19 *The Czech Academy of Sciences, Institute of Information Theory and Automation, Pod vod´arenskou vˇeˇz´ı4, 18200 Praha 8, Czech Republic.
    [Show full text]
  • ON QUASI N-ABSORBING ELEMENTS of MULTIPLICATIVE LATTICES 3
    ON QUASI n-ABSORBING ELEMENTS OF MULTIPLICATIVE LATTICES ECE YETKIN CELIKEL Abstract. In this study, we introduce the concept of quasi n-absorbing el- ements of multiplicative lattices. A proper element q is said to be a quasi n-absorbing element of L if whenever anb ≤ q implies that either an ≤ q or an−1b ≤ q. We investigate properties of this new type of elements and obtain some relations among prime, 2-absorbing, n-absorbing elements in multiplica- tive lattices. 1. Introduction In this paper we define and study quasi n-absorbing elements in multiplicative lattices. A multiplicative lattice is a complete lattice L with the least element 0 and compact greatest element 1, on which there is defined a commutative, associa- tive, completely join distributive product for which 1 is a multiplicative identity. Notice that L(R) the set of all ideals of a commutative ring R is a special example for multiplicative lattices which is principally generated, compactly generated and modular. However, there are several examples of non-modular multiplicative lat- tices (see [1]) Weakly prime ideals [3] were generalized to multiplicative lattices by introducing weakly prime elements in [7]. While 2-absorbing, weakly 2-absorbing ideals in commutative rings, and n-absorbing ideals were introduced in [5], [6], and [4], 2-absorbing and weakly 2-absorbing elements in multiplicative lattices were studied in [10]. We begin by recalling some background material which will be needed. An element a of L is said to be compact if whenever a _ aα implies a _ aα ≤ ≤ α∈I α∈I0 for some finite subset I0 of I.
    [Show full text]
  • Commutative Hyperalgebra
    Commutative Hyperalgebra A dissertation submitted to the Graduate School of the University of Cincinnati in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the Department of Mathematical Sciences of the McMicken College of Arts and Sciences by Nadesan Ramaruban B.Sc. University of Jaffna, November 2003 December, 2013 Committee Chair: Tara Smith, Ph.D. Abstract This work develops the notion of hyperrings as an extension of classical ring theory. Rings are sets that possess algebraic operations of addition and multiplication of ele- ments in the set, encompassing examples such as the integers, rational numbers, etc. Hyperrings generalize rings further to allow multiple output values for the addition op- eration. In mathematics, introducing more abstract definitions often serves to clarify and consolidate phenomena that arise in a variety of settings. Hyperrings arise naturally in several settings in algebra, including quadratic form theory, number theory, order- ings and ordered algebraic structures, tropical geometry, and multiplicative subgroups of fields. In this work we present an overview of the history of the development of the theory of hyperrings and other algebraic objects possessing hyperoperations. We continue by presenting a number of illustrative examples of hyperrings. We then de- termine the extent to which many results of classical commutative ring theory can be generalized to the setting of hyperrings. This in turn sheds light on the specific re- alizations of these objects. In particular, we consider homomorphisms of hyperrings, develop the hyperideal theory for hyperrings, introduce hypermodules and hypervec- tor spaces, and examine the structure of specific classes of hyperrings such as Artinian and Noetherian hyperrings, Euclidean, principal hyperideal, and unique factorization hyperdomains, and hyperfields.
    [Show full text]
  • Some Remarks on Semirings and Their Ideals
    SOME REMARKS ON SEMIRINGS AND THEIR IDEALS PEYMAN NASEHPOUR Abstract. In this paper, we give semiring version of some classical results in commutative algebra related to Euclidean rings, PIDs, UFDs, G-domains, and GCD and integrally closed domains. 0. Introduction The ideal theoretic method for studying commutative rings has a long and fruitful history [20]. The subject of multiplicative ideal theory is, roughly speaking, the description of multiplicative structure of a ring by means of ideals or certain systems of ideals of that ring [17]. Multiplicative ideal theory, originated in the works of Dedekind [5], Pr¨ufer [33] and Krull [24], is a powerful tool both in commutative algebra [9,27] and in a more general context, in commutative monoid theory [1,17]. Semirings are ring-like algebraic structures that subtraction is either impossible or disallowed, interesting generalizations of rings and distributive lattices, and have important applications in many different branches of science and engineering [14]. For general books on semiring theory, one may refer to the resources [10–13,16,19]. Since different authors define semirings differently, it is very important to clarify, from the beginning, what we mean by a semiring in this paper. By a semiring, we understand an algebraic structure, consisting of a nonempty set S with two operations of addition and multiplication such that the following conditions are satisfied: (1) (S, +) is a commutative monoid with identity element 0; (2) (S, ·) is a commutative monoid with identity element 1 6= 0; (3) Multiplication distributes over addition, i.e., a · (b + c)= a · b + a · c for all a,b,c ∈ S; (4) The element 0 is the absorbing element of the multiplication, i.e., s · 0=0 for all s ∈ S.
    [Show full text]
  • 263 on 2-Absorbing Primary and Weakly 2-Absorbing
    italian journal of pure and applied mathematics { n. 34¡2015 (263¡276) 263 ON 2-ABSORBING PRIMARY AND WEAKLY 2-ABSORBING ELEMENTS IN MULTIPLICATIVE LATTICES Fethi C»allialp Beykent University Faculty of Science and Art Ayaza¸ga-Maslak,Istanbul Turkey e-mail: [email protected] Ece Yetkin Unsal Tekir Marmara University Department of Mathematics Ziverbey, Goztepe, 34722, Istanbul Turkey e-mails: [email protected] and [email protected] Abstract. In this paper, we introduce the concept of 2-absorbing primary and weakly 2-absorbing primary elements which are generalizations of primary and weakly primary elements in multiplicative lattices. Let L be a multiplicative lattice. A proper element q of L is said to be a (weakly) 2-absorbing primary element of L if whenever a; b; c 2 L p p with (0 6= abc · q) abc · q implies either ab · q or ac · q or bc · q. Some proper- ties of 2-absorbing primary and weakly 2-absorbing primary elements are presented and relations among prime, primary, 2-absorbing, weakly 2-absorbing, 2-absorbing primary and weakly 2-absorbing primary elements are investigated. Furthermore, we determine 2-absorbing primary elements in some special lattices and give a new characterization for principal element domains in terms of 2-absorbing primary elements. Keywords: prime element, primary element, 2-absorbing element, 2-absorbing primary element, multiplicative lattice. 1991 Mathematics Subject Classi¯cation: Primary 16F10; Secondary 16F05, 13A15. 1. Introduction The concept of 2-absorbing ideal in a commutative ring with identity, which is a generalization of prime ideal, was introduced by Badawi in [7] and studied in [8], [12], and [1].
    [Show full text]
  • Domain Modeling with Monoids
    I usually explain monoids through glasses of beer, Domain modeling but here I will use plumbery pipes. For example, let's define a set of pipes this way: with monoids ”The set of pipes with a hole this size” Cyrille Martraire, Arolla, 2018 It is unlucky the word “Monoid” is so awkward, as it represents a concept that is both ubiquitous and actually simple. Given this definition of our set, now we can test if various elements belong to it or not. Monoids are all about *composability*. It's about having abstractions in the small that compose infinitely in the large. You are already familiar with many cases of typical monoidal composeablity, such as everything *group-by*, or everything *reduce*. What I want to emphasize is that Monoids happen to be frequent On top of this set, we define an operation, that we occurrences in business domains, and that you can call "combine", “append”, "merge", or "add", should spot them and exploit them. that takes two elements and combines1 them. Since I’ve first talked about my enthusiasm for monoids at conferences around the world, I’ve received multiple positive feedbacks of concrete situations where monoids helped teams redesign complicated parts of their domain models into something much simpler. And they would then say that the new design is “more elegant”, with a smile. One funny thing we notice now is that given two Just one important warning: please don’t confuse elements from the set, the result is always... in the monoids with monads. Monoids are much easier to set too! That sounds like nothing, but that's what understand than monads.
    [Show full text]
  • Monoid Properties As Invariants of Toposes of Monoid Actions
    Applied Categorical Structures https://doi.org/10.1007/s10485-020-09620-y Monoid Properties as Invariants of Toposes of Monoid Actions Jens Hemelaer1 · Morgan Rogers2 Received: 14 May 2020 / Accepted: 13 November 2020 © The Author(s) 2020 Abstract We systematically investigate, for a monoid M, how topos-theoretic properties of PSh(M), including the properties of being atomic, strongly compact, local, totally connected or cohe- sive, correspond to semigroup-theoretic properties of M. Keywords Topos · Presheaves · Monoid · Flat · Projective · Semigroup · Local · Strongly compact · Colocal · Totally connected · Strongly connected · de Morgan · Cohesive Contents Introduction .................................................. 1 Background ................................................ 1.1 Toposes of Discrete Monoid Actions ................................. 1.2 Tensors and Homs, Flatness and Projectivity ............................. 1.2.1 Hom-Sets and Projectivity ................................... 1.2.2 Tensors and Flatness ...................................... 2 Properties of the Global Sections Morphism ............................... 2.1 Groups and Atomicity ......................................... 2.2 Right-Factorable Finite Generation and Strong Compactness .................... 2.3 Right Absorbing Elements and Localness .............................. 2.4 The Right Ore Condition, Preservation of Monomorphisms and de Morgan Toposes ........ 2.5 Spans and Strong Connectedness ................................... 2.6 Preserving Exponentials
    [Show full text]
  • Ideal-Simple Semirings. I
    Acta Universitatis Carolinae. Mathematica et Physica Tomáš Kepka; Petr Němec Ideal-simple semirings. I. Acta Universitatis Carolinae. Mathematica et Physica, Vol. 53 (2012), No. 2, 5--16 Persistent URL: http://dml.cz/dmlcz/143696 Terms of use: © Univerzita Karlova v Praze, 2012 Institute of Mathematics of the Academy of Sciences of the Czech Republic provides access to digitized documents strictly for personal use. Each copy of any part of this document must contain these Terms of use. This paper has been digitized, optimized for electronic delivery and stamped with digital signature within the project DML-CZ: The Czech Digital Mathematics Library http://project.dml.cz 2012 ACTA UNIVERSITAtis carolinae – maTHEMATICA ET PHYSICA VOL. 53, NO. 2 IDEAL-SIMPLE SEMIRINGS I ToMáš Kepka, PETr Němec Praha Received April 25, 2012 Basic properties of ideal-simple semirings are collected and stabilized. The present pseudoexpository paper collects general observations and some other results concerning ideal-simple semirings. All the stuff is fairly basic, and therefore we will only scarcely attribute the results to particular sources. 1.Preliminaries A semiring is an algebraic structure equipped with two binary operations, tradition- ally denoted as addition and multiplication, where the addition is commutative and associative, the multiplication is associative and distributes over the addition from both sides. The semiring is called commutative if the multiplication has this property. Let S (= S (+, )) be a semiring. We say that S is additively idempotent (constant, · cancellative, etc.) if the additive semigroup (+) has the property. Similarly, S is mul- tiplicatively idempotent (constant, cancellative, etc.) if the multiplicative semigroup S ( ) is such.
    [Show full text]
  • Dynamic Elision of Expressions with Identity and Absorbing Elements
    Semiring Optimizations: Dynamic Elision of Expressions with Identity and Absorbing Elements GUILHERME VIEIRA LEOBAS, UFMG, Brazil FERNANDO MAGNO QUINTÃO PEREIRA, UFMG, Brazil This paper describes a compiler optimization to eliminates dynamic occurrences of expressions in the format a ← a ⊕ b ⊗ c. The operation ⊕ must admit an identity element z, such that a ⊕ z = a. Also, z must be the absorbing element of ⊗, such that b ⊗ z = z ⊗ c = z. Semirings where ⊕ is the additive operator and ⊗ is the multiplicative operator meet this contract. This pattern is common in high-performance benchmarksÐits canonical representative being the multiply-add operation a ← a + b × c. However, several other expressions involving arithmetic and logic operations satisfy the required algebra. We show that the runtime elimination of such assignments can be implemented in a performance-safe way via online profiling. The elimination of 131 dynamic redundancies involving identity and absorbing elements in 35 programs of the LLVM test suite that present semiring patterns brings an average speedup of 1.19x (total optimized time over total unoptimized time) on top of clang -O3. When projected onto the entire test suite (259 programs) the optimization leads to a speedup of 1.025x. Once added onto clang, semiring optimizations approximates it to TACO, a specialized tensor compiler. CCS Concepts: · Software and its engineering → Compilers; · Computing methodologies → Symbolic and algebraic manipulation;· Computer systems organization → Serial architectures. Additional Key Words and Phrases: Compiler, Optimization, Profiling, Semiring ACM Reference Format: Guilherme Vieira Leobas and Fernando Magno Quintão Pereira. 2020. Semiring Optimizations: Dynamic Elision of Expressions with Identity and Absorbing Elements. Proc.
    [Show full text]