Prof.Neeraj Bhargava
Abhishek Kumar
Department of Computer Science
School of Engineering & System Sciences,
MDS, University Ajmer, Rajasthan, India
 Have a Grammar G with production rules of
the accepted form.
 Define a FSA with one state for each
auxiliary symbol, plus one more state. Make
the initial state the one corresponding to
the initial symbol. Add one more state, F
and let it be the final state.
 If P=>aQ, where P and Q are auxiliaries and
a is a symbol in the final alphabet, make an
edge from P to Q, with label a.
 If P=>a, make an edge going from P to F
with label a.
 Given a FSA, define a grammar with auxiliary
symbols corresponding to the states. The
initial symbol is the one corresponding to the
initial state.
 Add production rules P=>aQ for all edges
from P to Q.
 Change all production rules P=>aF to P=>a.
Regular languages are closed with respect to
various operations, including concatenation.
 If M is a regular language and N is a regular
language, then we can define MN is the
language made up of all the strings of the
form sm sn where sn where sm is in M and sn is
in N. Then MN also is regular.
 If M and N are regular languages then so is
the union of M and N.
 This is defined as the set of strings that are in
M or are in N (or both).
 This also is a regular language.
Yet another equivalent definition!
 A regular expression over an alphabet is a
pattern defined using letters from the
alphabet combined using notation for union,
concatenation, wild card, counts.
 The regular expession defines a set of
strings, that is, a language
Same equivalence here.
 Invented what came to be called Turing
machines. Proved various things about them,
including Halting problem
 Worked in Bletchley Park during WWII: built a
machine to help decode German codes (codes
changed). Given medal (in secret)
 Worked in general area, including spending time at
Princeton with Van Neumann, others. Wrote papers
on computer chess, notion of Turing test
 Arrested & convicted for homosexual acts. Made to
take hormone drugs. Appeared to be okay…
 Committed suicide
 Pick 1: Please think about it first instead of
or before trying to look it up. Informal
proofs are okay.
◦ CFG and PDA equivalence
 If you believe this, then there does exist a PDA for the
homework problem.
◦ Regular expression and (either) FSA or Regular
grammar equivalence
 Possibilities for presentation topics in
Turing work, history
 Keep up postings
 Shai videos

More Related Content

PPTX
evaluation of statistical expression, materialised views, evaluation plans
PPTX
Unit 3 Control Flow Testing
PPT
Regular Grammar
PDF
NFA to DFA
PPTX
Automata theory - Push Down Automata (PDA)
PPTX
Theory of competition topic simplification of cfg, normal form of FG.pptx
PDF
Pumping lemma for cfl
PPT
Hill climbing
evaluation of statistical expression, materialised views, evaluation plans
Unit 3 Control Flow Testing
Regular Grammar
NFA to DFA
Automata theory - Push Down Automata (PDA)
Theory of competition topic simplification of cfg, normal form of FG.pptx
Pumping lemma for cfl
Hill climbing

What's hot (20)

PPT
Context free grammars
PPTX
CONTEXT FREE GRAMMAR
PPTX
Learning set of rules
PPT
Chomsky & Greibach Normal Forms
PPTX
Context free grammar
PPTX
Lecture 26 local beam search
PPT
Lecture 1,2
PPTX
Basic blocks and control flow graphs
PPTX
Theory of Computation Unit 1
PPTX
Finite automata-for-lexical-analysis
PPTX
Automata Theory - Turing machine
PDF
Lecture: Context-Free Grammars
PPTX
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
PPTX
A Role of Lexical Analyzer
PDF
Artificial Intelligence - Hill climbing.
PPTX
State Space Search and Control Strategies in Artificial Intelligence.pptx
PPTX
First and follow set
PPTX
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
PPTX
Concurrency Control in Database Management System
PDF
AI 7 | Constraint Satisfaction Problem
Context free grammars
CONTEXT FREE GRAMMAR
Learning set of rules
Chomsky & Greibach Normal Forms
Context free grammar
Lecture 26 local beam search
Lecture 1,2
Basic blocks and control flow graphs
Theory of Computation Unit 1
Finite automata-for-lexical-analysis
Automata Theory - Turing machine
Lecture: Context-Free Grammars
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
A Role of Lexical Analyzer
Artificial Intelligence - Hill climbing.
State Space Search and Control Strategies in Artificial Intelligence.pptx
First and follow set
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
Concurrency Control in Database Management System
AI 7 | Constraint Satisfaction Problem
Ad

Similar to Closure properties (20)

PPTX
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
PDF
TOC in 8 hours.pdfvdvbnnhgfsxcvbmnvxsdfvb
PPT
0227 regularlanguages
PDF
Chapter 3 REGULAR EXPRESSION.pdf
PPTX
Module 1 TOC.pptx
PDF
F_Autómatas_MIT_2010--------------------
PDF
Unit ii
PPTX
Introduction to Theory of computations:-
PPT
Compiler Design in Engineering for Designing
PPTX
theory of computation lecture 02
PPTX
introductory Discrete structure workshop.pptx
PPTX
Ch2 automata.pptx
PPT
To lec 03
PPTX
Resumen material MIT
PPTX
THEORYOFAUTOMATATHEORYOFAUTOMATATHEORYOFAUTOMATA.pptx
PDF
Complier Design - Operations on Languages, RE, Finite Automata
PPT
Formal Languages and regular langugaes IN FLAG
PPTX
9781284077247_PPTx_CH01.pptx
PDF
Theory of Computation Lecture Notes
PPTX
language , grammar and automata
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
TOC in 8 hours.pdfvdvbnnhgfsxcvbmnvxsdfvb
0227 regularlanguages
Chapter 3 REGULAR EXPRESSION.pdf
Module 1 TOC.pptx
F_Autómatas_MIT_2010--------------------
Unit ii
Introduction to Theory of computations:-
Compiler Design in Engineering for Designing
theory of computation lecture 02
introductory Discrete structure workshop.pptx
Ch2 automata.pptx
To lec 03
Resumen material MIT
THEORYOFAUTOMATATHEORYOFAUTOMATATHEORYOFAUTOMATA.pptx
Complier Design - Operations on Languages, RE, Finite Automata
Formal Languages and regular langugaes IN FLAG
9781284077247_PPTx_CH01.pptx
Theory of Computation Lecture Notes
language , grammar and automata
Ad

More from Dr. ABHISHEK K PANDEY (20)

PPTX
Digital to digital
PPTX
Digital to analog
PPTX
Analog to analog
PPTX
Wcdma interface sakshi
PPT
Utran architecture(rashmi)
PPTX
PPTX
Network topologies(chetan)
PPTX
Multiplexing II
PPTX
Est umts speech cells
PPTX
Digital to analog piyush sen
PPTX
Reguler grammar cfg
PPTX
Regular languag regular set
PPTX
Regular expression for dfa
PPTX
Pumping lemma
PPTX
Pumping lemma numerical
PPT
Pumping lemma for cfg
PPTX
Power of authomata
Digital to digital
Digital to analog
Analog to analog
Wcdma interface sakshi
Utran architecture(rashmi)
Network topologies(chetan)
Multiplexing II
Est umts speech cells
Digital to analog piyush sen
Reguler grammar cfg
Regular languag regular set
Regular expression for dfa
Pumping lemma
Pumping lemma numerical
Pumping lemma for cfg
Power of authomata

Recently uploaded (20)

PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PPTX
Feature types and data preprocessing steps
PDF
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Soil Improvement Techniques Note - Rabbi
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PPT
Total quality management ppt for engineering students
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
Current and future trends in Computer Vision.pptx
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Feature types and data preprocessing steps
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Module 8- Technological and Communication Skills.pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Categorization of Factors Affecting Classification Algorithms Selection
Soil Improvement Techniques Note - Rabbi
III.4.1.2_The_Space_Environment.p pdffdf
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Total quality management ppt for engineering students
distributed database system" (DDBS) is often used to refer to both the distri...
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
August -2025_Top10 Read_Articles_ijait.pdf
Current and future trends in Computer Vision.pptx

Closure properties

  • 1. Prof.Neeraj Bhargava Abhishek Kumar Department of Computer Science School of Engineering & System Sciences, MDS, University Ajmer, Rajasthan, India
  • 2.  Have a Grammar G with production rules of the accepted form.  Define a FSA with one state for each auxiliary symbol, plus one more state. Make the initial state the one corresponding to the initial symbol. Add one more state, F and let it be the final state.  If P=>aQ, where P and Q are auxiliaries and a is a symbol in the final alphabet, make an edge from P to Q, with label a.  If P=>a, make an edge going from P to F with label a.
  • 3.  Given a FSA, define a grammar with auxiliary symbols corresponding to the states. The initial symbol is the one corresponding to the initial state.  Add production rules P=>aQ for all edges from P to Q.  Change all production rules P=>aF to P=>a.
  • 4. Regular languages are closed with respect to various operations, including concatenation.  If M is a regular language and N is a regular language, then we can define MN is the language made up of all the strings of the form sm sn where sn where sm is in M and sn is in N. Then MN also is regular.
  • 5.  If M and N are regular languages then so is the union of M and N.  This is defined as the set of strings that are in M or are in N (or both).  This also is a regular language.
  • 6. Yet another equivalent definition!  A regular expression over an alphabet is a pattern defined using letters from the alphabet combined using notation for union, concatenation, wild card, counts.  The regular expession defines a set of strings, that is, a language
  • 8.  Invented what came to be called Turing machines. Proved various things about them, including Halting problem  Worked in Bletchley Park during WWII: built a machine to help decode German codes (codes changed). Given medal (in secret)  Worked in general area, including spending time at Princeton with Van Neumann, others. Wrote papers on computer chess, notion of Turing test  Arrested & convicted for homosexual acts. Made to take hormone drugs. Appeared to be okay…  Committed suicide
  • 9.  Pick 1: Please think about it first instead of or before trying to look it up. Informal proofs are okay. ◦ CFG and PDA equivalence  If you believe this, then there does exist a PDA for the homework problem. ◦ Regular expression and (either) FSA or Regular grammar equivalence  Possibilities for presentation topics in Turing work, history  Keep up postings  Shai videos