3 B = {w#t ] s = a®b°#ab®. w is a substring of t, where w, t e {a,b}*}. Hint: consider %3D
3 B = {w#t ] s = a®b°#ab®. w is a substring of t, where w, t e {a,b}*}. Hint: consider %3D
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Need help solving the question by using the example please.
![3
{w#t ] wis a substring of t, where w,t e {a,b}*}. Hint: consider
s = aPb°#aPb°.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F59d35476-72dd-4192-935c-2ced63d80e94%2F1a7b176b-708c-4e23-ad0d-00363cb03f54%2Fdi8hmyd_processed.png&w=3840&q=75)
Transcribed Image Text:3
{w#t ] wis a substring of t, where w,t e {a,b}*}. Hint: consider
s = aPb°#aPb°.

Transcribed Image Text:Example Proof
Prove that the language B = {0"1"|n > 0} is not a regular language.
Proof. Assume that B is regular and let p be the pumping length for the
language. Choose the string s = 0P1P so that |s| > p. By the pumping
lemma (PL) for regular languages, we can partition s = ryz so that for any
i> 0, s' = xy' z E B. Let's consider three cases for the partition y:
1. The string (partition) y consists only of 0's. Then, s' = xyYz = xy'z
has more 0's than l's. Clearly s' 4 B and so condition number 1 of
the PL is violated. This is a contradiction for our assumption that B
is regular.
2. The string (partition) y consists only of l's. Using the same argument
from the previous case, we obtain another contradiction.
3. The string (partition) y consists of 0's and l's. Then, s' = xyyz = xy?z
may have the same number of 0's and l's, but some of the l's will
come before some of the 0's and violate membership in the language
B. Hence, we have another contradiction with our assumption of reg-
ularity.
Therefore, we cannot avoid a contradiction with any possible y partition and
conclude that the language B cannot be a regular language.
Instructions
Use the Pumping Lemma for CFLS to prove that each of the following lan-
guages is not context-free.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY