Skip to content
Surf Wiki
Save to docs
general/complexity-classes

From Surf Wiki (app.surf) — the open knowledge base

FNP (complexity)

Complexity class


Complexity class

In computational complexity theory, the complexity class FNP is the function problem extension of the decision problem class NP. The name is somewhat of a misnomer, since technically it is a class of binary relations, not functions, as the following formal definition explains:

:A binary relation P(x,y), where y is at most polynomially longer than x, is in FNP if and only if there is a deterministic polynomial-time algorithm that can determine whether P(x,y) holds given both x and y.

This definition does not involve nondeterminism and is analogous to the verifier definition of NP.

There is an NP language directly corresponding to every FNP relation, sometimes called the decision problem induced by or corresponding to said FNP relation. It is the language formed by taking all the x for which there exists some y such that P(x,y) holds; however, there may be more than one FNP relation that induces a particular decision problem.

Many problems in NP, including many NP-complete problems, can be specifed by asking whether a particular object exists, such as a satisfying assignment, a graph coloring, or a clique of a certain size. These problems often correspond to relations in FNP that ask not only whether an object exists but what value or values such an object can have. When an FNP relation corresponds in this way to an NP-complete problem, the relation is self-reducible. Bellare and Goldwasser showed in 1994 using some standard complexity-theoretic assumptions that there exist problems in NP such that none of their FNP versions are self-reducible, implying that they are harder than their corresponding decision problem.M. Bellare and S. Goldwasser. The complexity of decision versus search. SIAM Journal on Computing, Vol. 23, No. 1, February 1994.

For each P in FNP, the search problem associated with P is: given x, find a y such that P(x,y) holds, or state that no such y exists. The search problem for every relation in FNP can be solved deterministically in polynomial time if and only if P = NP. This result is usually stated as "FP = FNP if and only if P = NP"; however, for this statement to be true, it is necessary to redefine FP and FNP so that the members of FP and FNP are not relations, but are instead search problems associated with relations.

Reductions

Let P1 and P2 be two problems in FNP, with associated verification algorithms A1, A2. A reduction P1 and P2 is defined as two polynomial-time computable functions, f and g, such that

  • f maps inputs x of P1 to inputs f(x) of P2 ;
  • g maps outputs y of P2 to outputs g(y) of P1 ;
  • For all x and y: if A2(f(x),y) returns true, then A1(x, g(y)) returns true;
  • For all x: if A2(f(x),y) returns false for all y, then A1(x, g(y)) returns false for all y.

References

References

  1. [[Elaine Rich]], ''Automata, Computability and Complexity: Theory and Applications'', Prentice Hall, 2008, {{ISBN. 0-13-228806-0, section 28.10 "The problem classes FP and FNP", pp. 689–694
  2. Daskalakis, Costis. (2015). "22. PPAD".
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about FNP (complexity) — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report