Are There Problems That Computers Can't Solve?

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • All about Hilbert's Decision Problem, Turing's solution, and a machine that vanishes in a puff of logic. MORE BASICS: • The Basics
    Written with Sean Elliott / seanmelliott
    Graphics by William Marler wmad.co.uk
    Audio mix by Graham Haerther haerther.net/
    🟥 MORE FROM TOM: www.tomscott.com/
    (you can find contact details and social links there too)
    📰 WEEKLY NEWSLETTER with good stuff from the rest of the internet: www.tomscott.c...
    ❓ LATERAL, free weekly podcast: lateralcast.com/ / lateralcast
    ➕ TOM SCOTT PLUS: / tomscottplus
    👥 THE TECHNICAL DIFFICULTIES: / techdif

КОМЕНТАРІ • 6 тис.

  • @TomScottGo
    @TomScottGo  4 роки тому +13362

    Both my co-author Sean and I are worried that we're oversimplifying here -- but then, this series is called The Basics!

    • @moreroidsmoreboys
      @moreroidsmoreboys 4 роки тому +40

      Tom Scott nice video

    • @jack_2000
      @jack_2000 4 роки тому +277

      Sometimes you just have to simplify things, or else, you'll spend days talking about subjects

    • @jonsilvestro3359
      @jonsilvestro3359 4 роки тому +30

      Are you going to talk more about BASIC

    • @Pablo-zu3qj
      @Pablo-zu3qj 4 роки тому +4

      Basic Bro

    • @Axis-bq7uy
      @Axis-bq7uy 4 роки тому +9

      Keep the complexities basic

  • @shawn6745
    @shawn6745 4 роки тому +7095

    When you try to solve a mathematical problem so hard that it turns into a philosophical one.

    • @millomweb
      @millomweb 4 роки тому +51

      Was this a mathematical problem ?
      Was a mathematical computer the right tool to use in this instance ?

    • @kennyelkhart
      @kennyelkhart 4 роки тому +133

      Mathematical proof is based on philosophy

    • @christianbarnay2499
      @christianbarnay2499 4 роки тому +196

      It's to opposite.
      The original problem is philosophical: "Is there a chance, even the slightest, that maybe some day far in the future we will have answers to all questions in the universe?"
      Maths and logic brought the definitive answer: "Nope. We can prove that it's impossible with just the subset of mathematical questions. And the full set of all questions is far larger than that."

    • @jasonwillows5239
      @jasonwillows5239 4 роки тому +79

      Mathematics is actually a branch of philosophy, so... technically every mathematical problem is philosophical.

    • @kpp28
      @kpp28 4 роки тому +32

      Maths is essentially philosophy

  • @AndrewVaughan
    @AndrewVaughan 4 роки тому +3839

    +1 for vanishing in a puff of logic...

    • @Maeveyyx
      @Maeveyyx 4 роки тому +25

      Alan Turing was also a vanishing puff

    • @stuartkent383
      @stuartkent383 4 роки тому +36

      careful where you stick the fish

    • @renardmigrant
      @renardmigrant 4 роки тому +5

      Yes, I'm tempted to make a rude comment about Alan Turing. Just I don't want to.

    • @lightlysalted7790
      @lightlysalted7790 4 роки тому +29

      Babel fish go brrrrrr

    • @bullshitman155
      @bullshitman155 4 роки тому +13

      @@lightlysalted7790 Don't panic

  • @basicwhitegirl3558
    @basicwhitegirl3558 4 роки тому +5502

    Tom’s way of speaking is always so engaging. You just feel inclined to listen to him and it’s so easy to follow along. Glad this guy decided to become an educator, it’s always a pleasure!

    • @mtsg3761
      @mtsg3761 4 роки тому +143

      Imagine having him as like a lecturer or teacher. It'd be great

    • @xbcvideo9751
      @xbcvideo9751 4 роки тому +32

      I have a video of him explaining things at my school.
      (edit) it's the one on my channel

    • @hizon525
      @hizon525 4 роки тому +4

      XBC Video
      Link? Asking for a friend

    • @jamiesmith8220
      @jamiesmith8220 4 роки тому +2

      Well said!

    • @Petar321_GT
      @Petar321_GT 4 роки тому +1

      I agree

  • @fabianglathe6131
    @fabianglathe6131 3 роки тому +2767

    Fun Fact: you can build a fully functioning Turing machine within the rules of Magic: The Gathering and given a perfect starting hand you can even set it up legally in a tournament game. There’s even a paper on that, for those that are interested.

    • @kasoy5239
      @kasoy5239 3 роки тому +73

      Could I have the source?

    • @Malaphor2501
      @Malaphor2501 3 роки тому +69

      @@kasoy5239 I believe Kyle Hill did the video Fabian is referring too.

    • @lomen6694
      @lomen6694 3 роки тому +17

      @@Malaphor2501 link?

    • @seeleseeleseeleseele
      @seeleseeleseeleseele 3 роки тому +13

      @@Malaphor2501 link?

    • @TheALPHA1550
      @TheALPHA1550 3 роки тому +14

      @@Malaphor2501 Link?

  • @Tom5TomEntertainment
    @Tom5TomEntertainment 4 роки тому +12128

    Yes. Try to ask my computer why the internet is down.

    • @theblackwidower
      @theblackwidower 4 роки тому +559

      Surely it can Google the answer.

    • @laechrysia
      @laechrysia 4 роки тому +102

      @@theblackwidower well if you have only one internet access then it's not possiblle to google the answer xD

    • @TauCu
      @TauCu 4 роки тому +385

      @AlphaGT
      r/whooosh

    • @anatoliyy.7216
      @anatoliyy.7216 4 роки тому +86

      Or just ask the computer to read a captcha.

    • @laechrysia
      @laechrysia 4 роки тому +39

      @@TauCu hey thanks I haven't got this in a while

  • @martinconrad9260
    @martinconrad9260 4 роки тому +4398

    Socrates: "The next thing Plato says will be false."
    Plato: "Socrates has spoken truly."

    • @AliKhan-ns5nr
      @AliKhan-ns5nr 4 роки тому +316

      prints " thats deep "
      * infinitely *

    • @sotypme4813
      @sotypme4813 4 роки тому +96

      This is hurting my brain.

    • @anim8dideas849
      @anim8dideas849 4 роки тому +36

      This doesn't seem paradoxical, please can someone explain? It seem that socrates is just wrong here.... Or plato is wrong theres no loop here

    • @robogaming3045
      @robogaming3045 4 роки тому +257

      @@anim8dideas849 If socrates is wrong then plato is wrong, which makes socrates correct, etc etc

    • @kly8105
      @kly8105 4 роки тому +17

      When two people lie and a third person doesn't understand complicity and deception, then they are truly more stupid than machines.

  • @peppermintmiso4341
    @peppermintmiso4341 4 роки тому +501

    "Is 'no' the answer to this question?"
    Computer dies

    • @anshumanagrawal346
      @anshumanagrawal346 3 роки тому +42

      Meanwhile Human: "Yesn't"

    • @dandynoble2875
      @dandynoble2875 3 роки тому +8

      A computer can be made to recognize that "answer" and "response" aren't synonymous. Hell, any automatic grading system already knows just putting text in the box doesn't mean you put the right answer.

    • @TangoWolf09
      @TangoWolf09 3 роки тому

      Probably not

    • @roninnib6635
      @roninnib6635 3 роки тому +1

      It could just answer it in a different language.

    • @Underpants678
      @Underpants678 2 роки тому

      Definitely.

  • @adam041994
    @adam041994 4 роки тому +4064

    Me: “this is really complicated”
    Tom: “sorry for massively over-simplifying”

    • @LowBudgetJustinY
      @LowBudgetJustinY 4 роки тому +179

      That's literally the best flex for every "nerd" to say lmao

    • @tylisirn
      @tylisirn 4 роки тому +100

      The core of the idea is simple, proof by contradiction that you can always create. But to actually *prove* that that proof works requires a college computer science course. Hence massive oversimplification. The main takeaway is that a "universal computer" *isn't.* Some things are inherently non-computable. Theory of Computation is then the branch of computer science that tries to figure out what those things are and aren't, among other things.

    • @Guztav1337
      @Guztav1337 4 роки тому +19

      It is massively over-simplifying. There is a reason why there are half-a-semester course on just this particular subject. If you don't want simplify / to gloss over the details, and actually fully understand the details. Then it takes a very long time to explain.

    • @LowBudgetJustinY
      @LowBudgetJustinY 4 роки тому +8

      @@tylisirn No offense but my brain had a seizure reading this im so sorry for my dumbass not understanding..

    • @waynedas873
      @waynedas873 4 роки тому +22

      @@LowBudgetJustinY Computer compute many computations but not all. Smart people compute what computations computers cannot compute.

  • @arof7605
    @arof7605 4 роки тому +1131

    6:11 "Vanishes in a puff of logic" is one of the best Hitchhiker's Guide references.
    Computers are logic machines at their core. It's an important class in Computer Science programs, because underneath at the most base level chips just send electrons through AND, OR, NOR, etc gates incredibly fast. And that same logic can bubble up into even high level languages.

    • @LightRealms
      @LightRealms 4 роки тому +19

      haha yes I knew I couldn't be the only one to get that reference!

    • @mondobe
      @mondobe 4 роки тому +1

      Also a NetHack reference.

    • @txrxw
      @txrxw 4 роки тому +11

      42

    • @timh.6872
      @timh.6872 4 роки тому +1

      Also important, various other forms of logic will sift down from very high level language theories and inform the nature of types and programs, so logic ends up being in both directions when it comes to computers.

    • @NetheriteMiner
      @NetheriteMiner 4 роки тому +4

      So that means redstone is technically a computer, because of all those logic gates.

  • @ShakalDraconis
    @ShakalDraconis 4 роки тому +1164

    This actually ended up being an extremely important discovery, as ever since this there have been many other problems that have likewise been proven to be uncomputable, most often by finding a way for "If we CAN compute X, then by doing Y and Z we can then use X to solve the Halting Problem." But as we know that's impossible, then X must ALSO be uncomputable.

    • @TheAkashicTraveller
      @TheAkashicTraveller 4 роки тому +17

      I wonder is that has resulted in people ruling out things that almost solve the halting problem.

    • @user-vn7ce5ig1z
      @user-vn7ce5ig1z 4 роки тому +65

      It wasn't a discovery; philosophers had already contemplated the "this statement is false" concept long ago; Turing merely framed it in computer terms.

    • @misterscottintheway
      @misterscottintheway 4 роки тому +99

      @@TheAkashicTraveller it is definitionally impossible to solve the halting problem. You can't almost solve something. It's a binary thing: either it's solved or not. An unsolvable problem isn't unsolvable because it's difficult to solve, it's unsolvable because it is a logical impossibility. The problem inherently contradicts itself.

    • @CousinWuKaLok
      @CousinWuKaLok 4 роки тому +24

      @@user-vn7ce5ig1z Keep in mind though, there are a lot of ways to resolve this "this statement is false" "paradox", but you can't do that for the halting problem

    • @willowarkan2263
      @willowarkan2263 4 роки тому +4

      It reminds me of np problems and how you can convert from one to any others, so that if you show one np is p, then all are.

  • @BrBill
    @BrBill 4 роки тому +302

    David Hilbert: "I look very smart and trustworthy. Therefore I will wear this hat to dispel that image."

    • @abhishek2275
      @abhishek2275 4 роки тому +7

      Was looking for this comment.

    • @TheAlps36
      @TheAlps36 3 роки тому +12

      I think the hat makes him stand out amongst other mathematicians

    • @BrBill
      @BrBill 3 роки тому +3

      I mean, it makes him quite a bit taller. Probably easy to find in a room.

    • @kristapsvecvagars5049
      @kristapsvecvagars5049 3 роки тому +1

      True.
      The above statement is false.

    • @BrBill
      @BrBill 3 роки тому

      We need some symbolic notation to be sure

  • @sk8rdman
    @sk8rdman 4 роки тому +6549

    1:52
    That word is pronounced "Entscheidungsproblem"
    You're welcome.

    • @dpg2652
      @dpg2652 4 роки тому +88

      @ilimango and he's being sarcastic x3

    • @dinodoestuff
      @dinodoestuff 4 роки тому +21

      ilimango r/wooooosh

    • @robotplays346
      @robotplays346 4 роки тому +26

      Ents-schei-dungs-problems

    • @supercon20
      @supercon20 4 роки тому +14

      Zaymly
      woooosh has 4 o’s

    • @nic12344
      @nic12344 4 роки тому +15

      @Zaymly r/foundthemobileuser

  • @MacNasty11
    @MacNasty11 4 роки тому +1685

    I told my computer to try and imagine Tom Scott had a different colored shirt besides red and it exploded

  • @samuelgiumelli5326
    @samuelgiumelli5326 4 роки тому +3596

    "Any program that you write in any programming language can be converted into something you can run on a Turing machine."
    So... Another thing you can run doom on?

    • @alfred3496
      @alfred3496 3 роки тому +309

      Well I wouldn't put it past Bethesda to port Skyrim to a Turing machine.

    • @bathshebahubber614
      @bathshebahubber614 3 роки тому +208

      Sent from my Turing machine

    • @7_7_5
      @7_7_5 3 роки тому +93

      But can it run crysis?

    • @jimmydiaz1502
      @jimmydiaz1502 3 роки тому +114

      @@7_7_5 Given enough tape, yes, it can

    • @Ulrich.Bierwisch
      @Ulrich.Bierwisch 3 роки тому +188

      @@jimmydiaz1502 Can a Turing machine overheat? The answer is no.
      Can any computer run Crysis without overheating? The answer is also no.
      Run Crysis on a Turing machine - get another paradox.

  • @ZeroInDaHouse
    @ZeroInDaHouse Рік тому +149

    People don't realize the mindblowing genius that was Alan Turing. Not only did he invent the modern computer in his HEAD. He even went as far to measure its potential when he didn't even know anything about the philosophies of coding, memory management, storage management and general computer science. I think he was a product of an alien species that wanted to push is into the next age.

  • @fakename287
    @fakename287 4 роки тому +849

    "Are there problems that computers can't solve?"
    INSUFFICIENT DATA FOR MEANINGFUL ANSWER

    • @kada0601
      @kada0601 4 роки тому +19

      I came here for this.

    • @v1298
      @v1298 4 роки тому +10

      In the end, there was nothing.
      Or was it the beginning?

    • @adityapathak5761
      @adityapathak5761 4 роки тому

      Is that a SCP reference?

    • @BertGrink
      @BertGrink 4 роки тому +32

      @@adityapathak5761 No, it's a reference to Isaac Asimov's short story "The Last Question"

    • @Ts6451
      @Ts6451 4 роки тому +10

      It has always struck me that the problem of The Last Question was improperly translated for the Multivac, Adell and Lupov was, after all, discussing having an eternal source of energy and the possibility of escaping the inevitability of entropy, but what they asked Multivac was how to reverse entropy.
      Rather than working on some way to win "The Game" the ACs were working on some way to replay the same game.
      So, humanity in that story is stuck in a time loop, one of many trillions of years, but still, they are doomed to replay this one timeline forever. Though, I suppose that is really the fate of any character in any form of linear literature or story telling...

  • @Pixelflame5826
    @Pixelflame5826 4 роки тому +440

    "It's a paradox, there is no answer!"
    -A Computer Says To Another Computer In Portal 2

    • @wingboy0
      @wingboy0 4 роки тому +20

      @real gamer hmmm... TRUE

    • @kittyNya38
      @kittyNya38 4 роки тому +38

      Um... I’ll go true. Eh that was easy

    • @DarkAudit
      @DarkAudit 4 роки тому +15

      Nice try, but my head was built with paradox-absorbing crumple zones.

    • @aaclovern9804
      @aaclovern9804 4 роки тому +25

      I AM NOT A MORON

    • @nonchip
      @nonchip 4 роки тому +5

      @@duncanhw that was a quote ;)

  • @zhuofanzhang9974
    @zhuofanzhang9974 4 роки тому +569

    One of my college math professors with "Scott" in his name introduced this problem to me, and another professor with "Sean" in his name taught me about Turing machines. Now I'm seeing a script written by someone "Sean" and some "Scott" talking about those topics on UA-cam. What a moment.

    • @ardaozcan98
      @ardaozcan98 4 роки тому +32

      You are the lucky pigeonhole in the pigeonhole problems

    • @DragoniteSpam
      @DragoniteSpam 4 роки тому +10

      This compliments the concept of the "opposite" machine bizarrely well

  • @MegaAgamon
    @MegaAgamon 4 роки тому +1676

    Will this code halt or loop?
    Quantum Computer: *"Yes"*

    • @jamielonsdale3018
      @jamielonsdale3018 4 роки тому +104

      Actually, that is the solution. This problem IS SOLVABLE as of 2020, when a team of 5 compscis solved the halting problem using quantum entanglement.

    • @MegaAgamon
      @MegaAgamon 4 роки тому +54

      @@jamielonsdale3018 nice! Do you have a link to the paper, I would love to read it?

    • @raygreen2134
      @raygreen2134 4 роки тому +32

      @@jamielonsdale3018 lmao no

    • @jamielonsdale3018
      @jamielonsdale3018 4 роки тому +10

      @@MegaAgamon I'll have a look when I finish my shift :)

    • @mullerstephan
      @mullerstephan 4 роки тому +72

      well, actually
      Quantum Computer: "Yes, No, Yes and No"

  • @samphoenix794
    @samphoenix794 4 роки тому +2175

    Tom: "The, uh. The... Uh. The. Decision Problem"
    Me: (laughs in german)

  • @kittyshippercavegirl
    @kittyshippercavegirl 4 роки тому +406

    "Vanishes in a puff of logic"
    The bablefish really was far too convienient

  • @MrKlawUK
    @MrKlawUK 4 роки тому +564

    Finally watched a Tom Scott video that isn’t from 3 years ago!

    • @mikumutual
      @mikumutual 4 роки тому +125

      This comment's gonna be really funny in 3 years.

    • @anawesomepet
      @anawesomepet 4 роки тому +2

      Yum.

    • @NurulArifin49
      @NurulArifin49 4 роки тому +1

      I know that feeling

    • @suryatejasunny
      @suryatejasunny 4 роки тому +4

      Ive started from 10yrs ago video, watched a bunch of 3yrs ago video and i m here now and this comment makes sense

    • @denorod1
      @denorod1 4 роки тому

      I can totally relate to this

  • @DaniloSilva-pl3sq
    @DaniloSilva-pl3sq 4 роки тому +6

    God, what a focus. Explaining this kind of subject perfectly for 8 minutes straight isn't for everyone

  • @sammulkerrin
    @sammulkerrin 4 роки тому +279

    you know tom is working hard when the pinned comment was 4 hours ago instead of 2 weeks to a month

  • @MasterTevs
    @MasterTevs 4 роки тому +318

    "And that boss, is why I didn't bother checking my code with different cases, 'cause what's the point eh ?"

    • @m4d_al3x
      @m4d_al3x 4 роки тому +7

      10/10

    • @mousermind
      @mousermind 4 роки тому +1

      Case in point.

    • @bayzed
      @bayzed 4 роки тому

      hahaha best comment!

  • @benmorrow2352
    @benmorrow2352 4 роки тому +620

    AC at the end of the Asimov story:
    “Ah, the one unsolvable problem. How annoying. Lemme jus infer the answer from available data, test it, reject if wrong, loop infinitely till solution reached, Let There Be Light and done”
    Edit: what the hell happened down there guys

    • @iaminterface0101
      @iaminterface0101 4 роки тому +53

      INSUFFICIENT DATA FOR A MEANINGFUL ANSWER

    • @Spazmonkey625
      @Spazmonkey625 4 роки тому +13

      @Xeno Phon Can you explain what an optimal trade distribution and currency system would look like?

    • @macsnafu
      @macsnafu 4 роки тому +22

      @Xeno Phon Do you want a society you actually enjoy living in, or do you just want to be a cog in a societal machine? Besides, no computer can decide what you really need or desire. What about new innovations and changes? Do we even *know* what all the resources in the world actually are? We don't really have enough information to even give as input.

    • @rastkodragic4120
      @rastkodragic4120 4 роки тому +15

      @Xeno Phon ok commie

    • @petros_adamopoulos
      @petros_adamopoulos 4 роки тому +7

      @@macsnafu Maybe being a cog in something can make one happier than anything else. You are making assumption after assumption, any of them can be mistakes. But we're just supposed to trust them.

  • @DevilboyScooby
    @DevilboyScooby 4 роки тому +193

    Tom Scott and James May are the only two people I know who can make topics that don't particularly interest me sound absolutely fascinating.

  • @knightrider697
    @knightrider697 4 роки тому +341

    I am a computer science engineer and, yes, *I do appreciate your "deliberate semplification".* May all of us be able to explain things like you are. All with that commendable, pervasive sensation of you having actual cognizance of what you are talking about.
    Happy recent subscriber of yours.

    • @jasonreed7522
      @jasonreed7522 3 роки тому +11

      As an Electrical Engineer my take on deliberate/oversimplification. If you cannot explain a concept without using math or hyper technical jargon then you don't understand the concept.
      Basic example, the Fourier Transform, it is defined with integrals and dummy variables and complex numbers and all this junk that takes at about 1.5 years of college to be able to perform.
      But what does this painful math actually do, it converts songs from audiofiles to sheet music (assume instrumental only).
      Obviously this isn't all its good for or even exactly what it does, but the full answer takes litteral years to build up to. A more accurate description is that is converts functions from time domain to frequency domain, but those aren't universal concepts like instrumental only music and sheet music. (I assume everyone is forced to do atleast a little bit of music theory in elementary school)

  • @wheezard
    @wheezard 4 роки тому +294

    2:37 The guy who animated this "computer" deserve respect)

  • @Manuel-bp7sc
    @Manuel-bp7sc 4 роки тому +1875

    Me: *German*
    Tom: *staring at "Entscheidungsproblem"*
    Me: where's the problem
    Me: oh

    • @TheXAlexus
      @TheXAlexus 4 роки тому +27

      haha, same :D

    • @tertrih9078
      @tertrih9078 4 роки тому +15

      Me too :D

    • @amyj4106
      @amyj4106 4 роки тому +11

      What's the joke😂

    • @pixobit5882
      @pixobit5882 4 роки тому +29

      Ich dachte mir exakt das selbe 😂

    • @eddydrouet1888
      @eddydrouet1888 4 роки тому +66

      @@amyj4106 that it's a long and complicated word to say for those who don't speak German fluently 😂

  • @retsapb6319
    @retsapb6319 4 роки тому +27

    I envy this guy ability to make all this awesome content in just one take

  • @NoriMori1992
    @NoriMori1992 4 роки тому +79

    I'm glad you mentioned that this problem is _mathematically_ impossible to solve. The two other videos I've watched about the halting problem made it sound like it was only impossible for computers specifically, when really it's a logical paradox, impossible for everybody.

    • @shadowxxe
      @shadowxxe 3 роки тому +9

      exactly a more human friendly representation of this problem would be "if true then false if false then true"

    • @cmyk8964
      @cmyk8964 Рік тому +1

      Human analysis (and in fact, computer analysis if you know how to write it down in a program) can detect some infinite loops, but it’s not possible to solve whether ANY program halts.

    • @Ripred0219
      @Ripred0219 Рік тому

      I don’t get it. The opposite function loops or halts depending on its argument. If we feed the opposite function to itself without any arguments then isn’t the answer just undefined?

    • @Jason9637
      @Jason9637 3 місяці тому

      ​@@Ripred0219The real halts machine has two inputs, one for the program's code and the program's input. You then just add a third machine to the beginning that copies whatever input it receives to it's two outputs.

  • @feffy380
    @feffy380 4 роки тому +605

    "and then it vanishes in a puff of logic"
    Is that a Hitchhiker's Guide reference I see?

    • @Blue-Maned_Hawk
      @Blue-Maned_Hawk 4 роки тому +143

      God says "I shall never prove that I exist, for proof denies faith, and without faith I am nothing."
      Then, People discover a thing, something which could not have occurred naturally, something which could only be created, but which nobody but God could have created.
      People show this thing to God and say "But this thing clearly shows you exist. Therefore, you should not exist, for we have found proof of your existence that would deny the faith which keeps you existing. Q.E.D."
      And God says "Ah, crap. I didn't think of that." and vanishes in a puff of logic.
      Afterwards, People, feeling full of itself, goes on to prove that white is black and subsequently dies at the next zebra crossing.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 4 роки тому +2

      As opposed to a toke. Which might be ... I don’t know ... Cheech & Chong maybe ...

    • @molotera8789
      @molotera8789 4 роки тому +4

      I mean his team in that BBC program named themselves Hitchhikers bc of that

    • @mistbornlazarus2611
      @mistbornlazarus2611 4 роки тому +11

      @@Blue-Maned_Hawk I kinda have the need to read Hitchhikers Guide now
      To be fair, it was already on my list.

    • @jamesthaimassage
      @jamesthaimassage 4 роки тому +6

      @Blue-Maned Hawk The Babel Fish, a fish that feeds on brainwave patterns and excretes a telepathic matrix that allows you to decode any speech you hear if you stick one in your ear... a naturally occurring creature so mind-bogglingly useful that it was widely considered to be the final proof of the Nonexistence of God. (No doubt you knew that, Blue-Maned Hawk; I just thought I’d elucidate a bit!)

  • @GameKraken
    @GameKraken 4 роки тому +336

    Now this is a way of starting off my morning.

    • @Lattamonsteri
      @Lattamonsteri 4 роки тому +1

      This video made me kinda sad tho. But it's Monday so what did I suspect xD

    • @ThaSingularity
      @ThaSingularity 4 роки тому

      Same

    • @crystal_royal3405
      @crystal_royal3405 4 роки тому +1

      In India its night

    • @poncho4068
      @poncho4068 4 роки тому

      @@crystal_royal3405 no

    • @hiareeb
      @hiareeb 4 роки тому +2

      l'll say "What a way to end a Monday"

  • @annakrasner5695
    @annakrasner5695 3 роки тому +13

    This video really puts into perspective how much of a massive genius Alan Turing was

  • @omar5621
    @omar5621 4 роки тому +1837

    I’ve never seen someone who looks so old yet so young at the same time

    • @Yaptomizer
      @Yaptomizer 4 роки тому +17

      agreeedd!!

    • @EderSalcedoCastro
      @EderSalcedoCastro 4 роки тому +4

      Hahaha

    • @czechmix221
      @czechmix221 4 роки тому +60

      Like a very wise teenager

    • @mitchahbw
      @mitchahbw 4 роки тому +63

      Maybe he's a paradox! 😳

    • @neomika92
      @neomika92 4 роки тому +19

      It seems you do not know the German politician Philipp Amthor :D

  • @chrisjlocke
    @chrisjlocke 4 роки тому +159

    2:36 - Was impressed the pre-recorded movements lined up with the post-production graphics .... twice! Also a nice touch that the buttons 'depressed' simulating being pushed.

    • @mewheni
      @mewheni 4 роки тому +57

      chrisjlocke It's almost as if the post production graphics editor could see the pre-recorded footage and had the ability to line it up with onscreen Tom! The pinnacle of video editing, I say! :D

  • @Liggliluff
    @Liggliluff 4 роки тому +745

    It's interesting to see that the English word "computer" comes from 'compute' + -'er' (person or thing doing an action). - In Swedish, we have the word "dator", which is a portmanteau of 'data' and 'motor'; an engine that runs through data. Quite clever.

    • @Yotanido
      @Yotanido 4 роки тому +38

      In German it's Rechner and basically means calculator, or... well, computer.
      Although the Anglicism "Computer" is more common nowadays.

    • @unicornspilot
      @unicornspilot 4 роки тому +62

      In Chinese it literally translates to "electrical brain"

    • @mikespearwood3914
      @mikespearwood3914 4 роки тому +25

      @@unicornspilot That makes sense. Although the irony is human and animal brains are electrical too. Not sure about tiny things like bacteria though.

    • @fieryweasel
      @fieryweasel 4 роки тому +7

      That construct exists in most language. The concept is called (in English, of course) the 'active agent' form of a verb. The do-er.

    • @DLBBALL
      @DLBBALL 4 роки тому +6

      Mike Spearwood I guess “semiconductor brain” doesn’t have as much of a ring to it?

  • @camisthejester
    @camisthejester 2 роки тому +80

    Even though you’re “oversimplifying” I still have to pay a lot of attention to keep up. The simplification is making the video very accessible to people who cannot code and who doesn’t know much about computers

  • @Moh4mmed_gh
    @Moh4mmed_gh 4 роки тому +595

    "This statement is false!";
    "New mission: refuse this mission!";
    "Does a set of all sets contain itself?";

    • @sphynx7242
      @sphynx7242 4 роки тому +16

      Pinocchio comes from school and explodes

    • @tonydai782
      @tonydai782 4 роки тому +80

      NO, the last one is true, the set of all sets, by definition contains itself, the paradox however, is
      Does the set of all sets that don't contain themselves contained within itself?
      If it is contained in itself, then by definition it isn't contained within itself, etc.

    • @Moh4mmed_gh
      @Moh4mmed_gh 4 роки тому +32

      @@tonydai782 I was quoting a video game's reference known as Portal.
      It is always cool to know about these paradoxes.
      The real question however is, can a computer solve such paradoxes?

    • @martinshoosterman
      @martinshoosterman 4 роки тому +6

      If a set of all sets existed then of course it would contain itself. That isnt really where the issue lies.

    • @Deguiko
      @Deguiko 4 роки тому +7

      @@martinshoosterman Yes, in some exotic set theories, there is a set of all sets, and they work just fine.

  • @JustADioWhosAHeroForFun
    @JustADioWhosAHeroForFun 4 роки тому +352

    "Are there problems Computers can't solve?"
    Captcha surveys: _"Now this looks like a job for me"_

    • @shivi_chronicles
      @shivi_chronicles 4 роки тому +21

      𝘴𝘰 𝘦𝘷𝘦𝘳𝘺𝘣𝘰𝘥𝘺 𝘫𝘶𝘴𝘵 𝘧𝘰𝘭𝘭𝘰𝘸 𝘮𝘦

    • @heynowureallstar
      @heynowureallstar 4 роки тому +34

      Fairly sure these are more efficient at filtering out humans than machines
      *NOW SELECT All SQUARES WITH BUSES. FIFTY TIMES.*

    • @Bizarre-Daniel
      @Bizarre-Daniel 4 роки тому +27

      @@heynowureallstar This one has 1/8 of a bus showing do i count it?
      Yes
      What about this one that's the exact same thing?
      NO HOW COULD YOU THINK THAT WOULD WORK.

    • @Daniel_WR_Hart
      @Daniel_WR_Hart 4 роки тому +6

      When you need to select all squares with cars, but it's a photo of a truck

    • @georgf9279
      @georgf9279 4 роки тому +5

      @@Daniel_WR_Hart In this case you shouldn't select it. In this kind of captcha the pictures are not the filter. The filter is how long it takes you and how you move the mouse. The pictures are only there to train image recognition AI. You are stating "This truck is not a car." And after some number of people (50-100?-idk) solved the same picture in the same way, it is fed into the AI as training data.

  • @f_f_f_8142
    @f_f_f_8142 4 роки тому +302

    "We take its code." The fact that we can do that is very important. It seems obvious talking about programs but this is the hardest step when you try to do this with other things like Gödel did with proofs over natural numbers.

    • @jpobi9880
      @jpobi9880 4 роки тому +35

      Wouldn't the code for opposite that is fed into the program opposite, require itself another parameter in order to be run/analysed?

    • @11matt555
      @11matt555 4 роки тому +4

      @@jpobi9880 That's where I'm confused as well.

    • @JohnnyAdroit
      @JohnnyAdroit 4 роки тому +75

      @@jpobi9880 You're right. A slightly less simplified proof uses the hypothetical program HALTS(P, I), which takes a program P and input I as parameters. This program answers True if program P will halt when given input I and False otherwise. Then, you create OPPOSITE(P) which takes a program P as input and runs forever if HALTS(P, P) returns True and halts otherwise. That is, OPPOSITE uses the program HALTS on program P using the same program P as input. Finally, you analyze what happens if you run OPPOSITE(OPPOSITE). This will run forever if HALTS(OPPOSITE, OPPOSITE) answers True. But, wait! HALTS(OPPOSITE, OPPOSITE) answers True only if OPPOSITE(OPPOSITE) halts. So, OPPOSITE(OPPOSITE) will run forever if OPPOSITE(OPPOSITE) halts and vice versa. This contradiction means that the program HALTS(P, I) cannot exist. More accurately, any version of the program HALTS(P, I) that can be written cannot determine the correct answer for all programs, only a subset.

    • @HenryLahman
      @HenryLahman 4 роки тому +2

      @@jpobi9880 I've thoroughly confused myself: it probably doesn't matter and if we do need to we just pass the simplest code like the assembly `HALT` or the C style `return`

    • @CollinRapp33
      @CollinRapp33 4 роки тому +3

      @@HenryLahman It does matter; refer to JohnnyAdroit's explanation above.

  • @aidantsoumbakos7259
    @aidantsoumbakos7259 Місяць тому +1

    I love how much of this show is Tom reassuring computer scientists that this show called "The Basics" is only going over "The Basics"

  • @macloricott13
    @macloricott13 4 роки тому +529

    As a software engineer, I can say that your simplification is reasonably adequate :-).
    BTW, Kurt Goedel basically arrived at a similar conclusion with its two incompleteness theorems. A brilliant work.

    • @guilhermetorresj
      @guilhermetorresj 3 роки тому +39

      Gödel's Incompleteness Theorem also follows this self-referential principle to arrive at paradoxes, but the consequences are even deeper. The fact that it implies that any set of mathematical axioms either produce truths that cannot be proven by those axioms alone, or that they outright contradict themselves, is amazing. Just imagine how many problems we have right now that are worth a million dollar prize, some of them might literally be true, yet have no formal mathematical proof. It makes my head spin.

    • @efulmer8675
      @efulmer8675 3 роки тому +5

      The big problem that I know of that could be this way is the Riemann Hypothesis. However, if we could prove that the Riemann Hypothesis is unsolvable from the axioms of math, then that means that it is true because if it were false we would have a way of proving it false from the axioms.

    • @watchm4ker
      @watchm4ker 2 роки тому +11

      And the thing is, the paradox is a deceptively simple "This sentence is a lie." formulation. It almost seems silly that this could tie logic up in knots, but there you have it. The fundamental flaw in formal logic.

    • @TheBraude
      @TheBraude 2 роки тому +3

      @@efulmer8675 That doesn't mean it's true, it means it can be both.

    • @efulmer8675
      @efulmer8675 2 роки тому +1

      @@TheBraude Numberphile has a video on Godel's Incompleteness Theorem and they mention implication that the implication that the Riemann Hypothesis is true if it cannot be proved true from the axioms.

  • @crayfray
    @crayfray 4 роки тому +264

    It's not a Tom Scott video without a pinned comment at least 4 hours ago.

    • @zoophiliaphobic
      @zoophiliaphobic 4 роки тому +4

      yes

    • @mytrangly458
      @mytrangly458 4 роки тому +12

      And the red shirt

    • @TheElvisnator
      @TheElvisnator 4 роки тому +4

      And the moving gestures?

    • @B-RaDD
      @B-RaDD 4 роки тому +1

      I'm new to the Tom Scott page... Is the 4hr pinned comment a regular thing?

    • @crayfray
      @crayfray 4 роки тому +1

      @@B-RaDD It can range from hours to weeks at times.

  • @michaelabbott5999
    @michaelabbott5999 4 роки тому +164

    It's like the "everything I say is false" paradox but for computers

    • @imveryangryitsnotbutter
      @imveryangryitsnotbutter 4 роки тому +13

      "Ummm... 'true'. I'll go 'true'. Eh, that was easy. I'll be honest, I might've heard that one before, though."

    • @MatthewBaka
      @MatthewBaka 4 роки тому +2

      @@imveryangryitsnotbutter "For God's sake, you're boxes! With legs!"

    • @louisdurand4567
      @louisdurand4567 4 роки тому +3

      I don't think this is a paradox since this statement could be false without contradicting the negation of "everything you say is false" which is "it exists something you say that's true". If the statement is false, maybe another statement you said could be true, who knows.
      A real paradox should be more specific to the statement like "This sentence is wrong."

    • @MatthewCampbell765
      @MatthewCampbell765 4 роки тому +1

      For what it's worth, the answer to that paradox is that they're lying to you. Not /everything/ they say is false, just one statement.
      It should also be noted that most paradoxes are less logical contradictions and more "failures of sentences to form a concept" or failing to take into account a 'third option'.
      To use an example of the latter: What happens when an unstoppable force meets an immovable object? They pass through eachother. The force does not stop, the object does not move.
      To use an example of the former: "Can God draw a square circle?" No, because the term 'square circle' doesn't actually mean anything. Similarly, God could not create a tornado over water, because then it'd be a water spout.

  • @crossroads1112
    @crossroads1112 4 роки тому +69

    As someone who has TAed an intro Theory of Computation course several times, this was a really good layman's explanation.
    Of course one funny thing I like to point out is that for any computer that we can ever possibly hope to build, the halting problem is actually solvable. This is just because unlike a Turing Machine, computers we can actually build don't have infinite memory. They're not Turing Machines, they're finite automata. This means I can look at the "state" of a particular computer executing any program (the contents of its registers, memory, disk, etc) and wait until either the the program halts, or I see the same state appear twice (in which case I know the program will loop)
    In practice however, this is obviously infeasible. Just considering 8GB RAM for the moment, that's 2^(36) bits so 2^(2^(36)) possible states.
    Also, interestingly, some low-level languages like C aren't in fact Turing-complete because the C standard defines a finite constant for the width of a pointer in bytes and the number of bits in a byte, which implies that the amount of addressable memory, and hence the number of possible states the program can be in, is finite. This doesn't actually rely on the hardware limitations i mentioned before. Or rather it demonstrates that those limitations are built into the C abstract machine.
    Another funny consequence of this is that all C programs that halt run in O(1) time. Since they halt, their runtime is bounded by O(2^(2^(CHAR_BIT * sizeof (void*)))) which is a constant (albeit typically a very, very, large one)

    • @sushant2664
      @sushant2664 3 роки тому

      interesting take on the subject

    • @ejasmith
      @ejasmith 3 роки тому +4

      I mean, if talking real world, it would eventually halt given the heat death of the universe (or a power cut) but this doesn't solve the logic question

  • @AdamHoelscher
    @AdamHoelscher 4 роки тому +76

    Nice video with a good treatment of the problem. There's always one thing I wish presenters would bring up, and Tom flirted with it.
    One of the key assumptions in the halting problem is that we're working with an idealized Turing machine, which is related to Hilbert's problem. In the real world no computer is truly a Turing machine because it has finite memory. You can definitely answer the halting problem for a machine with finite memory; you just need a larger machine that is able to simulate the smaller machine. For any given state, the big machine simulates the small machine until the small machine goes back to a state it has already been in (loops forever) or gets to the halt state (halts).

    • @sylvrwolflol
      @sylvrwolflol 2 роки тому +2

      I think perhaps my favorite thing is that everything loops back around to a core truth, no matter who's asking or how-
      The answer to "Is _x_ limitless?" is always "No, and you pure theory types need to stop asking." Physicists and chemists, mathematicians and engineers, the question never changes and neither does the answer XD

    • @Aderendhuelse
      @Aderendhuelse 2 роки тому +5

      Yet, the paradox does not rely on the machine being infinite.
      Regardless of how the machine looks like: if it detects a halt, it runs forever, if it detects a run forever, it halts. Feed it to itself and you have the paradox.
      Does a program like
      while (user input != "Ctrl+C"){}
      terminate?
      Even with just one byte of memory, this is undecidable. Because we do not know if there is a user and if they will somewhen press Ctrl+C.
      The infinite band of the Turing machine does not EQUAL the internal memory, that's just more of an analogy. Rather it may also contain other information like inputs and time passing depending on how you transform a real-world system into a Turing machine.
      Interesting is that the problem is not symmetrically undecidable. It is rather easy to prove if there exists a path in a program / model / machine that is terminating. But we cannot prove, that ALL paths will EVENTUALLY terminate. We cannot even determine, whether a "loop" is executed infinitely often or just once or several times before branching to a terminating path.
      Oh, another nice code example:
      do {
      x = randomize();
      } while (x != 5)
      Statistically, this might be likely to terminate. But we cannot be sure, if we have an unlucky run and never hit 5. Moreover the "big machine simulating the small machine" might see the state "x = 4" several times, decide, that there is a loop and decides the program does not terminate but in the next iteration, x is 5 and the program does terminate. Big machine failed.

    • @taragnor
      @taragnor Рік тому +1

      @@Aderendhuelse Well when you're talking about impure programs where you're waiting for input from the user, essentially the answer is almost always that it won't necessarily halt, because the user could just never press anything and the program would go forever. The question of whether the program will halt is essentially a "is it possible for this program to not finish and go indefinitely?" Once you introduce any kind of awaited user input, that almost always becomes the case.
      As for random numbers, if the randomize function is truly random and capable of producing a 5 result then the program will eventually end. You don't know when it will end (assuming the RNG is totally random), but eventually it will. There's no such thing as an unlucky run, because there's no set time limit where we give up and call the program frozen. Given infinite time, it will eventually end.

    • @gabrielfonseca1642
      @gabrielfonseca1642 Рік тому

      @@taragnor You could easily modify the function:
      x = randomize()
      if x == 5{
      loop
      } else {
      halt
      }
      If the number is truly random there is no way to know if this function will halt or not. Of course there is the issue of whether or not truly random numbers even exist, but the main contradiction is in the halting problem.

    • @derektaylor2941
      @derektaylor2941 Рік тому

      Do you have an opinion on pheasant pluckers?

  • @Species1571
    @Species1571 4 роки тому +524

    If I remember correctly, it would only pring "SOMETHING RUDE" horizontally like that if you included a semicolon on the print line, otherwise it would just print one per line.

    • @MarrsAttax
      @MarrsAttax 4 роки тому +31

      Spot on. Was that you I saw in Dixons?

    • @RhysWilliamsEsq
      @RhysWilliamsEsq 4 роки тому +4

      Came here to make this comment 😄

    • @richardsmall5514
      @richardsmall5514 4 роки тому +2

      Yep, you’re right. 😎

    • @Paul-sj5db
      @Paul-sj5db 4 роки тому +4

      Or if you had a trailing comma it would insert a tab afterwards.

    • @jsrodman
      @jsrodman 4 роки тому +6

      the better troll is to load up a legitimate pong game or whatever that only every few minutes prints a few pages of obsenities then goes back to the game after clearing the screen.

  • @Denvermorgan2000
    @Denvermorgan2000 4 роки тому +1268

    They really paid Turing back for his help.

    • @sword7166
      @sword7166 4 роки тому +268

      Oof. Happy pride month :/

    • @TestarossaF110
      @TestarossaF110 4 роки тому +251

      The minds we lost to discrimination of any kind.... sad world.

    • @irandom419
      @irandom419 4 роки тому +120

      No good deed goes unpunished.

    • @TheKazragore
      @TheKazragore 4 роки тому +63

      @@TestarossaF110 And a lot of it founded in some religious doctrine of one form or another.

    • @d779
      @d779 4 роки тому +22

      @@TheKazragore oh no not religion!
      Imagine blindly accepting a proposition, that certainly doesn't apply to anyone here.

  • @xizar0rg
    @xizar0rg 3 роки тому +5

    This feels like Russell's "Set of all sets that don't contain themselves", but on a computer.

    • @martinsmolik2449
      @martinsmolik2449 3 роки тому +1

      Yes, exactly. Russell's or Cantor's "diagonal argument" was very likely the inspiration for this proof.

  • @GreatDinn
    @GreatDinn 4 роки тому +170

    Weirdly enough, though this was only tangentially related, it helped me better understand how Magic the Gathering can be used as a Turing Machine.

    • @hyperspeed1313
      @hyperspeed1313 4 роки тому +7

      Do enlighten me

    • @jonathanw1106
      @jonathanw1106 4 роки тому +12

      Because Science already has a video doing exactly that

    • @birdrocket
      @birdrocket 4 роки тому +14

      Same with microsoft power point, same with HTML5+CSS3. The important thing to know is that a Turing machine can compute *anything* given enough time. Turing machines (aka computers) are actually quite powerful

    • @brent_peterson
      @brent_peterson 4 роки тому +10

      Chris Wyllie Did you watch the video?

    • @shadiester
      @shadiester 4 роки тому +20

      @@birdrocket Correction: A turing machine can compute anything that is computable

  • @natpaulsen8793
    @natpaulsen8793 4 роки тому +218

    This just reminds me of GLaDOS's failed effort to disable Wheatley by telling him "This sentence is false."

    • @AidebHerb
      @AidebHerb 3 роки тому +36

      Um… true, I’ll go true. Huh, that was easy.

    • @guilhermetorresj
      @guilhermetorresj 3 роки тому +5

      Don't think about it.

    • @YosheMC
      @YosheMC 2 роки тому +3

      same, i was thinking that too lmao

  • @sirzorg5728
    @sirzorg5728 4 роки тому +101

    "vanishes in a puff of logic"
    Nice reference.

    • @Jont828
      @Jont828 4 роки тому +4

      What's the reference to?

    • @TheArchsage74
      @TheArchsage74 4 роки тому +4

      @@Jont828 Hitchhiker's Guide to the Galaxy

  • @ggPescesgg
    @ggPescesgg 3 роки тому +21

    6:07 can someone explain this better to me? If it thinks it will halt, it will loop. But that just means it will loop given this specific input. Of course, if we take all of this again and take it as another input, fair enough it will halt, but I don't see where the self-contradiction comes from, since we never stated that we refeed its output infinitely

    • @cerealkilla378
      @cerealkilla378 3 роки тому

      Clearly this went right over your head...

    • @Yash-ML-Sharma
      @Yash-ML-Sharma 3 роки тому +40

      @@cerealkilla378 What an explanation!!!

    • @dan_man3087
      @dan_man3087 3 роки тому +3

      The program goes in infinite loop of halts and loops within itself. That's the contradiction.
      It's like in time machine paradox: after developing time machine and killing yourself in the past using it - what will happen? If you die - you can't create a time machine. Then you wouldn't travel in the past and won't kill yourself. But that means that you will be alive. Which mean that you will make time machine in the future and will kill yourself. But that means that you are dead and can't make time machine, go back in time and kill yourself. But that means that you are alive... And so on.
      The Opposite starts a loop similar to this: if the "inserted" Opposite is running - then the "main" Opposite will stop. But since the inserted program have ability to stop, the main Opposite must run forever.
      It's somewhat resembles the superposition: because the inserted program can do both infinite looping and halting, the main Opposite must looping and halting simultaneously too. Which will break it, until someone deliberately breaks this loop by makig some changes to how both programs should work.

    • @cerealkilla378
      @cerealkilla378 3 роки тому +1

      @@Yash-ML-Sharma I have my moments.

    • @danya023
      @danya023 2 роки тому +5

      One way to think about this is to observe that in order to have a machine that can answer a query, the query must be finite: for example, a program that finds the largest number does not exist, because it would need to be "x = 1 + (1 + (1 + ...))". If a question is impossible, so is the answer.
      To get OPPOSITE to halt, you ask it "do the opposite of (a program that prints something rude forever)", and to get it to loop forever, you ask it "do the opposite of (a program that prints hello and exits)". But when you feed in its own source code, you are asking it: "do the opposite of (a program that does the opposite of (a program that does the opposite of (...)))", and this query expands infinitely. A machine that answers an infinite query cannot exist, therefore OPPOSITE cannot exist.

  • @FightingTorque411
    @FightingTorque411 4 роки тому +428

    QUESTION: Can computers solve the question of where David Hilbert got that sweet hat style?

    • @hiiamelecktro4985
      @hiiamelecktro4985 4 роки тому +12

      Solve? no.
      Discover? Yes ( ͡° ͜ʖ ͡°)

    • @Otzkar
      @Otzkar 4 роки тому +10

      Do you mean brian david Gilbert?

    • @johnmcdaniels9231
      @johnmcdaniels9231 4 роки тому +7

      @@Otzkar BDG is actually the oldest immortal. That's why hes Like That.

    • @Felixr2
      @Felixr2 4 роки тому +4

      @@Otzkar Do you mean Hugh Brandity?

  • @Tyxi
    @Tyxi 4 роки тому +309

    "This sentence is false!"
    "Umm... true. I'll go true."

    • @moved8575
      @moved8575 4 роки тому +11

      Is the answer to this question no?

    • @vendybirdsvadl7472
      @vendybirdsvadl7472 4 роки тому +31

      Its an paradox. THERE IS NO ANSWER!

    • @Mate_Antal_Zoltan
      @Mate_Antal_Zoltan 4 роки тому +11

      too stupid to realise that it's a paradox, or, in other words...
      blissfully ignorant

    • @jumbledfox2098
      @jumbledfox2098 4 роки тому +19

      @@vendybirdsvadl7472 This place is gonna blow up if I don't get back in my body!

    • @aleph6707
      @aleph6707 4 роки тому +2

      @@moved8575 In classical bi-state logic it does not have a value, you could say that it isn't actually a proposition which can have a truth value attached to it (again, in bi-state logic)

  • @IJTRXModel
    @IJTRXModel 4 роки тому +446

    “Are there problems computers can’t solve?” The Balkans.

    • @silviapetrova8562
      @silviapetrova8562 4 роки тому +6

      хехе

    • @crazyhorse9298
      @crazyhorse9298 4 роки тому +11

      press 'Launch'

    • @adamduck7988
      @adamduck7988 4 роки тому +12

      Europe's most dysfunctional family

    • @shutupMaji
      @shutupMaji 4 роки тому +14

      Just bring a bottle of rakija with you and all the problems are solved

    • @Lambullghini
      @Lambullghini 4 роки тому +2

      oh wow that's...yea. I feel like an idiot now 🤔

  • @msalperen1
    @msalperen1 9 місяців тому

    One of the best openings I have seen in entire UA-cam that summarize the rest of the content.

  • @Horstroad
    @Horstroad 4 роки тому +365

    1:55 It's pronounced 'Entscheidungsproblem'

    • @ooo629ooo
      @ooo629ooo 4 роки тому +75

      aw gee thanks for the help

    • @okaydayy
      @okaydayy 4 роки тому +38

      End-shy-dunk-s-problem

    • @timothyharris7288
      @timothyharris7288 4 роки тому +13

      Thanks I was stuck on that

    • @lugga9113
      @lugga9113 4 роки тому +4

      Thanks

    • @labu5605
      @labu5605 4 роки тому +13

      @@okaydayy Kind of, but more like End-shy-dungs-propleem. You can't really find a word for the "dungs" part which sounds correct

  • @Thytos
    @Thytos 4 роки тому +332

    I'm German, so when there was "Entscheidungsproblem" appearing and Tom paused I was like, huh? What's the issue?
    And then I noticed that it's not English 😂

    • @julius5632
      @julius5632 4 роки тому +8

      Jep

    • @luka_8
      @luka_8 4 роки тому +42

      Same. And then I remember that such long words must look really intimidating to pronounce for someone who doesn't speak German. I'd have loved to see him try tho

    • @calum5975
      @calum5975 4 роки тому +13

      @@luka_8 Break it down, it's actually a very simple word to say. Most long German words are

    • @luka_8
      @luka_8 4 роки тому +9

      @@calum5975 for us germans yes, but I've seen *so* many people have problems with the harder pronunciation of longer German words

    • @huawafabe
      @huawafabe 4 роки тому +11

      @@luka_8 Tschechisches Streichholzschächtelchen.

  • @jamiepine
    @jamiepine 4 роки тому +1211

    just put it in a try catch bruh

    • @vigintinek3718
      @vigintinek3718 4 роки тому +6

      exactly

    • @moved8575
      @moved8575 4 роки тому +4

      +1

    • @moved8575
      @moved8575 4 роки тому +20

      the thing is what should it return after a catch: doesn't halt or halt?

    • @PastyMancer
      @PastyMancer 4 роки тому +9

      @@moved8575 the catch means HALTS might halt therefore I could theoretically exist in this case.

    • @moved8575
      @moved8575 4 роки тому

      @@PastyMancer oh

  • @GremlinSciences
    @GremlinSciences 3 роки тому +1

    I can simplify the answer even more. Any problem can be solved as long as you can put it into a form the computer can parse.
    On the topic of the example paradox, if the program is capable of causing a paradox, then it _MUST_ loop. If the code does not loop, it cannot recur to create the paradox. That's actually built into the code itself; the code loops as long as it would stop, but it also just stops if it should ever loop, once the code stops, it is no longer running to cause the paradox but it had to loop at least once to reach that point.
    It's like the +1-1 ad infinium "paradox," the answer could be 1 or 0 depending on whether infinity is odd or even, but 0.5 is also an answer.

  • @peppermintmiso4341
    @peppermintmiso4341 4 роки тому +181

    "Is the answer to this question no?"
    Computers: "uuuhhh"

    • @Nulono
      @Nulono 4 роки тому +24

      Computer: "Yesn't."

    • @OriginalPiMan
      @OriginalPiMan 4 роки тому +8

      "It is not."

    • @FrustratedProgrammer
      @FrustratedProgrammer 4 роки тому +1

      You: "Is the answer to this question no?"
      Computer: "Nah m8, of course it isn't"

    • @pieman12345678987654
      @pieman12345678987654 4 роки тому +1

      This sentence is... False

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 4 роки тому

      Bertrand Russell’s answer was “bottom”.
      No, that wasn’t a more polite way of saying “bum”, it was the name of the “⊥” symbol for the (non)result of a nonterminating computation.

  • @StefanTravis
    @StefanTravis 4 роки тому +329

    This is what we might call "The Strong Halting Problem":
    Question: Can one algorithm determine whether another will halt?
    Answer: No, because if it could, it still couldn't when applied to itself with a "negation" module appended.
    So, how about a "Weak Halting Problem"?
    Question: Can an algoithm determine the halting of another, provided the analyzed algorithm does not contain the analyzing algorithm?
    Recall Russell's paradox of the "set of all non-self-containing sets", and his proposed solution of a hierarchy of self-containment.

    • @knexator_
      @knexator_ 4 роки тому +51

      Still, the concept of "not containing the analyzing algorithm" isn't really well defined. Even if it doesn't literally contain it, it could contain something isomorphic to it.
      The big example here is how Russell and Whitehead made a system that talked about numbers but not about itself, and then Gödel showed that it could manipulate those numbers in a way that made it talk about itself, leading to the usual self referencing paradoxes.

    • @mohammedjawahri5726
      @mohammedjawahri5726 4 роки тому +27

      The whole point of Turing's contradiction proof was NOT a counterexample that showed that "ok since I found one case where it doesnt work then it can never work for ALL cases"
      The proof was more like "assume it's possible, that assumption leads to literal nonsense, hence the whole notion of a "halting machine" is literal nonsense and is not even a coherent idea (even if the incoherence of the idea is non trivial to see)"
      I dont see how relaxing the conditions of such a machine would fix this, I feel like the proof strongly suggests (even if it does not prove, I'm not wise in the ways of decidability enough to know haha) that the machine is simply impossible as a logical concept
      Again that's complete non-rigorous bs that comes more from gut feeling rather than proof

    •  4 роки тому +22

      This wouldn't work. You would need to specify what does it mean for an algorith to contain another. If I make a little tweak that changes the literal program but all the outputs remin the same, is it the same algorithm? This will probably lead to a definition of equivalent algorithms: Two algorithms are equivalent if and only if they output the same thing when they receive the same input. Okay, that one is solved. But now you need to verify that there is a program that can check if two algorithms are equivalent. This program can't exist, as it would have to go iver every posible input and wouldn't halt. Maybe you can think in other ways of solvibg the "contains the analyzing algorithm" but the problem will remain, verifying wether two algorithms behave the same is not computable.

    • @jarredallen3228
      @jarredallen3228 4 роки тому +7

      There is a different way of proving the halting problem that doesn't rely on passing the machine as an input to itself. You can define a function that no turing machine can do (essentially, number all turing machines and all inputs, and then when given an input, output the opposite of what the turing machine with the same number would output on that word), and then you can demonstrate that, given a turing machine which solves the halting problem, you can make a turing machine which accepts the function that we just found to be impossible.

    • @lonestarr1490
      @lonestarr1490 4 роки тому +6

      @@jarredallen3228 Is the set of all turing machines countable?

  • @GppGery123
    @GppGery123 4 роки тому +759

    My computer can’t solve why it sounds like jet engine when I open 2 tabs.

    • @CharalamposKoundourakis
      @CharalamposKoundourakis 4 роки тому +2

      How is it starting the calculation? Is it custom software or?

    • @chrisspellman5952
      @chrisspellman5952 4 роки тому +112

      It's just having an identity crisis. It think's its a jet not a computer. Put little wings on it, might make it happy.

    • @Ammarirfanofficial
      @Ammarirfanofficial 4 роки тому +5

      Use the new Microsoft edge it really helped me had the same problem
      Never looked back

    • @JimboRustles
      @JimboRustles 4 роки тому +8

      clogged fans

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 4 роки тому +7

      Could it be one of those pages has a cryptominer hidden in it?

  • @DesertFernweh
    @DesertFernweh 2 роки тому +1

    I have worked on Computers my whole life and I never knew this, thank you.

  • @SkeletonSyskey
    @SkeletonSyskey 4 роки тому +204

    One problem a computer can't solve: Fixing "Paper Jam" in a printer.

    • @Shadowparshath
      @Shadowparshath 4 роки тому +1

      SkeletonSyskey 😂 True!

    • @Monkeyb00y
      @Monkeyb00y 4 роки тому +28

      Also:
      Printer: Replace yellow ink.
      Me: But I'm only printing using black, no colors.
      Printer: Replace yellow ink.

    • @SkeletonSyskey
      @SkeletonSyskey 4 роки тому

      @@Monkeyb00y For me it's "Magenta In Da Printer"

    • @ДаниилРабинович-б9п
      @ДаниилРабинович-б9п 4 роки тому +1

      @@SkeletonSyskey many printers actually use colored ink, when you print black and white, to make it run out faster, so that you have to replace it.

    • @moosemaimer
      @moosemaimer 4 роки тому +2

      Never let a printer know you are in a hurry... they can smell fear.

  • @saixmusic9322
    @saixmusic9322 4 роки тому +38

    When I was studying Turing I tried to understand this but oh my god I didn't find any source in the entire internet that explained it well and I never understood it
    Thank you so much

    • @PropheticShadeZ
      @PropheticShadeZ 4 роки тому +1

      I understood what he's saying, but the concept still doesn't make sense, the program before it is entered into itself isn't complete, it's missing a data point. A program is a process, it doesn't have a result until you give it a reference point to start processing. I think the nuance might make it more convincing though

    • @amazuri3069
      @amazuri3069 3 роки тому +2

      @@PropheticShadeZ Well that's because it's oversimplified.

  • @elcisitiak172
    @elcisitiak172 4 роки тому +156

    "then it vanishes in a puff of logic" Hitchhiker's Guide reference?

    • @sy-py
      @sy-py 4 роки тому +14

      Tom was a leader of a team Hitchhikers on Only Connect.

    • @ultrio325
      @ultrio325 3 роки тому +2

      haven't -heard- read that part yet

  • @mzadro7
    @mzadro7 3 роки тому +12

    ah, i hate when my belongings disappear in a puff of logic

  • @putrid.p
    @putrid.p 4 роки тому +750

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

    • @ankitaishwarya5586
      @ankitaishwarya5586 4 роки тому +28

      That sounds like something Terry Pratchett would write

    • @tisaconundrum
      @tisaconundrum 4 роки тому +47

      I love The Hitchhiker's Guide to the Galaxy

    • @benfll
      @benfll 4 роки тому +47

      @@ankitaishwarya5586 it's actually from Douglas Adams' The Hitchhiker's Guide to the Galaxy

    • @durdleduc8520
      @durdleduc8520 4 роки тому +2

      ahaha! I get that reference!

    • @shawn6745
      @shawn6745 4 роки тому +8

      @@ankitaishwarya5586 Also dry, brtish and satirical like Douglas Adams, just on the fantasy side of things :P

  • @LaidbackLost
    @LaidbackLost 4 роки тому +429

    Who needs to ask “Can it solve every problem” when instead we can ask “Can it run DOOM”

    • @synchronos1
      @synchronos1 4 роки тому +54

      What we should ask is that given infinite time and memory, could a Turing machine run Crysis.

    • @owner876
      @owner876 4 роки тому +14

      Found the computer engineer

    • @smort123
      @smort123 4 роки тому +10

      @@synchronos1 Could it run Yandere Simulator

    • @SantiagoAbud
      @SantiagoAbud 4 роки тому +13

      @@smort123 Minecraft with shaders*

    • @aiksi5605
      @aiksi5605 4 роки тому +4

      virgin Computer Philosopher vs Chad DOOM porter

  • @NazarovVv
    @NazarovVv 4 роки тому +92

    "Not enough data for a meaningful answer"

    • @pintpullinggeek
      @pintpullinggeek 4 роки тому +10

      "LET THERE BE LIGHT"

    • @Name-iq8te
      @Name-iq8te 4 роки тому +2

      maps with Greenland on them be like

    • @ObjectsInMotion
      @ObjectsInMotion 4 роки тому +2

      *There is as yet insufficient data for a meaningful answer

    • @NazarovVv
      @NazarovVv 4 роки тому

      Objects in Motion You would have to forgive me, I’ve read it in Bulgarian and this was my translation based on the original English - Bulgarian translation.

  • @brentsaunders2600
    @brentsaunders2600 3 роки тому

    This has been the clearest statement of the P NP and the halting problem I’ve seen. Thank you.

  • @Jayako12
    @Jayako12 4 роки тому +79

    Everybody gangsta until Tom stares at the Entscheidungsproblem

  • @noelpb4526
    @noelpb4526 4 роки тому +77

    Tom Scott was that kid typin something rude on the computer

  • @unclesam997
    @unclesam997 4 роки тому +28

    Just a clarification: it’s not just that there’s no computer that can solve these problems, it’s that no algorithm exists that can solve these problems which means that there’s nothing at all that can solve them (as in no human can solve them either).

  • @Testgeraeusch
    @Testgeraeusch 4 роки тому +1

    A neat counterexample: Write a simple while loop of searching for zeros of the Riemann zeta function where the break condition is finding a zero which is not on the critical line, thus disproving the Riemann hypothesis. If the program halts we know that Riemann was wrong, and even if it takes billions of years that would still be a mathematical precise result. But if we could simply "tell" or use a "halting machine" to determin wether it will ever halt... then this would classify as proof of teh Riemann hypothesis. You could re-phrase this procedure for basicly every math problem. Computers can find counter examples, but they can (almost) never proof an infinite logical pattern. The only exceptions i know of where computers actually prooved the thing without any human understanding what they did in fulld etail is the proof of the four-colour-map-theorem and Hales proof of the Kepler-conjecture. Both showed results, but you gain no insight on the topic by knowing something is true. You gain insight by understanding why something is true; an insight a computer may never be able to give.

  • @gcewing
    @gcewing 4 роки тому +255

    A problem that Tom Scott can't solve: How to produce a Tom Scott video that's not interesting.

    • @Danicker
      @Danicker 4 роки тому +9

      Now that would be a paradox!

    • @lazaraleksandrov2808
      @lazaraleksandrov2808 4 роки тому +1

      You're not seen his Million VS Billion thing

    • @Lavb_b
      @Lavb_b 4 роки тому +1

      @@lazaraleksandrov2808 Not interesting, but quite relaxing

  • @MAtukulis
    @MAtukulis 4 роки тому +17

    2:35 that's amazing edit!

  • @mertaliyigit3288
    @mertaliyigit3288 4 роки тому +19

    everybody gangsta till that that computer gives one hour long lecture when you feed it its own code

  • @SpecialFXMaster1
    @SpecialFXMaster1 2 роки тому +3

    2:12 Hilbert’s optimism is engraved in his gravestone: it says “We must know, we will know” in German

  • @antiawarenessawarenessclub
    @antiawarenessawarenessclub 4 роки тому +158

    So basically, such a machine is impossible because its existence will contradict itself

    • @sphynx7242
      @sphynx7242 4 роки тому +11

      yes, that's the video

    • @S3Mi87
      @S3Mi87 4 роки тому +19

      But since it can not exist it also can not contradict itself! Therefore it can exist....

    • @bqfilms
      @bqfilms 4 роки тому +5

      @@S3Mi87 yep, that's the paradox

    • @VecheslavNovikov
      @VecheslavNovikov 4 роки тому +1

      Only if you feed it an infinite recursive stack as input.

    • @jennasmith7766
      @jennasmith7766 4 роки тому +1

      @@VecheslavNovikov I suppose you're right. The machine gets another machine as input. But that input is the same machine getting the same input itself. That's an infinite self-referential loop of machines which basically tries to compute the answer to the question "Is the answer 'No'?". That's a paradox question with no correct answer so of course computers cannot find an answer. But apparently it's a big achievement to proof mathematically that you cannot tell the answer if there is none.

  • @joyphobic
    @joyphobic 4 роки тому +219

    Poor Turing,never got the right treatment during his life even though he's a genius.

    • @Teck_1015
      @Teck_1015 4 роки тому +33

      British Parliament did give him an official posthumous apology... Although it's... Several decades too late. Hmph...

    • @Freekymoho
      @Freekymoho 4 роки тому +17

      @@Teck_1015 its better than nothing, its not like the parliment which issued the apology was alive to stop his abuse

    • @drewp.weiner5708
      @drewp.weiner5708 4 роки тому +9

      Turing could have cured cancer and brought world peace and the authorities still probably would’ve castrated him.

    • @bearmugs1408
      @bearmugs1408 4 роки тому +12

      Drew P. Weiner and, well that's the sad thing. Without him so many things would have not been possible, or at least been postponed until someone else invented the same thing. And we probably would have lost the war. The whole enigma code etc.

    • @NetheriteMiner
      @NetheriteMiner 4 роки тому

      @@bearmugs1408 I did a school project about him and the enigma code. I'm surprised about how little there is about him (at least with my search engine)

  • @silly_lil_guy
    @silly_lil_guy 4 роки тому +727

    Right answer: the last digit of π
    edit: only now, after 3 years, do i realise that i made an accidental Homestuck reference

    • @doublespoonco
      @doublespoonco 4 роки тому +94

      The last digit of pi is definitely "yes"

    • @irgendwieanders2121
      @irgendwieanders2121 4 роки тому +27

      We all know that the last digit of π has to be 2...

    • @theviniso
      @theviniso 3 роки тому +7

      @@irgendwieanders2121 I don't get it

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f 3 роки тому +7

      @@irgendwieanders2121 no. It’s 9 for sure.

    • @irgendwieanders2121
      @irgendwieanders2121 3 роки тому +4

      @@user-dh8oi2mk4f Too young to get it? Or not nerd enough?

  • @arunsp767
    @arunsp767 Рік тому

    The editor of this video should get a raise. By that, I'm sure it's Tom himself. Give yourself a raise Tom.

  • @conkerconk3
    @conkerconk3 4 роки тому +19

    2:45 imagine having a job as a computer and thinking you're set for atleast another 50 years, and then getting a letter in the post saying you're getting replaced by electronic computers.

    • @mattjohns3394
      @mattjohns3394 4 роки тому +9

      And then realise that your entire career has led to the development of the machine that replaced you.

    • @David_Last_Name
      @David_Last_Name 4 роки тому +4

      So basically, imagine your are half the modern workforce in 10 years time?

  • @akam9919
    @akam9919 4 роки тому +187

    Me before this: yes
    Me now: yes, and I also need a therapist because I am more confused than ever.

    • @TanteEmmaaa
      @TanteEmmaaa 4 роки тому +11

      It is basically the "This sentence is a lie" paradox, just as a computer version.

    • @thomasraahauge5231
      @thomasraahauge5231 4 роки тому +2

      *MY BRAIN HUUUUUUUUURTS!*

    • @vesk4000
      @vesk4000 4 роки тому +1

      Same

  • @AlexTheGamer97
    @AlexTheGamer97 4 роки тому +61

    Alan Turing is always the answer to any who computer science question

    • @hexzyle
      @hexzyle 4 роки тому +13

      Except when it's John von Neumann

    • @Carahan
      @Carahan 4 роки тому

      And George Marsaglia when it comes to psuedorandom number generators.

    • @futuure
      @futuure 4 роки тому

      And my dong

    • @mishkamcivor409
      @mishkamcivor409 4 роки тому +1

      Or Claude Shannon

  • @joanlapeyra
    @joanlapeyra 2 роки тому

    This video should be played in every lecture of Theory of Computation

  • @ellam1121
    @ellam1121 4 роки тому +33

    i watched this whole video, not knowing anything about computer science, just waiting for that hitchhikers guide to the galaxy reference

  • @harrisonachunche4098
    @harrisonachunche4098 4 роки тому +26

    As soon as i read the title i thought of Hilbert, Gödel and the incompleteness theorem. Thank you for making me feel somewhat smart 😆😂

  • @officialEricBG
    @officialEricBG 4 роки тому +51

    >"Herbert's Decision Problem"
    Poor David Hilbert :(

  • @DekarNL
    @DekarNL 2 роки тому +2

    Hilbert, Turing and Gödel lived great lives and impacted much of maths. I recently read a book called The music of the Primes by Marcus de Sautoy with chapters on them. Definitely worth a read.

  • @joyhatake4054
    @joyhatake4054 4 роки тому +164

    When is "The Advanced" going to ve released?

  • @DNA912
    @DNA912 4 роки тому +23

    omg, I was using a GPU heavy program on my other screen and actually thought I had overloaded my GPU when the video started to buffer xD

  • @MSilva-ee7nc
    @MSilva-ee7nc 4 роки тому +57

    Drinking game: Take a shot everytime Tom says he's oversimplifying something

    • @TheGnome-Ad
      @TheGnome-Ad 4 роки тому +2

      Are you the devil?

    • @illzzu
      @illzzu 4 роки тому +4

      Are you crazy? You want us to get alcohol poisoning? (JK)

  • @SioGG
    @SioGG 3 роки тому

    Coming back to this after Vertasiums latest video talking about decidable and undecidable math, this video prepared me for that!