Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed

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 choices

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

Step: 3

blur-text-image

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

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions

Question

Evaluate 3x - x for x = -2 Answer:

Answered: 1 week ago

Question

What is group replacement? Explain with an example. (2-3 lines)

Answered: 1 week ago