Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) This proof attempts to show that L = { 0 i 1 j | 0 < i < j } is not regular. The

1) This proof attempts to show that L = { 0i1j | 0 < i < j } is not regular. The proof is flawed. Identify the reason that the proof is flawed.

Proof:

Assume that L is regular and let p=10 be the pumping length.

Let s = 09110.

s can be split into xyz, satisfying these conditions:

1. For each i0, xyizL,

2. |y| > 0, and

3. |xy| p.

Assume s is split as follows: x = 08, y = 01 and z = 110.

Clearly, this satisfies conditions 2 and 3.

If we let i = 10, then xy10z = 08010110= 018110.

xy10zL.

This contradicts condition 1, therefore L is not regular.

2) Fix the above proof to show L is not regular

3) This proof attempts to show that L = { 0i1j | i > j >0 } is not regular.

The proof is flawed. Identify the reason that the proof is flawed.

Proof:

Assume that L is regular and let p=10 be the pumping length.

Let s = 020110.

s can be split into xyz, satisfying these conditions:

1.For each i0, xyizL,

2.|y| > 0, and

3.|xy| p.

In splits of s into xyz, y= 0+ because of condition 3

then xz has less zeros then s

and xzL.

This contradicts condition 1, therefore L is not regular.

4) Show that the language A is not regular.

A = {ww | w {0,1}*}

Another way to describe strings in A is that every string in A can be split in half where the first half is equal to the second half

Examples of strings in A are {00, 11, 0000,0101, 1010, 1111,1111, ....}

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_2

Step: 3

blur-text-image_3

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

21. Consider the following four structures:

Answered: 1 week ago