Introduction to Theory of Automata, Formal Languages, and Computation

Similar documents
A R "! I,,, !~ii ii! A ow ' r.-ii ' i ' JA' V5, 9. MiN, ;

Language properties and Grammar of Parallel and Series Parallel Languages

A General Class of Noncontext Free Grammars Generating Context Free Languages

Erkki Mäkinen State change languages as homomorphic images of Szilard languages

Grammars & Parsing, Part 1:

RANKING AND UNRANKING LEFT SZILARD LANGUAGES. Erkki Mäkinen DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF TAMPERE REPORT A ER E P S I M S

GRAMMAR IN CONTEXT 2 PDF

COMPUTATIONAL COMPLEXITY OF LEFT-ASSOCIATIVE GRAMMAR

Proof Theory for Syntacticians

On the Polynomial Degree of Minterm-Cyclic Functions

Enumeration of Context-Free Languages and Related Structures

IT Students Workshop within Strategic Partnership of Leibniz University and Peter the Great St. Petersburg Polytechnic University

Lecture Notes on Mathematical Olympiad Courses

Basic Parsing with Context-Free Grammars. Some slides adapted from Julia Hirschberg and Dan Jurafsky 1

Refining the Design of a Contracting Finite-State Dependency Parser

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

WSU Five-Year Program Review Self-Study Cover Page

Knowledge-Based - Systems

A Version Space Approach to Learning Context-free Grammars

Self Study Report Computer Science

CS 598 Natural Language Processing

16 WEEKS STUDY PLAN FOR BS(IT)2 nd Semester

Developing a TT-MCTAG for German with an RCG-based Parser

Guide to Teaching Computer Science

Content Language Objectives (CLOs) August 2012, H. Butts & G. De Anda

GACE Computer Science Assessment Test at a Glance

(Sub)Gradient Descent

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Mathematics Assessment Plan

Lecture 1: Basic Concepts of Machine Learning

The Strong Minimalist Thesis and Bounded Optimality

Edexcel GCSE. Statistics 1389 Paper 1H. June Mark Scheme. Statistics Edexcel GCSE

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Lecture 1: Machine Learning Basics

Context Free Grammars. Many slides from Michael Collins

Spring 2016 Stony Brook University Instructor: Dr. Paul Fodor

ARNE - A tool for Namend Entity Recognition from Arabic Text

Advanced Grammar in Use

Economics 201 Principles of Microeconomics Fall 2010 MWF 10:00 10:50am 160 Bryan Building

Constructing a support system for self-learning playing the piano at the beginning stage

Probability and Game Theory Course Syllabus

systems have been developed that are well-suited to phenomena in but is properly contained in the indexed languages. We give a

Python Machine Learning

CS 101 Computer Science I Fall Instructor Muller. Syllabus

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

School of Basic Biomedical Sciences College of Medicine. M.D./Ph.D PROGRAM ACADEMIC POLICIES AND PROCEDURES

THE UNIVERSITY OF SYDNEY Semester 2, Information Sheet for MATH2068/2988 Number Theory and Cryptography

IMPROVING STUDENTS SPEAKING SKILL THROUGH

Discriminative Learning of Beam-Search Heuristics for Planning

Exegesis of Ephesians Independent Study (NTE 703) Course Syllabus and Outline Front Range Bible Institute Professor Tim Dane (Fall 2011)

Perspectives of Information Systems

UNIT ONE Tools of Algebra

Inleiding Taalkunde. Docent: Paola Monachesi. Blok 4, 2001/ Syntax 2. 2 Phrases and constituent structure 2. 3 A minigrammar of Italian 3

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Liquid Narrative Group Technical Report Number

ABSTRACT. A major goal of human genetics is the discovery and validation of genetic polymorphisms

AP Calculus AB. Nevada Academic Standards that are assessable at the local level only.

Introduction to HPSG. Introduction. Historical Overview. The HPSG architecture. Signature. Linguistic Objects. Descriptions.

Math 181, Calculus I

Parsing with Treebank Grammars: Empirical Bounds, Theoretical Models, and the Structure of the Penn Treebank

Improving Fairness in Memory Scheduling

"f TOPIC =T COMP COMP... OBJ

TABLE OF CONTENTS TABLE OF CONTENTS COVER PAGE HALAMAN PENGESAHAN PERNYATAAN NASKAH SOAL TUGAS AKHIR ACKNOWLEDGEMENT FOREWORD

BANGLA TO ENGLISH TEXT CONVERSION USING OPENNLP TOOLS

On-Line Data Analytics

CHALLENGES FACING DEVELOPMENT OF STRATEGIC PLANS IN PUBLIC SECONDARY SCHOOLS IN MWINGI CENTRAL DISTRICT, KENYA

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

SPRING GROVE AREA SCHOOL DISTRICT

Task Tolerance of MT Output in Integrated Text Processes

Evolution of Collective Commitment during Teamwork

Probability and Statistics Curriculum Pacing Guide

Computer Science (CS)

Guidelines for Incorporating Publication into a Thesis. September, 2015

For information only, correct responses are listed in the chart below. Question Number. Correct Response

CS Machine Learning

BENG Simulation Modeling of Biological Systems. BENG 5613 Syllabus: Page 1 of 9. SPECIAL NOTE No. 1:

Data Modeling and Databases II Entity-Relationship (ER) Model. Gustavo Alonso, Ce Zhang Systems Group Department of Computer Science ETH Zürich

Section I: The Nature of Inquiry

How We Learn. Unlock the ability to study more efficiently. Mark Maclaine Stephanie Satariano

An Introduction to the Minimalist Program

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

IMPROVING STUDENTS WRITING SKILL USING PAIR CHECK METHOD AT THE SECOND GRADE STUDENTS OF SMP MUHAMMADIYAH 3 JETIS IN THE ACADEMIC YEAR OF 2015/2016.

Parsing natural language

CAAP. Content Analysis Report. Sample College. Institution Code: 9011 Institution Type: 4-Year Subgroup: none Test Date: Spring 2011

Disambiguation of Thai Personal Name from Online News Articles

Radius STEM Readiness TM

The Moodle and joule 2 Teacher Toolkit

arxiv: v1 [cs.cv] 10 May 2017

Parallel Evaluation in Stratal OT * Adam Baker University of Arizona

Visit us at:

Strategies for Differentiating

A THESIS. By: IRENE BRAINNITA OKTARIN S

TOPICS LEARNING OUTCOMES ACTIVITES ASSESSMENT Numbers and the number system

Colorado State University Department of Construction Management. Assessment Results and Action Plans

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

Faculty Athletics Committee Annual Report to the Faculty Council September 2014

Learning Computational Grammars

Learning goal-oriented strategies in problem solving

Towards a Machine-Learning Architecture for Lexical Functional Grammar Parsing. Grzegorz Chrupa la

TEKS Correlations Proclamation 2017

Transcription:

Introduction to Theory of Automata, Formal Languages, and Computation

Introduction to Theory of Automata, Formal Languages, and Computation Debidas Ghosh Professor and Founder-Head Department of Computer Science & Engineering Former Director-in-Charge National Institute of Technology Durgapur and Former Pro-Vice-Chancellor KIIT University, Bhubaneswar Delhi-110092 2013

Introduction to Theory of Automata, Formal Languages, and Computation Debidas Ghosh 2013 by PHI Learning Private Limited, Delhi. All rights reserved. No part of this book may be reproduced in any form, by mimeograph or any other means, without permission in writing from the publisher. ISBN-978-81-203-4807-3 The export rights of this book are vested solely with the publisher. Published by Asoke K. Ghosh, PHI Learning Private Limited, Rimjhim House, 111, Patparganj Industrial Estate, Delhi-110092 and Printed by Raj Press, New Delhi-110012.

To the Memory of My Parents

Contents Preface xiii Acknowledgements Notation xix xvii 1. Preliminary Mathematical Review 1 22 1.1 Sets and Subsets 1 1.1.1 Venn Diagram 2 1.1.2 Properties of Set Operations 6 1.1.3 Two Special Properties of Set Operations 7 1.2 Relations and Functions 8 1.2.1 Relations 8 1.2.2 Function 10 1.2.3 Types of Function 11 1.2.4 Notation of Permutation 12 1.3 Graphs 13 1.3.1 Some Terminologies 13 1.4 Trees 18 1.5 Proof Techniques 18 1.5.1 Proof by Induction 19 1.5.2 Proof by Contradiction 19 Exercises 20 2. Three Basic Concepts: Grammar, Languages and Automata 23 34 2.1 Strings and Languages 23 2.1.1 Some Basic Terminologies 23 2.1.2 Some Properties of String Concatenation 24 2.1.3 Some Basic Language Operations 25 2.2 Grammars 26 2.2.1 Equivalent Grammars 28 2.2.2 Chomsky Hierarchy of Grammars 30 2.3 Automata 31 Exercises 32 vii

viii Contents 3. Finite Automata 35 56 3.1 Description of Finite Automata 35 3.1.1 Deterministic Finite Automata and Transition Graph 36 3.1.2 Languages and DFA 39 3.1.3 Regular Languages 40 3.2 Non-deterministic Finite Automata 40 3.2.1 Languages and NFA 41 3.3 Equivalence of Deterministic and Non-deterministic Finite Automata 42 3.3.1 Conversion from NFA to DFA 42 3.4 Non-deterministic Finite Automaton with l-transitions 44 3.5 Finite Automata with Binary Output 45 3.5.1 Mealy Machine 46 3.5.2 Moore Machine 47 3.5.3 Transformation of Mealy to Moore Machines 48 3.5.4 Transformation from Moore Machine to Mealy Machine 50 3.6 Reduction of Number of States in Finite Automata 51 Exercises 54 4. Regular Languages and Regular Grammars 57 75 4.1 Regular Expressions 57 4.1.1 Formal Definition of a Regular Expression 57 4.2 Regular Languages (RLs) 58 4.3 Regular Sets 60 4.4 Equivalence of Two Regular Expressions 61 4.5 Connection between REs and RLs 62 4.6 Finite Automata and Regular Expression 64 4.7 Regular Grammars 68 4.7.1 Right-Linear Grammar 69 4.7.2 Left-Linear Grammar 69 4.8 Equivalence between Regular Languages and Regular Grammars 72 Exercises 73 5. Properties of Regular Languages 76 85 5.1 Closure Properties of Regular Languages 76 5.1.1 Closure with Respect to Set Operations 76 5.1.2 Closure with Respect to Other Operations 77 5.2 Identifying Non-regular Languages 80 5.2.1 The Pigeonhole Principle 80 5.2.2 Pumping Lemma for Regular Languages 81 Exercises 84 6. Context-Free Languages 86 107 6.1 Context-Free Grammars 86 6.1.1 Leftmost and Rightmost Derivations 88 6.1.2 Derivation Trees 89

Contents ix 6.1.3 Partial Derivation Trees 89 6.1.4 Relation between Sentential Form and Derivation Tree 90 6.2 Parsing and Ambiguity 91 6.2.1 Parsing 91 6.2.2 Ambiguity 94 6.2.3 Inherently Ambiguous 96 6.3 Context-Free Grammar and Programming Language 96 6.4 Simple Grammar 98 6.5 Simplification of Context-Free Grammars 98 6.5.1 Substitution Rule 98 6.5.2 Useless Production Removal 99 6.5.3 l-production Removal 100 6.5.4 Unit Production Removal 101 6.6 Normal Forms 102 6.6.1 Chomsky Normal Form (CNF) 103 6.6.2 Greibach Normal Form (GNF) 105 Exercises 106 7. Pushdown Automata 108 129 7.1 Non-deterministic Pushdown Automata 108 7.1.1 Configuration 109 7.1.2 NPDA and Context-Free Languages 111 7.2 Context-free Grammars for Pushdown Automata 123 7.3 Deterministic Pushdown Automata 124 7.4 Deterministic Context-Free Languages 125 7.5 Grammars for Deterministic Context-Free Languages 126 Exercises 127 8. Properties of Context-Free Languages 130 136 8.1 Pumping Lemma for Context-Free Languages 130 8.2 Pumping Lemma for Linear Language 132 8.3 Closure Properties of Context-Free Languages 133 Exercises 135 9. Turing Machine 137 153 9.1 Standard Turing Machine Model 137 9.2 Representation of Turing Machine 139 9.2.1 Instantaneous Move Description 139 9.2.2 Representation by Transition Table 141 9.2.3 Representation by Transition Diagram 141 9.3 Turing Machine as Language Accepter 142 9.4 Turing Machine as Transducers 143 9.5 Church Turing Thesis 145 9.6 Design of a Turing Machine 147 Exercises 150

Introduction To Theory Of Automata,Formal Languages And Computation 30% OFF Publisher : PHI Learning ISBN : 978812034 8073 Author : Debidas Ghosh Type the URL : http://www.kopykitab.com/product/7571 Get this ebook