Question: Problem 1 . 1 : Let Lsube { 0 , 1 } * * be the language defined recursively as follows: The empty string is
Problem : Let Lsube be the language defined recursively as follows:
The empty string is in
For any string in the strings and are also in
For any strings such that is in the string is also in In other words,
inserting anywhere to a string in yields another string in
The only strings in are those that can be obtained by the above rules.
Define :## where # denotes the number of
occurrences of the symbol in the string
a Prove that by using induction. You should use strong induction.
b Conversely, prove that subeL, by using induction.
Hint: What does a string that does not contain as a substring look like? It
may be helpful to decompose the string into blocks of s and s ie write it as
cdots with dots, if it starts with a and ends with a ;
and similarly for the other cases
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
