Introduction to the Theory of Computation

Slides:



Advertisements
Similar presentations
Formal Languages: main findings so far A problem can be formalised as a formal language A formal language can be defined in various ways, e.g.: the language.
Advertisements

Pushdown Automata Section 2.2 CSC 4170 Theory of Computation.
8/25/2009 Sofya Raskhodnikova Intro to Theory of Computation L ECTURE 1 Theory of Computation Course information Overview of the area Finite Automata Sofya.
January 5, 2015CS21 Lecture 11 CS21 Decidability and Tractability Lecture 1 January 5, 2015.
CFG => PDA Sipser 2 (pages ).
CFG => PDA Sipser 2 (pages ). CS 311 Fall Formally… A pushdown automaton is a sextuple M = (Q, Σ, Γ, δ, q 0, F), where – Q is a finite set.
Costas Busch - RPI1 Pushdown Automata PDAs. Costas Busch - RPI2 Pushdown Automaton -- PDA Input String Stack States.
1 CSCI-2400 Models of Computation. 2 Computation CPU memory.
Courtesy Costas Busch - RPI1 Pushdown Automata PDAs.
Finite Automata Finite-state machine with no output. FA consists of States, Transitions between states FA is a 5-tuple Example! A string x is recognized.
Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Fall 2008.
Fall 2005Costas Busch - RPI1 CSCI-2400 Models of Computation.
CS5371 Theory of Computation General Info, Scope, Textbook Assessment, …
Fall 2006Costas Busch - RPI1 Pushdown Automata PDAs.
CS 490: Automata and Language Theory Daniel Firpo Spring 2003.
CS311 Automata and Complexity Theory. Admistrative Stuff Instructor: Shahab Baqai Room # 428, Ext 4428 Lectures:Mon & Wed 1530 – 1710.
Costas Busch - RPI1 CSCI-2400 Models of Computation.
Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.
Fall 2006Costas Busch - RPI1 CSCI-2400 Models of Computation.
Finite Automata Costas Busch - RPI.
Prof. Busch - LSU1 Pushdown Automata PDAs. Prof. Busch - LSU2 Pushdown Automaton -- PDA Input String Stack States.
Fall 2005Costas Busch - RPI1 Pushdown Automata PDAs.
Grammars, Languages and Finite-state automata Languages are described by grammars We need an algorithm that takes as input grammar sentence And gives a.
1 CSCI 2400 section 3 Models of Computation Instructor: Costas Busch.
1 Theory of Computation 計算理論 2 Instructor: 顏嗣鈞 Web: Time: 9:10-12:10 PM, Monday Place: BL 103.
Introduction to the Theory of Computation
CS 390 Introduction to Theoretical Computer Science.
1 An Introduction to Formal Languages and Automata Provided by : Babak Salimi webAdd:
Complexity theory and combinatorial optimization Class #2 – 17 th of March …. where we deal with decision problems, finite automata, Turing machines pink.
Computation Model and Complexity Class. 2 An algorithmic process that uses the result of a random draw to make an approximated decision has the ability.
CSC312 Automata Theory Lecture # 1 Introduction.
1 Theory of Computation 計算理論 2 Instructor: 顏嗣鈞 Web: Time: 9:10-12:10 PM, Monday Place: BL.
Complexity and Computability Theory I Lecture #11 Instructor: Rina Zviel-Girshin Lea Epstein.
Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Costas Busch - LSU1 Time Complexity. Costas Busch - LSU2 Consider a deterministic Turing Machine which decides a language.
Prof. Busch - LSU1 Time Complexity. Prof. Busch - LSU2 Consider a deterministic Turing Machine which decides a language.
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Consider problems with answer YES or NO Examples: Does Machine have three states ? Is string a binary.
Computation Theory Asia Mahdi. Textbooks Programs, Machines and Computation: An Introduction to the Theory of Computing - Authors: Keith Clark and Don.
Theory of Computation. Introduction to The Course Lectures: Room ( Sun. & Tue.: 8 am – 9:30 am) Instructor: Dr. Ayman Srour (Ph.D. in Computer Science).
Costas Busch - LSU1 Deterministic Finite Automata And Regular Languages.
Formal Foundations-II [Theory of Automata]
1.3 Finite State Machines.
CS-300 Theory of Computation 2nd Sem 2017 Lecture 1.
Models of Computation.
Time Complexity Costas Busch - LSU.
Busch Complexity Lectures: Reductions
Reductions Costas Busch - LSU.
G. Pullaiah College of Engineering and Technology
Pushdown Automata PDAs
Pushdown Automata PDAs
Pushdown Automata PDAs
Pushdown Automata PDAs
CSE322 The Chomsky Hierarchy
CSCI-2400 Models of Computation Costas Busch - RPI.
Deterministic Finite Automata And Regular Languages Prof. Busch - LSU.
Non-Deterministic Finite Automata
Non-Deterministic Finite Automata
Space Complexity Costas Busch - LSU.
Pushdown automata a_introduction.htm.
CSCI-2400 Models of Computation.
Undecidable problems:
Lecture One: Automata Theory Amjad Ali
Formal Definitions for Turing Machines
Formal Languages and Automata Theory BODDEDA HARITHA LAKSHMI,
The Chomsky Hierarchy Costas Busch - LSU.
Normal Forms for Context-free Grammars
Automata theory and formal languages COS 3112 – AUTOMATA THEORY PRELIM PERIOD WEEK 1 AND 2.
Presentation transcript:

Introduction to the Theory of Computation CSC-4890 Introduction to the Theory of Computation Costas Busch - LSU

General Info about Course Instructor: Konstantin (Costas) Busch Books Introduction to the Theory of Computation, Michael Sipser An Introduction to Formal Languages and Automata, Peter Linz Costas Busch - LSU

Course Goals Provide computation Models Analyze power of Models Answer Intractability questions: What computational problems can each model solve? Answer Time Complexity questions: How much time we need to solve the problems? Costas Busch - LSU

A widely accepted model of computation memory CPU Costas Busch - LSU

The different components of memory temporary memory input CPU output Program memory Costas Busch - LSU

Example: temporary memory input CPU output Program memory compute Costas Busch - LSU

temporary memory input CPU output Program memory compute compute Costas Busch - LSU

temporary memory input CPU output Program memory compute compute Costas Busch - LSU

temporary memory input CPU Program memory output compute compute Costas Busch - LSU

Automaton temporary memory Automaton input CPU output Program memory Costas Busch - LSU

Automaton CPU+ProgramMem = States + Transitions temporary memory input output transition state CPU+ProgramMem = States + Transitions Costas Busch - LSU

Different Kinds of Automata Automata are distinguished by the temporary memory Finite Automata: no temporary memory Pushdown Automata: stack Turing Machines: random access memory Costas Busch - LSU

Memory affects computational power: More flexible memory results to The solution of more computational problems Costas Busch - LSU

Finite Automaton temporary memory input Finite Automaton output Example: Elevators, Vending Machines, Lexical Analyzers (small computing power) Costas Busch - LSU

Pushdown Automaton Stack Push, Pop input Pushdown Automaton output Temp. memory Stack Push, Pop input Pushdown Automaton output Example: Parsers for Programming Languages (medium computing power) Costas Busch - LSU

Turing Machine Random Access Memory input Turing Machine output Temp. memory Random Access Memory input Turing Machine output Examples: Any Algorithm (highest known computing power) Costas Busch - LSU

Power of Automata Finite Automata Pushdown Automata Turing Machine Simple problems More complex problems Hardest problems Finite Automata Pushdown Automata Turing Machine Less power More power Solve more computational problems Costas Busch - LSU

Turing Machine is the most powerful known computational model Question: can Turing Machines solve all computational problems? Answer: NO (there are unsolvable problems) Costas Busch - LSU

Time Complexity of Computational Problems: P problems: (Polynomial time problems) Solved in polynomial time NP-complete problems: (Non-deterministic Polynomial time problems) Believed to take exponential time to be solved Costas Busch - LSU