1
$\begingroup$

I was told during a lecture that there exist computational problems that are within $\text{P}_\text{search}$ but are not in $\text{NP}_\text{search}$ this seems impossible to me because I feel like a simple verifier is just to run the imaginary solution algorithm on the input, then see if it equals the output. Is there an example of a problem that fits requirements, or a way to construct a set of them?

Ainsley H.
18k3 gold badges44 silver badges68 bronze badges
asked 10 hours ago
New contributor
Honer_300 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
1
  • 1
    $\begingroup$ @AinsleyH. Can I encourage you to write that as an answer rather than a comment, so we can upvote it, it can be accepted, and the question can be treated as answered? No need to write anything more than you already did. $\endgroup$ Commented 9 hours ago

1 Answer 1

0
$\begingroup$

Any deterministic Turing machine is also a nondeterministic Turing machine (but not the other way around).

Hence that claim is false. $^\dagger$

See also the recent answer These classes are called FNP and FP (respectively) in the literature.


$^\dagger$ While researching a bit more, I cannot find a formal definition of Psearch and NPsearch.

Here is a quote from Complexity Zoo on FP:

Sometimes defined as the class of functions computable in polynomial time by a Turing machine. (Generalizes P, which is defined in terms of decision problems only.)

However, if we want to compare FP to FNP, we should instead define it as the class of FNP problems (that is, polynomial-time predicates P(x,y)) for which there exists a polynomial-time algorithm that, given x, outputs any y such that P(x,y). That is, there could be more than one valid output, even though any given algorithm only returns one of them.

I am willing to admit that there might exist a definition of the two classes for which the claim is true.

answered 8 hours ago
$\endgroup$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.