Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prove that the language L 1 = { 0 i 1 j 0 k | i k } is not regular by using the pumping

Prove that the language
L1={0i1j0k|ik}
is not regular by using the pumping lemma
Template for using the pumping lemma
We usually use the Pumping Lemma to prove that a language C is not
regular.
Pumping Lemma (Textbook Theorm 1.70)
If A is a regular language, then there is a number p(the pumping length)
where if s is any string in A of length at least p, then s may be divided into
three pieces, s=xyz, satisfying the following conditions:
for each i0,xyizinA,
|y|>0, and
|xy|p.
Theorem.
Language C is not regular.
Proof using the pumping lemma.
Leading to a contradiction, assume C is regular. Then, the pumping lemma
applies to C. Let p be the pumping length that applies to C from the pumping
lemma. Let s=dots (Insert a string sinC that depends on p and will lead
to a contradiction). Since s has length at least p and is in C, the pumping
lemma applies to s, so s can be divided into three strings s=xyz where
the conditions 1,2 and 3 of the pumping lemma hold for x,y and z. Since
conditions 2 and 3 hold, we know that ...(explain the appropriate property
of x,y and z) Then for i=dots (find an i that will lead to a contradiction)xyiz
is not in C since ...(explain why xyiz is not in C), contradicting condition
1 of the pumping lemma.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago