complexity classes
Nov. 6th, 2008 04:11 pmWhat is the relationship between O(n^log(n)) and O(2^n)? Is the set of complexity classes fully- or partially-ordered?
Some NP-Hard problems can be solved in O(2^n) time. Can we make this statement stronger1?
1 - using current technology
Some NP-Hard problems can be solved in O(2^n) time. Can we make this statement stronger1?
1 - using current technology
(no subject)
Date: 2008-11-07 01:07 am (UTC)nlog n is 2f(log n) for a polynomial f (in this case just x2). I've heard O(2polynomial in log n) referred to as quasipolynomial, but I have no idea if this is standard. It's not very that far from polynomial.
2n is of course a long way from polynomial.
(no subject)
Date: 2008-11-07 01:39 am (UTC)For complexity-theory purposes, big-O notation is a total order. In particular, it's true that if g(n) is monotonically increasing, then for all f(n), f(n) is either O(g(n)) or Omega(g(n)), and if both are true then f(n) is Theta(g(n)). This is not true in general for non-monotonic g(n), though. For example, sin(x) is not O(sin(sqrt(2)*x)) or Omega(sin(sqrt(2)*x)), because for any x0, there are always values of x > x0 where each function is zero while the other is not.
No, I don't think there are any known solutions of NP-hard problems faster than O(2^n).
(no subject)
Date: 2008-11-07 01:47 am (UTC)how do you know this? how do we know that quasipolynomials grow slower than exponentials?
(no subject)
Date: 2008-11-07 02:37 am (UTC)log(nlog n) = (log n)2
whereas
log(2n) = n
given that the second one has a logarithm that grows faster, it must grow a lot faster.
(no subject)
Date: 2008-11-07 02:44 am (UTC)In some sense this is true, but I still cringe whenever people say it. In reality, the big-O partial order is horrible, even restricted to increasing functions from N to N. I'm pretty sure it contains an isomorphic copy of (P(N),subset)
(no subject)
Date: 2008-11-07 03:05 am (UTC)In what sense is it false?
<< I'm pretty sure it contains an isomorphic copy of (P(N),subset) >>
What does this mean?
(no subject)
Date: 2008-11-07 03:17 am (UTC)A pleasure to meet you, regardless :-)
(no subject)
Date: 2008-11-07 03:25 am (UTC)I'm not suggesting it is false so much as fundamentally ambiguous. What functions are, or are not, allowed to to count for "complexity-theory purpose"?
<< I'm pretty sure it contains an isomorphic copy of (P(N),subset) >>
What does this mean?
It means that there is a function f whose input is subsets of N and whose output is increasing functions from N to N so that:
(X is a subset of Y) if and only if ( f(X)(n)=O(f(Y)(n)) )
(no subject)
Date: 2008-11-07 04:26 am (UTC)(no subject)
Date: 2008-11-07 04:46 am (UTC)Oh, and quasipolynomial functions are called that because they're considered "close" to polynomial. In particular, assuming that NP is not in QP is a totally standard complexity assumption, and most complexity theorists would be pretty shocked if it weren't true. Finally, lots of hardness of approximation results that are derived from the PCP theorem require gadgets of quasipolynomial size, so it's an assumption that you see a lot in hardness of approximation results.
(no subject)
Date: 2008-11-07 07:13 am (UTC)I agree. So it is a partial order. But can you come up with monotonically increasing functions f,g such that they are incomparable (meaning, neither f in O(g) nor g in O(f)?
by "N", do you mean the set of naturals, i.e. P(N) is the set of sets of naturals?
(no subject)
Date: 2008-11-07 08:09 am (UTC)(no subject)
Date: 2008-11-07 08:53 am (UTC)(no subject)
Date: 2008-11-07 08:55 am (UTC)Hmm... I feel like there was another time in the past year or two, but it's not coming to me at the moment.
(no subject)
Date: 2008-11-07 08:58 am (UTC)This example does seem unnatural though. I'd like to restrict it to functions were the "derivative" is monotonically increasing.
i.e. where the function f(n) - f(n-1) is monotonically increasing.
(no subject)
Date: 2008-11-07 09:01 am (UTC)Scott Aaronson has conjectured that there is no physically realizable notion of computation that solves NP-complete problems in polynomial time.
As for solving all NP-hard problems in O(2^n) time, that somehow strikes me as unlikely, though I don't have a proof. The problem is that NP-complete problems are only known to have polynomial reductions to each other - but even if we assume a linear reduction, then solving one in O(2^n) time means solving the other in O(2^kn) time, which is not O(2^n). We'd either need a direct solution for each in that time, or a sub-linear reduction of each to the others, and that seems ridiculously unlikely.
(no subject)
Date: 2008-11-07 09:09 am (UTC)(no subject)
Date: 2008-11-07 04:59 pm (UTC)(no subject)
Date: 2008-11-07 05:00 pm (UTC)Yes.
(no subject)
Date: 2008-11-07 06:50 pm (UTC)(no subject)
Date: 2008-11-07 07:02 pm (UTC)(no subject)
Date: 2008-11-07 09:59 pm (UTC)For the record, I agree with this statement. Is it wrong?
(no subject)
Date: 2008-11-07 10:03 pm (UTC)(no subject)
Date: 2008-11-07 10:12 pm (UTC)(no subject)
Date: 2008-11-07 10:20 pm (UTC)I imagine he wouldn't be the first!
(no subject)
Date: 2008-11-07 10:26 pm (UTC)(no subject)
Date: 2008-11-07 11:18 pm (UTC)