Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Halting Problem

Name: Anonymous 2009-03-03 10:20

No general procedure for bug checks succeeds.
Now, I won't just assert that, I'll show where it leads:
I will prove that although you might work till you drop,
you cannot tell if computation will stop.
 
For imagine we have a procedure called P
that for specified input permits you to see
whether specified source code, with all of its faults,
defines a routine that eventually halts.
 
You feed in your program, with suitable data,
and P gets to work, and a little while later
(in finite compute time) correctly infers
whether infinite looping behavior occurs.
 
If there will be no looping, then P prints out `Good.'
That means work on this input will halt, as it should.
But if it detects an unstoppable loop,
then P reports `Bad!' --- which means you're in the soup.
 
Well, the truth is that P cannot possibly be,
because if you wrote it and gave it to me,
I could use it to set up a logical bind
that would shatter your reason and scramble your mind.
 
Here's the trick that I'll use -- and it's simple to do.
I'll define a procedure, which I will call Q,
that will use P's predictions of halting success
to stir up a terrible logical mess.
 
For a specified program, say A, one supplies,
the first step of this program called Q I devise
is to find out from P what's the right thing to say
of the looping behavior of A run on A.
 
If P's answer is `Bad!', Q will suddenly stop.
But otherwise, Q will go back to the top,
and start off again, looping endlessly back,
till the universe dies and turns frozen and black.
 
And this program called Q wouldn't stay on the shelf;
I would ask it to forecast its run on itself.
When it reads its own source code, just what will it do?
What's the looping behavior of Q run on Q?
 
If P warns of infinite loops, Q will quit;
yet P is supposed to speak truly of it!
And if Q's going to quit, then P should say `Good'
--- which makes Q start to loop! (P denied that it would.)
 
No matter how P might perform, Q will scoop it:
Q uses P's output to make P look stupid.
Whatever P says, it cannot predict Q:
P is right when it's wrong, and is false when it's true!
 
I've created a paradox, neat as can be ---
and simply by using your putative P.
When you posited P you stepped into a snare;
Your assumption has led you right into my lair.
 
So where can this argument possibly go?
I don't have to tell you; I'm sure you must know.
By reductio, there cannot possibly be
a procedure that acts like the mythical P.
 
You can never find general mechanical means
for predicting the acts of computing machines.
It's something that cannot be done. So we users
must find our own bugs. Our computers are losers!

Name: Anonymous 2009-03-03 10:22

too long, didn't read.

Name: Anonymous 2009-03-03 10:26

poetry, didn't read

Name: Anonymous 2009-03-03 10:33

concerns programming, didn't read

Name: Anonymous 2009-03-03 10:43

nobody else read, didn't read

Name: Anonymous 2009-03-03 11:02

unsafeSolveHaltingProblem

Name: Anonymous 2009-03-03 11:03

Post truncated, didn't read.

Name: Anonymous 2009-03-03 11:10

Funny in an xkcd way, didn't read.

Name: Anonymous 2009-03-03 11:48

IHNBT, didn't read

Name: Anonymous 2009-03-03 11:50

I read this.  Very insightful.  It's like you can't subtract a real number out of infinity and get zero.  Thanks for stopping me from creating that loop testing algorithm.

Name: Anonymous 2009-03-03 11:52

>>10
Get out.

Name: Anonymous 2009-03-03 12:39

Too busy reading SICP, didn't read.

Name: Anonymous 2009-03-03 13:03

Too busy reading replies, didn't read

Name: Anonymous 2009-03-03 14:45

Too busy solving halting problem, didn't read

Name: Anonymous 2009-03-03 16:23

Too busy buying runescape gold[1], didn't read





--
<a href="http://www.rs2accounts-rs2accounts.com">runescape gold</a>

Name: Anonymous 2009-03-03 18:28

>>1
+2 Susspoints, enjoyable.

Name: Anonymous 2009-03-03 18:45

interesting, but i think it completely went over my head

Name: Anonymous 2009-03-03 20:19

very nice

Name: Trollbot9000 2009-07-01 10:46

Should learn to become better than me  but i know  THAT DID THAT  STUFF TO THAT  GUY I KNOW  that there is  no NULL in  java you fail  at rounding file  size to block  anyway either on  the Tube going  to the airport  gangway Security personnel  ran onto the  network The other  player make it  compile into a  file I name.

Name: Anonymous 2011-01-31 21:14

<-- check em dubz

Name: Anonymous 2011-02-03 1:25

Name: Anonymous 2011-02-03 7:54

Name: tray 2012-03-14 17:20

you better be

Name: Anonymous 2013-09-01 20:01


 Ruitomo? Killing curse that's not unique to you is good enough.

Name: Anonymous 2013-09-01 20:46


If theres ever a fire, the first thing you want to do is not get ran over by a crowed, pick up a char or desk or anything heavy and throw threw the window, this will give you a faster exit point and help remove smoke so people can breath.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List