Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 8 Updated and adapted.

Slides:



Advertisements
Similar presentations
Functions Reading: Epp Chp 7.1, 7.2, 7.4
Advertisements

1.6 Functions. Chapter 1, section 6 Functions notation: f: A B x in A, y in B, f(x) = y. concepts: –domain of f, –codomain of f, –range of f, –f maps.
Regular Expression Manipulation FSM Model
Sequential Machine Theory
The Engineering Design of Systems: Models and Methods
Math 3121 Abstract Algebra I
1 Introduction to Computability Theory Lecture3: Regular Expressions Prof. Amos Israeli.
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 2 Updated and modified by.
Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 7 Updated and adapted.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 4 Updated by Marek Perkowski.
FSM Decomposition using Partitions on States 290N: The Unknown Component Problem Lecture 24.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
Theory and Applications
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
Functions Goals Introduce the concept of function Introduce injective, surjective, & bijective functions.
Behavioral Equivalence Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 7 Modifications and updates.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
Function: Definition A function is a correspondence from a first set, called the domain, to a second set, called the range, such that each element in the.
Relations Topic
MAPPINGS and FUNCTIONS
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
Unit – IV Algebraic Structures
Relations and Functions Another Foundational Concept Copyright © 2014 – Curt Hill.
 Let A and B be any sets A binary relation R from A to B is a subset of AxB Given an ordered pair (x, y), x is related to y by R iff (x, y) is in R. This.
Zvi Kohavi and Niraj K. Jha 1 Memory, Definiteness, and Information Losslessness of Finite Automata.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
Introduction to Modern Cryptography Sharif University Spring 2015 Data and Network Security Lab Sharif University of Technology Department of Computer.
Functions. Copyright © Peter Cappello2 Definition Let D and C be nonempty sets. A function f from D to C, for each element d  D, assigns exactly 1 element.
An ordered n-tuple is a set of n objects with an order associated with them. If n objects are represented by x 1, x 2,..., x n, then we write the ordered.
1 Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 1 Adaptation to this.
1 Annoucement n Skills you need: (1) (In Thinking) You think and move by Logic Definitions Mathematical properties (Basic algebra etc.) (2) (In Exploration)
FUNCTIONS.
Chapter 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs BY: MISS FARAH ADIBAH ADNAN IMK.
Sets Define sets in 2 ways  Enumeration  Set comprehension (predicate on membership), e.g., {n | n  N   k  k  N  n = 10  k  0  n  50} the set.
Agenda Week 10 Lecture coverage: –Functions –Types of Function –Composite function –Inverse of a function.
Sullivan Algebra & Trigonometry: Section 3.1 Functions Objectives Determine Whether a Relation Represents a Function Find the Value of a Function Find.
Discrete Mathematics R. Johnsonbaugh
Discrete Mathematics Relation.
MAT 2720 Discrete Mathematics Section 3.1 Functions
DISCRETE COMPUTATIONAL STRUCTURES
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
Chapter 6 Abstract algebra
FUNCTIONS COSC-1321 Discrete Structures 1. Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property.
August 2003 CIS102/LECTURE 9/FKS 1 Mathematics for Computing Lecture 9 LOGIC Chapter 3.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Functions Goals Introduce the concept of function
Behavioral Equivalence
Unit-III Algebraic Structures
Groups and Applications
Cartesian product Given two sets A, B we define their Cartesian product is the set of all the pairs whose first element is in A and second in B. Note that.
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz
Relations and Functions
CS201: Data Structures and Discrete Mathematics I
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz
Functions Introduction.
Regular Expression Manipulation FSM Model
CSCI 2670 Introduction to Theory of Computing
Mathematical Background 1
Functions.
Mathematical Background 1
Algebra 1 Section 5.2.
DESIGN OF SEQUENTIAL CIRCUITS
Ch 5 Functions Chapter 5: Functions
2.1: Represent Relations and Functions HW: p.76 (4-20 even, all)
Relations and functions
Functions.
Behavioral Equivalence
2-1 Relations & Functions
Chapter 2 Functions, Equations, and Graphs
Presentation transcript:

Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 8 Updated and adapted by Marek Perkowski

Notation

Free SemiGroup

String or Word

Concatenation

Partition of a Set Properties p i are called “pi-blocks” of a partition,  (A)

Types of Relations Partial, Binary, Single-Valued System Groupoid SemiGroup Monoid Group

Partial Binary Single-Valued

Groupoid Closed Binary Operation Partial, Binary, Single-Valued System with It is defined on all elements of S x S Not necessarily surjective

SemiGroup An Associative Groupoid –Binary operation, e.g., multiplication –Closure –Associative Can be defined for various operations, so sometimes written as

Closed Binary Operation Division Is Not a Closed Binary Operation on the Set of Counting Numbers 6/3 = 2 = counting number 2/6 = ? = not a counting number Division Is Closed Over the Set of Real Numbers.

Monoid Semigroup With an Identity Element, e.

Group Monoid With an Inverse

‘Morphisms’ Homomorphism (J&J) “A correspondence of a set D (the domain) with a set R (the range) such that each element of D determines a unique element of R [single-valued] and each element of R is the correspondent of at least one element of D.“ and...

Homomorphism “If operations such as multiplication, addition, or multiplication by scalars are defined for D and R, it is required that these correspond...” and...

Homomorphism “If D and R are groups (or semigroups) with the operation denoted by * and x corresponds to x’ and y corresponds to y’ then x * y must correspond to x’ * y’ “ Product of Correspondence = Correspondence of product

Homomorphism

Correspondence must be –Single-valued: therefore at least a partial function –Surjective: each y in the R has at least one x in the D –Non-Injective: not one-to-one else isomorphism

Endomorphism A ‘morphism’ which maps back onto itself The range, R, is the same set as the domain, D, e.g., the real numbers. R=DR=D ‘morphism’

SemiGroup Homomorphism

SmGp. HmMphsm. Example* *Larsen, Intro to Modern Algebraic Concepts, p. 53

SmGp. HmMphsm. Example* Is the relation single-valued? –Each symbol of D maps to only one symbol of R surjective? –Each symbol of R has a corresponding element in D not-injective? –e and g 4 correspond to the same symbol, 0

SmGp. HmMphsm. Example* Do the results of operations correspond? same

Monoid Homomorphism

Isomorphism An Isomorphism Is a Homomorphism Which Is Injective Injective: One-to-One Correspondence –A relation between two sets such that pairs can be removed, one member from each set until both sets have been simultaneously exhausted

SemiGroup Isomorphism Injective Homomorphism

Isomorphism Example* Define two groupoids –non-associative semigroups –groups without an inverse or identity element SG1:A1 = { positive real numbers } * 1 = multiplication = * SG2:A2 = { positive real numbers } * 2 = addition = + *Ginzberg, pg 10

Isomorphism Example

SemiGroup Isomorphism

Machine Isomorphisms Input-output isomorphism, but usually abbreviated to just isomorphism An I/O isomorphism exists between two machines, M 1 and M 2 if there exists a triple

Machine Isomorphisms

Interpret

Machine State Isomorphism

Machine Output Isomorphism

Homo- vice Iso- Morphism Reduction Homomorphism Shows behavioral equivalence between machines of different sizes Allows us to only concern ourselves with minimized machines (not yet decomposed, but fewest states in single machine) If we can find one, we can make a minimum state machine

Homo- vice Iso- Morphism Isomorphism Shows equivalence of machines of identical, but not necessarily minimal, size Shows equivalence between machines with different labels for the inputs, states, and/or outputs

Block Diagram Isomorphism I1I1 I2I2 O2O2 O1O1 M2M2 M1M1 I1I1 O1O1

which is the same as the preceding state diagram and block diagram definitions therefore M 1 and M 2 are Isomorphic to each other

Machine Information Since the Inputs and Outputs Can Be Mapped Through Isomorphisms Which Are Independent of the State Transitions, All of the State Change Information Is Maintained in the Isomorphic Machine Isomorphic Machines Produce Identical Outputs

Output Equivalence

Identity Machine Isomorphism

Inverse Machine Isomorphism

Machine Equivalence

Machine Homomorphism

If alpha is injective, then have isomorphism –“State Behavior” assignment, –“Realization” of M 1 If alpha not injective –“Reduction Homomorphism”

Behavioral Equivalence