Re: Can EXPTIME and NP be separated via diagonalization?
- From: cplxphil@xxxxxxxxx
- Date: Tue, 5 Aug 2008 13:00:59 -0700 (PDT)
On Aug 5, 10:38 am, tc...@xxxxxxxxxxxxx wrote:
In article <4789ed7d-31a2-45d3-9783-ad37dcb6c...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<cplxp...@xxxxxxxxx> wrote:
For example, suppose I could prove that if P = NP, there is an
algorithm that finds an algorithm that solves SAT.
We already know how to write down explicitly an algorithm with the property
that, if P = NP, it solves SAT in polynomial time. Just list all polytime
algorithms and multitask over them all.
In more detail, let A_1, A_2, A_3, ..., be a list of all polytime
algorithms. Draw the following grid:
A_1: step 1, step 2, step 3, step 4, ...
A_2: step 1, step 2, step 3, step 4, ...
A_3: step 1, step 2, step 3, step 4, ...
...
To multitask over all these algorithms, just zigzag your way through this
grid, as in the proof that the rational numbers are countable. If P = NP,
then some specific algorithm---say A_n---will solve SAT in polynomial
time. The multitasking algorithm will basically simulate A_n, while
wasting only a polynomial amount of time trying other algorithms.
--
Tim Chow tchow-at-alum-dot-mit-dot-edu
The range of our projectiles---even ... the artillery---however great, will
never exceed four of those miles of which as many thousand separate us from
the center of the earth. ---Galileo, Dialogues Concerning Two New Sciences
I don't think I followed that. How do we obtain a list of all
polynomial time algorithms? Also, how does the zig-zagging give us
the result of an algorithm? How do we verify that the algorithm we've
found solves SAT? What about algorithms with different lengths?
Suppose I have one polytime algorithm that ends after 10 steps...how
do I zigzag beyond that point?
I think I may have been misleading in what I said. I was referring to
the ability to actually find the algorithm that solves SAT by running
a real, deterministic algorithm. I suppose I see what you are saying
(that it's technically possible to produce the algorithm that solves
SAT if such an algorithm exists), even though I don't understand it.
Does that mean that it's impossible for P = NP to be undecidably true--
i.e., impossible for there to be an algorithm that solves SAT that
cannot be proven to solve SAT? If that's true, I had never heard that
before.
-Phil
.
- Follow-Ups:
- References:
- Can EXPTIME and NP be separated via diagonalization?
- From: cplxphil
- Re: Can EXPTIME and NP be separated via diagonalization?
- From: cplxphil
- Re: Can EXPTIME and NP be separated via diagonalization?
- From: tchow
- Re: Can EXPTIME and NP be separated via diagonalization?
- From: cplxphil
- Re: Can EXPTIME and NP be separated via diagonalization?
- From: tchow
- Can EXPTIME and NP be separated via diagonalization?
- Prev by Date: Re: How to do this?
- Next by Date: Re: Can EXPTIME and NP be separated via diagonalization?
- Previous by thread: Re: Can EXPTIME and NP be separated via diagonalization?
- Next by thread: Re: Can EXPTIME and NP be separated via diagonalization?
- Index(es):
Relevant Pages
|