Does Not Compute 5: DFA/NFA Equivalence Turing Machines In which we prove that DFAs are equivalent to NFAs, and discover the conversion is more brute force.

Slides:



Advertisements
Similar presentations
NFAs and DFAs Sipser 1.2 (pages 47-63).
Advertisements

David Evans cs302: Theory of Computation University of Virginia Computer Science Lecture 13: Turing Machines.
CSE 311 Foundations of Computing I
CSC 361NFA vs. DFA1. CSC 361NFA vs. DFA2 NFAs vs. DFAs NFAs can be constructed from DFAs using transitions: Called NFA- Suppose M 1 accepts L 1, M 2 accepts.
Nondeterministic Finite Automata CS 130: Theory of Computation HMU textbook, Chapter 2 (Sec 2.3 & 2.5)
Finite Automata CPSC 388 Ellen Walker Hiram College.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 3 School of Innovation, Design and Engineering Mälardalen University 2012.
Lecture # 14 Theory Of Automata By Dr. MM Alam 1.
1 Introduction to Computability Theory Lecture14: Recap Prof. Amos Israeli.
NFAs Sipser 1.2 (pages 47–54). CS 311 Fall Recall… Last time we showed that the class of regular languages is closed under: –Complement –Union.
NFAs and DFAs Sipser 1.2 (pages 47-63). Last time…
Intro to DFAs Readings: Sipser 1.1 (pages 31-44) With basic background from Sipser 0.
NFAs Sipser 1.2 (pages 47–54). CS 311 Mount Holyoke College 2 Recall… Last time we showed that the class of regular languages is closed under: –Complement.
Introduction to Computability Theory
1 Introduction to Computability Theory Discussion1: Non-Deterministic Finite Automatons Prof. Amos Israeli.
Intro to DFAs Readings: Sipser 1.1 (pages 31-44) With basic background from Sipser 0.
Lecture 3UofH - COSC Dr. Verma 1 COSC 3340: Introduction to Theory of Computation University of Houston Dr. Verma Lecture 3.
CS5371 Theory of Computation
Courtesy Costas Busch - RPI1 Non Deterministic Automata.
CS 310 – Fall 2006 Pacific University CS310 Converting NFA to DFA Sections:1.2 Page 54 September 15, 2006.
Lecture 3 Goals: Formal definition of NFA, acceptance of a string by an NFA, computation tree associated with a string. Algorithm to convert an NFA to.
1 Languages and Finite Automata or how to talk to machines...
Introduction to the Theory of Computation John Paxton Montana State University Summer 2003.
1 Single Final State for NFAs and DFAs. 2 Observation Any Finite Automaton (NFA or DFA) can be converted to an equivalent NFA with a single final state.
Lecture 3 Goals: Formal definition of NFA, acceptance of a string by an NFA, computation tree associated with a string. Algorithm to convert an NFA to.
Foundations of (Theoretical) Computer Science Chapter 1 Lecture Notes (Section 1.1: DFA’s) David Martin With some modifications.
CS 490: Automata and Language Theory Daniel Firpo Spring 2003.
Fall 2006Costas Busch - RPI1 Non-Deterministic Finite Automata.
1 Non-Deterministic Automata Regular Expressions.
Fall 2004COMP 3351 Another NFA Example. Fall 2004COMP 3352 Language accepted (redundant state)
Costas Busch - LSU1 Non-Deterministic Finite Automata.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
1 Non-Deterministic Finite Automata. 2 Alphabet = Nondeterministic Finite Automaton (NFA)
1 A Single Final State for Finite Accepters. 2 Observation Any Finite Accepter (NFA or DFA) can be converted to an equivalent NFA with a single final.
CSE 311: Foundations of Computing Fall 2014 Lecture 23: State Minimization, NFAs.
Lecture 14: Church-Turing Thesis Alonzo Church ( ) Alan Turing ( )
More Theory of Computing
Cs3102: Theory of Computation Class 4: Nondeterminism Spring 2010 University of Virginia David Evans TexPoint fonts used in EMF. Read the TexPoint manual.
REGULAR LANGUAGES.
Theory of Languages and Automata
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
Lecture 1 Computation and Languages CS311 Fall 2012.
CSE 105 Theory of Computation Alexander Tsiatas Spring 2012 Theory of Computation Lecture Slides by Alexander Tsiatas is licensed under a Creative Commons.
Prof. Busch - LSU1 NFAs accept the Regular Languages.
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 3 Mälardalen University 2010.
Decidable languages Section 4.1 CSC 4170 Theory of Computation.
CMSC 330: Organization of Programming Languages Finite Automata NFAs  DFAs.
CSCI 2670 Introduction to Theory of Computing October 12, 2005.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
D E C I D A B I L I T Y 1. 2 Objectives To investigate the power of algorithms to solve problems. To explore the limits of algorithmic solvability. To.
Deterministic Finite Automata CS 130: Theory of Computation HMU textbook, Chapter 2 (Sec 2.2)
INHERENT LIMITATIONS OF COMPUTER PROGAMS CSci 4011.
CSCI 2670 Introduction to Theory of Computing September 13.
Lecture Notes 
Nondeterministic Finite Automata (NFAs). Reminder: Deterministic Finite Automata (DFA) q For every state q in Q and every character  in , one and only.
1 Unit – 5 : STATE MACHINES Syllabus: Languages and Grammars – Finite State Machines State machines and languages – Turing Machines – Computational Complexity.
FORMAL LANGUAGES, AUTOMATA, AND COMPUTABILITY * Read chapter 4 of the book for next time * Lecture9x.ppt.
Turing Machines Finite State Machines.
Non Deterministic Automata
Busch Complexity Lectures: Reductions
Reductions.
Reductions Costas Busch - LSU.
CS154, Lecture 7: Turing Machines.
Nondeterministic Finite Automata
Jaya Krishna, M.Tech, Assistant Professor
Non-Deterministic Finite Automata
Non-Deterministic Finite Automata
Non Deterministic Automata
CS322D Tutorials.
CS322D Tutorials.
Presentation transcript:

Does Not Compute 5: DFA/NFA Equivalence Turing Machines In which we prove that DFAs are equivalent to NFAs, and discover the conversion is more brute force than pure elegance Then we introduce a new machine, which has great power, but with great power comes a new and terrible problem.

Alan Turing

Our New Machine A 7-tuple (Q, E 1, E 2,T, q 0, F 1, F 2 ) – Q is a finite set of states – E 1 is a finite set called the alphabet (usually {0, 1} or {a,b}) not containing the special blank symbol – E 2 is a finite set called the alphabet containing the special blank symbol, E 1, and maybe a few odds and ends – T : Q x E 2 Q x E 2 x {L,R} is the transition function – q 0 is the start state – F 1 is the accept states – F 2 is the reject states

To Come In The Second Half Some extremely cool stuff: The Turing-Church Hypothesis, which touches on the fundamental question of What is Computing? The existence of well-defined mathematical problems no machine can compute solutions for (including modern computers) Efficiency, discussed at long last, including P/NP problem which is one of the great unsolved questions of modern mathematics Even more fun playing with interesting machines

Feedback From You 1. What is one thing you particularly liked about the class so far? 2. What is one thing that could be improved about the class so far? 3. Sum of your feeling about the class in 1 or 2 short sentences.