97-01-007.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

97-01-007.Pdf Circuits and Expressions with Non-Associative Gates Joshua Berman Arthur Drisko Francois Lemieux Cristopher Moore Denis Therien SFI WORKING PAPER: 1997-01-007 SFI Working Papers contain accounts of scientific work of the author(s) and do not necessarily represent the views of the Santa Fe Institute. We accept papers intended for publication in peer-reviewed journals or proceedings volumes, but not papers that have already appeared in print. Except for papers by our external faculty, papers must be based on work done at SFI, inspired by an invited visit to or collaboration at SFI, or funded by an SFI grant. ©NOTICE: This working paper is included by permission of the contributing author(s) as a means to ensure timely distribution of the scholarly and technical work on a non-commercial basis. Copyright and all rights therein are maintained by the author(s). It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may be reposted only with the explicit permission of the copyright holder. www.santafe.edu SANTA FE INSTITUTE Circuits and Expressions with NonAsso ciative Gates Joshua Berman Arthur Drisko Francois Lemieux Cristopher Mo ore and Denis Therien State UniversityofNewYork at Binghamton National Security AgencyUSA McGill UniversityMontreal Queb ec The Santa Fe Institute Santa Fe New Mexico corresp onding author Abstract We consider circuits and expressions whose gates carry out multiplication in a nonasso ciative algebra such as a quasigroup or lo op We dene a class we call the polyabelian algebras formed by iterated quasidirect pro ducts of Ab elian groups Weshow that a quasigroup can express arbitrary Bo olean functions if and only if it is not p olyab elian in which case its Expression Evaluation and Circuit Value prob lems are NC complete and Pcomplete resp ectively This is not true for algebras in general and wegiveacoun terexample We show that Expression Evaluation is also NC complete if the algebra has a nonsolvable multiplication group or semigroup but is in TC if the algebra is b oth p olyab elian and has a solvable multiplication semigroup eg for a nilp otent lo op or group Thus in the nonasso ciative case earlier results ab out the role of solv ability in circuit complexity generalize in several dierentways Intro duction algebraic circuits and expressions Bo olean expressions and circuits are wellknown constructs in logic and computer science A Bo olean expression is either a variable x or is formed from shorter i expressions as or If all the x have truth values true i or falsethens truth value is determined byinterpreting and as and ely or and not resp ectiv A Bo olean circuit is an acyclic directed graph with source no des inputs x i and a single sink no de output and three kinds of intermediate no des and and or gates with two inputs and not gates with one input Expressions are simply circuits whose graph is a tree Then the truth value of the output is dened in the obvious way Given an expression or circuit and the truth values of its variables or inputs determining the truth value of its output is called the Expression Evaluation or Circuit Value problem resp ectively These problems are deeply related to two imp ortant complexity classes NC and P NC is the set of problems solvable by parallel circuits of p olynomial size and logarithmic depth as a function of length of the input P is the set of problems solvable in p olynomial time by a deterministic serial computer suchasaTuring machine k More generally circuits of p olynomial size and p olylogarithmic depth O log n for inputs of size n recognize the following complexity classes where the fanin is the numberofinputstoeach gate k NC if the gates are ands and ors with fanin k AC if the gates are ands and ors with unb ounded fanin k TC if the gates are threshold gates with unb ounded fanin true if t t or more of their inputs are true k ACC p if the gates are ands ors and sum mo d pwith unb ounded fanin k k ACC ACC p p ver all k is NC the class of problems solvable The union of any of these classes o by parallel circuits of p olylogarithmic depth which is also p olylogarithmic time on an idealized parallel computer Since combinations of threshold gates can compute any function that dep ends only on the sum of the inputs including sum mo d k wehave k k k k k NC AC ACC TC NC for all k The classes well b e interested in are AC ACC ACC TC NC ACC NC P It is believed but not known that P NC in other words that there are inherently sequential problems in P that cannot b e eciently parallelized Some small progress has b een made towards proving this parity is in ACC but not AC ACC pandACC q are incomparable if p and q are distinct primes and ma jorityis in TC but not ACC Thus the rst two inclusions in this series are prop er but ACC and P or even NPcouldbe identical for all anyone has b een able to prove A reduction from a problem A to a problem B is a mapping of instances of A to instances of B If the mapping is computationally easy compared to B then any fast algorithm for B b ecomes a fast algorithm for Athus B is at least as hard as A A problem B is complete for a complexity class if every other problem in that class can b e reduced to it For P it is common to use LOGSPACE O log n memory in a Turing machine or NC reductions for NC wewilluseAC or NC reductions the latter b eing essentially lo cal replacement rules We also have NC DET NC where DET is the class of problems NC reducible to calculating the determi nantofaninteger matrix DET is not known to b e comparable with AC or ACC Then we have the classical results that for Bo olean gates Expression Evaluation and Circuit Value are NC complete and Pcomplete resp ec tively under AC and NC reductions We will consider circuits and expressions where the sole op eration is multi plication in some nite algebra A rather than the usual Bo olean op erations Thus our expressions are p olynomials like x x x x and our circuits have one kind of no de whose output is the pro duct a b of its two inputs Then dep ending on the algebraic prop erties of A such as asso ciativity commutativity solvability and so on Expression Evaluation and Circuit Value can havevarying complexities Previous results for the asso ciativecase groups and semigroups include the following Expression Evaluation Circuit Value nonsolvable NC complete Pcomplete solvable ACC ACC DET In this pap er wewill extend these results to nonasso ciative algebras such as quasigroups and lo ops and to some extent to algebras in general We will show that the idea of solvability generalizes in two imp ortantways in the non asso ciative case polyabelianness the prop erty of being an iterated quasidirect pro duct of Ab elian groups and Msolvability the prop ertyofhaving a solvable multiplication group or semigroup We hop e that these results are interesting in their own right and that they might help illuminate the internal structure of P and NC and the relationship between dierent circuit mo dels In addition the problem of predicting a cellular automaton for a p olynomial number of steps corresp onds to a sp ecial case of Circuit Value where the circuit has a p erio dic structure Thus these results will also help us tell when there are fast algorithms for predicting cellular automata whose rules corresp ond to certain algebras as in Algebraic preliminaries We will use the following terms For the theory of quasigroups and lo ops we recommend asanintro duction An algebra also called a groupoid or magma G is a binary op eration f G G G written f a ba b or simply ab The order of an algebra is the numb er of elements in G written jGj Throughout the pap er we will assume that our algebras are nite A quasigroup is an algebra whose multiplication table is a Latin square in hrow and each column Equivalentlyfor which each symb ol o ccurs once in eac every a b there are unique elements ab and anb such that ab b a and a anbbthus the left right cancel lation property holds that bc bd resp cd bd implies c d An identity is an element such that a a a for all a A loop is a quasigroup with an identity In an Ab elian group we will call the identity instead of In a lo op the left right inverse of an element a is a a resp a an so that a a resp a a If these are the same we will refer to them both as a An algebra is associative if a b ca b c for all a b cA semigroup is an asso ciative algebra and a monoid is a semigroup with identityA group is an asso ciative quasigroup groups haveinverses and an identity Two elements a b commute if a b b a An algebra is commutative if all pairs of elements commute Commutative groups are also called AbelianWe will use instead of for pro ducts in an Ab elian group p In a group the order of an element a is the smallest psuchthat a or pn in an Ab elian group A homomorphism is a function from one algebra A to another B such that a ba b An isomorphism is a onetoone and onto homo B if A and B are isomorphic Homomorphisms and morphism we will write A isomorphisms from an algebra into itself are called endomorphisms and automor phisms resp ectively the automorphisms of an algebra A form a group Aut A Endomorphisms of Ab elian groups can b e represented by matrices A subalgebra subquasigroup subloop etc of G is a subset H G suchthat b b H for all b b H The subalgebra generated by a set S consisting of
Recommended publications
  • Comultiplication on Monoids
    Internat. J. Math. & Math. Sci. 803 VOL. 20 NO. 4 (1997) 803-812 COMULTIPLICATION ON MONOIDS MARTIN ARKOWITZ Mathematics Department Dartmouth College Hanover, NH 03755 E-mail address: [email protected] MAURIClO GUTIERREZ Mathematics Department Tufts University Medford, MA 02155 E-mail address: [email protected] (Received April 14, 1997) ABSTRACT. A comultiplication on a monoid S is a homomorphism rn: S S S (the free product of S with itself) whose composition with each projection is the identity homomorphism. We investigate how the existence of a comultiplication on S restricts the structure of S. We show that a monoid which satisfies the inverse property and has a comultiplication is cancellative and equidivisible. Our main result is that a monoid S which satisfies the inverse property admits a comultiplication if and only if S is the free product of a free monoid and a free group. We call these monoids semi-free and we study different comultiplications on them. KEY WORDS AND PHRASES: Monoid, free product, comultiplication, inverse property. cancellative monoid, equidivisibility, semi-free monoid. 1991 AMS SUBJECT CLASSIFICATION CODES: Primary: 20M05, 20M10 Secondary: 20M99, 20N99. 1. INTRODUCTION Comultiplications can be defined for objects in any category with coproducts and zero mor- phisms. Given such an object X, a comultiplication is a morphism m X X II X (the coproduct of X with itself), such that the composition of rn with either projection X t X X is the identity morphism. The general theory has been surveyed in [1], and in [3] it is specialized to algebraic systems. In [2], [5] and [6], comultiplications on groups have been studied.
    [Show full text]
  • Comultiplication on Monoids
    Internat. J. Math. & Math. Sci. 803 VOL. 20 NO. 4 (1997) 803-812 COMULTIPLICATION ON MONOIDS MARTIN ARKOWITZ Mathematics Department Dartmouth College Hanover, NH 03755 E-mail address: [email protected] MAURIClO GUTIERREZ Mathematics Department Tufts University Medford, MA 02155 E-mail address: [email protected] (Received April 14, 1997) ABSTRACT. A comultiplication on a monoid S is a homomorphism rn: S S S (the free product of S with itself) whose composition with each projection is the identity homomorphism. We investigate how the existence of a comultiplication on S restricts the structure of S. We show that a monoid which satisfies the inverse property and has a comultiplication is cancellative and equidivisible. Our main result is that a monoid S which satisfies the inverse property admits a comultiplication if and only if S is the free product of a free monoid and a free group. We call these monoids semi-free and we study different comultiplications on them. KEY WORDS AND PHRASES: Monoid, free product, comultiplication, inverse property. cancellative monoid, equidivisibility, semi-free monoid. 1991 AMS SUBJECT CLASSIFICATION CODES: Primary: 20M05, 20M10 Secondary: 20M99, 20N99. 1. INTRODUCTION Comultiplications can be defined for objects in any category with coproducts and zero mor- phisms. Given such an object X, a comultiplication is a morphism m X X II X (the coproduct of X with itself), such that the composition of rn with either projection X t X X is the identity morphism. The general theory has been surveyed in [1], and in [3] it is specialized to algebraic systems. In [2], [5] and [6], comultiplications on groups have been studied.
    [Show full text]
  • Algebraic Systems, Spring 2014, January, 2014 Edition Gabriel Kerr
    Algebraic Systems, Spring 2014, January, 2014 Edition Gabriel Kerr Contents Chapter 0. Peano Axioms for Natural Numbers - An Introduction to Proofs 5 0.1. Sets and Logic 5 Exercises 7 0.2. Peano Axioms 8 Exercises 15 0.3. Relations 15 Exercises 19 Chapter 1. Basic Arithmetic 21 1.1. The set Z 21 Exercises 23 1.2. The ring Z 23 Exercises 27 1.3. Factoring integers, part I 27 Exercises 30 1.4. Factoring integers, part II 30 Exercises 32 1.5. Modular Arithmetic 32 Exercises 34 1.6. The fields Q and R 34 Exercises 39 1.7. The field C 39 Exercises 40 3 CHAPTER 0 Peano Axioms for Natural Numbers - An Introduction to Proofs We begin this course with the construction of the natural number system. The Peano Axioms form the heart of much of mathematics and lay the foundation for algebra and analysis. Every attempt will be made to stay away from unnecessary abstraction. This should be a guiding principle when working out the exercises as well! 0.1. Sets and Logic This section should serve as a very short introduction to 20th century mathe- matics. That is, it is an introduction to proofs involving sets. Set theory is in fact a subject within itself that was initiated and studied by many in the early 20th century. This was in response to several paradoxes that had come up. For us, a set is a collection of things, called elements. For example, Atoms could be the set of all atoms in the universe while Adams could be the set of all people named Adam in your family.
    [Show full text]
  • Introduction to Groups, Rings and Fields
    Introduction to Groups, Rings and Fields HT and TT 2011 H. A. Priestley 0. Familiar algebraic systems: review and a look ahead. GRF is an ALGEBRA course, and specifically a course about algebraic structures. This introduc- tory section revisits ideas met in the early part of Analysis I and in Linear Algebra I, to set the scene and provide motivation. 0.1 Familiar number systems Consider the traditional number systems N = 0, 1, 2,... the natural numbers { } Z = m n m, n N the integers { − | ∈ } Q = m/n m, n Z, n = 0 the rational numbers { | ∈ } R the real numbers C the complex numbers for which we have N Z Q R C. ⊂ ⊂ ⊂ ⊂ These come equipped with the familiar arithmetic operations of sum and product. The real numbers: Analysis I built on the real numbers. Right at the start of that course you were given a set of assumptions about R, falling under three headings: (1) Algebraic properties (laws of arithmetic), (2) order properties, (3) Completeness Axiom; summarised as saying the real numbers form a complete ordered field. (1) The algebraic properties of R You were told in Analysis I: Addition: for each pair of real numbers a and b there exists a unique real number a + b such that + is a commutative and associative operation; • there exists in R a zero, 0, for addition: a +0=0+ a = a for all a R; • ∈ for each a R there exists an additive inverse a R such that a+( a)=( a)+a = 0. • ∈ − ∈ − − Multiplication: for each pair of real numbers a and b there exists a unique real number a b such that · is a commutative and associative operation; • · there exists in R an identity, 1, for multiplication: a 1 = 1 a = a for all a R; • · · ∈ for each a R with a = 0 there exists an additive inverse a−1 R such that a a−1 = • a−1 a = 1.∈ ∈ · · Addition and multiplication together: forall a,b,c R, we have the distributive law a (b + c)= a b + a c.
    [Show full text]
  • Homomorphisms of C*-Algebras and Their K-Theory 3
    HOMOMORPHISMS OF C*-ALGEBRAS AND THEIR K-THEORY PARASTOO NADERI AND JAMAL ROOIN Abstract. Let A and B be C*-algebras and ϕ: A → B be a ∗-homomorphism. We discuss the properties of the kernel and (co-)image of the induced map K0(ϕ): K0(A) → K0(B) on the level of K-theory. In particular, we are inter- ested in the case that the co-image is torsion free, and show that it holds when A and B are commutative and unital, B has real rank zero, and ϕ is unital and injective. We also show that A is embeddable in B if K0(ϕ) is injective and A has stable rank one and real rank zero. 1. Introduction and Main Results K-theory is a powerful tool in operator algebras and their aplications. It has been used in the classification of certain C*-algebras, starting from AF algebras [6] and now extending to larger classes [13, 16]. Although, it has been used to study homomorphisms between C*-algebras [5], it seems that the main focus has been on the use of K-theory to understand the structure of the objects of the category of C*-algebras rather than the morphisms. Consider a ∗-homomorphism ϕ: A → B between C*-algebras A and B. A natural question is that can we determine properties of ϕ (such as injectivity, surjectivity, unitality, and so on) by looking at its lift K0(ϕ): K0(A) → K0(B), or vice-versa? (One may also consider K1(ϕ) and Cu(ϕ).) In this paper we investigate such a relation between properties of a morphism in the level of C*-algebras and those of its lift to the level of K-theory.
    [Show full text]
  • M373K, Homework #8
    M373K, Homework #8 April 3, 2013 From the book, please work out: x3.2 #1 (a + b)(c + d) = ac + ad + bc + bd. The point to this problem is that multiplication is non-commutative. So bc does not necessarily equal cb, for example. x3.2 #6 Let D be an integral domain with finite characteristic m. Recall that this means ma = 0 for every a 2 D (and m is a positive integer). Wlog we can assume that m is the smallest positive integer for which this holds. Suppose j; k are positive integers and jk = m. Then for any a; b 2 D,(ja)(kb) = jkab = 0 (by the previous problem). However, D is an integral domain, so it has no zero divisors. So either ja = 0 or kb = 0. In particular, by setting a = b we see that either ja = 0 for every a 2 R or ka = 0 for every a 2 R. So if m is not prime then we can choose j; k so that both j and k are smaller than m. But this contradicts our choice of m. So m must be prime. x3.2 #10 Let D be an integral domain and a; b; c 2 D with ab = ac and a 6= 0. Then ab − ac = 0 so a(b − c) = 0. Because a 6= 0 and D has no zero divisors, this implies b − c = 0 which implies b = c. On the other hand, suppose that D is a commutative ring which satisfies the cancellation property: for every a; b; c 2 D with a 6= 0 and ab = ac, we must have b = c.
    [Show full text]
  • Notes on Ring Theory
    Notes on Ring Theory S. F. Ellermeyer Department of Mathematics Kennesaw State University January 15, 2016 Abstract These notes contain an outline of essential definitions and theorems from Ring Theory but only contain a minimal number of examples. Many examples are presented in class and thus it is important to come to class. Also of utmost importance is that the student put alot of effort into doing the assigned homework exercises.The material in these notes is outlined in the order of Chapters 17—33 of Charles Pinter’s “A Book of Abstract Algebra”, which is the textbook we are using in the course. 1Rings A ring is a non—empty set, , along with two operations called addition (usually denoted by the symbol +) and multiplication (usually denoted by the symbol or by no symbol) such that · 1. is an abelian group under addition. (The additive identity element of is usually denoted by 0.) 2. The multiplication operation is associative. 3. Multiplication is distributive over addition, meaning that for all and in we have ( + )= + · · · 1 and ( + ) = + . · · · Letuslookatafewexamplesofrings. Example 1 The trivial ring is the one—element set = 0 with addition operation defined by 0+0 = 0 and multiplication operation de{fi}ned by 0 0=0. · Example 2 The set of integers, , with the standard operations of addition and multiplication is a ring. The set of real numbers, , with the standard operations of addition and multiplication is a ring. The set of rational num- bers, , with the standard operations of addition and multiplication is a ring. The set of complex numbers, , with the standard operations of addition and multiplication is a ring.
    [Show full text]
  • The Varieties of One-Sided Loops of Bol-Moufang Type 1. Introduction
    The Varieties of One-Sided Loops of Bol-Moufang Type Rachel R. Aldrich and Sarah J. Drummond Abstract. We show that there are 20 different varieties of one-sided loops of Bol-Moufang type. We also show all inclusions between these varieties and give all necessary counterexamples. This work extends the research done by Phillips and Vojt˘echovsk´ywhich found the relationships among 26 different varieties of quasigroups and 14 different varieties of loops of Bol-Moufang type. We then show which varieties of one-sided loops of Bol-Moufang type have left and right inverse properties. The proofs and counterexamples are aided by the automated theorem prover, Prover9, and the finite model builder, Mace4. 1. Introduction Bol-Moufang Identities Let ∗ be a binary operation on a set G. Let La : G ! G be defined by La(x) = a ∗ x and let Ra : G ! G be defined by Ra(x) = x ∗ a. Definition 1. (G; ·) is called a quasigroup if La and Ra are bijective. Quasigroups have the cancellation property. Let (G; ·) be a quasigroup with x; y; z 2 G. Then if x ∗ z = y ∗ z, we have x = y, and if z ∗ x = z ∗ y, we have x = y. Definition 2. A loop is a quasigroup (G; ·) for which ∗ has a two-sided identity element e, such that e ∗ x = x ∗ e = x. A left loop is a quasigroup (G; ·) for which ∗ has a left identity element, and a right loop is a quasigroup (G; ·) for which ∗ has a right identity element. An identity is said to be of Bol-Moufang type if there are three variables on each side, with one of the variables occurring twice, and the other two occurring once.
    [Show full text]
  • 3. the Players: Rings, Fields, Etc
    3. The players: rings, fields, etc. 3.1 Rings, fields 3.2 Ring homomorphisms 3.3 Vector spaces, modules, algebras 3.4 Polynomial rings I Here we introduce some basic terminology, and give a sample of a modern construction of a universal object, namely a polynomial ring in one variable. 1. Rings, fields The idea of ring generalizes the idea of collection of numbers, among other things, so maybe it is a little more intuitive than the idea of group.A ring R is a set with two operations, + and ·, and with a special element 0 (additive identity) with most of the usual properties we expect or demand of addition and multiplication: • R with its addition and with 0 is an abelian group. [1] • The multiplication is associative: a(bc) = (ab)c for all a; b; c 2 R. • The multiplication and addition have left and right distributive properties: a(b + c) = ab + ac and (b + c)a = ba + ca for all a; b; c 2 R. Often the multiplication is written just as juxtaposition ab = a · b Very often, a particular ring has some additional special features or properties: • If there is an element 1 in a ring with 1 · a = a · 1 for all a 2 R, then 1 is said to be the (multiplicative) [1] This is a compressed way to say that 0 behaves as an additive identity, that there are additive inverses, and that addition is associative. 51 52 The players: rings, fields, etc. identity or the unit [2] in the ring, and the ring is said to have an identity or have a unit or be a ring with unit.
    [Show full text]
  • Rings with Internal Cancellation
    Journal of Algebra 284 (2005) 203–235 www.elsevier.com/locate/jalgebra Rings with internal cancellation Dinesh Khurana a,T.Y.Lamb,∗ a Department of Mathematics, Panjab University, Chandigarh-160014, India b Department of Mathematics, University of California, Berkeley, CA 94720, USA Received 1 June 2004 Available online 6 October 2004 Communicated by Susan Montgomery Abstract In this paper, we study the class of rings that satisfy internal direct sum cancellation with respect to their 1-sided ideals. These are known to be precisely the rings in which regular elements are unit- regular. Further characterizations for such “IC rings” are given, in terms of suitable versions of stable range conditions, and unique generator properties of idempotent generated right ideals. This approach leads to a uniform treatment of many of the known characterizations for an exchange ring to have stable range 1. Rings whose matrix rings are IC turn out to be precisely those rings whose finitely generated projective modules satisfy cancellation. We also offer a couple of “hidden” characteriza- tions of unit-regular elements in rings that shed some new light on the relation between similarity and pseudo-similarity—in monoids as well as in rings. The paper concludes with a treatment of ideals for which idempotents lift modulo all 1-sided subideals. An appendix by R.G. Swan1on the failure of cancellation for finitely generated projective modules over complex group algebras shows that such algebras are in general not IC. 2004 Elsevier Inc. All rights reserved. * Corresponding author. E-mail addresses: [email protected] (D. Khurana), [email protected] (T.Y.
    [Show full text]
  • On Birkhoff's Quasigroup Axioms
    On Birkhoff's Quasigroup Axioms J.D. Phillips∗,a, D.I. Pushkashub, A.V. Shcherbacovc, V.A. Shcherbacovb aNorthern Michigan University, Department of Mathematics and Computer Science, Marquette, Michigan bInstitute of Mathematics and Computer Science Academy of Sciences of Moldova Academiei str. 5, MD-2028, Chi¸sin˘au,Moldova cTheoretical Lyceum \C.Sibirschi," Lech Kaczyski str. 4, MD-2028, Chi¸sin˘au,Moldova Abstract Birkhoff defined a quasigroup as an algebra (Q; ·; n; =) that satisfies the fol- lowing six identities: x · (xny) = y,(y=x) · x = y, xn(x · y) = y,(y · x)=x = y, x=(ynx) = y, and (x=y)nx = y . We investigate triples and tetrads of identi- ties composed of these six, emphasizing those that axiomatize the variety of quasigroups. Key words: (left) quasigroup, (equational) quasigroup, division groupoid, cancellation groupoid 2000 MSC: 20N05 1 1. Introduction and Terminology 2 A binary groupoid,(G; A), is a non-empty set G, together with a binary 3 operation A. It is customary to omit the adjective \binary" and to refer to 4 these simply as \groupoids." We will include the adjective \binary" in those 5 instances where we wish to emphasize it. 6 Moufang [9, 18] defined a quasigroup as a groupoid (Q; ◦) in which, for 7 all a; b 2 Q, there exist unique solutions x; y 2 Q to the equations x ◦ a = 8 b and a ◦ y = b. Moufang also included two of the laws that eventually 9 came to be called \the Moufang laws" in her definition of quasigroup, viz. 10 (x·y)·(z ·x) = x·((y ·z)·x).
    [Show full text]
  • Mathematical Reasoning & Proofs
    Mathematical Reasoning & Proofs MAT 1362 Fall 2021 Alistair Savage Department of Mathematics and Statistics University of Ottawa This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License Contents Preface 4 1 Integers 5 1.1 Axioms.......................................5 1.2 First consequences of the axioms........................6 1.3 Subtraction.................................... 13 2 Natural numbers and induction 15 2.1 Natural numbers................................. 15 2.2 Ordering the integers............................... 16 2.3 Induction..................................... 20 2.4 The well-ordering principle............................ 24 3 Logic 27 3.1 Quantifiers..................................... 27 3.2 Implications.................................... 29 3.3 Negations..................................... 31 4 Finite series and strong induction 34 4.1 Preliminaries................................... 34 4.2 Finite series.................................... 36 4.3 The Binomial Theorem............................. 40 4.4 Strong induction................................. 43 5 Naive set theory 46 5.1 Subsets and equality............................... 46 5.2 Intersections and unions............................. 49 5.3 Cartesian products................................ 53 5.4 Functions..................................... 54 5.5 Russell's paradox and axiomatic set theory................... 55 6 Equivalence relations and modular arithmetic 57 6.1 Equivalence relations..............................
    [Show full text]