Question: Problem 1 . 1 : Let Lsube { 0 , 1 } * * be the language defined recursively as follows: The empty string is

Problem 1.1: Let Lsube{0,1}** be the language defined recursively as follows:
The empty string is in L.
For any string x in L, the strings 1x01 and 11x0 are also in L.
For any strings x,y such that xy is in L, the string x011y is also in L.(In other words,
inserting 011 anywhere to a string in L yields another string in L.)
The only strings in L are those that can be obtained by the above rules.
Define Ldouble={xin{0,1}**:#?1(x)=2#?0(x)}, where #?a(x) denotes the number of
occurrences of the symbol a in the string x.
(a) Prove that LsubeLdouble, by using induction. (You should use strong induction.)
(b) Conversely, prove that LdoublesubeL, by using induction.
[Hint: What does a string that does not contain 011 as a substring look like? It
may be helpful to decompose the string into blocks of 0's and 1's (i.e., write it as
0i11j10i21j2cdots0ik1jk with i1,j1,dots,ik,jk1, if it starts with a 0 and ends with a 1 ;
and similarly for the other cases).]
 Problem 1.1: Let Lsube{0,1}** be the language defined recursively as follows:

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!