Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!