/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q22P Suppose that A and B are two ora... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Suppose that A and B are two oracles. One of them is an oracle for TQBF, but if you don’t know which. Give an algorithm that has access to both A and B, and that is guaranteed to solve TQBF in polynomial time.

Short Answer

Expert verified

An oracle machine is a type of Turing Machine having many different tapes and these tapes are called oracle tapes. The different states may be representedqstates .

Step by step solution

01

 Using Baker Gill Solovay Theorem

TQBF is referred as True Qualified Boolean Formula. To show TQBF in polynomial problem having access to Turing machine A and B can be solved using Baker Gill Solovay Theorem.

For our convenience the problem is broken into two parts.

For Oracle A:

  • Let, TQBF has access to A then,A=TQBF .
  • The above problem can be solved by showing PA=NPB.
  • We know thatTQBF is PSPACE problem,
  • Therefore,PSPACE⊂PTQBF andPSPACETQBF⊂PSPACE
  • Hence, by the above results we can say thatPA=NPB
02

Solving the part two of the problem

For Oracle B:

  • It is required to show that PA≠NPBfor oracle B.
  • Now, define a language L as:LB={0nlw∈0,1}where,B(w)=1
  • For any oracle B the defined language L isNPB
  • If X=0nwith|w|=|x| then, the machine’s output will be 1.
  • Here we can say that TQBF∈NLwhich shows that PSPACE∈NL
  • Baker Gill theorem states thatNLÏ•PSPACE
  • Now, using Baker Gill and hierarchy Theorem, it can be said that PA≠NPB

Thus, from the results of the two parts it is proven that TQBF is in polynomial time for both oracle A and B.

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 91Ó°ÊÓ!

One App. One Place for Learning.

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

Get started for free

Study anywhere. Anytime. Across all devices.