Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Theory of Computation Prove that there is a language A C 10,1) with the following properties: (a) For all x e A, 111 4. (b)
Theory of Computation
Prove that there is a language A C 10,1) with the following properties: (a) For all x e A, 111 4. (b) No regek of length at most 10 recognizes A Assume that the only allowed symbols in a regex are 0 1 For example, the regex (Ol1) 0110 has length 10. Hint: You don't have to define A explicitly; just show that it has to exist. Count the number of languages satisfying (4a) and the number of Regex satisfying (4b), and then use the pigeonhole principle. To count the number of languages satisfying (4a), think about writing down all the strings of length at most 4, and then to define such a language, you have to make a binary decision for each string about whether to include it in the language or not How many ways are there to make these choices? Prove that there is a language A C 10,1) with the following properties: (a) For all x e A, 111 4. (b) No regek of length at most 10 recognizes A Assume that the only allowed symbols in a regex are 0 1 For example, the regex (Ol1) 0110 has length 10. Hint: You don't have to define A explicitly; just show that it has to exist. Count the number of languages satisfying (4a) and the number of Regex satisfying (4b), and then use the pigeonhole principle. To count the number of languages satisfying (4a), think about writing down all the strings of length at most 4, and then to define such a language, you have to make a binary decision for each string about whether to include it in the language or not How many ways are there to make these choicesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started