Everything You Always Wanted to Know About Rings in GAP∗
Total Page:16
File Type:pdf, Size:1020Kb
Everything you always wanted to know about rings in GAP∗. (∗ but were afraid to ask) Diplomarbeit zur Erlangung des akademischen Grades eines Diplom-Ingenieurs in der Studienrichtung Technische Mathematik, Stzw. Informations- und Datenverarbeitung Angefertigt am Institut f¨urMathematik der Technisch- Naturwissenschaftlichen Fakult¨atder Johannes Kepler Universit¨atLinz Eingereicht bei Univ.-Prof. Dr. G¨unter Pilz J¨urgenEcker October 7, 1999 Preface We dance around in a ring and suppose, But the secret sits in the middle and knows. Robert Frost (1875{1963) There exist thousands of books on ring-theory each containing hundreds of the- orems, most of them for special classes of rings. Nonetheless given a ring certain properties can not be checked by hand in a reasonable time (unless by a genius). This makes computer programs desireable that do the dirty work. We shall dance around a little and gether the most common results in ring theory. Chapter 1 starts with a glance at universal algebra. In chapter 2 we gether results about rings. Chapters 3 and 4 are about analyzing the structure of a ring and end with the famous density theorem due to Jacobson. Chapters 5 and 6 shall make computation easier in many cases. In chapter 7 we give an overview about results for polynomial rings featuring Buchberger's Algorithm for Groebner Bases. We omit proofs if they are long and not of particular importance for the algorithms. However, the main part is a library of GAP-functions presented in chapter 8. This is a users manual for all the functions for rings so far implemented in GAP. Note, that this is not a collection of super-fast algorithms for very special rings, but of default functions which will work for any ring using as little knowledge about the ring as possible. For those interested in curious programming styles we have added the source code of all new functions in chapter 10. 1 Contents 1 Universal Algebra 8 1.1 Algebras . 8 1.2 Moore{Systems . 10 1.3 More about Congruences and Subdirect Products . 11 1.4 Chain Conditions . 12 2 Rings 13 2.1 Rings and Subrings . 13 2.2 Ideals and Factor Rings . 15 2.3 Modules . 18 3 Radical-Theory 22 3.1 Jacobson Radical . 22 3.2 Nil Radicals . 23 2 CONTENTS 3 4 Subdirect Decomposition 24 4.1 Subdirect Decomposition of Rings . 24 4.2 Consequences of Birkhoff's theorem . 26 4.2.1 Primitive Rings . 26 4.2.2 Semi-simplicity . 28 4.2.3 Density Theorems . 29 5 Chain Conditions 31 5.1 DCC . 31 5.2 ACC . 34 6 Some results for improved algorithms 35 6.1 Ideal Generators . 35 6.2 Factor2ring{Avoidance . 37 6.3 Divide et Impera . 38 7 Polynomial rings 41 7.1 Orderings on R[X].......................... 42 7.2 Reduction . 44 7.3 Reduction Relations . 45 7.4 Reduction in K[X].......................... 46 7.5 Buchberger's Theorem . 47 7.6 Improvements on Buchberger's Algorithm . 49 7.7 Applications . 51 CONTENTS 4 8 GAP{Manual: Rings 53 8.1 Preliminaries . 53 8.1.1 Data Structures . 54 8.1.2 Operations . 54 8.1.3 Algebraic Domains . 55 8.1.4 Elements of Special Classes of Fields . 55 8.2 Defining a Ring . 55 8.2.1 Ring Records . 56 8.2.2 Ring . 58 8.2.3 PolynomialRing . 58 8.2.4 AsRing . 58 8.2.5 AsGroupElement . 59 8.2.6 AsRingElement . 60 8.2.7 DirectProduct . 60 8.3 Subrings and Ideals . 60 8.3.1 Subring . 60 8.3.2 IsSubring . 61 8.3.3 Ideal . 61 8.3.4 IsIdeal . 62 8.3.5 LeftIdeal . 62 8.3.6 IsLeftIdeal . 62 8.3.7 RightIdeal . 63 8.3.8 IsRightIdeal . 63 CONTENTS 5 8.3.9 Operations for (left-, right-) ideals . 63 8.3.10 Rad . 63 8.3.11 IsModularLeftIdeal . 64 8.3.12 IsMaximalIdeal . 64 8.3.13 IsMaximalLeftIdeal . 64 8.3.14 IsMaximalRightIdeal . 64 8.3.15 IsPrimeIdeal . 65 8.3.16 QuickIdealElements . 65 8.3.17 QuickLeftIdealElements . 65 8.3.18 QuickRightIdealElements . 65 8.3.19 Subrings . 66 8.3.20 Ideals . 66 8.3.21 LeftIdeals . 66 8.3.22 RightIdeals . 67 8.3.23 IsSimple . 67 8.4 Factor Rings . 67 8.4.1 FactorRing . 67 8.4.2 IsFactorRing . 68 8.4.3 FactorRingElement . 68 8.5 Decomposition of Rings . 69 8.5.1 SubdirectDecomposition . 69 8.5.2 PartialDecomposition . 71 8.6 Radical Theory . 71 CONTENTS 6 8.6.1 IsNilpotentElement . 72 8.6.2 Nilpotents . 72 8.6.3 IsNilIdeal . 72 8.6.4 Nilradical . 73 8.6.5 JacobsonRadical . 73 8.6.6 IsJacobsonRadicalRing . 73 8.6.7 IsSemisimple . 73 8.7 Polynomials . 74 8.7.1 Variables . 74 8.7.2 Lpp . 74 8.7.3 ReducegModf . 75 8.7.4 NormalFormOfgModF . 75 8.7.5 GroebnerBasis . 76 8.8 Miscellaneous . 76 8.8.1 RingOperationTables . 77 8.8.2 Call . 77 8.9 Deja vu . 78 8.9.1 in . 78 8.9.2 Elements . 78 8.9.3 Others . 78 CONTENTS 7 A Algebraic details 81 A.1 The Abstract Definition of a Ring . 81 A.2 Ordering . 82 A.3 Zorn's Lemma . 82 A.4 Group . 83 B Source Code 84 B.1 The Source File ringplus ...................... 84 B.2 The Source File dispatch.l ..................... 85 B.3 The Source File factor.l ...................... 98 B.4 The Source File subdec.l . 101 B.5 The Source File radical.l . 103 B.6 The Source File misc.l . 122 B.7 The Source File ideals.l . 128 Chapter 1 Universal Algebra Nothing will come of nothing. William Shakespeare (1564{1616) Algebraic structures as semigroups, groups, rings, nearrings, etc. have nice prop- erties in common. Therefore it seems useful to define certain things generally and use the results in each of the various structures. 1.1 Algebras Definition 1 An algebra is a tuple A (A; 1;:::; m;?1;:::;?n; Ω), where A is a set, 1;:::; m are binary operations ◦ ◦ ◦ ◦ on A and ?1;:::;?n are external operations on A with operator domain Ω. τ := (m; n; Ω) is called the type of . If n = 0 we write (m) instead of (m; 0; ).A subset of the class of all algebrasA of the same type is called a class of algebras.; Definition 2 Let λ : λ Λ be a family of algebras of the same type fA 2 g (n; m; Ω) and the same class, where the binary (external) operations of λ are λ λ λ λ A 1 ;:::; n (?1 ;:::;?m). On the cartesian product of the sets Ai we can de- fine◦ an◦ algebra of the same class, defining as binary (external) operations the "componentwise operations": λ (aλ)λ Λ i (bλ)λ Λ := (aλ i bλ)λ Λ 2 2 2 ◦ ◦λ !?j (aλ)λ Λ := (!?j aλ)λ Λ 2 2 for all i 1; : : : ; n , j 1; : : : ; m . 2 f g 2 f g This algebra is called the (direct) product of the algebras Aλ, denoted λ Λ λ. Q 2 A 8 CHAPTER 1. UNIVERSAL ALGEBRA 9 Definition 3 Let , the algebra above, be of class . Then B A together with all operationsA of forms an algebra of theC same class if⊆B is closed under all operations ofA . is called a B-subalgebra of . We denote this or without an indexA B if it's clear fromC the context. A B ≤C A Definition 4 The set (: : : ; aλ;:::): only finitely many aλ = 0 induces a sub- f 6 g algebra of λ Λ λ, called the direct sum of the λ. We write λ Λ λ. Q 2 A A L 2 A Definition 5 Let S be a set, a binary operation on S, ? an external operation on S with operator domain Ω◦and a relation in S. is compatible with iff a; b; a;~ ~b.