Proof That Computers Can't Do Everything (The Halting Problem)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2013
  • If you disagree or get confused by this video, read this FAQ: www.udiprod.com/halting-probl...
    Visit my home page: www.udiprod.com
    This video gives an informal presentation of Alan Turing's Halting Theorem, a serious, highly influential result in computer science.
    A few more comments on this video:
    1) This video skips a lot of technicalities for sake of simplicity. There are many rigorous descriptions of this proof easily found on the web.
    2) There really is an unbeatable checkers machine. See here: en.wikipedia.org/wiki/Draughts...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22K

  • @amarnaga718
    @amarnaga718 4 ปีที่แล้ว +3157

    H: I'm always right.
    N : I'm gonna destroy his whole career.

    • @subscribefornoreason7390
      @subscribefornoreason7390 4 ปีที่แล้ว +12

      yes

    • @thuna_2825
      @thuna_2825 4 ปีที่แล้ว +93

      N: I'm gonna destroy his whole existence

    • @bakedgoldfish45
      @bakedgoldfish45 4 ปีที่แล้ว

      Amar Naga no

    • @SrSeed
      @SrSeed 4 ปีที่แล้ว +46

      I dont get the point of N existing in the X equation.

    • @smallblue08
      @smallblue08 4 ปีที่แล้ว +42

      @@SrSeed the fact that n exists is the reason why h cant

  • @subg9165
    @subg9165 3 ปีที่แล้ว +6117

    i like how a and c turn into washing machines when they're given the wrong problems

    • @melvin3509
      @melvin3509 2 ปีที่แล้ว +105

      Btw: They all do, not just specifically A and C

    • @subg9165
      @subg9165 2 ปีที่แล้ว +16

      @@melvin3509 nice. also damn where did all those likes come from

    • @wesleymays1931
      @wesleymays1931 2 ปีที่แล้ว +68

      Introducing W: The Washing-machine Simulator Unit

    • @chddrchmze
      @chddrchmze 2 ปีที่แล้ว +39

      W always gets stuck when fed an input!

    • @terminalfloof
      @terminalfloof 2 ปีที่แล้ว +6

      Do NOT let Lily anywhere near it.

  • @ethanbeachy6593
    @ethanbeachy6593 ปีที่แล้ว +3767

    What I (Mechanical Engineer) was told in digital logic design: "Computers don't do amazing things. They do simple things amazingly fast." The people who break the complex problems into simple steps to be solved in this way are the ones who do amazing things.

    • @serioussilliness2064
      @serioussilliness2064 ปีที่แล้ว

      .,.

    • @thecapitalg
      @thecapitalg ปีที่แล้ว +73

      Isn't that amazing?

    • @Maxy.waxyyy
      @Maxy.waxyyy ปีที่แล้ว +38

      Oh, and the fact that most modern cpus have TRILLIONS of transistors.. 👁👁

    • @kamewantor4594
      @kamewantor4594 ปีที่แล้ว +12

      But AI is kinda tricky

    • @EmoBrotherREAL
      @EmoBrotherREAL ปีที่แล้ว +2

      @@Maxy.waxyyy more like 100s of millions

  • @Baldman_84
    @Baldman_84 ปีที่แล้ว +184

    "H was wrong again but H is supposed to always be right"
    that just hits me in the heart, so emotional..

  • @mr.sandman3619
    @mr.sandman3619 3 ปีที่แล้ว +10695

    "H was wrong again but H is supposed to always be right"
    Never have I ever been so emotionally attached to a theoretical machine

  • @Clockster_
    @Clockster_ 4 ปีที่แล้ว +4264

    Later in 3019...
    Robot: Let's assume that humans are useful

  • @edgi1758
    @edgi1758 ปีที่แล้ว +1835

    If H can simulate other machines, using X (which contains H) simply creates an infinite loop of H simulating itself simulating other Hs. The real H would simply get stuck, and thus never create a wrong answer, since it will never give an answer when simulating itself.

    • @chaumas
      @chaumas ปีที่แล้ว +352

      Ignore the word “simulate”. Ignore any idea you have about how H would work inside. We don’t know or care about that. All we assume is that H somehow gets the right answer. And that’s all it takes to show that H is impossible.

    • @Trucmuch
      @Trucmuch ปีที่แล้ว

      You just demonstrate that H can't work by running the machine in a simulator. The point of the demonstration is that H can't exist at all.

    • @nugget4814
      @nugget4814 ปีที่แล้ว +150

      Yeah, no where was it mentioned that H can not simply get stuck. This is the most logical outcome I think: H gets stuck simulating itself.

    • @chaumas
      @chaumas ปีที่แล้ว +205

      @@nugget4814 ​ 3:03 "H solves the halting problem perfectly. It always prints the right answer." The video is clear about this. A machine can't print the right answer if it gets stuck.

    • @Trucmuch
      @Trucmuch ปีที่แล้ว +89

      @@nugget4814 Nope. Again the use of "simulating" was misleading. Usually, this demonstration explains that H through clever algorithms has the power to determine if a specific code would get struck or would return a result. Analysing itself never was an issue. If what you take from this video is some sort of infinite recursive loop you've missed the point.

  • @safep4683
    @safep4683 9 หลายเดือนก่อน +108

    When I first watched this I thought "this doesn't prove H can't exist, it proves X can't exist." But after a look through the comments, I've realized that disproving X disproves H by extension because if H could exist, then we could theoretically build X, which was proved in this video to be impossible. Hope this helps anyone who is confused

    • @wayasho5284
      @wayasho5284 7 หลายเดือนก่อน +10

      disproves H by Xtension

    • @sassoarancione
      @sassoarancione 7 หลายเดือนก่อน +5

      I mean your argument is true, if X doent exist then H doesnt exist but the problem proves that H doesnt exist (and so X doesnt exist but that is not important).
      It's the other way around, logically speaking

    • @xbutterguy4x
      @xbutterguy4x 6 หลายเดือนก่อน

      No it actually proves H does not exist because H was fed the blueprint of X and its answer is always wrong.

    • @klam77
      @klam77 4 หลายเดือนก่อน +1

      @@sassoarancione Hey guys.......umm.....I was NOT confused earlier......but NOW I'm confused (by you guys)....so thanks a lot! LOL

    • @dept9203
      @dept9203 3 หลายเดือนก่อน +1

      X=P+H+N,and it’s pretty obvious P and N exist.

  • @Xyrenoxx
    @Xyrenoxx 3 ปีที่แล้ว +2225

    the smugness in her voice when she said "logically impossible" is so powerful

  • @Dotmaetrix
    @Dotmaetrix 8 ปีที่แล้ว +4971

    "Oh dear", says H, "I hadn't thought of that", and promptly vanishes in a puff of logic.

    • @Piorn
      @Piorn 8 ปีที่แล้ว +34

      +Fletcher Helms I hear they actually used that translation in the american version, completely oblivious that they'd ruin the joke?

    • @Piorn
      @Piorn 8 ปีที่แล้ว +78

      Fletcher Helms
      "Oh, that was easy," says Man, and for an encore goes on to prove that black is white and gets himself killed on the next zebra crossing.”
      The joke is that if black is white, zebra crossings don't exist and he gets run over. I guess americans don't say zebra crossing?

    • @nathanhausspiegel3580
      @nathanhausspiegel3580 8 ปีที่แล้ว +5

      +Piorn I got the joke just fine

    • @IAmNumber4000
      @IAmNumber4000 8 ปีที่แล้ว +6

      HAH

    • @Garomation
      @Garomation 8 ปีที่แล้ว +11

      YES HHGTTG OH YES. fourty two nerd nerd nerd fall at the ground and miss sorry for the inconvenience white mice dolphins humans AAAAGH

  • @computername
    @computername ปีที่แล้ว +491

    Expectation: "It will always print the correct answer."
    Reality:
    INSTALLED INK CARTRIDGE CANNOT BE RECOGNIZED

    • @roetemeteor
      @roetemeteor 11 หลายเดือนก่อน +26

      OUT
      OF
      CYAN
      *OUT*
      *OF*
      *CYAN*

    • @JohnBro_world
      @JohnBro_world 10 หลายเดือนก่อน +8

      *Incompatible* *Ink* *cartridges*
      Black
      [ Buy Now ]

  • @prototypemusic
    @prototypemusic ปีที่แล้ว +156

    The Halting problem is just one problem that computers can't solve, in fact, there is an uncountably infinite amount of problems computers can't solve, and we can't even describe them. At least we can sleep peacefully knowing that there's also an infinite number of problems computers CAN solve, but this amount is countable, thus decidedly smaller than the amount we can't solve.

    • @chaumas
      @chaumas ปีที่แล้ว +13

      True, but the set of problems that can't be written down is arguably pretty uninteresting in most contexts humans care about.

    • @SunShine-xc6dh
      @SunShine-xc6dh 11 หลายเดือนก่อน +2

      Infinite is by definition always uncountable...if I can count it its not infinite it is just some arbitrarily large number

    • @zakbettman8376
      @zakbettman8376 11 หลายเดือนก่อน +19

      @@SunShine-xc6dh no, the natural numbers are countably infinite, with time you could count them.

    • @fanrco766
      @fanrco766 11 หลายเดือนก่อน +21

      ​@@SunShine-xc6dh In this context, countable is a mathematical term meaning you can describe a procedure by which you can list them all.
      For instance, to list all the natural numbers, simply start at 0, then keep adding 1. This gives you a countably infinite set of numbers. If you can map a set one-to-one with this countable infinite set, then that set is also countable.
      However, some sets are uncountable. For example, theres no way to map the real numbers one to one onto the natural numbers, so the reals are uncountable.
      If you'd like to learn more about this, look up the diagonalization argument for the real numbers.

    • @chaumas
      @chaumas 11 หลายเดือนก่อน +13

      @@fanrco766 Just to tweak your wording: A set is countable if you can describe a procedure for listing them, so that given enough time, you’ll reach any member of the set you want. You’ll never finish listing them, but you can pick any item in the set, and following your procedure, you’ll eventually get to it.

  • @HAHA_468
    @HAHA_468 3 ปีที่แล้ว +917

    H: “Eat your food”
    N: “No”
    H: “Ok, then go to bed without dinner”
    N: “No” *starts eating*

    • @Patrick-vy2lo
      @Patrick-vy2lo 2 ปีที่แล้ว +8

      underrated comment

    • @no-one-1
      @no-one-1 2 ปีที่แล้ว +60

      What really happened:
      N: "No"
      N: "No" *starts eating*

    • @theodriggers549
      @theodriggers549 2 ปีที่แล้ว +1

      @@no-one-1 Why

    • @PLATONU
      @PLATONU 2 ปีที่แล้ว +39

      @@theodriggers549 because H doesnt exists and N is a patient in the crazy-house .... sry for my english

    • @alucard4974
      @alucard4974 17 ชั่วโมงที่ผ่านมา

      N is literally me when I was a teenager 😭😭😭

  • @benji_tunez
    @benji_tunez 3 ปีที่แล้ว +3853

    I love how when the machine gets stuck it slowly starts to move like when a vibrating phone is on a table lol

    • @Ranzord95
      @Ranzord95 3 ปีที่แล้ว +71

      old washing machines

    • @bolson42
      @bolson42 2 ปีที่แล้ว +23

      @@CorporateShill ok true, but this guy was just making a joke lol no need to worry haha

    • @spiralhalo
      @spiralhalo 2 ปีที่แล้ว +7

      @@CorporateShill every mathematics problems are made up :^)

    • @koifish528
      @koifish528 2 ปีที่แล้ว +7

      @@CorporateShill are you facepalming because these people liked the animation in the video

    • @Wreckedftfoxy
      @Wreckedftfoxy 2 ปีที่แล้ว +2

      yes

  • @ApertureAce
    @ApertureAce 11 หลายเดือนก่อน +49

    About twice a year I come back to this video to watch again. I forget some aspects of the concept, but the way that they explain each axiom regarding the usage and logic of these examples is so interesting.

    • @francogonz
      @francogonz 11 หลายเดือนก่อน

      Yesss same here

  • @gamingcrazyperson6545
    @gamingcrazyperson6545 ปีที่แล้ว +328

    You know you understand when you start maniacally laughing as soon as they say they're going to feed X its own blueprint

    • @kaiserredgamer8943
      @kaiserredgamer8943 ปีที่แล้ว +19

      Gaming.

    • @priyapepsi
      @priyapepsi ปีที่แล้ว

      @@kaiserredgamer8943 gamer

    • @Anuclano
      @Anuclano 11 หลายเดือนก่อน

      Doing this should be prohibited.

    • @doyouknowkeplertwentytwob4032
      @doyouknowkeplertwentytwob4032 11 หลายเดือนก่อน +3

      You don’t have many friends, do you?

    • @cheshire1
      @cheshire1 11 หลายเดือนก่อน

      @@kaiserredgamer8943 engineer gaming

  • @jasontoh768
    @jasontoh768 4 ปีที่แล้ว +3148

    Who else felt satisfied when all the machines connected perfectly

    • @andrewgopher
      @andrewgopher 4 ปีที่แล้ว +8

      yep

    • @SuperMaDBrothers
      @SuperMaDBrothers 4 ปีที่แล้ว +11

      someone made it do that on purpose so there's nothing satisfying about it (but satisfiability is NP complete so what do i know)

    • @gt581
      @gt581 3 ปีที่แล้ว +23

      It dissatisfied me when the two covers of X left a tiny gap

    • @bobthefox6022
      @bobthefox6022 3 ปีที่แล้ว +2

      yes

    • @jacobw1780
      @jacobw1780 3 ปีที่แล้ว

      same

  • @UCapdo2lj2Av-r57nhYMZLyQ
    @UCapdo2lj2Av-r57nhYMZLyQ 4 ปีที่แล้ว +5400

    "What won't be your next sentence?" the engineer asked the all-powerful computer.

    • @Xormac2
      @Xormac2 4 ปีที่แล้ว +192

      Underrated comment

    • @dirkdoogenstein
      @dirkdoogenstein 4 ปีที่แล้ว +483

      "I'm lying"

    • @weakspirit_
      @weakspirit_ 3 ปีที่แล้ว +207

      the computer takes the problem but doesn't solve it: "nice try, yuno"

    • @adikkidakubex5231
      @adikkidakubex5231 3 ปีที่แล้ว +262

      "Your question" answered all-powerfull computer.

    • @notalessandro
      @notalessandro 3 ปีที่แล้ว +36

      Ah My head hurts!!

  • @Cinnimin
    @Cinnimin 11 หลายเดือนก่อน +15

    basically the halting problem in a machine that negates itself is the same as "This sentence isn't true", thats so cool and interesting

    • @fanban2926
      @fanban2926 9 หลายเดือนก่อน +1

      Yeah it's so dumb

  • @GroupNebula563
    @GroupNebula563 ปีที่แล้ว +177

    1:46 I love the implication that they’re just dropping these cards on the audience
    But seriously, great video! I think this explains this concept really well.

    • @barneylaurance1865
      @barneylaurance1865 ปีที่แล้ว +4

      Looks like they're dropping the cards on the orchestra

    • @GroupNebula563
      @GroupNebula563 ปีที่แล้ว +3

      @@barneylaurance1865 yeah

  • @strangerdangerjake1413
    @strangerdangerjake1413 5 ปีที่แล้ว +3716

    H doesn't exist? So it's The Alting Problem

    • @jerri1918
      @jerri1918 5 ปีที่แล้ว +265

      actually it would be "te alting problem"

    • @DonVigaDeFierro
      @DonVigaDeFierro 5 ปีที่แล้ว +15

      Crazy Vaclav: Put it in " "!

    • @liamdoinsomething6017
      @liamdoinsomething6017 5 ปีที่แล้ว +32

      Stranger Danger Jake So that’s why I can’t work my alt key

    • @sirmanki
      @sirmanki 5 ปีที่แล้ว +2

      Lmao

    • @dovehq1031
      @dovehq1031 5 ปีที่แล้ว +11

      @@liamdoinsomething6017 commit alt+f4

  • @night_sniper5754
    @night_sniper5754 ปีที่แล้ว +3675

    So, basically, all we need is a machine that when gets "stuck" with an unsolvable task will just drop a "well, who cares anyway?" and goes on with a wrong solution sequence picked randomly until it says "Ah, f*ck, my mistake" and tries something else.
    Yep, perfectly human.

    • @Han_Solo6712
      @Han_Solo6712 ปีที่แล้ว +375

      I already know about that machine. Sadly it would take 9 months to make and years to improve it’s quality. It’s called a human.

    • @Wondercool923
      @Wondercool923 ปีที่แล้ว +95

      @@Han_Solo6712 yeah also did you know those machines are very flammable so don't be AHEM do be careful

    • @Han_Solo6712
      @Han_Solo6712 ปีที่แล้ว +9

      @@Wondercool923 yeah. I’m sorry if I sounded disrespectful I was exaggerating.

    • @corbsshas2811
      @corbsshas2811 ปีที่แล้ว +20

      Wheatley moment

    • @Han_Solo6712
      @Han_Solo6712 ปีที่แล้ว +52

      @@corbsshas2811
      GLADoS: This sentence is false! (To self) DON’T THINK ABOUT IT. DON’T THINK ABOUT IT. DON’T THINK ABOUT IT....
      Wheatley: Ummmm... yes.

  • @AJSSPACEPLACE
    @AJSSPACEPLACE ปีที่แล้ว +77

    It makes sense. It is simply impossible to get a machine that can magically account for any scenario. You could make a hypothetical machine, that specifically resolves the A/C machine issue. But other issues need to be handled differently

    • @moderator_man
      @moderator_man ปีที่แล้ว +4

      The real question is, did anyone think it would be possible to do that to begin with? I understand that this proves that point, but who needed to be proven wrong lol?
      I don't exactly see the value of knowing that it's impossible to create an omniscient computer, because it seems obvious. I've never taken a computer course and I know that, so idk. I do write a lot of code though, so computers aren't a total mystery to me.

    • @whyme943
      @whyme943 ปีที่แล้ว +8

      @@moderator_man this is basically just a counter example saying there are thigg by a computers can’t do.

    • @thepiratepeter4630
      @thepiratepeter4630 11 หลายเดือนก่อน +5

      ​@@moderator_man H isn't exactly an omniscient machine. It takes an input, a machine blueprint, and prints an output, if the machine would get stuck or not, but it doesn't need to be able to solve every problem. Since you write code, H is basically like a magical IDE that can always tell if your code could crash. Some IDEs can do that to an extent, but they will never be able to catch everything. This proves it.

    • @moderator_man
      @moderator_man 11 หลายเดือนก่อน +1

      @@thepiratepeter4630 but this is what I'm trying to say: I don't think anyone actually believes that was possible to begin with. I'm not disagreeing that it proves that point. I'm saying I don't think the point needs to be proven in the first place, and that it's explained poorly in the video. Who actually thought it was possible to build a machine that could do that? I've never needed to be taught this, personally. I ain't no genius by any stretch of the imagination

    • @thepiratepeter4630
      @thepiratepeter4630 11 หลายเดือนก่อน +16

      @@moderator_man It doesn't matter if you feel it's intuitively obvious. Good for you, but, from a mathematical/theoretical point of view, knowing for sure that this is impossible is very useful. An example: if there is another problem that you think is impossible, but you are not sure, you can just prove that an algorithm for that problem would solve the halting problem as a side effect, and now you know for sure it's impossible. Also, better be safe than sorry: imagine if this was possible, but everyone had your attitude and thought: "that sounds impossible" without even trying. That would be a dumb move right? Now we know for sure.

  • @judgegabranth2188
    @judgegabranth2188 ปีที่แล้ว +369

    This video is amazing and I am very surprised by all the hate and confusion it has received over the years. I find it particularly surprising that there are people who believe the inverter causes the problem and not H. I'll give a similar example to what the video is trying to say to make it more clear.
    Suppose there is an almighty machine that can always precisely predict the future. I ask the machine what time my son will finish his homework today and the machine gives an answer, e.g. 7pm. My son, however, listens in to the machine's answer and, wanting to prove it wrong, purposely finishes his homework later than the machine said. Obviously, the machine's prediction was wrong. But, the machine is supposed to always predict the future correctly, so what happened?
    Saying "just remove the inverter" or "the inverter causes the problem" etc. is the same as saying that the kid messed up in the above example. But, that is blatantly wrong. The kid can do whatever he wants. He has every right to listen in to the machine's answer and react however he wants. The problem is obviously not the kid, it is that the almighty future-predicting machine cannot exist. Its mere existence defies the basic principles of human logic. The same thing is true about H in the video: its mere existence is illogical and creates a paradox. The only difference is that H is slightly more subtle about it, compared to the almighty future-predicting machine.

    • @judgegabranth2188
      @judgegabranth2188 ปีที่แล้ว +59

      @LegoGuy2511 If the son doesn't then the machine is correct, but if he does it's wrong. Therefore the machine is not always correct, like we assumed. The fact that it might be correct sometimes doesn't mean anything. Also, yeah, by definition we didn't assume that the machine can modify its prediction. The prediction is supposed to be final and always correct.

    • @misanthropolis-zone-act3
      @misanthropolis-zone-act3 ปีที่แล้ว +24

      @@judgegabranth2188 Yes! Because logically once the answer is given by the oracle machine H, the answer itself can become invalidated by another machine N. The son in your example is the inverter, and the inverter is really just any abstract observer who wishes to disprove the oracle machine H and its determination of whether X will halt.
      This problem creates a hierarchy of oracle machines with their own halting problems, since the oracle machine at a certain hierarchy can't determine if itself will halt. :^) it's the classic question of who watches the watchers.
      I think these machines were called oracles for this very reason, since in history, oracles would give risky predictions to people about decision making that would affect their future behavior, and because they were given these future predictions, the predictions would affect their current behavior. Even a prediction given by one oracle who disliked another oracle could lead to an entirely different prediction from that other oracle, etc.
      Alexander the Great famously claimed his success to the courage and confidence given to him by an oracle's prediction that he would rule the world. Wild.

    • @moderator_man
      @moderator_man ปีที่แล้ว +3

      so your premise is that the machine always precisely predicts the future, but that literally can't be the case if it's information can be contradicted. this is why i have such a big problem with this theorum, is that it always uses wildly unrealistic examples with machines that literally would never be built or exist in reality. how does the halting problem manifest itself in a real-life tower PC, if it all?

    • @judgegabranth2188
      @judgegabranth2188 ปีที่แล้ว +24

      @@moderator_man I mean, that's the whole point, that it "literally can't be the case". I explained why this machine cannot exist. It seems like you just assume that its existence is absurd (and it is), but this is a legitimate proof about why that is the case. Similarly, the halting problem is something unsolvable. It's just an example of something that you real-life tower PC could never do, no matter the technological developments.
      EDIT (to clarify): What exactly is your definition of a machine that "literally would never be built or exist in reality"? If you described a TV or an airplane to someone from some centuries ago, they would probably think that it's something that can never exist. However, they would be wrong, obviously. That's the whole point. The future-predicting machine CERTAINLY cannot exist. It's not that we need more technology to build it, it's just paradoxical in its nature. Other absurd things, such as teleporters or flying cars possibly could exist, even if we never see them in our lifetime. The perfect future predicting machine, on the other hand, will never exist, not in millions of years. Same goes for the halting problem machine.

    • @Ryrzard
      @Ryrzard ปีที่แล้ว +28

      @@moderator_man The halting problem manifests all the time. Sometimes PCs don't crash, they get stuck in an infinite loop and freeze completely while the architecture is unaware that it should panic or throw an error. Sometimes those conditions are detected and the computer can safely crash and save a bunch of logging data about its state for debugging but the Halting Problem tells us that there cannot exist a perfect predictor of the machine getting stuck or not.
      It's a very loose connection to the halting problem I admit but hopefully it makes it more grounded for the more "practical"-centered people.

  • @IM_Cmac
    @IM_Cmac 4 ปีที่แล้ว +1529

    The sound design in this is pretty good. The simple whiffs of paper when the little dudes are putting them on the machine is a nice attention to detail.

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +8

      Does anyone know the music at 3:47

    • @pisspants4629
      @pisspants4629 3 ปีที่แล้ว +1

      @@AkariInsko we dont

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +1

      @@pisspants4629 ok

    • @KornYellow
      @KornYellow 2 ปีที่แล้ว +15

      @@AkariInsko Un Demonio - Perro Patan

    • @lebster_
      @lebster_ ปีที่แล้ว

      @@KornYellow th-cam.com/video/wpwpa098dGI/w-d-xo.html

  • @icantthinkofaname8139
    @icantthinkofaname8139 2 ปีที่แล้ว +1492

    Fun fact: the dislikes are all 12,000 H machines disliking before they disappear

    • @thatguybrody4819
      @thatguybrody4819 2 ปีที่แล้ว +73

      Their dislikes have now faded with them (unless you have the return dislike extension)

    • @snail123O
      @snail123O 2 ปีที่แล้ว +2

      yah just dont hald lmao

    • @JonathanSteadman2003
      @JonathanSteadman2003 ปีที่แล้ว +14

      @@thatguybrody4819 I don't like it when TH-cam removed the dislike feature. Not a big fan. Now I can't tell if it's a good video or not. Lol

    • @LieseFury
      @LieseFury ปีที่แล้ว +37

      @@JonathanSteadman2003 This is one of the few TH-cam videos where a high number of dislikes actually indicates ignorant viewers, not a bad video. Seems to be more common with science videos unfortunately.

    • @jeltje50
      @jeltje50 ปีที่แล้ว +2

      @@JonathanSteadman2003 dislikes were kinda meaningless.
      And if a video was really disliked you can easily get to that conclusion when reading the top few comments.

  • @chips_lol9537
    @chips_lol9537 ปีที่แล้ว +15

    Props for chaumas for getting here everyday just to correct some peeps out there

  • @GarryDumblowski
    @GarryDumblowski 11 หลายเดือนก่อน +8

    I remember when I learned the Halting problem isn't named after some guy, it literally just means "the problem about halting", I felt so stupid.

  • @connorking8503
    @connorking8503 5 ปีที่แล้ว +1627

    Note that this doesn't mean we can't build a version of H that solves the Halting Problem _really well_ but not perfectly.

    • @Sleestiq
      @Sleestiq 4 ปีที่แล้ว +95

      Just don't use N

    • @want-diversecontent3887
      @want-diversecontent3887 4 ปีที่แล้ว +248

      @@Sleestiq
      That is not how logic works
      If in one case it's wrong, it's not perfect.

    • @techmage89
      @techmage89 4 ปีที่แล้ว +41

      Or that we can't build a useful machine that is less capable than a Turing Machine for which a Turing Machine can solve the Halting Problem.

    • @want-diversecontent3887
      @want-diversecontent3887 4 ปีที่แล้ว +23

      In baba is you's case, it checks to see if it has gone through 200 instructions in one movement. If so, cue the infinite loop screen.

    • @withnosensetv
      @withnosensetv 4 ปีที่แล้ว +68

      @@want-diversecontent3887 The problem here is that the blueprint of X, which gets fed to H, contains H itself. With any other input, this can work, however, this would cause an infinite recursion, causing it to get stuck. This isn't a flaw in H, it's a flaw on X.
      Also, "if it doesn't work in one case it can't work in any case" simply isn't true.

  • @LordQueezle
    @LordQueezle 3 ปีที่แล้ว +1173

    4:52 "this simple machine is called the negator"
    Programmers: !

    • @Aexus1
      @Aexus1 2 ปีที่แล้ว +61

      normal input: e or u
      negator: ē or ū

    • @rivandoalrasyid1499
      @rivandoalrasyid1499 2 ปีที่แล้ว +8

      lol

    • @andrewvella7829
      @andrewvella7829 2 ปีที่แล้ว +42

      @It's Ken ! is a negation operator !(true) = false

    • @jonathanhanna9459
      @jonathanhanna9459 2 ปีที่แล้ว +7

      False!

    • @EntergeticalakaBot
      @EntergeticalakaBot 2 ปีที่แล้ว +9

      @@jonathanhanna9459 thatsifjdkofdsyhjnferhwiehfgbewhfoewienfocjshnfkeihfnrjokdpqadnoebfejsdhieuodshgiojnxbizgaopskjmnerbgidfhsuo

  • @krns1695
    @krns1695 ปีที่แล้ว +529

    love how it goes from computing to quantum phylosophy in one phrase

    • @chaumas
      @chaumas ปีที่แล้ว +80

      No, there's nothing quantum about this. These are simple, deterministic machines. What this proof shows is just a contradiction.

    • @SonicMaster519
      @SonicMaster519 ปีที่แล้ว +10

      @@chaumas Mate, I think you’ve missed a joke.

    • @xmsre
      @xmsre ปีที่แล้ว

      @@chaumas😂😂😂😂 some people take stuff to serious

    • @vedvod
      @vedvod ปีที่แล้ว +8

      @@chaumas"QED"

    • @chaomatic5328
      @chaomatic5328 ปีที่แล้ว +7

      @@chaumas dude is too literal, like a computer

  • @mistyborn235
    @mistyborn235 ปีที่แล้ว +19

    Your FAQ link really helped me get past my discrpencies with the existence of N. Thankyou for the great content!

  • @BenBen-bb7bb
    @BenBen-bb7bb ปีที่แล้ว +592

    Am I the only one that feels so bad for H? “H was wrong yet again, but H is supposed to always be right” like damn

    • @bubbsterr4967
      @bubbsterr4967 ปีที่แล้ว +62

      Maybe H is just suffering from having such high expectations. Give the man a break, he was right every time until we actively did everything we could to confuse him. My man deserves better than this

    • @tkaine7983
      @tkaine7983 ปีที่แล้ว +30

      @@bubbsterr4967 I've seen people get emotionally attached to hipothetical, not actually existent characters. But I feel like it's on a whole new level to get attached to a hipothetical, non existent character that not only doesn't exist, it also cannot possibly exist

    • @someguy70
      @someguy70 ปีที่แล้ว +9

      @@tkaine7983 you are heartless

    • @Greenalien_
      @Greenalien_ ปีที่แล้ว +1

      i know right? this video is the saddest video ever. H is suppost to be right!

    • @Staleyisnowinchains
      @Staleyisnowinchains ปีที่แล้ว +13

      Besides the pressure to always be right, they immediately tell him that he cannot exist because he's made a mistake, pretty brutal if you ask me.

  • @maskedkoopakid1405
    @maskedkoopakid1405 4 ปีที่แล้ว +1084

    2:11 my last 2 brain cells during the test

    • @Meh
      @Meh 4 ปีที่แล้ว +30

      You made my day, thanks you.

    • @_deletus_
      @_deletus_ 4 ปีที่แล้ว +27

      What makes it better is that the guy is just watching them fail

    • @tarahill9665
      @tarahill9665 3 ปีที่แล้ว +2

      LIKED

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +3

      Does anyone know the music at 3:47

    • @theamazingcatwizard3654
      @theamazingcatwizard3654 3 ปีที่แล้ว +7

      @@_deletus_ the guy is the third brain cell being confused why they are confused.

  • @halfsine
    @halfsine 11 หลายเดือนก่อน +15

    I know this video is 9 years old, but excellent representation of computers! very easy to understand for normal people who don't have to look at blocks of text everyday

    • @sashagornostay2188
      @sashagornostay2188 11 หลายเดือนก่อน +1

      To some people, unfortunately. There are plenty of users confused about the explanation, as we can see in the comment section.
      It is, in fact, a great video.

    • @paulblart7378
      @paulblart7378 6 หลายเดือนก่อน

      @@sashagornostay2188 That's where Chaumas comes in clutch

  • @callmeandoru2627
    @callmeandoru2627 11 หลายเดือนก่อน +4

    You give a group of people a math problem to solve.
    You tell everyone that if they can solve the problem, they must remain silent.
    You then ask everyone if they can solve the problem, and then conclude that no one can solve the problem since no one speaks up.

    • @fanban2926
      @fanban2926 9 หลายเดือนก่อน

      Yeah, such a useless video

  • @bolson42
    @bolson42 3 ปีที่แล้ว +938

    All of the people saying that you have to just “remove h or n from the problem” are COMPLETELY missing the point. The point isn’t “how do we make a computer that doesn’t mess up/halt”, it’s “is there a case where a computer can’t solve a problem”. The fact that people are specifically saying to remove something from the equation to work are PROVING that the halting problem is true. That’s why we can’t just remove n or h from the problem, if x is a computer that can logically exist but h fundamentally causes it to not provide a logical solution, that in itself is a contradiction. If we didn’t have the need to remove it, there would be no problem and it would theoretically be possible for computers to do everything. But the fact that it can’t do something in a specific case proves that this is wrong via “proof by contradiction”, we assume something to be true, then say there’s a contradiction which occurs from it being true, meaning it can’t be true, and is therefore false.

    • @Pihsrosnec
      @Pihsrosnec 2 ปีที่แล้ว +50

      I think the problem is the title uses 'everything', and uses it by a literal definition. Nothing can do everything, because not everything is possible.
      But the video itself claims 'H' cannot exist because it is impossible to never be wrong, which is untrue. 'H' would simply get stuck, and therefore not be incorrect. It likely would do this before even arriving at the negator since it isn't possible for something to perfectly simulate itself and something else without having infinite complexity.

    • @ultrio325
      @ultrio325 2 ปีที่แล้ว +97

      @@Pihsrosnec The definition of H is a machine that is perfect in solving the halting problem. If perfection cannot be achieved, then H cannot exist, proving the video's point yet again.

    • @Quasar0406
      @Quasar0406 2 ปีที่แล้ว +16

      I have a stick that can be on the moon but I didnt put it on the moon so sticks cant be on the moon.

    • @Pihsrosnec
      @Pihsrosnec 2 ปีที่แล้ว +30

      @@Quasar0406 a better comparison is "all sticks are on earth" "there is a stick on the moon" "well just ignore that one"

    • @ultrio325
      @ultrio325 2 ปีที่แล้ว +56

      @@Quasar0406 It's more like:
      I have a stick that can be anywhere. I use logic to prove it can't be in place A. If my logic is valid, then the assumption that the stick can be anywhere is false. Therefore any sticks that "can be anywhere" cannot exist.

  • @yackamajez
    @yackamajez 4 ปีที่แล้ว +1095

    I remember watching this video years ago and thinking it was stupid. Now I’ve actually taken some CS courses in college and I finally understand lol

    • @lolatomroflsinnlos
      @lolatomroflsinnlos 3 ปีที่แล้ว +34

      @@LegendLength Goebbels Incompleteness? ಠ_ಠ

    • @mattrowlands5751
      @mattrowlands5751 3 ปีที่แล้ว +28

      This video IS stupid and pointless..

    • @yackamajez
      @yackamajez 3 ปีที่แล้ว +82

      ​@@LegendLength To my understanding, the point is just to prove that there are some programs out there that can't be computed. Gödel's Incompleteness is basically the same thing except it's just saying that there are some mathematical truths that can never be proven to be true.

    • @yackamajez
      @yackamajez 3 ปีที่แล้ว +81

      ​@Ezekiele Hurley I agree, I think that's why I thought this video was stupid when I first watched it years ago. It wasn't until I understood the theory behind the halting problem that I understood what this video was trying to do. I think the problem is that it attempts to give a concrete representation of a very theoretical problem

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +9

      @@mattrowlands5751 ok troller

  • @a2sbestos768
    @a2sbestos768 ปีที่แล้ว +14

    This video is pure art, I keep coming back to it.

    • @atomicnumber202
      @atomicnumber202 9 หลายเดือนก่อน

      Yeah but why

    • @dvoiceotruth
      @dvoiceotruth 7 หลายเดือนก่อน

      because he doesn't understand it in one go.@@atomicnumber202

  • @contafamilia2092
    @contafamilia2092 ปีที่แล้ว +4

    Stumbling upon this video a little drunk after a long Friday of work was the best thing today. The stage assistants, curtains and music were absolutely perfect hahaha

  • @chaumas
    @chaumas 3 ปีที่แล้ว +2412

    So it seems like a common misunderstanding among commenters here is thinking that machine X is merely "broken" or that it "fails". That is not what happens in this proof. X is not merely a broken machine, but a _full on paradox._ It's not that X does the wrong thing, it's that neither "halts" nor "doesn't halt" is a logically consistent answer for what X does. This is a contradiction, not merely a broken machine. That's why you can't just "remove the negator" or do anything else to fix X. X itself is a machine that cannot exist, and since every component besides H can obviously exist, and the way they are connected is together obviously fine, that leaves H as the impossible component.
    If X cannot exist, then H cannot exist, and so there is no algorithm that can solve the halting problem for all inputs.

    • @canon-de-75
      @canon-de-75 2 ปีที่แล้ว +176

      Also consider that the H part of the x machine’s operation when fed its own blueprint would require infinite processing power to be accurate, because it would have to simulate an infinite nesting loop of X machines being fed their own blueprints and simulating themselves. Strange that wasn’t mentioned in the video.

    • @chaumas
      @chaumas 2 ปีที่แล้ว +188

      @@canon-de-75 Well, it’s not mentioned in the video because it’s not true. There is no assumption that H has to actually evaluate its input step by step (in fact, we can immediately rule that out, because a machine that worked that way wouldn’t _ever_ be able to detect non-halting programs). The question is whether a machine can do some kind of clever analysis to solve the halting problem, sidestepping the problem of infinite evaluation time, and the answer the proof gives us is “no”.
      The beauty of this proof is that you don’t have to figure out _anything_ about how H would actually do its job. Simply by its definition, we can see that it’s logically impossible. We don’t have to think about how much processing power it would take, or how it would reason about its inputs. All we have to know is “solves the halting problem”, and we can immediately demonstrate that it’s impossible. And that’s also why this is so useful. We can take other problems and notice that they have the “shape” of solving the halting problem, and if we can prove that connection, we can show that those problems are also unsolvable - again, sidestepping any further reasoning about how a machine would try to solve those problems.

    • @rawlaalawr9009
      @rawlaalawr9009 2 ปีที่แล้ว +62

      @@chaumas One thing I've always wondered about this proof is, what happens if we remove the assumption that machine H is, itself, a Turing device? In other words, what if we prove the existence of algorithms that exist, but cannot be represented with Turing-compatible logic? Then this particular proof would break, since it would be plausible for H to analyze only Turing algorithms, machine X cannot be assembled in the first place, and nobody is implying that there exists a Turing algorithm for solving the halting problem of Turing algorithms.
      Or what if we go the other way, and say that H can analyze code that only runs on some subset of its own code? Even if we had a single opcode that is required for H to run, yet H cannot analyze any code which includes that opcode, does the proof still hold true?
      Kind of like when someone says "3 * 0 = 2 * 0, divide both sides by 0, we get 3 = 2!" we do not say "we've proven division cannot exist!" but instead we say "DON'T DO THAT!"
      The proof does not disprove the possibility of H existing. It only disproves the possibility of an H that, itself, cannot halt.

    • @chaumas
      @chaumas 2 ปีที่แล้ว +60

      @@rawlaalawr9009 Yeah, you can solve the Halting problem over Turing machines using something more powerful than a Turing machine, as I understand it. There’s a whole subfield of study about hypothetical machines that can execute a countably infinite number of steps in a finite amount of time. I’m not super well versed on this topic. We have no reason to believe that anything close to these machines is physically possible, so it’s getting way out into the realm of theory for theory’s sake. But my understanding is that while these hypothetical machines can decide the halting problem over Turing machines, they have their _own_ halting problem which is similarly undecidable by themselves.

    • @rawlaalawr9009
      @rawlaalawr9009 2 ปีที่แล้ว +13

      @@chaumas I thought so. Now that I think more deeply about it, the thing that bothers me most about the classic proof is that it fails to produce an algorithm that cannot be analyzed. It only ever ends up saying "This algorithm cannot exist, because it contains itself, which is an algorithm that cannot exist". Which... well, isn't actually saying anything substantial, is it?
      It seems like a more intuitive way of proving the halting problem impossible to solve, is to write a working algorithm which is impossible to analyze. Rather than the classic proof, which only defines, then subsequently fails to provide, an algorithm which cannot be analyzed. So I wonder, does there exist a block of C++ code that works, produces expected results with certain inputs, yet becomes utterly indeterminate when given other inputs? I feel like I've run into these before. The game of life comes to mind, which can apparently simulate itself.
      But when you force the problem into the realm of practicality, you by necessity need to introduce limitations. Given infinite memory, the game of life might be indeterminate for some inputs... but do any such inputs exist if we limit the size of the board, and say the program will halt if it tries to overflow? And if there exist no such inputs, is a purely theoretical H-solver of any use to us whatsoever, when every single working system in the world operates under definable constraints?

  • @NOMANorginal
    @NOMANorginal 7 ปีที่แล้ว +746

    R.I.P.
    "H"
    2013-never
    "Won't be missed, because never existed"

    • @darkcloud12345678900
      @darkcloud12345678900 6 ปีที่แล้ว +18

      you deserve all the thumbs

    • @chocolatecheesecake4821
      @chocolatecheesecake4821 6 ปีที่แล้ว +4

      sounds kinky

    • @Axodus
      @Axodus 6 ปีที่แล้ว +8

      R.I.P.
      "Humans"
      2013-never
      "Couldn't solve paradoxes either so I guess we never exist too huh.."

    • @D_Vice88
      @D_Vice88 6 ปีที่แล้ว +6

      why can paradox's not remain unsolved? that sounds ridiculous

    • @bonbonpony
      @bonbonpony 5 ปีที่แล้ว

      @@Axodus The only way to avoid the halting problem is to not attempt to decide on a problem that doesn't have an answer ;) Humans can do that. And that makes us superior over machines. Remember that computer from the "War Games" movie? The only way to win that game (a paradox) is not to play ;)

  • @bettercalldelta
    @bettercalldelta ปีที่แล้ว +19

    Chaumas I just wanna say again you're a legend for still responding to these 9 year olds. Big respect

  • @saifuusuri
    @saifuusuri ปีที่แล้ว +45

    Took me awhile, but I think I get it. For anyone else like me, here's the way I see it:
    (X) is made to receive images, since the top part is a copier. (H) thinks "If (X) receives images, it won't get stuck." (N) negates this, and the machine gets stuck.
    Assuming (H) can learn from this experience and realize that being fed a blueprint specifically will cause it to get stuck, it guesses that (X) will get stuck, which it doesn't. It's a paradox. It doesn't matter how many problems (H) can solve, as long as there's one problem it can't solve, the Halting Problem is true.

    • @ViostarltonTheAVSMaster4338
      @ViostarltonTheAVSMaster4338 ปีที่แล้ว +2

      Basically...
      (H): Not stuck.
      (N): The exact opposite.

    • @official-obama
      @official-obama ปีที่แล้ว +9

      H was wrong. But H is supposed to be always right. That's the problem, H can't be always right.
      Also, mathematical "machines" can't learn from their experiences. Msthematical "machines" also can't guess.
      And, we were guessing what H would output, instead of finding out what it would say, because H doesn't exist. We were just seeing what it could output. As it turns out, neither option worked.

    • @MikehMike01
      @MikehMike01 ปีที่แล้ว +3

      It’s not a paradox, it’s a contradiction

    • @moderator_man
      @moderator_man ปีที่แล้ว

      What happens if you remove N, I wonder 🧐

    • @official-obama
      @official-obama ปีที่แล้ว +1

      @@moderator_man from what?

  • @crimsonDestroyer
    @crimsonDestroyer 3 ปีที่แล้ว +503

    For some reason, "This is a photocopying machine" is really funny to me.

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +9

      Does anyone know the music at 3:47

    • @TheMrLaito
      @TheMrLaito 3 ปีที่แล้ว +15

      Dunno why you're asking in a random comment but here it is
      th-cam.com/video/wpwpa098dGI/w-d-xo.html

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +2

      @@TheMrLaito oh cool, thanks.

    • @josephdoria5237
      @josephdoria5237 3 ปีที่แล้ว +1

      “This is a bucket.”

    • @AexisRai
      @AexisRai 3 ปีที่แล้ว +4

      Sudden incongruence with the rest of the video.
      Everything earlier was some abstract "computing machine" with a formally defined function.
      Aaaand then there's a photocopier lol, of course you already know what that does.

  • @luciuspertis5672
    @luciuspertis5672 5 ปีที่แล้ว +1006

    (SECOND PARA IS IMPORTANT, don't skip)
    A lot of people do not seem to be following the argument rigorously enough. This is a proof by contradiction; we assume something to be true, and use this assumption to arrive at a logical contradiction, thus proving that our initial assumption was incorrect. In this case, our assumption is that such a machine as H exists, with the key thing about H being that it is perfect, and always gives the right answer. We then use this assumption to see if we can find a logical contradiction. We might engineer a situation that seems needlessly unfair, but this is the whole idea. Once we run into the logical contradiction (the fact that H was wrong, even though it is by definition never wrong), we know our assumption MUST be false, our assumption being that such a machine as H exists. Nothing remains of H; even though it was just one, cleverly designed situation that it couldn't handle, the fact that it couldn't handle it, completely eradicates any trace of it. This is a very general form of proof.
    The realisation through a proof like this, is that the assumption you made, does not even make sense as a logical concept. Because that fact is not obvious, we have to do some work to reveal it, but if we were insanely smart, we would know that H doesn't make sense as a concept, just like we know now that a '4 sided triangle' is nonsensical. It's not that H is too hard to build, it's that it is literally an incoherent idea, but one whose incoherence is far from obvious and requires formal proof.
    This was originally commented by -
    J Thomas
    7 months ago (edited) (256 likes)
    th-cam.com/channels/Tq8Xel3cF7GYnIxBBBhM9Q.html
    thought it should not get lost in all the trifle jokes .....

    • @dracibatic2433
      @dracibatic2433 5 ปีที่แล้ว +9

      I dont understand what H is but this video is really long and i dont want to watch it...
      I want a tldr for the video snd i dont know who to ask. This was a very interesting comment regardless of my lack of understanding though

    • @eferrari96
      @eferrari96 4 ปีที่แล้ว +84

      @@dracibatic2433 well it really is not that easy and 8 minutes are not that long compared to an whole lecture for a semester about computation and complexity that we have to take at our university

    • @hanseldsilva2393
      @hanseldsilva2393 4 ปีที่แล้ว +58

      @@dracibatic2433 I'm a CS student and, r u fkin kidding me? You hadn't 8 minutes to watch what spoon-feeding looks like.

    • @dracibatic2433
      @dracibatic2433 4 ปีที่แล้ว +6

      Hansel D'silva yes
      I mean, i JUST spent 8 minutes watching a kurzgesagt video, so i guess that says a lot about me

    • @MostafaElSakari
      @MostafaElSakari 4 ปีที่แล้ว +45

      William McDougal this video IS a tldr

  • @ZoiusGM
    @ZoiusGM 6 หลายเดือนก่อน +3

    I watched this exact video many years ago and today, October 2023 I wanted to remember what the halting problem was. I *still* had the memory of this video and I was looking for it! I didn't understand other videos but this one. Very good 👍🏼.

  • @FuneFox
    @FuneFox 8 หลายเดือนก่อน +3

    The song is "Funny Business" by "Haim Mazar"

  • @Daver2212
    @Daver2212 5 ปีที่แล้ว +468

    Exam Question: "Explain The Halting Program"
    Answer: "H get stuck when you feed it with X"
    PASS

    • @hanseldsilva2393
      @hanseldsilva2393 4 ปีที่แล้ว +13

      Sure, just mention what they H & X are above

    • @davidt01
      @davidt01 4 ปีที่แล้ว +21

      @Reggie Madison Did you watch the video?

    • @SeanK1684
      @SeanK1684 4 ปีที่แล้ว +1

      😂 😂 😂 😂

    • @bolson42
      @bolson42 3 ปีที่แล้ว +2

      It’s more like, if you feed X and X, H will make a contradiction, proving H cannot exist. Nothing gets “stuck” because H is stated to never get stuck, and the state of X is ambiguous.

    • @spacetechempire510
      @spacetechempire510 3 ปีที่แล้ว

      You can program a computer system when it detects that the problem would create a logic loop that is unnecessary. Or if it would get stuck that it would just say the program is not compatible with the machine/software

  • @lunariousmoon
    @lunariousmoon ปีที่แล้ว +102

    Me: it has a real decent animation for a video make in 2008
    Me: *Realizes 8 years ago was 2014 and not 2008*

    • @julianw1010
      @julianw1010 ปีที่แล้ว +10

      Jesus I just realized. Thought is was a video of 2007 or something. 2014? What?

    • @icecold1791
      @icecold1791 ปีที่แล้ว +5

      @@julianw1010me too. animation style looks goofy and shitty enough for it to be 2007 vid, but quality is too good

    • @punchthecake82
      @punchthecake82 ปีที่แล้ว

      when you realize youre older than you think
      like man
      im 14 and i though i was 14

    • @Romess1
      @Romess1 ปีที่แล้ว

      Dude this was a nice animation in 1994 during mortal Kombat and the birth of clippy. It looks stupid and the theory is very very simple.

    • @julianw1010
      @julianw1010 ปีที่แล้ว

      @@Romess1 "Very simple" you say? See the 20k comments who had big trouble understanding it

  • @FAFAA-ro3ve
    @FAFAA-ro3ve ปีที่แล้ว +10

    I come back to this video from time to time to see if chaumas is still fighting in the comment section.

    • @FAFAA-ro3ve
      @FAFAA-ro3ve ปีที่แล้ว +1

      I mean, even superheroes need rest.

    • @chaumas
      @chaumas ปีที่แล้ว +4

      It’s less like fighting at this point, and more like quietly tending a garden every few days. I’m sure the algorithm will randomly decide to start putting this video in front of tons of people again someday, and the storm will return.

    • @FAFAA-ro3ve
      @FAFAA-ro3ve ปีที่แล้ว +2

      ​@@chaumas I didn't know this can be like a chill gardening work. Impressive.

    • @julianw1010
      @julianw1010 ปีที่แล้ว +1

      @@FAFAA-ro3ve Depends as what you're work. You might be used to that, for example as a software developer, that many people don't understand it. And that's fine

    • @julianw1010
      @julianw1010 ปีที่แล้ว +1

      Yeah. It kinda amuses me

  • @reddistone
    @reddistone 5 หลายเดือนก่อน +3

    For anyone wondering, the name of the song is " Un Demonio (feat. Mala K) " (Perro Patan)

    • @alpbali3504
      @alpbali3504 2 หลายเดือนก่อน

      Thank you

  • @ParrotParrot
    @ParrotParrot 5 ปีที่แล้ว +740

    A machine that always gets stuck can never be wrong

    • @nakar882
      @nakar882 4 ปีที่แล้ว +37

      Damn thats right

    • @Ruperdepuup
      @Ruperdepuup 4 ปีที่แล้ว +78

      ... and never be right.

    • @phillipbrandel7932
      @phillipbrandel7932 4 ปีที่แล้ว +37

      A machine that always gets stuck is also not machine H

    • @alanbam5590
      @alanbam5590 4 ปีที่แล้ว

      That means its stuck. Meaning computers cant replace humans.

    • @RomanZerstoren
      @RomanZerstoren 4 ปีที่แล้ว +5

      ... and never be USEFUL.

  • @Dacoool
    @Dacoool 6 ปีที่แล้ว +292

    So, the moral of the story is not to play a game of checkers with a calculator.

    • @suwinkhamchaiwong8382
      @suwinkhamchaiwong8382 6 ปีที่แล้ว

      Dacoool! No.

    • @kodethecoder
      @kodethecoder 5 ปีที่แล้ว +3

      What would happen if two c machines went up against each other who would win (if one machine had a black ant the other a red)

    • @cool_scatter
      @cool_scatter 5 ปีที่แล้ว +1

      @@kodethecoder depends who goes first, although I'm not sure if the first or second player wins in checkers if both are playing perfectly

    • @feritperliare2890
      @feritperliare2890 5 ปีที่แล้ว +1

      catlover Iuraduri the red side would win c just plays the best it could I think that they will get stuck with no moves because each one will stay away and thus making it not stuck but an infinite loop of escaping

    • @thomasgamer4000
      @thomasgamer4000 2 ปีที่แล้ว

      yoo dacool?

  • @hoodiesticks
    @hoodiesticks 11 หลายเดือนก่อน +7

    Why does this matter? Because reducibility.
    There's a trick you can pull in mathematics where you can "reduce" one problem to another, which basically means "If this problem can be solved, than this other problem can also be solved". Since we know the Halting Problem is unsolvable, it's impossible for any other solvable problem to reduce to it. So if the problem you're trying to solve is reducible to the Halting Problem, you should just give up now because you're never going to find a solution.
    This can catch even very smart computer scientists off guard sometimes, because there are a lot of problems that really feel like they should be solvable, but end up being reducible to the Halting Problem.

    • @LuckLekLeo
      @LuckLekLeo 10 หลายเดือนก่อน

      interesting. what would be the reduction in words (instead of saying it reduces to the halting problem). I mean, what is exactly the contradiction or the unsolvable aspect of this problem? Is it that if you wondering if your machine can get every answer right it wont or what? i cant figure out

    • @hoodiesticks
      @hoodiesticks 10 หลายเดือนก่อน +1

      @@LuckLekLeo I'm not entirely sure what you're asking, but maybe an example will help.
      Wang Tiles (en.m.wikipedia.org/wiki/Wang_tile ) are a type of square tile with colored glue on each side. To fill a grid with Wang Tiles, the colors of adjacent tiles need to match. So if you're given a specific set of Wang Tiles and a grid with a specific size, is it possible to fill the grid completely with valid tiles?
      Now, some combinations of tiles will obviously fail. It's not hard to deliberately pick a tile set and grid that makes this impossible. Likewise, some combinations are obviously possible. If you include a Wang tile with the same color on all 4 sides, you can just repeat that tile on every square of the grid and easily fill it up. But let's say you don't know in advance what tiles or grid shape you're going to be given. Can you write an algorithm that, no matter what combination you give it, will spit out a "Yes" or "No" answer telling you whether or not the grid can be tiled?
      This, as it turns out, cannot be done. People have demonstrated (using some pretty creative math) that if a Wang Tile decider machine *could* be made, you could use it to solve the Halting Problem. And since the Halting Problem is unsolvable, then the Wang Tile problem is also unsolvable. It doesn't look like it has anything to do with the Halting Problem at first glance, but math takes some weird twists and turns sometimes.

    • @LuckLekLeo
      @LuckLekLeo 10 หลายเดือนก่อน

      @@hoodiesticks it helped to elucidate perfectly, thanks you very much

  • @julianw1010
    @julianw1010 2 หลายเดือนก่อน +2

    After taking the Computability and Complexity class 2 years ago and failing to get an exam admission, then retaking this class last year, I finally managed to write my exam on it. Computability and Complexity theory is by far the most interesting thing I have ever seen, and it was by far the hardest class I've ever taken. It really pushes the limits of human understanding of what is possible and what not.
    The Halting problem was the first thing which really blew my mind when I first saw this video years ago. I didn't understand it really, but it was so bizarre that it has always stuck in my head. And when my professor explained the halting problem in his classes everything finally made sense. This is just amazing. Theoretical Computer Science is simply amazing.

  • @7thdayfallout
    @7thdayfallout 6 ปีที่แล้ว +79

    Argue all you want about the logic, but we can all agree that the sound the computers make when spitting out paper is really nice.

    • @majj6598
      @majj6598 5 ปีที่แล้ว

      Agreed

    • @pianoplaynight
      @pianoplaynight 3 ปีที่แล้ว +1

      No need to agree about the logic either, which works. It's just that some people don't get it

  • @alejotassile6441
    @alejotassile6441 ปีที่แล้ว +1146

    When she said "what you think happen if you feed X with its own blueprint?" I remembered how I felt when I started learning about how the brain works in a deeper detail.

    • @julianw1010
      @julianw1010 ปีที่แล้ว +18

      I wonder, will we ever full figure out how our own brain works? And if that's even possible?

    • @alejotassile6441
      @alejotassile6441 ปีที่แล้ว +178

      If the brain were so simple that we could understand it, we would be so simple that we could not understand it!

    • @rohithkumarsp
      @rohithkumarsp ปีที่แล้ว +5

      I don't see anything - Bernard

    • @hiigari5218
      @hiigari5218 ปีที่แล้ว +3

      that's unfortunate. i can understand how my useless brain works

    • @grunchchristmas
      @grunchchristmas ปีที่แล้ว +6

      @@hiigari5218 then your brain is bad

  • @minhtoriwt
    @minhtoriwt ปีที่แล้ว +25

    Sometimes i must go through these kinds of videos to witness the ignorance people may get with their belief that AI is gonna solve a contradiction

    • @chaumas
      @chaumas ปีที่แล้ว +10

      Hey now, maybe AI will figure out how to physically build a machine that executes an infinite number of steps in finite time. The Church-Turing Hypothesis _is_ just a hypothesis after all.

    • @FawfulDied
      @FawfulDied ปีที่แล้ว

      ​@@chaumas the theory of computation is just a theory ;)

    • @xanthippus3190
      @xanthippus3190 10 หลายเดือนก่อน +1

      "AI will replace us bro!"
      😂

    • @HauntedHarmonics
      @HauntedHarmonics 10 หลายเดือนก่อน

      AI doesn’t need to be infallible, omnipotent, or capable of solving the halting problem to do incredible things. It just needs to be marginally smarter than we are.
      I don’t blame you for making this mistake though. As humans, it’s hard for us to fathom an intelligence greater than our own. So much so that some even conflate the possibility with the logically impossible.
      But remember; our brains aren’t magic. They’re just doing computation at the end of the day. And we’ve used our meat computers to do incredible things. Now imagine a purpose built brain, clocked at several orders of magnitude faster than the human brain. What could that achieve?
      Bottom line is, if advanced AGI were impossible, the human brain wouldn’t exist

  • @marcfyre
    @marcfyre ปีที่แล้ว +5

    So, in other words, a possible simple way of describing the Halting Problem is as a computer's inability to "truly" realize when it's been given an unsolvable task, and to break from it and move on rather than infinitely trying to do so and never succeeding?

    • @chaumas
      @chaumas ปีที่แล้ว +9

      I think that any time you talk about a computer “realizing” things, it’s just going to lead to confusion on this topic. The computer doesn’t realize anything; it follows through mechanical steps according to a precisely defined set of rules.
      What the proof shows us is that there is no set of rules you can define which will result in a machine spitting out the correct answer to the halting problem no matter what inputs you give it.
      If you _try_ to build a machine that does that, you’ll fail, but the proof doesn’t say what your failure will look like. Your machine could get stuck, or it could just give the wrong answer in an infinite number of cases, or some mix of the two.
      All we know is that your machine _won’t_ give the right answer in every case, because we know precisely how to construct an input where it doesn’t.

    • @godlyvex5543
      @godlyvex5543 ปีที่แล้ว +1

      H is supposed to be a computer that truly realizes when something would get stuck on an unsolvable task. We just proved that it would be entirely impossible for H to exist and be perfect.

  • @GermaphobeMusic
    @GermaphobeMusic 5 ปีที่แล้ว +210

    H: **exists**
    N: Oh, I don't think so.

  • @damejelyas
    @damejelyas 5 ปีที่แล้ว +813

    But the really question can H play crysis

    • @tttc
      @tttc 5 ปีที่แล้ว +2

      That's funny man

    • @kriszenn1125
      @kriszenn1125 5 ปีที่แล้ว +2

      r/ihadastroke

    • @GhalidiusTrident
      @GhalidiusTrident 5 ปีที่แล้ว

      I only jusy noticed that

    • @mojeo522
      @mojeo522 5 ปีที่แล้ว +5

      Can it play minecraft with 4k Shader?

    • @johnfrancisdoe1563
      @johnfrancisdoe1563 5 ปีที่แล้ว +4

      damej elyas If H existed, it could detect if other computers lock up when trying to play Crysis. It probably can't tell if that other computer will actually play Crysis fail to play Crysis or outright refuse to play Crysis. Only if it will actually freeze up if you feed it a copy of Crysis and the player input.

  • @unflexian
    @unflexian ปีที่แล้ว +5

    chaumas you are iconic

  • @orangnejones
    @orangnejones ปีที่แล้ว +2

    Can we, for the 10th anniversary of this video, give C a modern gaming rig and pit it against the chess machine in the description?

  • @ThatWarioGiant
    @ThatWarioGiant 5 ปีที่แล้ว +345

    An imperfect halting machine can exist. A perfect one cannot. Therefore computers can’t do everything. That’s all this video is saying.

    • @christianchan1144
      @christianchan1144 5 ปีที่แล้ว +10

      The proof to the unsolvability of this problem is by contradiction

    • @joshuagollaher9614
      @joshuagollaher9614 3 ปีที่แล้ว +1

      킹늅 i don’t think you understand

    • @HardGuess
      @HardGuess 3 ปีที่แล้ว

      Finally, someone who gets this.

    • @capitaopacoca8454
      @capitaopacoca8454 3 ปีที่แล้ว

      Are there people who don't understand the video?

    • @null5573
      @null5573 2 ปีที่แล้ว

      Can something even do everything?

  • @HarvoSpoon
    @HarvoSpoon 4 ปีที่แล้ว +284

    1:16 "C plays checkers so well it will never lose a game!"
    *moves into optimal position to get taken out*

    • @KshitijKale
      @KshitijKale 4 ปีที่แล้ว +26

      It's an equal sacrifice on both sides. Also, you sometimes need to be aggressive it games like chess and checkers.

    • @jort93z
      @jort93z 4 ปีที่แล้ว +10

      Maybe for that round.
      But checkers is a game where you have to think ahead. He can immediatly take back the opponents piece and is in quite a good position afterwards. In checkers it is very common that you go for 1 for 1 trades, especially early in the game. Traps where you sacrifice a piece are very common.

    • @psi730
      @psi730 3 ปีที่แล้ว +1

      but can then take away one of the enemy's stones

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว

      Does anyone know the music at 3:47

    • @JesterAzazel
      @JesterAzazel 3 ปีที่แล้ว +3

      White has a pre-set jump limit. With this in mind, red sent wave after wave of its own men until the pre-set limit was reached, and the white team shut down.

  • @danielisgamer
    @danielisgamer ปีที่แล้ว +1

    Damn this brings back nostalgia for me, not because I saw it in school or something, I just saw it on my own

  • @qkreltms
    @qkreltms 10 หลายเดือนก่อน +3

    H는 "모든" 문제를 해결할 수 있다가 포인트입니다.
    H가 포함된 X를 실행했을 때 문제가 풀 수 없다는게 증명이 됐으므로 H는 모든 문제를 해결할 수 없습니다. 다만, 부분적으로 해결할 수 있는 문제가 있을 뿐

  • @LaurieKoudstaal
    @LaurieKoudstaal 5 ปีที่แล้ว +153

    For people in the comments who claim this is entirely theoretical, I say this: it is important for a programmer to recognise when they’re attempting to solve the halting problem. It comes up in disguise in a number of questions we might like to know about the code we write.

    • @naruto-4990
      @naruto-4990 5 ปีที่แล้ว +5

      Can you specify some of those please?

    • @LaurieKoudstaal
      @LaurieKoudstaal 5 ปีที่แล้ว +18

      Naruto- cs.stackexchange.com/a/32853

    • @naruto-4990
      @naruto-4990 5 ปีที่แล้ว +2

      Thank you for the link laurie :)

    • @christianchan1144
      @christianchan1144 5 ปีที่แล้ว +6

      True! A famous problem my professor gave us was this: Can you make a program that acts as a "teaching assistant" (for lack of a better phrase). The inputs are program P and specifications S and the output should be "correct" or "incorrect" depending if the program satisfies the specifications. This program is impossible to build, because it is possible to have this specification for S: Can it halt?

    • @ryanprov
      @ryanprov 5 ปีที่แล้ว +16

      @@christianchan1144 In fact, it turns out that you can't write such a program for ANY specification -- that is, even if the specification is defined in advance rather than given as an input, you can't build that program because it would have to solve the halting problem anyway (as long as the specification is about the behavior of the program and is non-trivial, meaning it's not just always true or always false for any input program).
      Think about an antivirus software that can examine a program and determine if it does anything malicious. This is exactly the problem you described with a fixed specification about the behavior of the input program that is non-trivial. What happens if you give it a program to examine that never halts, that has an infinite loop or something?
      Let's say it calls that program "not malicious". Now all you have to do is package together any program followed by a purposely dangerous program that you know the antivirus software will properly detect as "malicious". If the first program halts, it continues to your hardcoded dangerous program and your antivirus says "malicious"; if it doesn't halt it will never move on and it says "not malicious" as defined above. Now your antivirus has solved the halting problem for the first program, which is not possible.
      If we reverse the assumption above, so that the antivirus calls non-halting programs "malicious" (it has to be one or the other), then we just use a safe program instead of a dangerous one at the end. Now if the prefixed program halts it says "not malicious" and if it doesn't it says "malicious".
      Either way, the point is that there can be no perfect antivirus software because of the halting problem. You may say "well if the program it is checking never halts, then it shouldn't decide malicious or not either way" and that is exactly the point. It can't decide malicious or not for every given arbitrary program.
      And this is true for any non-trivial specification, as you might imagine. This is why the halting problem is so important, because it can pop up in all sorts of subtle ways... like how there can be no perfect antivirus that will always tell you if a given program is malicious or not for any program, or how you can't write a tool that will examine a server and tell you if it will ever crash, or even that you can't write a program that will always tell you if a given program multiplies input numbers by 2! All of these are equivalent to solving the halting problem, even if they don't seem like it.
      Of course this is all talking about ideal programs, and obviously antivirus software does exist, and it may be correct most or even almost all of the time, but this is about knowing that it can never be perfect for all inputs. Not because we aren't good enough programmers, or because we haven't figured out the right algorithm yet, but because it is provably impossible.
      (For those interested in learning more, check out the Wikipedia page for Rice's Theorem -- it's really interesting!)

  • @jr_or_somthing7161
    @jr_or_somthing7161 3 ปีที่แล้ว +95

    The bowling ally screen when you get a strike

    • @istachi
      @istachi 2 ปีที่แล้ว +2

      LMAO

    • @ultrio325
      @ultrio325 2 ปีที่แล้ว +2

      Damn, I also remember the bowling alley condensing an entire lecture on basic computer science into one easy to watch video when I got a strike

  • @VRnamek
    @VRnamek 4 หลายเดือนก่อน +2

    this is one of my favorite classic TH-cam videos. I return here after a good whole just after hearing a guitarist called Max Ostro performing Rhumba, by a Russian guitarist called DiDuLa... which I believe is the same intriguing music here... how the world goes round...

  • @kidredglow2060
    @kidredglow2060 ปีที่แล้ว +1

    why are videos like this always recomended, on and on, from like 10 ish years ago

  • @hesterclapp9717
    @hesterclapp9717 3 ปีที่แล้ว +491

    So if we turn all our rubbish into an H machine, it will disappear in a puff of logic

    • @allencao4579
      @allencao4579 2 ปีที่แล้ว +14

      But you can't

    • @icantthinkofaname8139
      @icantthinkofaname8139 2 ปีที่แล้ว +9

      We can try but H is a machine that is always right but it got it wrong so H cannot be built but a close replica can

    • @j.hawkins8779
      @j.hawkins8779 ปีที่แล้ว +1

      @@allencao4579 r/woooosh

    • @_TedKaczynski
      @_TedKaczynski ปีที่แล้ว +1

      @@j.hawkins8779 r/ihavereddit

    • @j.hawkins8779
      @j.hawkins8779 ปีที่แล้ว

      @@_TedKaczynski *nnnnoooooooo*

  • @IsThisLossE
    @IsThisLossE 3 ปีที่แล้ว +732

    ive seen this video at various points in my life. i like how i understand it more and more each time

    • @toebel
      @toebel 3 ปีที่แล้ว +51

      I saw this vid for the first time when I was in middle school and I thought it was stupid. Now I'm a TA for a theoretical CS course

    • @Mercer80
      @Mercer80 3 ปีที่แล้ว +9

      same bro same , each time i learn something new about the turing test

    • @austinpage9463
      @austinpage9463 2 ปีที่แล้ว +4

      It makes no sense... why do you even need a negator

    • @airmanon7213
      @airmanon7213 2 ปีที่แล้ว +20

      @@austinpage9463 The idea behind the video is that there's a counterexample to the idea that machines can solve everything.

    • @austinpage9463
      @austinpage9463 2 ปีที่แล้ว

      @@airmanon7213 and?

  • @kefahatumi9095
    @kefahatumi9095 10 หลายเดือนก่อน +1

    beautiful animation, it is just what I was looking for to explain this to my niece.

  • @Sour_Kandi
    @Sour_Kandi ปีที่แล้ว +1

    This is what I would usually watch at 3 am, the problem is that it's 9 am while I'm writing this

  • @tobiaskristianto8051
    @tobiaskristianto8051 3 ปีที่แล้ว +208

    Why do this video get so many dislikes compared to Tom Scott's video when they're basically saying the same thing?

    • @june9914
      @june9914 3 ปีที่แล้ว +17

      I guess people feel like tom scott is a bit more credible with how he explains the basis in how this problem came about? And the intuitive but incorrect answer of changing the machine itself doesn't look so obvious in his video

    • @fetchstixRHD
      @fetchstixRHD 3 ปีที่แล้ว +29

      Partly because this came out well before Tom's video, and probably partly because of audience and how well Tom explains things/people are willing to accept what he says.

    • @buttonasas
      @buttonasas 3 ปีที่แล้ว +40

      I was going to ask the same exact thing.
      Tom Scott cut some corners and one of the corners was that he skipped the whole photocopier! Like, what the hell? That's a crucial component and it was skipped. This video proof does it justice. I guess we'll need to offset the dislikes with more likes... but it's silly that there are that many in the first place.

    • @MikehMike01
      @MikehMike01 3 ปีที่แล้ว +6

      people are much more conditioned now to blindly accept what the internet tells them

    • @buttonasas
      @buttonasas 3 ปีที่แล้ว +4

      ​@@MikehMike01 Firstly, what do you mean by that? Secondly, I don't really agree. It depends on what you're comparing with but people definitely used to accept newspaper content as truth (and, of course, it wasn't that straightforward by any margin)

  • @debries1553
    @debries1553 4 ปีที่แล้ว +420

    Computer Science: * shows device that breaks halting problem *
    Commenters: "But if you don't make it halt you stop the problem"

    • @mohammedjawahri5726
      @mohammedjawahri5726 4 ปีที่แล้ว +17

      *local youtube man (re)solves the halting problem*

    • @AkariInsko
      @AkariInsko 3 ปีที่แล้ว +1

      Does anyone know the music at 3:47

    • @justjoking5252
      @justjoking5252 3 ปีที่แล้ว

      @@AkariInsko
      Bro I wish I did

  • @surthing6711
    @surthing6711 8 วันที่ผ่านมา +1

    this is the very best illustration/explanation of this problem i came across

  • @user-gb2cx1nv7x
    @user-gb2cx1nv7x ปีที่แล้ว +2

    The premise that when H receives X's blueprint, it can conclude is wrong. It can simply be stopped because it cannot be concluded.

    • @chaumas
      @chaumas ปีที่แล้ว +1

      Then H can’t exist. H’s definition is that it gives the right answer to the halting problem in every case. The halting problem always has a yes or no answer. If it’s impossible to build a machine that can give the correct answer in every case (which it is), then we say that the problem is “undecidable”.

  • @jjjthe_dark7260
    @jjjthe_dark7260 6 ปีที่แล้ว +151

    Ok so, a is for arithmetic, c is for checkers, h is for halting problem, so x is for... xylophone, of course

    • @adamcochrane3867
      @adamcochrane3867 5 ปีที่แล้ว +4

      Actually,X stands for X-container.
      (to me)

    • @adamcochrane3867
      @adamcochrane3867 5 ปีที่แล้ว +8

      Also, P is for Photocopier and N is for Negator.

    • @AlgyCuber
      @AlgyCuber 5 ปีที่แล้ว +3

      X stands for xisuma
      ....

    • @John-bb5ty
      @John-bb5ty 5 ปีที่แล้ว +2

      accumulator, counter, data, and base. the first four general registers of a processor.

    • @goldsrcorsource2551
      @goldsrcorsource2551 5 ปีที่แล้ว +6

      no, X stands for X GONNA GIVE IT TO YA

  • @3227998
    @3227998 3 ปีที่แล้ว +323

    This is gold! For anyone struggling with the abstractions in theoretical computer science courses, this video would be a treasure! I wish I watched it when I was struggling to grasp the abstraction. Thank you very much for this amazing animation. I bet it takes a lot of time put it all together.

    • @Greg-ku7rn
      @Greg-ku7rn 2 ปีที่แล้ว +5

      This is an infinite recursion problem that can't be solved by anyone, computer or otherwise. Obviously, a machine that has to recursively simulate itself simulating itself will fail not because of any limitations of computers, but because it's a logical paradox.

    • @trustytrojan
      @trustytrojan 2 ปีที่แล้ว +3

      @@Greg-ku7rn even if it wasnt a logical paradox, we cannot build a computer with infinite memory and infinitely fast processing power, so both reasons prove the Halting theorem

    • @Gomer._.
      @Gomer._. 2 ปีที่แล้ว

      @@trustytrojan But isn’t this solved by Ai rules? Like rather than comparing EVERYTHING it has “neurons” at distances measured by weights. In that case it might not be able to answer PERFECTLY because even we haven’t defined anything perfectly?

    • @Gomer._.
      @Gomer._. 2 ปีที่แล้ว

      @@trustytrojan Is it relevant if we can record the speed of light by using multiple cameras? This question is really breaking me lol, is it because we can’t perfectly define the weights of something to a computer or it can’t discover this on its own

    • @trustytrojan
      @trustytrojan 2 ปีที่แล้ว

      @@Gomer._. to be perfectly honest, bringing the topic of artificial intelligence to programming theory is just a bit extra; probably cause i don't know a thing about ai theory 😂

  • @parthea
    @parthea 9 หลายเดือนก่อน +1

    I was waiting far too long for computer B to show up, until i realized A stands for arithmetic and C for checkers….

  • @kato_dsrdr
    @kato_dsrdr ปีที่แล้ว +2

    Logic that involves self reference often ends up in paradoxes like this.

    • @dvoiceotruth
      @dvoiceotruth 7 หลายเดือนก่อน

      perhaps because logic is an illusion of self.

  • @Ironsnake345ify
    @Ironsnake345ify 6 ปีที่แล้ว +679

    *compter A does arithmetic!*
    Me: next is B?"
    *Computer C Does checkers!*
    Me: "Wait, what? where's B?"
    *Computer H does the halting problem!*
    Me: "Oh... A for arithmetic, C for checkers, H for halting problem."

    • @helderboymh
      @helderboymh 6 ปีที่แล้ว +5

      Ironsnake345ify thank you.

    • @LuisAldamiz
      @LuisAldamiz 6 ปีที่แล้ว +15

      You're smarter than me, all I managed to think was C must mean checkers, A must mean... uh, A, the first one. And H must mean... feeling hungry or something. Never mind trying to solve what X means, probably eXistenz or something...

    • @gustavalmstrom3189
      @gustavalmstrom3189 6 ปีที่แล้ว +1

      a for arithmetic h for halting problem

    • @sirshooter
      @sirshooter 6 ปีที่แล้ว +3

      then what is X

    • @condescendingonlineman2136
      @condescendingonlineman2136 6 ปีที่แล้ว +3

      *ACH!*

  • @weenkerz
    @weenkerz 5 ปีที่แล้ว +225

    H: Stuck
    N: No u

    • @adirbarak5256
      @adirbarak5256 4 ปีที่แล้ว +2

      that's an underrated comment right there

    • @purrplaysLE
      @purrplaysLE 3 ปีที่แล้ว

      Adir Barak It’s not overrated. Do you even know what “underrated” means?

  • @theodriggers549
    @theodriggers549 ปีที่แล้ว +3

    I'm adding a new machine S. It always gets stuck

  • @Silly_panzer3
    @Silly_panzer3 ปีที่แล้ว +2

    Why was this playlist with *that* thumbnail was recommended to me (no hate to main topic)

  • @NotFine
    @NotFine 3 ปีที่แล้ว +429

    3:45 I feel like this has meme potential

    • @AnnBasri
      @AnnBasri 3 ปีที่แล้ว +5

      Yeah

    • @eigentlichtoll02
      @eigentlichtoll02 3 ปีที่แล้ว +5

      get some meme vibes here, too

    • @logantc.1353
      @logantc.1353 3 ปีที่แล้ว +1

      Yes

    • @kumatheglitchhunter6971
      @kumatheglitchhunter6971 3 ปีที่แล้ว

      Probably because she sounds like a certain robot

    • @rkary1977
      @rkary1977 3 ปีที่แล้ว +15

      Me talking to my parents about my future 3:45

  • @RazerBoy12
    @RazerBoy12 6 ปีที่แล้ว +75

    The point of N IS to create a paradox , yes. The whole point of this video is to prove that computers can get stuck in paradoxes. This is obviously a simple, fixable example, but it's very easy to understand. Would you rather they have showed you an incredibly complicated real-world paradoxical problem and you have gotten lost in it? I hate that this video has so many dislikes because people can't stop to think about the purpose of things.

    • @Gogglesofkrome
      @Gogglesofkrome 5 ปีที่แล้ว

      I think it would have been more useful to point out the fact that paradoxes are the incremental issue at hand. However, wouldn't you think it to be possible for a program to discern what would cause the paradox, and be able to work from there?

    • @MrCmon113
      @MrCmon113 5 ปีที่แล้ว +6

      No, that's not what the video is about at all. The negator leads to a CONTRADICTION, showing that a certain problem is undecidable. It has nothing to do with computers and paradoxes.

    • @Gogglesofkrome
      @Gogglesofkrome 5 ปีที่แล้ว +2

      Depending on what definition you're going by, a paradox can refer to 'a contradicting conclusion.'

    • @blasttrash
      @blasttrash 5 ปีที่แล้ว +3

      If they just used the word "paradox" somewhere, it would've made it more clear. Or they could use the infamous "unstoppable force, immovable object" paradox to make it even more simpler. Or the "omnipotence paradox" - which would've tripped everyone who blindly believes in a supernatural God(Although there could a natural God).

  • @captaincaption
    @captaincaption ปีที่แล้ว +1

    This is so beautiful. Thank you so much!

  • @bluecupgaming2674
    @bluecupgaming2674 ปีที่แล้ว +2

    Was this just randomly suggested to everyone after 8 years? 🙋‍♂️

  • @mrlee6516
    @mrlee6516 3 ปีที่แล้ว +45

    Pinocchio's nose when he says "My nose will grow":

  • @jthomas3584
    @jthomas3584 5 ปีที่แล้ว +281

    A lot of people do not seem to be following the argument rigorously enough. This is a proof by contradiction; we assume something to be true, and use this assumption to arrive at a logical contradiction, thus proving that our initial assumption was incorrect. In this case, our assumption is that such a machine as H exists, with the key thing about H being that it is perfect, and *always* gives the right answer. We then use this assumption to see if we can find a logical contradiction. We might engineer a situation that seems needlessly unfair, but this is the whole idea. Once we run into the logical contradiction (the fact that H was wrong, even though it is by definition *never* wrong), we know our assumption MUST be false, our assumption being that such a machine as H exists. Nothing remains of H; even though it was just one, cleverly designed situation that it couldn't handle, the fact that it couldn't handle it, completely eradicates any trace of it. This is a very general form of proof.
    The realisation through a proof like this, is that the assumption you made, does not even make sense as a logical concept. Because that fact is not obvious, we have to do some work to reveal it, but if we were insanely smart, we would know that H doesn't make sense as a concept, just like we know now that a '4 sided triangle' is nonsensical. It's not that H is too hard to build, it's that it is literally an incoherent idea, but one whose incoherence is far from obvious and requires formal proof.

    • @ir2001
      @ir2001 5 ปีที่แล้ว +21

      This comment is gold

    • @pmmeurcatpics
      @pmmeurcatpics 5 ปีที่แล้ว +9

      Wow, thank you very much, I finally understood everything

    • @derekdexheimer3070
      @derekdexheimer3070 5 ปีที่แล้ว +2

      Beautiful explanation.

    • @snekwrek5454
      @snekwrek5454 5 ปีที่แล้ว +1

      @The good Fellow by computer here I am pretty sure they mean Turing complete systems and since we are Turing complete systems we have those limitations too.

    • @okgfwij
      @okgfwij 5 ปีที่แล้ว +4

      H can't output the right answer but it can still find it. What the problem proves is that nothing can give the right answer if it's a part of a machine that negates its answer.
      So basically, if there was a separated answer output not used as an input H could give the right answer.

  • @uncoolasmr4847
    @uncoolasmr4847 ปีที่แล้ว +2

    I don't understand why the "Negator" was even added. If that wasn't included, X would work perfectly and logically. The video basically says "Computers can't do things when there is a paradox built into it" which, obviously. That's like trying to prove a point by saying "See? Bicycles CAN'T take you from point A to point B, because I built one with no wheels!"
    I may be missing something, but from what I understood, this video doesn't make a very good point.
    Edit - I see, I misunderstood the reasoning behind the video. Thanks for the explanation:)

    • @FawfulDied
      @FawfulDied ปีที่แล้ว +2

      If H was actually possible to build, you COULDN'T make a contradiction by adding N.

    • @chaumas
      @chaumas ปีที่แล้ว +2

      The point is not that X doesn’t work. The point is that _H_ can’t work when fed X, even though, by definition, H should work on all inputs.

  • @undine8750
    @undine8750 11 หลายเดือนก่อน +1

    The halting problem is easy to prove using reduction.
    Let the language Atm be the language consisting of every pair where T is a Turing machine and s is a string that T accepts.
    Hypothesis 1: there exists a Turing machine Q that decides Atm.
    Let R be a Turing machine that recognizes an undecidable language. We can build a decider for the language recognized by R as follows
    "On input s where s is a string:
    1. Run Q on , If it accepts, accept. Otherwise reject.
    "
    We have built a Turing machine that decides the undecidable language recognized by R, so L(R) is decidable and undecidable, which is a contradiction. Discharge hypothesis 1 and conclude Atm must be undecidable.
    Now let HALTtm be the language consisting of every pair where T is a Turing machine and s is a string that T halts on.
    Hypothesis 2: There exists a Turing machine Q that decides HALTtm
    We can construct a decider for Atm as follows.
    "On input where R is a Turing machine and s is a string:
    1. Run Q on . If it rejects, reject.
    2. Run R on s. If it accepts, accept. If it rejects, reject.
    "
    We have built a Turing machine that decides Atm, but Atm is undecidable. Atm is decidable and undecidable, so we have a contradiction. Discharge hypothesis 2 and conclude HALTtm must be undecidable.
    The fact that HALTtm is undecidable is the halting problem.

  • @dogiz6952
    @dogiz6952 7 ปีที่แล้ว +861

    H would get stuck in an infinite simulation loop, and never print out an answer.

    • @dannyundos8927
      @dannyundos8927 7 ปีที่แล้ว +36

      Simulation isn't part of definition of H, so H may not necesarily simulate machines.

    • @SKyrim190
      @SKyrim190 7 ปีที่แล้ว +20

      So H is stuck, which means that X is stuck, which means that H should print "Stuck", so H is wrong for failing to answer.

    • @COD8player4life
      @COD8player4life 7 ปีที่แล้ว +45

      It wouldn't know because the whole reason it's stuck is because H is infinitely trying to dig deeper, so it would never get to printing an answer because it can never find it.

    • @dannyundos8927
      @dannyundos8927 7 ปีที่แล้ว +14

      BFJunkie You got the point wrong. The point is not how H will get an answer. The point is whether H can get an answer or not.

    • @RealQuin
      @RealQuin 7 ปีที่แล้ว +2

      thats deep

  • @Elzcian
    @Elzcian 5 ปีที่แล้ว +522

    H: Mr Stuck I don’t feel so good
    thNos: This does put a smile on my page

    • @FleetwayDude
      @FleetwayDude 5 ปีที่แล้ว +12

      Elian Garcia underrated comment

    • @thealonegamingtr
      @thealonegamingtr 4 ปีที่แล้ว +9

      r/unexpectedthanos

    • @prav4981
      @prav4981 4 ปีที่แล้ว +7

      *tanos

    • @memerboi69.0
      @memerboi69.0 4 ปีที่แล้ว +6

      thNos: I am inevitable.
      H': And I am truly always right because if you are below me i will purposefully print the wrong answer
      *nothing happens*
      *N prints smile*
      P: *h m m m m*

  • @ketsu4435
    @ketsu4435 ปีที่แล้ว +1

    I come back to this video a lot

  • @dxrpz1669
    @dxrpz1669 ปีที่แล้ว +3

    2:07 A: "ight imma head out"