Define pad as in Problem 9.13

  1. Prove that for every A and natural number k, AP ifpad(A,nk)P
  2. Prove thatPSPACE(n)

Short Answer

Expert verified
  1. Using the Turing machine M, we are going to find the solution forthe above problem. A Turing Machine describes an abstract machine which manipulates symbols on a strip of tape based on a table of rules.
  2. Using the space hierarchy theorem, which says thatpadA,n2SPACEn , the above problem is solved.

Step by step solution

01

Turing Recognizable

A language is said to be Turing Recognizable if and only if there exists any Turing Machine (TM) which recognizes it i.e., TM halts and accepts strings that belong to the language and will reject or not halt on the input strings that don’t belong to the language .

02

Understanding the Problem Given

For any functionf:NNand language A,pad(A,f)is defined as:

pad(A,f)={pad(s,f(m))|wheresAand ‘m’ is the length of ‘s’ }.

Let A be any language andkN .

padA,nkPonly ifAP, because we can determine whether wpadA,nkby writing ‘w’ as ‘s#’ where, ‘s’ does not contain the ‘#’ symbol. Then, it is tested whether |w|=|s|kand then it is tested that whether sA.

The second test runs in time poly|s|because|s||w| , since the test runs in timepoly|w| , it is polynomial in time.

It can be determined whetherby padding ‘w’ with ‘#’ symbols until it has length|w|kand then, test whether the result is inpadA,nki.e., APonly ifpadA,nkP.

Hence, it can be said that APholds only if padA,nkP .

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
fx=3x+1foroddxx/2forevenx

for any natural number x . If you start with an integer x and iterate f , you obtain a sequence, x,fx,ffx,......Stop if you ever hit 1. For example, if x=17 , you get the sequence 17,52,26,13,40,20,10,5,16,8,4,2,1 .Extensive computer tests have shown that every starting point between 1 and a large positive integer gives a sequence that ends in 1 . But the question of whether all positive starting points end up at 1 is unsolved; it is called the 3x+1 problem. Suppose that ATMwere decidable by a TM H. Use H to describe a TM that is guaranteed to state the answer to the 3x+1 problem.

Show thatif,.NP=PSATthenNP=coNP

Write formal descriptions of the following sets.

  1. The set containing the numbers1,10, and100
  2. The set containing all integers that are greater than5
  3. The set containing all natural numbers that are less than5
  4. The set containing the string aba
  5. The set containing the empty string
  6. The set containing nothing at all

Use the result of Problem 6.21 to give a function f that is computable with an oracle for ATM, where for each n,f(n) is an incompressible string of length n.

Let X be the set {1,2,3,4,5}and Y be the set {6,7,8,9,10}.The unary function f:XYand the binary function g:X×YYare described in the following tables.

g12345f(n)67676 g123456789101010101010789106789106789106789106

a. What is the value of f(2)?
b.What are the range and domain of f?
c. What is the value of g (2, 10) ?
d. What are the range and domain ofg?
e. What is the value ofg(4, f (4))?

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