Sequential Machine Theory

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Mathematical Preliminaries
Variations of the Turing Machine
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
EE384y: Packet Switch Architectures
Sugar 2.0 Formal Specification Language D ana F isman 1,2 Cindy Eisner 1 1 IBM Haifa Research Laboratory 1 IBM Haifa Research Laboratory 2 Weizmann Institute.
1
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Sequential Logic Design
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination. Introduction to the Business.
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Break Time Remaining 10:00.
Chapter 11: Models of Computation
Turing Machines.
PP Test Review Sections 6-1 to 6-6
Abstract Data Types and Algorithms
Chapter 1 Object Oriented Programming 1. OOP revolves around the concept of an objects. Objects are created using the class definition. Programming techniques.
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Chapter 3 Basic Logic Gates 1.
Discrete Mathematical Structures: Theory and Applications
Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Chapter 4 Gates and Circuits.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
How to convert a left linear grammar to a right linear grammar
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Joint work with Andre Lieutier Dassault Systemes Domain Theory and Differential Calculus Abbas Edalat Imperial College Oxford.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Clock will move after 1 minute
PSSA Preparation.
Essential Cell Biology
Chapter 13: Digital Control Systems 1 ©2000, John Wiley & Sons, Inc. Nise/Control Systems Engineering, 3/e Chapter 13 Digital Control Systems.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
9. Two Functions of Two Random Variables
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Distributed Computing 5. Snapshot Shmuel Zaks ©
Chapter 5 Relations and Functions
The Pumping Lemma for CFL’s
1 Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 1 Adaptation to this.
Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 8 Updated and adapted.
Presentation transcript:

Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 1 http://cpe.gmu.edu/~khintz Adaptation to this class and additional comments by Marek Perkowski

Why Sequential Machine Theory (SMT)? Some Things Cannot be Parallelized Theory Leads to New Ways of Doing Things, has also practical applications in software and hardware (compiler design, controllers design, etc.) Understand Fundamental FSM Limits Minimize FSM Complexity and Size Find the “Essence” of a Machine, what does it mean that there is a machine for certain task?

Why Sequential Machine Theory? Discuss FSM properties that are unencumbered by Implementation Issues: Software Hardware FPGA/ASIC/Memory, etc. Technology is Changing Rapidly, the core of the theory remains forever. Theory is a Framework within which to Understand and Integrate Practical Considerations

Hardware/Software There Is an Equivalence Relation Between Hardware and Software Anything that can be done in one can be done in the other…perhaps faster/slower System design now done in hardware description languages (VHDL, Verilog, higher) without regard for realization method Hardware/software/split decision deferred until later stage in design

Hardware/Software Hardware/Software equivalence extends to formal languages Different classes of computational machines are related to different classes of formal languages Finite State Machines (FSM) can be equivalently represented by one class of languages

Formal Languages Unambiguous Can Be Finite or Infinite Give some simple examples Can Be Rule-based or Enumerated Various Classes With Different Properties

Finite State Machines FSMs are Equivalent to One Class of Languages Prototypical Sequence Controller Generator acceptor controller Many Processes Have Temporal Dependencies and Cannot Be Parallelized, the need some form of state machine. FSM Costs Hardware: More States More Hardware Time: More States, Slower Operation Technology dependent: how many CPLD chips?

Goal of this set of lectures Develop understanding of Hardware/Software/Language Equivalence Understand Properties of FSM Develop Ability to Convert FSM Specification Into Set-theoretic Formulation Develop Ability to Partition Large Machine Into Greatest Number of Smallest Machines This reduction is unique

Machine/Mathematics Hierarchy AI Theory Intelligent Machines Computer Theory Computer Design Automata Theory Finite State Machine Boolean Algebra Combinational Logic

Combinational Logic Feedforward Output Is Only a Function of Input No Feedback No memory No temporal dependency Two-Valued Function Minimization Techniques Well-known Minimization Techniques Multi-valued Function Minimization Well-known Heuristics

Finite State Machine Feedback Behavior Depends Both on Present State and Present Input State Minimization Well-known With Guaranteed Minimum Realization Minimization Unsolved problem of Digital Design Technology related, combinational design related

Computer Design: Turing Machines Defined by Turing Computability Can compute anything that is “computable” Some things are not computable Assumed Infinite Memory State Dependent Behavior Elements: Control Unit is specified and implemented as FSM Tape infinite Head Head movements Show example of a very simple Turing machine now: x--> x+1

Intelligent Machines Some machines display an ability to learn How a machine can learn? Some problems are possibly not computable What problems? Why not computable? Something must be infinite?

concepts in other areas Automata, aka FSM Concepts of Machines: Mechanical Counters, adders Computer programs Political Towns, highways, social groups, parties, etc Biological Tissues, cells, genetic, neural, societies Abstract mathematical Functions, relations, graphs You should be able to use FSM concepts in other areas like robotics

FSM - Abstract mathematical concept of many types of behavior Discrete Continuous system can be discretized to any degree of resolution Finite State: finite alphabets for inputs, outputs and states. Input/Output Some cause, some result

Set Theoretic Formulation of Finite State Machine S: Finite set of possible states I: Finite set of possible inputs O: Finite set of possible outputs : Rule defining state change : Rule determining outputs

Types of FSMs Moore FSM Mealy FSM Output is a function of state only Output is a function of both the present state and the present input Discuss timing differences, show examples and diagrams, discuss fast signaling and PLD realization

Types of FSMs Finite State Acceptors, Language Recognizers Start in a single, specified state End in particular state(s) Pushdown Automata Not an FSM Assumed infinite stack with access only to topmost element

Computer Turing Machine Assumed infinite read/write tape FSM controls read/write/tape motion Definition of computable function Universal Turing Machine reads FSM behavior from tape

Review of Set Theory Element: “a”, a single object with no special property Set: “A”, a collection of elements, i.e., Enumerated Set: Finite Set:

Sets Infinite set Set of sets

Subsets All elements of B are elements of A and there may be one or more elements of A that is not an element of B A3 Larry, Curly, Moe A6 integers A7

Proper Subset All elements of B are elements of A and there is at least one element of A that is not an element of B

Set Equality Set A is equal to set B

Sets Null Set Every set is a subset of itself A set with no elements,  Every set is a subset of itself Every set contains the null set

Operations on Sets Intersection Union Logical AND Logical OR

Operations on Sets Set Difference Cartesian Product, Direct Product

Special Sets Powerset: set of all subsets of A *no braces around the null set since the symbol represents the set

Special Sets Disjoint sets: A and B are disjoint if Cover: We know set covering problem from 572. It was defined as a matrix problem

Properties of Operations on Sets Commutative, Abelian Associative Distributive Left hand distributive

Partition of a Set Properties pi are called “pi-blocks” or “-blocks” of PI

Relations Between Sets If A and B are sets, then the relation from A to B, is a subset of the Cartesian product of A and B, i.e., R-related:

Domain of a Relation Domain of R R B a A b

Range of a Relation Range of R R b A a B

Inverse Relation, R-1 R-1 B a A b

Partial Function, Mapping A single-valued relation such that R a b b’ a’ * A B * can be many to one

Partial Function Also called the Image of a under R Only one element of B for each element of A Single-valued Can be a many-to-one mapping

Function A partial function with A b corresponds to each a, but only one b for each a Possibly many-to-one: multiple a’s could map to the same b

Function Example 1 2 3 4 u v w Unique, one image for each element of A and no more Defined for each element of A, so a function, not partial Not one-to-one since 2 elements of A map to v

Surjective (called also Onto) relations Range of the relation is B At least one a is related to each b Does not imply single-valued one-to-one R B Not mapped A a 1234 s1s2s3

Injective, or One-to-One relations “A relation between 2 sets such that pairs can be removed, one member from each set, until both sets have been simultaneously exhausted.”

Injective, One-to-One a could map to b’ also if it were not at least a partial function which implies single-valued a a’ = R b 12 abc

Bijective A function which is both Injective and Surjective is Bijective. Also called “one-to-one” and “onto” A bijective function has an inverse, R-1, and it is unique

Function Examples Monotonically increasing if injective Not one-to-one, but single-valued A B B A b a a’

Function Examples Multivalued, but one-to-one b There are no two a’s which would have the same b, so it is one-to-one