SlideShare une entreprise Scribd logo
1  sur  18
COMMONWEALTH OF AUSTRALIA
Copyright Regulations 1969
WARNING
This material has been reproduced and communicated to you by or on behalf of Monash University pursuant to
Part VB of the Copyright Act 1968 (the Act).
The material in this communication may be subject to copyright under the Act. Any further reproduction or
communication of this material by you may be the subject of copyright protection under the Act.
Do not remove this notice.
Converting Regular ExpressionsConverting Regular Expressions
into Finite Automatainto Finite Automata
CSE2303 Formal Methods I
Lecture 5
OverviewOverview
• Questions
• Kleene’s Theorem
• Consequences
• Convert Regular Expressions to NFA-Λ
• Convert NFA-Λ to FA
QuestionsQuestions
• Can every language which is represented by
a regular expression be described by a
finite automaton?
• Can every language which is described by a
finite automaton be represented by a
regular expression?
• Can every language be represented by a
regular expression or a finite automaton?
Kleene’s TheoremKleene’s Theorem
Any language which can be defined by
– Regular Expressions
– Finite Automaton
– Nondeterministic Finite Automaton (NFA)
– NFA-Λ
– Transition Graphs
– Generalised Transistion Graphs
can be defined by any of the other methods
The Complement of RegularThe Complement of Regular
Language is a Regular LanguageLanguage is a Regular Language
Outline of Proof:
– Suppose we have a Regular Language.
– Therefore we have a regular expression that
defines the language.
– So, by Kleene’s Theorem, there is a FA that
defines this language.
– We can convert this FA into one that defines the
complement the language.
– So, by Kleene’s Theorem, there is a regular
expression that defines the complement.
Kleene’s TheoremKleene’s Theorem
Regular Expression
Finite Automaton
NFA-ΛGTG
TG NFA
How to convert aHow to convert a
Regular ExpressionRegular Expression
into ainto a
NFA-NFA-ΛΛ
Converting Regular ExpressionConverting Regular Expression
to NFA-to NFA-ΛΛ
Start with the graph.
- +
Regular Expression
Apply the following rules until all edges are
labeled with a letter or Λ.
1. Delete any edge labeled with φ.
2. Transform any edge like
RS
R
into
S
3. Transform any edge like:
into
R + S
R
S
4. Transform any edge like:
into
R*
R
Λ Λ
1-
a
b
Λ
2 3+
4
5
Λ
Λ
Λ
6 7
Λ
Λ
a
a
(a* + aa*b)*(a* + aa*b)*
How to convert aHow to convert a
NFA-NFA-ΛΛ
into ainto a
FAFA
a
bb
-
a,b a,ba
3
2
41 +
a b
Start {1} {1,2} {1,3}
{1,2} {1,2,4} {1,3}
{1,3} {1,2} {1,3,4}
Final {1,2,4} {1,2,4} {1,3,4}
Final {1,3,4} {1,2,4} {1,3,4}
1-
a b
Λ
2 3 4 5+
Λ Λ Λ
a b
Start/Final {1,2,3,4,5} {2,3,4,5} {4,5}
Final {2,3,4,5} {2,3,4,5} {4,5}
Final {4,5} φ {4,5}
φ φ φ
1-
a
b
Λ
2 3+
4
5
Λ
Λ
Λ
6 7
Λ
Λ
a
a
a b
Start /Final{1,2,3,4} {5,4,6,7,2,3} φ
Final {2,3,4,5,6,7} {5,4,6,7,2,3} {2,3,4}
Final {2,3,4} {5,4,6,7,2,3} φ
φ φ φ
RevisionRevision
• Understand Kleene’s Theorem
• Be able to convert Regular Expressions into NFA-Λ
• Be able to convert NFA-Λ into a Finite Automaton
• Read
– Text Book Chapter 8

Contenu connexe

Tendances

3 linear regression deep
3   linear regression deep3   linear regression deep
3 linear regression deepTarlan Ahadli
 
1.9. minimization of dfa
1.9. minimization of dfa1.9. minimization of dfa
1.9. minimization of dfaSampath Kumar S
 
A944346117 22750 24_2018_equivalence of dfa and ndfa
A944346117 22750 24_2018_equivalence of dfa and ndfaA944346117 22750 24_2018_equivalence of dfa and ndfa
A944346117 22750 24_2018_equivalence of dfa and ndfaMohd Arif Ansari
 
Translating into Common Logic
Translating into Common LogicTranslating into Common Logic
Translating into Common LogicPat Hayes
 
replacement grammars
replacement grammarsreplacement grammars
replacement grammarsRajendran
 
Teaching the Group Theory of Permutation Ciphers
Teaching the Group Theory of Permutation CiphersTeaching the Group Theory of Permutation Ciphers
Teaching the Group Theory of Permutation CiphersJoshua Holden
 
1.7. eqivalence of nfa and dfa
1.7. eqivalence of nfa and dfa1.7. eqivalence of nfa and dfa
1.7. eqivalence of nfa and dfaSampath Kumar S
 
CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR Zahid Parvez
 
Coding & Decoding Reasoning Tricks
Coding & Decoding Reasoning TricksCoding & Decoding Reasoning Tricks
Coding & Decoding Reasoning Trickssakshi
 
Coding Decoding Reasoning Tricks for Competitive Exams
Coding Decoding Reasoning Tricks for Competitive ExamsCoding Decoding Reasoning Tricks for Competitive Exams
Coding Decoding Reasoning Tricks for Competitive ExamsEntrance Exam Info
 
How to solve problems of coding decoding?
How to solve problems of coding decoding?How to solve problems of coding decoding?
How to solve problems of coding decoding?sakshi
 

Tendances (13)

3 linear regression deep
3   linear regression deep3   linear regression deep
3 linear regression deep
 
1.9. minimization of dfa
1.9. minimization of dfa1.9. minimization of dfa
1.9. minimization of dfa
 
Context free grammars
Context free grammarsContext free grammars
Context free grammars
 
A944346117 22750 24_2018_equivalence of dfa and ndfa
A944346117 22750 24_2018_equivalence of dfa and ndfaA944346117 22750 24_2018_equivalence of dfa and ndfa
A944346117 22750 24_2018_equivalence of dfa and ndfa
 
Translating into Common Logic
Translating into Common LogicTranslating into Common Logic
Translating into Common Logic
 
replacement grammars
replacement grammarsreplacement grammars
replacement grammars
 
Teaching the Group Theory of Permutation Ciphers
Teaching the Group Theory of Permutation CiphersTeaching the Group Theory of Permutation Ciphers
Teaching the Group Theory of Permutation Ciphers
 
1.7. eqivalence of nfa and dfa
1.7. eqivalence of nfa and dfa1.7. eqivalence of nfa and dfa
1.7. eqivalence of nfa and dfa
 
CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR
 
Coding & Decoding Reasoning Tricks
Coding & Decoding Reasoning TricksCoding & Decoding Reasoning Tricks
Coding & Decoding Reasoning Tricks
 
Coding Decoding Reasoning Tricks for Competitive Exams
Coding Decoding Reasoning Tricks for Competitive ExamsCoding Decoding Reasoning Tricks for Competitive Exams
Coding Decoding Reasoning Tricks for Competitive Exams
 
2.coding decoding
2.coding decoding2.coding decoding
2.coding decoding
 
How to solve problems of coding decoding?
How to solve problems of coding decoding?How to solve problems of coding decoding?
How to solve problems of coding decoding?
 

En vedette

Theory of automata and formal language
Theory of automata and formal languageTheory of automata and formal language
Theory of automata and formal languageRabia Khalid
 
Theory of Automata
Theory of AutomataTheory of Automata
Theory of AutomataFarooq Mian
 
Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphsArham Khan G
 
Formal language & automata theory
Formal language & automata theoryFormal language & automata theory
Formal language & automata theoryNYversity
 
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...Farwa Ansari
 
Automata
AutomataAutomata
AutomataGaditek
 

En vedette (11)

Theory of automata and formal language
Theory of automata and formal languageTheory of automata and formal language
Theory of automata and formal language
 
Theory of Automata
Theory of AutomataTheory of Automata
Theory of Automata
 
Deterministic Finite Automata
Deterministic Finite AutomataDeterministic Finite Automata
Deterministic Finite Automata
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphs
 
Formal language & automata theory
Formal language & automata theoryFormal language & automata theory
Formal language & automata theory
 
Kleene's theorem
Kleene's theoremKleene's theorem
Kleene's theorem
 
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...
Introduction to Computer theory (Automata Theory) 2nd Edition By Denial I.A. ...
 
Automata
AutomataAutomata
Automata
 
Finite automata
Finite automataFinite automata
Finite automata
 
Lecture: Automata
Lecture: AutomataLecture: Automata
Lecture: Automata
 

Similaire à Commonwealth Copyright Regulations 1969 Warning

MidtermI-review.pptx
MidtermI-review.pptxMidtermI-review.pptx
MidtermI-review.pptxamara jyothi
 
Latent Semantic Transliteration using Dirichlet Mixture
Latent Semantic Transliteration using Dirichlet MixtureLatent Semantic Transliteration using Dirichlet Mixture
Latent Semantic Transliteration using Dirichlet MixtureRakuten Group, Inc.
 
MorphologyAndFST.pdf
MorphologyAndFST.pdfMorphologyAndFST.pdf
MorphologyAndFST.pdfssuser97943d
 
context free language
context free languagecontext free language
context free languagekhush_boo31
 
Theory of Computation - Lectures 6 & 7
Theory of Computation - Lectures 6 & 7Theory of Computation - Lectures 6 & 7
Theory of Computation - Lectures 6 & 7Dr. Maamoun Ahmed
 
Closure properties of context free grammar
Closure properties of context free grammarClosure properties of context free grammar
Closure properties of context free grammarAfshanKhan51
 
Class9
 Class9 Class9
Class9issbp
 

Similaire à Commonwealth Copyright Regulations 1969 Warning (10)

Unit2 Toc.pptx
Unit2 Toc.pptxUnit2 Toc.pptx
Unit2 Toc.pptx
 
MidtermI-review.pptx
MidtermI-review.pptxMidtermI-review.pptx
MidtermI-review.pptx
 
Latent Semantic Transliteration using Dirichlet Mixture
Latent Semantic Transliteration using Dirichlet MixtureLatent Semantic Transliteration using Dirichlet Mixture
Latent Semantic Transliteration using Dirichlet Mixture
 
MorphologyAndFST.pdf
MorphologyAndFST.pdfMorphologyAndFST.pdf
MorphologyAndFST.pdf
 
Unit ii
Unit iiUnit ii
Unit ii
 
context free language
context free languagecontext free language
context free language
 
Theory of Computation - Lectures 6 & 7
Theory of Computation - Lectures 6 & 7Theory of Computation - Lectures 6 & 7
Theory of Computation - Lectures 6 & 7
 
Closure properties of context free grammar
Closure properties of context free grammarClosure properties of context free grammar
Closure properties of context free grammar
 
Class9
 Class9 Class9
Class9
 
Alofairi Adel
Alofairi  AdelAlofairi  Adel
Alofairi Adel
 

Dernier

NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...Amil Baba Dawood bangali
 
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...ttt fff
 
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...Amil baba
 
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作f3774p8b
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一C SSS
 
Papular No 1 Online Istikhara Amil Baba Pakistan Amil Baba In Karachi Amil B...
Papular No 1 Online Istikhara Amil Baba Pakistan  Amil Baba In Karachi Amil B...Papular No 1 Online Istikhara Amil Baba Pakistan  Amil Baba In Karachi Amil B...
Papular No 1 Online Istikhara Amil Baba Pakistan Amil Baba In Karachi Amil B...Authentic No 1 Amil Baba In Pakistan
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一C SSS
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)861c7ca49a02
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightKomal Khan
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程1k98h0e1
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxLeaMaePahinagGarciaV
 
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...Amil baba
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证gwhohjj
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一diploma 1
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRdollysharma2066
 
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一ss ss
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree z zzz
 

Dernier (20)

NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
 
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
 
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
 
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一
 
Papular No 1 Online Istikhara Amil Baba Pakistan Amil Baba In Karachi Amil B...
Papular No 1 Online Istikhara Amil Baba Pakistan  Amil Baba In Karachi Amil B...Papular No 1 Online Istikhara Amil Baba Pakistan  Amil Baba In Karachi Amil B...
Papular No 1 Online Istikhara Amil Baba Pakistan Amil Baba In Karachi Amil B...
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun Tonight
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptx
 
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 WorldWide kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
办理(CSU毕业证书)澳洲查理斯特大学毕业证成绩单原版一比一
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
 
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
 
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
young call girls in  Khanpur,🔝 9953056974 🔝 escort Serviceyoung call girls in  Khanpur,🔝 9953056974 🔝 escort Service
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 

Commonwealth Copyright Regulations 1969 Warning

  • 1. COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University pursuant to Part VB of the Copyright Act 1968 (the Act). The material in this communication may be subject to copyright under the Act. Any further reproduction or communication of this material by you may be the subject of copyright protection under the Act. Do not remove this notice.
  • 2. Converting Regular ExpressionsConverting Regular Expressions into Finite Automatainto Finite Automata CSE2303 Formal Methods I Lecture 5
  • 3. OverviewOverview • Questions • Kleene’s Theorem • Consequences • Convert Regular Expressions to NFA-Λ • Convert NFA-Λ to FA
  • 4. QuestionsQuestions • Can every language which is represented by a regular expression be described by a finite automaton? • Can every language which is described by a finite automaton be represented by a regular expression? • Can every language be represented by a regular expression or a finite automaton?
  • 5. Kleene’s TheoremKleene’s Theorem Any language which can be defined by – Regular Expressions – Finite Automaton – Nondeterministic Finite Automaton (NFA) – NFA-Λ – Transition Graphs – Generalised Transistion Graphs can be defined by any of the other methods
  • 6. The Complement of RegularThe Complement of Regular Language is a Regular LanguageLanguage is a Regular Language Outline of Proof: – Suppose we have a Regular Language. – Therefore we have a regular expression that defines the language. – So, by Kleene’s Theorem, there is a FA that defines this language. – We can convert this FA into one that defines the complement the language. – So, by Kleene’s Theorem, there is a regular expression that defines the complement.
  • 7. Kleene’s TheoremKleene’s Theorem Regular Expression Finite Automaton NFA-ΛGTG TG NFA
  • 8. How to convert aHow to convert a Regular ExpressionRegular Expression into ainto a NFA-NFA-ΛΛ
  • 9. Converting Regular ExpressionConverting Regular Expression to NFA-to NFA-ΛΛ Start with the graph. - + Regular Expression
  • 10. Apply the following rules until all edges are labeled with a letter or Λ. 1. Delete any edge labeled with φ. 2. Transform any edge like RS R into S
  • 11. 3. Transform any edge like: into R + S R S
  • 12. 4. Transform any edge like: into R* R Λ Λ
  • 14. How to convert aHow to convert a NFA-NFA-ΛΛ into ainto a FAFA
  • 15. a bb - a,b a,ba 3 2 41 + a b Start {1} {1,2} {1,3} {1,2} {1,2,4} {1,3} {1,3} {1,2} {1,3,4} Final {1,2,4} {1,2,4} {1,3,4} Final {1,3,4} {1,2,4} {1,3,4}
  • 16. 1- a b Λ 2 3 4 5+ Λ Λ Λ a b Start/Final {1,2,3,4,5} {2,3,4,5} {4,5} Final {2,3,4,5} {2,3,4,5} {4,5} Final {4,5} φ {4,5} φ φ φ
  • 17. 1- a b Λ 2 3+ 4 5 Λ Λ Λ 6 7 Λ Λ a a a b Start /Final{1,2,3,4} {5,4,6,7,2,3} φ Final {2,3,4,5,6,7} {5,4,6,7,2,3} {2,3,4} Final {2,3,4} {5,4,6,7,2,3} φ φ φ φ
  • 18. RevisionRevision • Understand Kleene’s Theorem • Be able to convert Regular Expressions into NFA-Λ • Be able to convert NFA-Λ into a Finite Automaton • Read – Text Book Chapter 8