Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Show that the set of incompressible strings contains no infinite subset that is Turing-recognizable.

Short Answer

Expert verified

Turing-Recognizable subset of incompressible strings doesn’t exist.

Step by step solution

01

Turing Recognizable

A language L is said to be Turing Recognizable if and only if there exist any Turing Machine (TM) which recognize it i.e. Turing Machine halt and accept strings belong to language L and will reject or not halt on the input strings that doesn’t belong to language L.

02

Proving Turing-Recognizable subset of incompressible strings doesn’t exist

Let’s prove the above statement by contradiction.

So, let there is infinite subset S of incompressible strings.

Let M be the Turing Machine that recognize S. We will construct a Turing Machine P as follows:

  • Obtain its description ‹P›
  • Repeat S, until it finds a string x whose length is greater than P,i.e.,|x|>|P,|.
  • Output: x .

S must contain strings which are larger than |‹P›| in terms of length because length of each string in S must be infinite. Therefore, description of x must be P,implies: K(x)|P,|<|x|.

But it must be noted that x is an incompressible string, so our above assumption is contradict.

Hence, there exist no infinite Turing-Recognizable subset of incompressible strings.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Let =0,1. Let B be the collection of strings that contain at least one 1 in their second half. In other words,

a. Give a PDA that recognizes B

b. Give a CFG that generates B .

Question:Consider the algorithm MINIMIZE, which takes a DFA as input and outputs DFA .

MINIMIZE = “On input , where M=(Q,Σ,δ,q0,A) is a DFA:

1.Remove all states of G that are unreachable from the start state.

2. Construct the following undirected graph G whose nodes are the states of .

3. Place an edge in G connecting every accept state with every non accept state. Add additional edges as follows.

4. Repeat until no new edges are added to G :

5. For every pair of distinct states q and r of and every aΣ :

6. Add the edge (q,r) to G if δq,a,δr,a is an edge of G .

7. For each state q,let[q] be the collection of statesq={rQ|noedge joins q and r in G }.

8.Form a new DFA M'=Q',Σ,δ',q'0,A'where

Q'={[q]|qQ}(ifq=r,onlyoneofthemisinQ'),δ'(q,a)=[δq,a]foreveryqQandaΣ,q00=[q0],andA0={[q]|qA}

9. Output ( M')”

a. Show that M and M' are equivalent.

b. Show that M0 is minimal—that is, no DFA with fewer states recognizes the same language. You may use the result of Problem 1.52 without proof.

c. Show that MINIMIZE operates in polynomial time.

Let CFG Gbe thefollowing grammar.

SaSbbYYaYbYaYε

Give a simple description of LGin English. Use that description to give a CFG forLG , the complement of LG.

Use the results of Exercise 2.16to give another proof that every regular language is context- free, by showing how to convert a regular expression directly to an equivalent context-free grammar.

a). Let C be a context-free language and R be a regular language. Prove that the languageCRis context free.

b). Let A= { w|w{a,b,c}*andwcontains equal numbers of as,bs,andcs}. Use part(a) to show that A is not a CFL

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free