Notes on Monoids and Automata
|
|
- Hugo Arnold
- 5 years ago
- Views:
Transcription
1 Notes on Monoids and Automata Uday S. Reddy November 9, 1994 In this article, I define a semantics for Algol programs with Reynolds s syntactic control of interference?;? in terms of comonoids in coherent spaces also called correletation spaces. 1 Background: Monoids 1.1 Definition A monoid in SET is a triple M = M, 1, where M is a set, 1 M is an element called the unit, and : M M M is a binary operation called multiplication such that the following identities hold: x 1 = x = 1 x, for all x M, and x y z = x y z, for all x, y, z M. Note that the unit is necessarily unique. We often omit the operator and write x y as simply xy. The structure is called a semigroup if we don t insist on the unit being present. It is called a commutative monoid if, in addition, xy = yx, for all x, y M. Suppose only some instances of the commutativity equation hold so that the structure is a partially commutative monoid. Then, we can define a relation M M such that x y xy = yx. Evidently, is reflexive and symmetric. A zero in a monoid is an element 0 M such that 0x = 0 = x0 for all x M. Note that 0 is necessarily unique. A submonoid of M is a subset M M containing 1 and closed under multiplication. If x M, we use the notation x n for the n-fold product x x with x 0 = 1. x denotes the set { x n : n 0 }. Similarly, if S M, S denotes the set {x 1 x n : x 1,...,x n S }. Note that the S is the least submonoid of M including S. If S = M, we say that S is a set of generators for M. 1.2 Examples The following examples will be of much interest to our discussion: i Let Q be a set. The set of partial functions from Q to Q called transformations of Q forms a monoid. The identity transformation 1 Q is the unit and the composition f; g of transformations is the multiplication. We find it convenient to use postfix notation for transformations. Then, the above operations are defined by q1 Q = { q qfg, if qf is defined qf; g = undefined, otherwise 1
2 We denote this monoid by [Q Q]. It has a zero element, viz., the undefined transformation. Any submonoid of [Q Q] is called a transformation monoid. ii More generally, in any category C, the endomorphisms on an object A form a monoid, denoted End C A. So, the set of binary relations over Q and the set of total functions from Q to Q form monoids too. iii Let Σ be a set of symbols. The set of strings over Σ, denoted Σ is a monoid with concatenation as the multiplication and the empty string ǫ as the unit. It is called the free monoid generated by Σ. Similarly, the set of nonempty strings over Σ Σ + is the free semigroup generated by Σ, and the set of finite multisets over Σ is the free commutative monoid generated by Σ. Some more examples of passing interest are as follows: iv The set of natural numbers ω forms a monoid with multiplication as the binary operation and the integer 1 as the unit. This is, in fact, a commutative monoid. v The set of natural numbers, again, forms a commutative monoid with addition as the binary operation and 0 as the unit. This is isomorphic, in the sense to be made precise below, to the monoid {1} the free monoid generated by {1}. vi The set of n n matrices forms a monoid under matrix multiplication as the multiplication and the identity matrix as the unit. This is, of course, a special case of the endomorphisms in a category example mentioned above. The following examples give important constructions on monoids: vii If M = M, 1, is a monoid, its dual monoid is M, 1, where is defined by x y = y x. Thus, the notion of monoid is a symmetric concept. viii Let M be a monoid. For each x M, there corresponds a right multiplication operator R x : M M defined by zr x = zx. The set of right multiplication operators forms a monoid, in fact, a transformation monoid over M. The unit is R 1 and the multiplication is R x R y = R xy. In fact, the right multiplication monoid is isomorphic to the monoid itself. Similarly, the left multiplication operators L x : M M are defined by L x z = xz. They have a unit L 1 and multiplication L x L y = L yx. Thus, the left multiplication operators form a monoid that is isomorphic to the dual of M. ix Let M be a monoid. An equivalence relation M M is called a monoid congruence relation if x x y y = xy x y. A congruence class is a maximal set X M such that all the elements of X are equivalent to each other. The congruence class containing an element x is [x] = { y : y x }. The set of such congruence classes forms a monoid. The unit element is [1] and the multiplication of equivalence classes is defined by: [x] [y] = [xy]. The fact that is a congruence relation ensures that multiplication is well-defined as may be verified. This monoid is called the quotient monoid of M under, denoted M/. x A pair Σ,, where Σ is a set and Σ Σ a symmetric relation, is called an independence alphabet and its independence relation. Consider strings over Σ and the least congruence such that a b = ab ba. A congruence class [a 1 a n ] consists of all strings which only differ in the relative order of consecutive independent symbols. Such congruence classes are called traces and the quotient monoid Σ / is called the free partially commutative monoid generated by Σ. xi Let Σ be an alphabet and S Σ be a set of strings. S induces an equivalence on strings by x y z, z. zxz S zyz S. This is, in fact, a congruence relation, called the syntactic congruence or the Myhill congruence of S. Suppose x x and y y. Then, zxx z S zyx z S from the first assumption and zyx z S zyy z S from the second assumption. Hence, xx yy. Intuitively, x and y are equivalent if they behave 2
3 the same way as segments of strings in S. For example, let Σ = {a, b} and S be the regular set ab. Under the Myhill congruence of S, b b n+1 and a 2 a n+2 ba n+1. Thus, the congruence classes are [ǫ], [a], [b] and [a 2 ]. [ǫ] is the unit. [a 2 ] is a zero. For the others, multiplication is defined by [a] [b] = [a] and [b] [a] = [a 2 ]. The monoid Σ / is called the syntactic monoid of S. More generally, a subset of any monoid S M induces a syntactic congruence and a syntactic monoid. xii If S Σ is a set of strings, one can also define a syntactic right congruence on Σ by x r y iff z. xz S yz S. This is a right congruence relation in the sense that x r y = xv yv for all v Σ. For example, for S = ab, the right congruence classes are [ǫ], [a] containing all ab n and [a 2 ] containing all b n. Let the set of right congruence classes be Q. Then, each string x Σ has a corresponding right multiplication operator on Q, defined by [z]r x = [zx]. The set of right multiplication operators R x forms a monoid with unit R 1 and multiplication R x R y = R xy. This is in fact a transformation monoid over Q. As will be seen below, such a transformation monoid is nothing but an automaton. 1.3 Definition A monoid homomorphism h : M, 1, M, 1, is a function h : M M such that i h1 = 1, and ii hx y = hx hy for all x, y M. A one-one homomorphism is called a monomorphism and an onto homomorphism is called an epimorphism. 1 If there is an inverse homomorphism h 1 such that h h 1 = h 1 h = id then h is called an isomorphism, and M and M are said to be isomorphic. Whenever h : M M is a homomorphism, the image of h, defined by Imh = { y : x M. hx = u }, is a submonoid of M. Dually, the equivalence relation on M defined by x y hx = hy is a congruence relation called the kernel of h. The homomorphism h : M/ M given by h [x] = hx, is then a mono. Therefore, M/ and Imh are isomorphic. If f : Σ M is a function, it extends to a unique homomorphism h : Σ M such that h restricted to Σ is f. We can define it explicitly by ha 1 a n = fa 1 fa n. If h is a surjection, M is isomorphic to the quotient monoid Σ / where is the kernel of h. More generally, if M has a set of generators S, to specify a homomorphism h : M M, we only need to specify it on S. 2 Background: Automata 2.4 Definition Let Σ be a set the alphabet or the instruction set of the automaton. A Σ- automaton is a pair A = Q, F where Q is a set the state set and F : Σ [Q Q] is a function called the interpretation mapping instructions to transformations of Q. We also call A an automaton class of type Σ, and denote this fact by writing A = Q, F Σ. This kind of a machine is what is traditionally called a semiautomaton because we have no distinguished start and final states, except that the function F is often treated as a partial function of type F : Q Σ Q and called a transition function. This is just an uncurried version of our interpretation function. More significantly, note that we have no finiteness restrictions on Q or Σ. So, our automata are not necessarily finite state. 1 The latter is not an epi in the categorical sense. 3
4 We often write Fσ as F σ. The application of transformations is written in postfix: F σ q as qf σ. These conventions achieve much economy and will also be seen to be very natural with respect to monoids. F extends to a unique monoid homomorphism Σ [Q Q]. We denote this by F as well: F a1 a n = F a1 F an Note that the image of F is a transformation monoid over Q. We also extend F to sets S Σ. F S is a function F S : Q PQ defined by qf S = { q : x S, qf x = q }. So, qf S is the set of states reachable from q via instruction sequences from S. An automaton is said to be monogenic if there is a state q 0 Q such that all states are reachable from q 0, i.e., q 0 F Σ = Q. 2.5 Definition Let A = Q, F be a Σ-automaton. An A-machine is a pair M = A, q where q Q. A is called the class of the machine and q its current state. The function of a machine is to define a set: LM = qf Σ = { x Σ : qf x defined } LM is traditionally called the language of the machine, but one can also think of it as the set of instruction sequences which the machine successfully executes. Note that LM is prefix-closed. Another kind of machine is a difference machine M = A, i, t where i and t are states, called the initial and terminal states respectively. The language of a difference machine is LM = { x Σ : qf x = t } A recognizer M = A, i, T is like a difference machine except that there is a set of terminal states T Q. The language of a recognizer is defined similarly: LM = { x Σ : qf x T } 2.6 Let L Σ be a set. Consider the syntactic right congruence of L: x r y z, xz L yz L. Let Q be the set of right congruence classes. As noted in 1.2, the right multiplication operators of Σ form a transformation monoid over Q. If R : Σ [Q Q] is defined by [z]r x = [zx], then A = Q, R is a Σ-automaton. It is monogenic with q 0 = [ǫ]. By considering a suitable set of terminal states T = { [z] : z L }, we have a recognizer M = A, q 0, T with LM = L. This is, in fact, the minimal recognizer with language L. Thus, we obtain a recognizer for any language L Σ. This recognizer is, in fact, unique upto renaming of states. 2.7 Next, we show that L uniquely determines the automaton class itself. The effect of an instruction sequence x Σ is to take the automaton from one state to another. So, if two sequences have the same interpretation in the automaton, they are equivalent for the automaton. This equivalence coincides with the syntactic congruence of L. If A = Q, F is an automaton, we have that F x = F y = x LM y for all machines of class A. Suppose F x = F y. To say that zxz LM is to say that there are states q, q Q such that if z = q, qf x = q and q F z T. Since F x = F y, clearly, zxz LM zyz LM. Thus, x LM y. If L Σ, consider the right-congruence automaton A = Q, R constructed in 2.6. Suppose x L y, i.e., zxz L zyz L. Considering a particular z, we have zx r zy, and, so, [zx] = [zy] Q. Next, by varying z, we find that [z]r x = [z]r y for all z, which means R x = R y. 4
5 2.8 Definition The above considerations suggest that, in general, the alphabet of an automaton should be regarded as a monoid. Let X be a monoid. An X-automaton is a pair Q, F where Q is a set and F : X [Q Q] is a monoid homomorphism. Thus, Σ-automata are nothing but Σ -automata with Σ regarded as a monoid. We also call an X-automaton an abstract automaton of type X. Machines for X-automata can be defined similar to the above. If F is mono, i.e., F x = F y = x = y then the image of X under F is a submonoid of [Q Q]. In other words, X is isomorphic to a transformation monoid over Q. By extension, the automaton Q, F is itself called a transformation monoid. We also call it a fully abstract automaton. Our notion of automata allows us to make a smooth transition between syntax and semantics or, as will be seen later, between intensional and extensional semantics of programs. Given a concrete automaton, Q, F Σ, we can make it abstract by using the monoid X = Σ / where is the kernel of the homomorphism F : Σ [Q Q]. The factor F : X [Q Q] gives a fully abstract automaton Q, F X. Conversely, given an abstract automaton Q, F X, we can generate a concrete automaton by taking some set of generators S M to be Σ. 2.9 Examples i Let EL = {up, dn} be an alphabet. Consider the automaton El 3 with states Q = {0, 1, 2} and the interpretation F up = 1 2 F dn = 0 1 El 3 can be thought of as the behavior of primitive elevators running between three floors. up dn is interpreted as instruction to move up down to the next floor. The up instruction at the top floor and the dn instruction at the bottom floor are undefined. The automaton is monogenic with any state as q 0. A particular elevator is then an El 3 -machine. ii A more friendly elevator has the alphabet FEL = {up.clink, up.beep, dn.clink, dn.beep} where clink and beep are understood as the sounds emitted by the elevator in response to an instruction. The friendly version of the above elevator FEl 3 has the same state set but the following interpretation: F up.clink = F dn.clink = F up.beep = F dn.beep = 2 0 Note that up.clink is a single symbol of the alphabet. We discuss below how to decompose such symbols into their input and output parts. iii A counter object has the alphabet CNT = {val.i : i N } {inc}. The automaton Counter has states Q = N and interpretation: val.i : i i inc : i i + 1 for all i N It is monogenic with q 0 = 0. iv A stepper object that successively steps through a sequence of numbers has the alphabet STEP = {next.i : i N }. A stepper Pos that steps through the positive integers has states Q = N and interpretation next.i : i 1 i for all i 0. 5
6 3 The structure of automata 3.10 The first question to be asked is what are the morphisms for automata? This is to be considered carefully. If one naively interprets automata as structures, one would be led to morphisms that preserve such structure. On the other hand, automata are not structures; they are cocrete implementations. The state sets of automata are part of theri internal structure. Morphisms can only preserve externally visible structure. Suppose a function from automata of type Σ to automata of type Γ maps an automaton Q, F Σ to an automaton Q, F Γ. It is essentially constructing a new automaton Q, F Γ from an original automaton Q, F Σ. The following considerations arise: i The function must construct the states of the new automaton from the states of the original automaton. Thus, we need a partial function φ : Q Q. ii It should interpret each instruction of the new automaton by issuing instructions to the original automaton. This leads to a function f : Γ Σ. Note that this function runs backwards. iii The behavior of the original automaton under these instructions must be compatible with what is expected for the new automaton, i.e., the following diagram must commute: Q F fb Q φ Q F b φ Q iv Finally, since this must hold for every instruction b of the new automaton, we require that, for every state in Q, there corresponds some state in Q. In other words, φ must be surjective These considerations lead to the following definition definition An implementation of automata is a pair φ f : Q, F Σ Q, F Γ where f : Γ Σ is a function and φ : Q Q is a surjective partial function such that the above diagram commutes. We say that Q, F Σ implements Q, F Γ via φ f. Notice that an implementation uniquely determines the behavior of the new automaton F. To determine q F b, find a q φ 1 q which is nonempty by definition. Then, q F b = qf fb Examples i Consider function f : EL FEL given by up.clink up.beep dn.clink dn.beet f = up ǫ dn ǫ An implementation φ f : El 3 FEl 3 of friendly elevators in terms of ordinary elevators is given by the mapping φq = q. ii There is an implementation of two-storey elevators in terms of three-storey elevators: φ f : El 3 El 2 : f is id EL and φ is the partial assignment 0 0, 1 1. Clearly, there can be no implementation of El 3 using El 2. iii An implementation of the stepper Pos in terms of Counter is φ f where φ is id N and fnext.i = val.i 1 inc. 6
7 3.13 Next, we must add outputs to automata themselves. The traditional mechanism for this is in terms of Mealy machines. These machines have additional components for an output alphabet Θ and an output function G : Q Σ Θ. While this is is essentially what we need, the explicit framework turns out to be a little cumbersome. For instance, to define a Counter, we need val and inc in the input alphabets and N in the output alphabet. But, the machine should not produce an integer in response to inc. To circumvent such issues, we define the following variant of Mealy machines Definition A modular automaton is an automaton Q, F Σ equipped with two projection functions π i : Σ Σ i and π o : Σ Σ o to appropriate alphabets Σ i and Σ o, such that for any q Q, if qf a and qf b are defined π i a = π i b then a = b. An object is a modular automaton such that, for all q Q and a Σ i, there exists a Σ such that π i a = a and qf a is defined. For example, for counters, we can define Σ i = {val, inc} and Σ 0 = N + { }. Counter is then a modular automaton. In fact, it is an object because every state has transitions for val and inc operations. An implementation of modular automata is a triple φ f, g : Q, F Σ Q, F Γ where f : Γ i Σ i and g : Σ Γ are functions 3.15 Examples i An implementation of Counter in terms of storage cells is as follows: φ f : Cell Counter where φ is id N and val.i inc f = get.i get.i put.i + 1 7
Axioms of Kleene Algebra
Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More informationNOTES ON AUTOMATA. Date: April 29,
NOTES ON AUTOMATA 1. Monoids acting on sets We say that a monoid S with identity element ɛ acts on a set Q if q(st) = (qs)t and qɛ = q. As with groups, if we set s = t whenever qs = qt for all q Q, then
More informationChapter 2: Finite Automata
Chapter 2: Finite Automata 2.1 States, State Diagrams, and Transitions Finite automaton is the simplest acceptor or recognizer for language specification. It is also the simplest model of a computer. A
More informationCategory theory for computer science. Overall idea
Category theory for computer science generality abstraction convenience constructiveness Overall idea look at all objects exclusively through relationships between them capture relationships between objects
More informationDuality and Automata Theory
Duality and Automata Theory Mai Gehrke Université Paris VII and CNRS Joint work with Serge Grigorieff and Jean-Éric Pin Elements of automata theory A finite automaton a 1 2 b b a 3 a, b The states are
More informationBüchi Automata and their closure properties. - Ajith S and Ankit Kumar
Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate
More informationCATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths.
CATEGORY THEORY PROFESSOR PETER JOHNSTONE Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths. Definition 1.1. A category C consists
More informationMATH 433 Applied Algebra Lecture 22: Semigroups. Rings.
MATH 433 Applied Algebra Lecture 22: Semigroups. Rings. Groups Definition. A group is a set G, together with a binary operation, that satisfies the following axioms: (G1: closure) for all elements g and
More informationDuality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +
Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality
More informationIntroduction to Kleene Algebras
Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)
More informationChapter 1. Sets and Mappings
Chapter 1. Sets and Mappings 1. Sets A set is considered to be a collection of objects (elements). If A is a set and x is an element of the set A, we say x is a member of A or x belongs to A, and we write
More informationUniversal Algebra for Logics
Universal Algebra for Logics Joanna GRYGIEL University of Czestochowa Poland j.grygiel@ajd.czest.pl 2005 These notes form Lecture Notes of a short course which I will give at 1st School on Universal Logic
More informationAlgebraic Approach to Automata Theory
Algebraic Approach to Automata Theory Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 20 September 2016 Outline 1 Overview 2 Recognition via monoid
More informationAn algebraic view of topological -machines
An algebraic view of topological -machines Luke Grecki Graduate Group in Applied Mathematics lgrecki@math.ucdavis.edu June 8, 2010 1 Contents 1 Semigroups 3 2 Semigroups of automata 4 3 -machine words
More informationCharacterizing the Equational Theory
Introduction to Kleene Algebra Lecture 4 CS786 Spring 2004 February 2, 2004 Characterizing the Equational Theory Most of the early work on Kleene algebra was directed toward characterizing the equational
More informationAutomata extended to nominal sets
Bachelor thesis Computer Science Radboud University Automata extended to nominal sets Author: Joep Veldhoven s4456556 First supervisor/assessor: Jurriaan Rot jrot@cs.ru.nl Second and third supervisor:
More informationON STRUCTURE OF KS-SEMIGROUPS
International Mathematical Forum, 1, 2006, no. 2, 67-76 ON STRUCTURE OF KS-SEMIGROUPS Kyung Ho Kim Department of Mathematics Chungju National University Chungju 380-702, Korea ghkim@chungju.ac.kr Abstract
More informationAperiodic languages and generalizations
Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k
More informationJoseph Muscat Universal Algebras. 1 March 2013
Joseph Muscat 2015 1 Universal Algebras 1 Operations joseph.muscat@um.edu.mt 1 March 2013 A universal algebra is a set X with some operations : X n X and relations 1 X m. For example, there may be specific
More informationAlgebraic structures I
MTH5100 Assignment 1-10 Algebraic structures I For handing in on various dates January March 2011 1 FUNCTIONS. Say which of the following rules successfully define functions, giving reasons. For each one
More informationFoundations of Mathematics
Foundations of Mathematics L. Pedro Poitevin 1. Preliminaries 1.1. Sets We will naively think of a set as a collection of mathematical objects, called its elements or members. To indicate that an object
More informationSYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS
SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS JITENDER KUMAR AND K. V. KRISHNA Abstract. The syntactic semigroup problem is to decide whether a given
More informationMATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.
MATH 101: ALGEBRA I WORKSHEET, DAY #1 We review the prerequisites for the course in set theory and beginning a first pass on group theory. Fill in the blanks as we go along. 1. Sets A set is a collection
More informationA function is a special kind of relation. More precisely... A function f from A to B is a relation on A B such that. f (x) = y
Functions A function is a special kind of relation. More precisely... A function f from A to B is a relation on A B such that for all x A, there is exactly one y B s.t. (x, y) f. The set A is called the
More informationAn Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras
Acta Cybernetica 23 (2017) 203 228. An Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras Zoltán Ésika, Uli Fahrenberg b, Axel Legay c, and Karin Quaas d Abstract Energy problems are
More informationDM17. Beregnelighed. Jacob Aae Mikkelsen
DM17 Beregnelighed Jacob Aae Mikkelsen January 12, 2007 CONTENTS Contents 1 Introduction 2 1.1 Operations with languages...................... 2 2 Finite Automata 3 2.1 Regular expressions/languages....................
More informationNon-emptiness Testing for TMs
180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to
More informationThe tensor product of commutative monoids
The tensor product of commutative monoids We work throughout in the category Cmd of commutative monoids. In other words, all the monoids we meet are commutative, and consequently we say monoid in place
More informationCategory Theory. Categories. Definition.
Category Theory Category theory is a general mathematical theory of structures, systems of structures and relationships between systems of structures. It provides a unifying and economic mathematical modeling
More informationObtaining the syntactic monoid via duality
Radboud University Nijmegen MLNL Groningen May 19th, 2011 Formal languages An alphabet is a non-empty finite set of symbols. If Σ is an alphabet, then Σ denotes the set of all words over Σ. The set Σ forms
More informationGeneral Fuzzy Automata
Chapter 4 General Fuzzy Automata 4.1 Introduction Doostfatemeh and Kremer [15] have kindly revised the developments in fuzzy automata theory and pointed out certain important issues such as i) membership
More informationFrom Wikipedia, the free encyclopedia
Monomorphism - Wikipedia, the free encyclopedia http://en.wikipedia.org/wiki/monomorphism 1 of 3 24/11/2012 02:01 Monomorphism From Wikipedia, the free encyclopedia In the context of abstract algebra or
More informationMore on Finite Automata and Regular Languages. (NTU EE) Regular Languages Fall / 41
More on Finite Automata and Regular Languages (NTU EE) Regular Languages Fall 2016 1 / 41 Pumping Lemma is not a Sufficient Condition Example 1 We know L = {b m c m m > 0} is not regular. Let us consider
More informationNotes on Semigroups. Uday S. Reddy. March 14, 2014
Notes on Semigroups Uday S. Reddy March 14, 2014 Semigroups are everywhere. Groups are semigroups with a unit and inverses. Rings are double semigroups: an inner semigroup that is required to be a commutative
More informationCompleteness of Star-Continuity
Introduction to Kleene Algebra Lecture 5 CS786 Spring 2004 February 9, 2004 Completeness of Star-Continuity We argued in the previous lecture that the equational theory of each of the following classes
More informationNormal forms in combinatorial algebra
Alberto Gioia Normal forms in combinatorial algebra Master s thesis, defended on July 8, 2009 Thesis advisor: Hendrik Lenstra Mathematisch Instituut Universiteit Leiden ii Contents Introduction iv 1 Generators
More informationTuring machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage?
Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage? What is the most powerful of automata? In this lecture we will introduce
More information12 Algebraic Structure and Coding Theory
12.1 The Structure of Algebra Def 1 Let S be a set and be a binary operation on S( : S S S). 2. The operation is associative over S, if a (b c) = (a b) c. 1. The operation is commutative over S, if a b
More informationWe define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ,
Distinguishability Recall A deterministic finite automaton is a five-tuple M = (S,Σ,T,s 0,F) where S is a finite set of states, Σ is an alphabet the input alphabet, T : S Σ S is the transition function,
More informationWarshall s algorithm
Regular Expressions [1] Warshall s algorithm See Floyd-Warshall algorithm on Wikipedia The Floyd-Warshall algorithm is a graph analysis algorithm for finding shortest paths in a weigthed, directed graph
More information12 Algebraic Structure and Coding Theory
12.1 The Structure of Algebra Def 1 Let S be a set and be a binary operation on S( : S S S). 2. The operation is associative over S, if a (b c) = (a b) c. 1. The operation is commutative over S, if a b
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato September 10, 2015 ABSTRACT. This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a
More informationINTRODUCING MV-ALGEBRAS. Daniele Mundici
INTRODUCING MV-ALGEBRAS Daniele Mundici Contents Chapter 1. Chang subdirect representation 5 1. MV-algebras 5 2. Homomorphisms and ideals 8 3. Chang subdirect representation theorem 11 4. MV-equations
More informationCOMMUTATIVE ALGEBRA LECTURE 1: SOME CATEGORY THEORY
COMMUTATIVE ALGEBRA LECTURE 1: SOME CATEGORY THEORY VIVEK SHENDE A ring is a set R with two binary operations, an addition + and a multiplication. Always there should be an identity 0 for addition, an
More informationFOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2
FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2 RAVI VAKIL CONTENTS 1. Where we were 1 2. Yoneda s lemma 2 3. Limits and colimits 6 4. Adjoints 8 First, some bureaucratic details. We will move to 380-F for Monday
More informationlanguages by semifilter-congruences
ideas Suffix semifilter-congruences Southwest Univ. Southwest Univ. Hongkong Univ. July 5 9, 2010, Nankai, China. Prefixsuffix Contents ideas 1 2 ideas 3 Suffix- 4 Prefix-suffix- Suffix Prefixsuffix ideas
More informationAperiodic languages p. 1/34. Aperiodic languages. Verimag, Grenoble
Aperiodic languages p. 1/34 Aperiodic languages Dejan Ničković Verimag, Grenoble Aperiodic languages p. 2/34 Table of Contents Introduction Aperiodic Sets Star-Free Regular Sets Schützenberger s theorem
More informationDefinition: A binary relation R from a set A to a set B is a subset R A B. Example:
Chapter 9 1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B.
More informationAn Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras
An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system
More informationWhat You Must Remember When Processing Data Words
What You Must Remember When Processing Data Words Michael Benedikt, Clemens Ley, and Gabriele Puppis Oxford University Computing Laboratory, Park Rd, Oxford OX13QD UK Abstract. We provide a Myhill-Nerode-like
More information2. Syntactic Congruences and Monoids
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.
More informationLectures - XXIII and XXIV Coproducts and Pushouts
Lectures - XXIII and XXIV Coproducts and Pushouts We now discuss further categorical constructions that are essential for the formulation of the Seifert Van Kampen theorem. We first discuss the notion
More informationFoundations of Mathematics MATH 220 FALL 2017 Lecture Notes
Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements
More informationQuasitriangular structures on (dual) monoid rings
Quasitriangular structures on (dual) monoid rings Nigel Byott University of Exeter, UK Omaha - 23 May 2014 Background/Literature R.G. Underwood, Topics in Modern Algebra - A View Towards Hopf Algebras
More informationAdvanced Automata Theory 9 Automatic Structures in General
Advanced Automata Theory 9 Automatic Structures in General Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata
More informationCategory Theory (UMV/TK/07)
P. J. Šafárik University, Faculty of Science, Košice Project 2005/NP1-051 11230100466 Basic information Extent: 2 hrs lecture/1 hrs seminar per week. Assessment: Written tests during the semester, written
More informationStep-indexed models of call-by-name: a tutorial example
Step-indexed models of call-by-name: a tutorial example Aleš Bizjak 1 and Lars Birkedal 1 1 Aarhus University {abizjak,birkedal}@cs.au.dk June 19, 2014 Abstract In this tutorial paper we show how to construct
More informationINTRODUCTION TO SEMIGROUPS AND MONOIDS
INTRODUCTION TO SEMIGROUPS AND MONOIDS PETE L. CLARK We give here some basic definitions and very basic results concerning semigroups and monoids. Aside from the mathematical maturity necessary to follow
More informationCS 468: Computational Topology Group Theory Fall b c b a b a c b a c b c c b a
Q: What s purple and commutes? A: An abelian grape! Anonymous Group Theory Last lecture, we learned about a combinatorial method for characterizing spaces: using simplicial complexes as triangulations
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 1: Introducing Formal Languages Motivation I This course is about the study of a fascinating
More informationSection VII.39. Free Groups
VII.39. Free Groups 1 Section VII.39. Free Groups Note. In this section, we define free group, in general (not just for abelian groups) and define the rank of such groups. The importance of this class
More informationUNIT-II. NONDETERMINISTIC FINITE AUTOMATA WITH ε TRANSITIONS: SIGNIFICANCE. Use of ε-transitions. s t a r t. ε r. e g u l a r
Syllabus R9 Regulation UNIT-II NONDETERMINISTIC FINITE AUTOMATA WITH ε TRANSITIONS: In the automata theory, a nondeterministic finite automaton (NFA) or nondeterministic finite state machine is a finite
More informationCISC 4090: Theory of Computation Chapter 1 Regular Languages. Section 1.1: Finite Automata. What is a computer? Finite automata
CISC 4090: Theory of Computation Chapter Regular Languages Xiaolan Zhang, adapted from slides by Prof. Werschulz Section.: Finite Automata Fordham University Department of Computer and Information Sciences
More informationAdvanced Automata Theory 10 Transducers and Rational Relations
Advanced Automata Theory 10 Transducers and Rational Relations Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced
More informationLecture 3: Nondeterministic Finite Automata
Lecture 3: Nondeterministic Finite Automata September 5, 206 CS 00 Theory of Computation As a recap of last lecture, recall that a deterministic finite automaton (DFA) consists of (Q, Σ, δ, q 0, F ) where
More informationRATIONAL MONOID AND SEMIGROUP AUTOMATA
RATIONAL MONOID AND SEMIGROUP AUTOMATA A thesis submitted to the University of Manchester for the degree of Doctor of Philosophy in the Faculty of Engineering and Physical Sciences 2010 Elaine L. Render
More informationA GENERAL THEORY OF ZERO-DIVISOR GRAPHS OVER A COMMUTATIVE RING. David F. Anderson and Elizabeth F. Lewis
International Electronic Journal of Algebra Volume 20 (2016) 111-135 A GENERAL HEORY OF ZERO-DIVISOR GRAPHS OVER A COMMUAIVE RING David F. Anderson and Elizabeth F. Lewis Received: 28 April 2016 Communicated
More informationCategories and functors
Lecture 1 Categories and functors Definition 1.1 A category A consists of a collection ob(a) (whose elements are called the objects of A) for each A, B ob(a), a collection A(A, B) (whose elements are called
More informationFinite State Automata
Trento 2005 p. 1/4 Finite State Automata Automata: Theory and Practice Paritosh K. Pandya (TIFR, Mumbai, India) Unversity of Trento 10-24 May 2005 Trento 2005 p. 2/4 Finite Word Langauges Alphabet Σ is
More informationALGEBRA II: RINGS AND MODULES OVER LITTLE RINGS.
ALGEBRA II: RINGS AND MODULES OVER LITTLE RINGS. KEVIN MCGERTY. 1. RINGS The central characters of this course are algebraic objects known as rings. A ring is any mathematical structure where you can add
More informationON STATELESS AUTOMATA AND P SYSTEMS
ON STATELESS AUTOMATA AND P SYSTEMS Linmin Yang School of Electrical Engineering and Computer Science Washington State University, Pullman, Washington 99164, USA lyang1@eecs.wsu.edu Zhe Dang School of
More informationComputational Models - Lecture 4
Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push
More informationLecture 4. Algebra. Section 1:. Signature, algebra in a signature. Isomorphisms, homomorphisms, congruences and quotient algebras.
V. Borschev and B. Partee, September 18, 2001 p. 1 Lecture 4. Algebra. Section 1:. Signature, algebra in a signature. Isomorphisms, homomorphisms, congruences and quotient algebras. CONTENTS 0. Why algebra?...1
More informationCS243, Logic and Computation Nondeterministic finite automata
CS243, Prof. Alvarez NONDETERMINISTIC FINITE AUTOMATA (NFA) Prof. Sergio A. Alvarez http://www.cs.bc.edu/ alvarez/ Maloney Hall, room 569 alvarez@cs.bc.edu Computer Science Department voice: (67) 552-4333
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato June 23, 2015 This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a more direct connection
More informationOperational Semantics
Operational Semantics Semantics and applications to verification Xavier Rival École Normale Supérieure Xavier Rival Operational Semantics 1 / 50 Program of this first lecture Operational semantics Mathematical
More informationProperties of Regular Languages. BBM Automata Theory and Formal Languages 1
Properties of Regular Languages BBM 401 - Automata Theory and Formal Languages 1 Properties of Regular Languages Pumping Lemma: Every regular language satisfies the pumping lemma. A non-regular language
More informationT (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,
Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the
More informationFurther discussion of Turing machines
Further discussion of Turing machines In this lecture we will discuss various aspects of decidable and Turing-recognizable languages that were not mentioned in previous lectures. In particular, we will
More informationComputation Histories
208 Computation Histories The computation history for a Turing machine on an input is simply the sequence of configurations that the machine goes through as it processes the input. An accepting computation
More informationMATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA
MATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA These are notes for our first unit on the algebraic side of homological algebra. While this is the last topic (Chap XX) in the book, it makes sense to
More informationOutline. Summary. DFA -> Regex. Finish off Regex -> e-nfa -> NFA -> DFA -> Regex Minimization/equivalence (Myhill-Nerode theorem)
Outline Finish off Regex -> e-nfa -> NFA -> DFA -> Regex Minimization/equivalence (Myhill-Nerode theorem) http://www.cs.caltech.edu/~cs20/a October 9, 2002 1 Summary NFA -> DFA If NFA has states Q, construct
More informationFinite Automata and Regular Languages
Finite Automata and Regular Languages Topics to be covered in Chapters 1-4 include: deterministic vs. nondeterministic FA, regular expressions, one-way vs. two-way FA, minimization, pumping lemma for regular
More informationMonoids of languages, monoids of reflexive. relations and ordered monoids. Ganna Kudryavtseva. June 22, 2010
June 22, 2010 J -trivial A monoid S is called J -trivial if the Green s relation J on it is the trivial relation, that is aj b implies a = b for any a, b S, or, equivalently all J -classes of S are one-element.
More information0.1 Spec of a monoid
These notes were prepared to accompany the first lecture in a seminar on logarithmic geometry. As we shall see in later lectures, logarithmic geometry offers a natural approach to study semistable schemes.
More informationAdequate and Ehresmann semigroups
Adequate and Ehresmann semigroups NSAC2013: June 8th, 2013, Novi Sad Victoria Gould University of York What is this talk about? Classes of semigroups with semilattices of idempotents inverse ample adequate
More informationHKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed
HKN CS/ECE 374 Midterm 1 Review Nathan Bleier and Mahir Morshed For the most part, all about strings! String induction (to some extent) Regular languages Regular expressions (regexps) Deterministic finite
More informationFormal Language and Automata Theory (CS21004)
Theory (CS21004) Announcements The slide is just a short summary Follow the discussion and the boardwork Solve problems (apart from those we dish out in class) Table of Contents 1 2 3 Languages that are
More informationLecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra.
V. Borschev and B. Partee, October 26, 2006 p. 1 Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra. 0. Preliminary notes...1 1. Freedom for algebras. Word
More informationSection Summary. Relations and Functions Properties of Relations. Combining Relations
Chapter 9 Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations Closures of Relations (not currently included
More informationMergible States in Large NFA
Mergible States in Large NFA Cezar Câmpeanu a Nicolae Sântean b Sheng Yu b a Department of Computer Science and Information Technology University of Prince Edward Island, Charlottetown, PEI C1A 4P3, Canada
More informationLecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2
BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2 Prepared by, Dr. Subhendu Kumar Rath, BPUT, Odisha. UNIT 2 Structure NON-DETERMINISTIC FINITE AUTOMATA
More information1 Differentiable manifolds and smooth maps
1 Differentiable manifolds and smooth maps Last updated: April 14, 2011. 1.1 Examples and definitions Roughly, manifolds are sets where one can introduce coordinates. An n-dimensional manifold is a set
More informationOgden s Lemma. and Formal Languages. Automata Theory CS 573. The proof is similar but more fussy. than the proof of the PL4CFL.
CS 573 Automata Theory and Formal Languages Professor Leslie Lander Lecture # 24 December 4, 2000 Ogden s Lemma (6.2) Let L be a CFL, then there is a constant n such that if z is a word in L with z > n
More informationStates and Actions: An Automata-theoretic Model of Objects
States and Actions: An Automata-theoretic Model of Objects Uday S. Reddy 1 Brian P. Dunphy 2 1 University of Birmingham 2 University of Illinois at Urbana-Champaign Portland, Oct 2011 Uday S. Reddy (Univ
More informationLecture Notes: Selected Topics in Discrete Structures. Ulf Nilsson
Lecture Notes: Selected Topics in Discrete Structures Ulf Nilsson Dept of Computer and Information Science Linköping University 581 83 Linköping, Sweden ulfni@ida.liu.se 2004-03-09 Contents Chapter 1.
More informationName: Student ID: Instructions:
Instructions: Name: CSE 322 Autumn 2001: Midterm Exam (closed book, closed notes except for 1-page summary) Total: 100 points, 5 questions, 20 points each. Time: 50 minutes 1. Write your name and student
More information1 Categorical Background
1 Categorical Background 1.1 Categories and Functors Definition 1.1.1 A category C is given by a class of objects, often denoted by ob C, and for any two objects A, B of C a proper set of morphisms C(A,
More informationPhysical justification for using the tensor product to describe two quantum systems as one joint system
Physical justification for using the tensor product to describe two quantum systems as one joint system Diederik Aerts and Ingrid Daubechies Theoretical Physics Brussels Free University Pleinlaan 2, 1050
More information