hwsol1.4 - Example solution 1.4 Avery Musbach February 9...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Example solution: 1.4 Avery Musbach February 9, 2010 (a) We claim that a language L { 0 , 1 } * is in roNTIME ( f ( n )) i ff there exists a polynomial p : N N , a natural number c N and a f ( n c )-time TM M (which I shall call the verifier for L ) such that for every x { 0 , 1 } * , x L ⇐⇒ ∃ u { 0 , 1 } f ( p ( | x | )) M ( x, u ). If x L and u { 0 , 1 } f ( p ( | x | )) satisfy M ( x, u ), then we shall call u a certificate for x (with respect to the language L and machine M ). Suppose L is decided by a NDTM N that runs in time f ( n c ) (for some c N ). For every x L , there is a sequence of nondeterministic choices that makes N reach q accept on input x . We can use this sequence as a certificate for x . This certificate has length f ( | x | c ) and can be verified in O ( f ( n c )) time by a deterministic Turing machine, which simulates the action of N using these nondeterministic choices. Conversely, if L meets the criterion in question, then we describe a f ( n c )- time NDTM N that decides L . On input x , it uses the ability to make
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '08
  • Sturtivant,C
  • Computational complexity theory, Quantification, Universal quantification, Existential quantification

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern