fbpx
Wikipedia

Promise problem

In computational complexity theory, a promise problem is a generalization of a decision problem where the input is promised to belong to a particular subset of all possible inputs.[1] Unlike decision problems, the yes instances (the inputs for which an algorithm must return yes) and no instances do not exhaust the set of all inputs. Intuitively, the algorithm has been promised that the input does indeed belong to set of yes instances or no instances. There may be inputs which are neither yes nor no. If such an input is given to an algorithm for solving a promise problem, the algorithm is allowed to output anything, and may even not halt.

Formal definition edit

A decision problem can be associated with a language  , where the problem is to accept all inputs in   and reject all inputs not in  . For a promise problem, there are two languages,   and  , which must be disjoint, which means  , such that all the inputs in   are to be accepted and all inputs in   are to be rejected. The set   is called the promise. There are no requirements on the output if the input does not belong to the promise. If the promise equals  , then this is also a decision problem, and the promise is said to be trivial.

Examples edit

Many natural problems are actually promise problems. For instance, consider the following problem: Given a directed acyclic graph, determine if the graph has a path of length 10. The yes instances are directed acyclic graphs with a path of length 10, whereas the no instances are directed acyclic graphs with no path of length 10. The promise is the set of directed acyclic graphs. In this example, the promise is easy to check. In particular, it is very easy to check if a given graph is cyclic. However, the promised property could be difficult to evaluate. For instance, consider the problem "Given a Hamiltonian graph, determine if the graph has a cycle of size 4." Now the promise is NP-hard to evaluate, yet the promise problem is easy to solve since checking for cycles of size 4 can be done in polynomial time.

See also edit

References edit

  1. ^ "Promise problem". Complexity Zoo.

Surveys edit

  • Goldreich, Oded (2006). "On Promise Problems (a survey)". Theoretical Computer Science: Essays in memory of Shimon Even. LNCS. Vol. 3895. pp. 254–290. doi:10.1007/11685654_12.
  • Sahai, A.; Vadhan, S.P. (1997). "A complete promise problem for statistical zero-knowledge". FOCS 1997. pp. 448–457. CiteSeerX 10.1.1.34.6920. doi:10.1109/SFCS.1997.646133.
  • Even, Shimon; Selman, Alan L.; Yacobi, Yacov (1984). "The complexity of promise problems with applications to public-key cryptography". Information and Control. 61 (2): 159–173. doi:10.1016/S0019-9958(84)80056-X.

promise, problem, computational, complexity, theory, promise, problem, generalization, decision, problem, where, input, promised, belong, particular, subset, possible, inputs, unlike, decision, problems, instances, inputs, which, algorithm, must, return, insta. In computational complexity theory a promise problem is a generalization of a decision problem where the input is promised to belong to a particular subset of all possible inputs 1 Unlike decision problems the yes instances the inputs for which an algorithm must return yes and no instances do not exhaust the set of all inputs Intuitively the algorithm has been promised that the input does indeed belong to set of yes instances or no instances There may be inputs which are neither yes nor no If such an input is given to an algorithm for solving a promise problem the algorithm is allowed to output anything and may even not halt Contents 1 Formal definition 2 Examples 3 See also 4 References 4 1 SurveysFormal definition editA decision problem can be associated with a language L 0 1 displaystyle L subseteq 0 1 nbsp where the problem is to accept all inputs in L displaystyle L nbsp and reject all inputs not in L displaystyle L nbsp For a promise problem there are two languages LYES displaystyle L text YES nbsp and LNO displaystyle L text NO nbsp which must be disjoint which means LYES LNO displaystyle L text YES cap L text NO varnothing nbsp such that all the inputs in LYES displaystyle L text YES nbsp are to be accepted and all inputs in LNO displaystyle L text NO nbsp are to be rejected The set LYES LNO displaystyle L text YES cup L text NO nbsp is called the promise There are no requirements on the output if the input does not belong to the promise If the promise equals 0 1 displaystyle 0 1 nbsp then this is also a decision problem and the promise is said to be trivial Examples editMany natural problems are actually promise problems For instance consider the following problem Given a directed acyclic graph determine if the graph has a path of length 10 The yes instances are directed acyclic graphs with a path of length 10 whereas the no instances are directed acyclic graphs with no path of length 10 The promise is the set of directed acyclic graphs In this example the promise is easy to check In particular it is very easy to check if a given graph is cyclic However the promised property could be difficult to evaluate For instance consider the problem Given a Hamiltonian graph determine if the graph has a cycle of size 4 Now the promise is NP hard to evaluate yet the promise problem is easy to solve since checking for cycles of size 4 can be done in polynomial time See also editComputational problem Decision problem Optimization problem Search problem Counting problem complexity Function problem TFNPReferences edit Promise problem Complexity Zoo Surveys edit Goldreich Oded 2006 On Promise Problems a survey Theoretical Computer Science Essays in memory of Shimon Even LNCS Vol 3895 pp 254 290 doi 10 1007 11685654 12 Sahai A Vadhan S P 1997 A complete promise problem for statistical zero knowledge FOCS 1997 pp 448 457 CiteSeerX 10 1 1 34 6920 doi 10 1109 SFCS 1997 646133 Even Shimon Selman Alan L Yacobi Yacov 1984 The complexity of promise problems with applications to public key cryptography Information and Control 61 2 159 173 doi 10 1016 S0019 9958 84 80056 X Retrieved from https en wikipedia org w index php title Promise problem amp oldid 1170982525, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.