Use the procedure described in Lemma 1600 to convert the following finite au- tomata to regular expressions.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
LEMMA 1.60
If a language is regular, then it is deseribed by a regular expression.
PROOF IDEA We need to show that if a language A is regular, a regular
expression describes it. Because A is regular, it is accepted by a DFA. We describe
a procedure for converting DFAS into equivalent regular expressions.
We break this procedure into two parts, using a new type of finite automaton
called a generalized nondeterministic finite automaton, GNFA. First we show
how to convert DFAS into GNFAS, and then GNFAS into regular expressions.
Generalized nondeterministic finite automata are simply nondeterministic fi-
nite automata wherein the transition arrows may have any regular expressions as
labels, instead of only members of the alphabet or e. The GNFA reads blocks of
symbols from the input, not necessarily just one symbol at a time as in an ordi-
nary NFA. The GNFA moves along a transition arrow connecting two states by
reading a block of symbols from the input, which themselves constitute a string
described by the regular expression on that arrow. A GNFA is nondeterministic
and so may have several different ways to process the same input string. It ac-
cepts its input if its processing can cause the GNFA to be in an accept state at the
end of the input. The following figure presents an example of a GNFA.
Fstart
ab U ba
a)*
Taccept
ab
Transcribed Image Text:LEMMA 1.60 If a language is regular, then it is deseribed by a regular expression. PROOF IDEA We need to show that if a language A is regular, a regular expression describes it. Because A is regular, it is accepted by a DFA. We describe a procedure for converting DFAS into equivalent regular expressions. We break this procedure into two parts, using a new type of finite automaton called a generalized nondeterministic finite automaton, GNFA. First we show how to convert DFAS into GNFAS, and then GNFAS into regular expressions. Generalized nondeterministic finite automata are simply nondeterministic fi- nite automata wherein the transition arrows may have any regular expressions as labels, instead of only members of the alphabet or e. The GNFA reads blocks of symbols from the input, not necessarily just one symbol at a time as in an ordi- nary NFA. The GNFA moves along a transition arrow connecting two states by reading a block of symbols from the input, which themselves constitute a string described by the regular expression on that arrow. A GNFA is nondeterministic and so may have several different ways to process the same input string. It ac- cepts its input if its processing can cause the GNFA to be in an accept state at the end of the input. The following figure presents an example of a GNFA. Fstart ab U ba a)* Taccept ab
Use the procedure described in Lemma 1.60 to convert the following finite au-
tomata to regular expressions.
a,b
2
b
3
(a)
(b)
Transcribed Image Text:Use the procedure described in Lemma 1.60 to convert the following finite au- tomata to regular expressions. a,b 2 b 3 (a) (b)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education