Added: 2 years ago
From: kjlg74
Views: 4,084
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Eve is such a bitch.

  • Actually, the problem as stated in this video is solvable... If you take a finite set of programs, you can always create a program that says true or false whether the input program is flawed or not. The number of programs which size is < 1To is finite. Therefore, you could even write a program that checks all the programs < 1 To. It would take a long time to write though XD .

  • Though there is indeed an algorithm that solves the halting problem for the finite collection on the disk, I don't think anyone could write it, since they'd have to hard-code the solution. They could, actually, but only buy guessing correctly. However, saying that "it would take a long time to write" seems to indicate that it's figure out-able, which it's not (i.e. the solution is not uniform in the finite set).

  • Why does bob have a Mohawk

    Punk rockers aren't educated enough to ponder this sort of thing

    and why is eve shirtless that dirt whore

  • There is indeed an algorithm which, given input "n", outputs "yes" if the nth program on the disk halts and "no" otherwise. Bob just can't find it.

  • @eabod Prove it.

  • @stoobers1 The disk has finite memory, hence the collection of (indices of) programs on the disk is finite. Every finite set is computable. QED

  • @eabod I think I understand. So if the program you are testing on your finite inputs halts, then hooray.  But if the program is taking forever, you could look at the loop conditions and the current input state and determine if the loop will quit or not. Is that right?

  • Comment removed

  • @stoobers1 No, I'm saying there's a program that "guesses" correctly, since only finitely many guesses are needed. E.g. if there is only one program, P1, on the disk, then either P1 halts or it doesn't, so two guessing algorithms are sufficient; one that outputs "yes" (no matter what) and one that outputs "no". One of these algorithms is correct. Similarly if there are n programs on the disk, then 2^n guessing algorithms (on for each combination of "yes" and "no") are sufficient.

  • @stoobers1 Notice that what I'm suggesting would be impossible if there were infinitely many programs on the disk, since an algorithm cannot hold infinitely much hard-coded information.

  • i must know!

  • That's the kind of reaction I like to hear :D

  • The light at the end...invoking presents of a spiritual being from another dimensional plain? Hmmmm....what will happen next?

  • It's a gripping cliffhanger, isn't it? ;D

  • OMG what is going to happen next?

  • It's anyone's guess...

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more