Advice (complexity)
In computational complexity theory, an advice string is an extra input to a Turing machine that is allowed to depend on the length n of the input, but not on the input itself.[src] A decision problem is in the complexity class P/f(n) if there is a polynomial time Turing machine M with the following property: for any n, there is an advice string A of length f(n) such that, for any input x of length n, the machine M correctly decides the problem on the input x, given x and A.[src] The most common complexity class involving advice is P/poly where advice length f(n) can be any polynomial in n.[src] P/poly is equal to the class of decision problems such that, for every n, there exists a polynomial size Boolean circuit correctly deciding the problem on all inputs of length n.[src] One direction of the equivalence is easy to see.[src] If, for every n, there is a polynomial size Boolean circuit A(n) deciding the problem, we can use a Turing machine that interprets the advice string as a description of the circuit.[src] Then, given the description of A(n) as the advice, the machine will correctly decide the problem on all inputs of length n.[src] The other direction uses a simulation of a polynomial-time Turing machine by a polynomial-size circuit as in one proof of Cook's theorem.…[src]
In computational complexity theory, an advice string is an extra input to a Turing machine that is allowed to depend on the length n of the input, but not on the input itself.[src] A decision problem is in the complexity class P/f(n) if there is a polynomial time Turing machine M with the following property: for any n, there is an advice string A of length f(n) such that, for any input x of length n, the machine M correctly decides the problem on the input x, given x and A.[src] The most common complexity class involving advice is P/poly where advice length f(n) can be any polynomial in n.[src] P/poly is equal to the class of decision problems such that, for every n, there exists a polynomial size Boolean circuit correctly deciding the problem on all inputs of length n.[src] One direction of the equivalence is easy to see.[src] If, for every n, there is a polynomial size Boolean circuit A(n) deciding the problem, we can use a Turing machine that interprets the advice string as a description of the circuit.[src] Then, given the description of A(n) as the advice, the machine will correctly decide the problem on all inputs of length n.[src] The other direction uses a simulation of a polynomial-time Turing machine by a polynomial-size circuit as in one proof of Cook's theorem.[src] Simulating a Turing machine with advice is no more complicated than simulating an ordinary machine, since the advice string can be incorporated into the circuit.[src] Because of this equivalence, P/poly is sometimes defined as the class of decision problems solvable by polynomial size Boolean circuits, or by polynomial-size non-uniform Boolean circuits.[src] P/poly contains both P and BPP (Adleman's theorem).[src] It also contains some undecidable problems, such as the unary version of every undecidable problem, including the halting problem.[src] Because of that, it is not contained in DTIME (f(n)) or NTIME (f(n)) for any f.[src] Advice classes can be defined for other resource bounds instead of P.[src] For example, taking a non-deterministic polynomial time Turing machine with an advice of length f(n) gives the complexity class NP/f(n).[src] If we are allowed an advice of length 2 n , we can use it to encode whether each input of length n is contained in the language.[src] Therefore, any boolean function is computable with an advice of length 2 n and advice of more than exponential length is not meaningful.[src] Similarly, the class L/poly can be defined as deterministic logspace with a polynomial amount of advice.[src] Known results include: The classes NL/poly and UL/poly are the same, i.e.[src] nondeterministic logarithmic space computation with advice can be made unambiguous.[src] This may be proved using an isolation lemma.[src] It is known that coNEXP is contained in NEXP/poly.[src] If NP is contained in P/poly, then the polynomial time hierarchy collapses (Karp-Lipton theorem).[src] ==References==[src]
32 sentences · 32 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Advice (complexity)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/advice-complexity. Accessed 25 November 2026.
Chicago
"Advice (complexity)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/advice-complexity.
APA
encyclopegia.org. (2026). Advice (complexity). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/advice-complexity
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON