Question

In: Advanced Math

discuss EXPTIME, its canonical problems, and its relations to other classes. This one is a little...

discuss EXPTIME, its canonical problems, and its relations to other classes. This one is a little more free-form, so you'll have to figure out what to write about. Or you can focus on 2 classes with a subset/superset relation, describe them and their canonical problems, and prove the subset/superset relation.

Solutions

Expert Solution

Any problem in NP is in EXPTIME because you can either use exponential time to try all possible certificates or to enumerate all possible computation paths of a nondeterministic machine.

More formally, there are two main definitions of NP. One is that a language LL is in NP iff there is a relation RR such that

  • there is a polynomial pp such that, for all (x,y)∈R(x,y)∈R, |y|≤p(|x|)|y|≤p(|x|),
  • given the string x#yx#y, we can determine in time polynomial in |x#y||x#y| whether (x,y)∈R(x,y)∈R, and
  • L={x∣(x,y)∈R}L={x∣(x,y)∈R}.

So, if we have exponential time and we want to know if x∈Lx∈L, we can just try all |Σ|p(n)|Σ|p(n) possible values for~yy and see if (x,y)∈R(x,y)∈R for any of those. That takes time 2O(p(n))2O(p(n)), so L∈L∈EXPTIME.

Alternatively, we can define NP as the set of languages decided by polynomial time nondeterministic Turing machines. In this case, suppose that LL is decided by machine MM in time p(n)p(n) for some polynomial pp, for inputs of length nn. Then MM makes at most p(|x|)p(|x|) nondeterministic choices while determining if x∈Lx∈L. By examining MM's transition function, we can find a constant kk such that MM has at most kk nondeterministic choices at each step of the computation (independent of the input), so it has at most kp(|x|)=2O(p(|x|))kp(|x|)=2O(p(|x|)) different sequences of nondeterministic choices while reading input xx. Given exponential time, we can simulate each of these possibilities one after another and see if any of them accepts.


Related Solutions

Discuss the extent to which aspects of labor relations in other countries should be adopted in...
Discuss the extent to which aspects of labor relations in other countries should be adopted in the United States. For example, should the United States adopt mandatory works councils?
I. GRAND CANONICAL POTENTIAL OF IDEAL GAS Using its definition, compute the grand canonical potential of...
I. GRAND CANONICAL POTENTIAL OF IDEAL GAS Using its definition, compute the grand canonical potential of an ideal monoatomic gas.
A teacher is currently teaching two statistics​ classes, one at​ 8:00 A.M. and the other at​...
A teacher is currently teaching two statistics​ classes, one at​ 8:00 A.M. and the other at​ 10:00 A.M. The accompanying table summarizes the attendance records by showing the probability of the number of absent students per class. Complete parts a and b.    Probability   Number of Absent Students 8 A.M. Class 10 A.M. Class 0 0.06 0.11 1 0.15 0.46 2 0.34 0.21 3 0.15 0.11 4 0.22 0.06 5 0.08 0.05 a. Calculate the mean number of students absent...
discuss the impact of the Wagner Act in terms of its influence on contemporary labor relations...
discuss the impact of the Wagner Act in terms of its influence on contemporary labor relations compared to 100 years ago.
Discuss sleep aids and cough-and-cold remedies as some of the other classes of over-the-counter drugs.
  Discuss sleep aids and cough-and-cold remedies as some of the other classes of over-the-counter drugs.
Some companies, such as Google, have created classes of stock with little or no voting rights...
Some companies, such as Google, have created classes of stock with little or no voting rights at all. Should this be allowed? Why would investors buy such stock? Explain in detail please.
To what extent aspects of labor relations in other countries (from Chapter 12, pick ONE country...
To what extent aspects of labor relations in other countries (from Chapter 12, pick ONE country other than the United States) should be adopted in the United States? Should the United States adopt mandatory works councils?Why or why not? What do you believe the future of Unions in the U.S. will be like?
1) Discuss the “hegemonic stability” theory and its practices (in case of) within the international relations...
1) Discuss the “hegemonic stability” theory and its practices (in case of) within the international relations system. 2)Discuss the arguments of Robert Cox regarding the international relations system. Do you agree with him? Why/why not? 3) Do we witness a struggle currently for the hegemony within international relations system? Write the facts-samples to prove your argument
discuss the advantages and disadvatages of public relations
discuss the advantages and disadvatages of public relations
Using the Realism approach (one of the theories of international relations) discuss whether globalization brings about...
Using the Realism approach (one of the theories of international relations) discuss whether globalization brings about a more stable global security environment. (250 words)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT