Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2152

Questions related to the (computational) complexity of solving problems

37 votes

How can I verify a solution to Travelling Salesman Problem in polynomial time?

The crux is that you have to consider the decision problem: Travelling Salesman Problem (Decision Version). Given a weighted graph G and a target cost C, is there a Hamiltonian cycle in G whose we …
Niel de Beaudrap's user avatar
35 votes
Accepted

NP-Hard problems that are not in NP but decidable

By the nondeterministic version of the time-hierarchy theorem, we have $\mathsf{NP} \subsetneq \mathsf{NEXP}$, where $\mathsf{NEXP}$ is the class of problems solvable in non-deterministic exponential- …
Niel de Beaudrap's user avatar
23 votes
Accepted

How hard is finding the discrete logarithm?

Short answer. If we formulate an appropriate decision problem version of the Discrete Logarithm problem, we can show that it belongs to the intersection of the complexity classes NP, coNP, and BQP. …
Niel de Beaudrap's user avatar
19 votes

Proving P = NP without mathematical statements / computer program

A Turing machine, it must be remembered, is a kind of flowchart. So is the structure of a computer program generally. So turning "a flowchart" into a formal answer to the problem should be fairly easy …
Niel de Beaudrap's user avatar
16 votes

Flaw in my NP = CoNP Proof?

Here's another way of looking at the point that Shaull makes with respect to "deciders". A problem is in NP if and only if there is an algorithm $V: \{0,1\}^n \times \{0,1\}^{\mathrm{poly}(n)} \to \{ …
Niel de Beaudrap's user avatar
16 votes

Does $NP^{NP}=NP$?

To reformulate my comments as an answer, and to expand a bit: We don't know whether NPNP = NP — it's a notoriously open problem in complexity theory, though as with P versus NP we suspect that they a …
Niel de Beaudrap's user avatar
13 votes

How to prove a problem is NOT NP-Complete?

By the nondeterministic time hierarchy, you could show that the problem is $\mathsf {NEXP}$-hard; as $\mathsf {NP} \ne \mathsf {NEXP}$, it is impossible to reduce the problem in polynomial time to any …
Niel de Beaudrap's user avatar
8 votes
Accepted

Origin of quantum complexity theory

The class BQP (see also Complexity Zoo: BQP) was defined by E. Bernstein and U. Vazirani. Quantum complexity theory. SIAM Journal on Computing 26, pp. 1411-1473 (1997). The class QMA (see also Co …
Niel de Beaudrap's user avatar
6 votes
Accepted

Why does NTIME consider the length of the longest computation?

Because you don't know ahead of time whether or not any given input is a 'yes' instance — that is, whether there exists any accepting path — it makes sense for the sake of uniformity to bound the run- …
Niel de Beaudrap's user avatar
3 votes

Is Co-NP closed under taking subset?

For a language $L' \in \mathsf{coNP}$, there are certificates for all NO instances, which is to say inputs $x \notin L'$, which could be efficiently verified and used as proof that $x \notin L$. Suppo …
Niel de Beaudrap's user avatar