Busy Beaver Turing Machines - Computerphile

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 501

  • @TheRealFaceyNeck
    @TheRealFaceyNeck 9 років тому +449

    It is always so amazing to me, that Prof. Brailsford is not only _immensely_ brilliant academically, but even _moreso_ brilliant at story telling.
    I could listen to him on podcast daily.

    • @theking94hm
      @theking94hm 8 років тому +11

      +Facey Neck Yes please, we need this.

    • @ratgr
      @ratgr 8 років тому +6

      lets start a request for this podcast to exist

    • @AaronHollander314
      @AaronHollander314 6 років тому +1

      sounds a bit like Winnie the Pooh

    • @Hagop64
      @Hagop64 5 років тому +9

      Pretty sure he could in front of a freshly painted wall, describing the paint drying and I would still be captivated.

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

      Isnt he a teacher also?
      Bet hes one of those acrually great and memorable ones

  • @KasranFox
    @KasranFox 7 років тому +441

    I don't know about you, but "faster than any computable function" sends a chill up my spine.

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

      No it does not. There are no busybeavers, there are just electrical signals switching from a on state to an off state.

    • @renomado8616
      @renomado8616 3 роки тому +22

      @@jeffcarroll1990shock ?

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

      @@renomado8616 zeros and ones.

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

      i wonder if there is a function that is faster than any computable function, period....
      Busy Beavers are only faster than all computable functions *eventually*, so they don't qualify

    • @KasranFox
      @KasranFox 3 роки тому +23

      @@MABfan11 i mean, any function we think of as faster than another function is typically only faster eventually, for some value of eventually. like, x! grows faster than x^2 "only" for x > 3

  • @VechtMalthos
    @VechtMalthos 10 років тому +621

    As it turns out, the universe is just a Busy Beaver program running on an extra-dimensional supercomputer and the higher-ups don't know whether or not it will halt yet.

    • @General12th
      @General12th 9 років тому +26

      +Vecht Our Universe is just a G64-card Busy Beaver program.

    • @jetison333
      @jetison333 8 років тому +17

      +Vecht lets hope it doesnt halt. and really if you want to think that way it will loop eventually, when entropy runs out.

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

      Sounds like something Douglas Adams would say.

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

      The year is 2020, the machine is slowly approaching its halt state

    • @geraldine-211
      @geraldine-211 4 роки тому

      @Vecht haha

  • @nandeeshgupta7606
    @nandeeshgupta7606 4 місяці тому +97

    Busy Beaver (5) is 47,176,870. Was verified recently in the busy beaver challenge.

    • @piguy314159
      @piguy314159 4 місяці тому +30

      More specifically, 47176870 is the maximum number of steps that a 5-state machine can run before halting; the number of 1s produced is the 4098 mentioned in the video.
      Also BB(6) was shown in 2022 to be at least 10 ↑↑ 15 (i.e. 10^10^10^…^10, with 15 10s)

    • @ahmoin
      @ahmoin 4 місяці тому +11

      Yesterday people were celebrating Independence day. People should've been celebrating BB(5) being proven.

    • @lame_lexem
      @lame_lexem 4 місяці тому +5

      i hope computerphile or numberphile would make a video report and interview some of the folks who were proving it

    • @GursimarSinghMiglani-ym7nu
      @GursimarSinghMiglani-ym7nu 4 місяці тому +2

      Yes

    • @brycemw
      @brycemw 4 місяці тому +5

      BB(6) may never be solved because we’ve already found machines that would require solving a version of the Collatz conjecture to determine if they halt or not

  • @Philosoph8
    @Philosoph8 5 років тому +72

    I really enjoy seeing someone who talks so passionately about their subject. It really motivates you to want to learn more.

  • @unexpectedTrajectory
    @unexpectedTrajectory 8 років тому +101

    to explain why the bus beaver numbers ultimately outpace any computable function: for any computable function some sufficiently complex busy beaver with a finite number of cards can be programmed to calculate any arbitrary value of that function, then print "that many +1" 1s and halt.

    • @redjr242
      @redjr242 5 років тому +37

      It turns out that if you can compute all Busy Beaver numbers, you can solve the Halting problem.
      Proof:
      Suppose that M is a machine such that for any n, M can compute BB(n). Let's now show that M can solve the halting problem. Suppose that T is Turing machine with n instructions. All M has to do is run T for BB(n) steps. If T halts before then, then T of course halts. If T does not halt in that time, then T doesn't halt at all, because, by definition, BB(n) is the longest running halting Turing machine with n instructions. Therefore M solves the halting problem.
      Since no Turing machine can solve the Halting problem, no Turing machine can compute BB(n) for arbitrary n. Since computable functions are exactly those that Turing machines can compute, BB(n) grows faster than any computable function.
      Note that we can always build a sufficiently complex Turing machine to compute a particular Busy Beaver number. But no fixed Turing machine can compute all Busy Beaver numbers.

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

      @@redjr242 An inmortal, sufficiently smart computer scientist with inifinite time is just a sofisticated Turing machine, isn't it?
      Couldn't it compute all BB(n) in increasing order?

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

      @@redjr242 It's very interesting, but where did you get this proof?
      It seems incorrect here:
      > by definition, BB(n) is the longest running halting Turing machine with n instructions
      No, by definition, BB(n) is the biggest number of 1s produced by the Turing machine with n instructions.
      It might take much longer than BB(n) steps to produce such a number of 1s.
      > Note that we can always build a sufficiently complex Turing machine to compute a particular Busy Beaver number. But no fixed Turing machine can compute all Busy Beaver numbers.
      If we were able to make Turing machine to compute a particular busy beaver number, then (it seems like, needs more thought) we would also be able to make Turing machine "builder" - a Turing machine that builds a Turing machine that computes a particular busy beaver number and then executes it, and thus be able to compute all busy beaver numbers.

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

      Chris Brenan at what value of n does BB outpace the TREE function? Considering TREE(3) is already unfathomably large while BB by comparison hasnt even left the starting line at 3. Or 6. Or 7.

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

      Sorry for a slow reply. No clue. But early values of functions can be very misleading. I believe it is generally agreed that Loader's Number is much greater than TREE(3) (or, for that matter, TREE(TREE(3))), and is achieved using a 512 character C program. Obviously that could be written as a Turing machine with some odd thousands of states. To circle back to your question, the exact point at which BB(a) overtakes TREE(a) is probably beyond our determining at present, but it isnt too difficult to wrap your head around the proof of why it has to happen. The fact that the very first few BB numbers are unimpressive only reflects the fact that tiny computers cant do much. But, to use an analogy, the fact that X^2 < X for X

  • @LuizBHMG
    @LuizBHMG 4 роки тому +127

    I'm the new busy beaver: I'm gonna replay this video until I understand it.

    • @shortcat
      @shortcat 3 роки тому +6

      not the most effective algorithm

    • @boiledham
      @boiledham 3 роки тому +23

      Unfortunately that would be an invalid configuration; the Turing machine is required to halt.

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

      BoiledHam woah, you didn't have to do him like that.
      But he is a 1-state machine that writes 1s to the right each time he doesn't understand.

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

      Make sure you watch "turing machine primer" in the description :)

    • @Triantalex
      @Triantalex Місяць тому

      ok?

  • @JohnGillett554
    @JohnGillett554 10 років тому +86

    The David Attenborough of Computer Science!

  • @heyheyjj
    @heyheyjj 4 місяці тому +6

    Hello from the year of Busy Beaver 5!!! super excited :D

  • @Mnemo85
    @Mnemo85 10 років тому +48

    Professor Brailsford has such a pleasant voice.. I could listen to him talk for hours. He should record some audio books or pick up voice acting.

  • @iLoMs012
    @iLoMs012 10 років тому +7

    This man is so charismatic. More videos with him, please. Not many people can explain something with so much enthusiasm that it translates to you. Other guys are good too but he is definitely ahead of many.

  • @gazeboist4535
    @gazeboist4535 6 років тому +7

    BB(7198) is independent from ZFC, proven in 2016 by Adam Yedidia. BB(4888) depends on Goldbach's Conjecture; BB(5372) depends on the Riemann Hypothesis.

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

      now that's an interesting thing to know, is the proof less than 50 pages of invented symbols and obfsucated predicate logic?

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

      @@imadhamaidi Probably? I don't know about the page count, but Yedidia didn't hand write with the TMs himself or do any sort of weird indirect existence proof; instead he designed variant of a programming language that compiled to TM specifications for an existing academic TM simulator, with optimizations focused on reducing the number of states used.* Then he wrote programs with the basic logic of "if [interesting unprovable/unproved statement], return true, else loop forever." I would guess that the papers mostly focus on discussing his compiler, which is the real meat of his work, although I know that the TMs produced were published and I think checked somehow.
      I got this info from Scott Aaronson's blog, where he posted about it around when Yedidia (at the time one of Aaronson's grad students / post docs, IIRC) was publishing; you should check those posts out yourself if you're curious.
      * A fun lesson in tradeoffs, and the dangers of code golf: the TMs Yedidia's compiler produces are crazily slow. Aaronson talks about their test program, which checked that 3^3 = 27. If I remember right, the resulting TM took something like three days to return a result. Thus, while I believe Aaronson did say they had one of those TMs running, I wouldn't hold out hope for an answer on either of those two conjectures from this quarter.

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

      @@gazeboist4535 just checked the blog post out and i'm blown away, so if you could find BB(7198) you can literally check the consistency of ZFC axioms, only if we had some magical way to do so

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

      the bound has been lowered to BB(748)

    • @bepisman297
      @bepisman297 2 місяці тому +1

      7918 to 1919 to 748 to 745 and now 643 as of september 1st 2024

  • @culwin
    @culwin 10 років тому +2

    University of Nottingham has the best professors.
    I could listen to this guy all day.

  • @eternaldoorman5228
    @eternaldoorman5228 Рік тому +5

    In primitive recursive functions you have a set of building blocks where you can compute the arguments to functions lower down in the hierarchy to produce the values of functions higher up. Something similar happens once you have enough cards in Rado's scheme to define parameterised machines like "take a computable function f and a busy beaver b of n-c cards and use c extra cards to compute f(b) and write that many ones onto the tape and then halt. This is potentially a busy beaver for n cards and these are higher-order recursive functions that are being computed. These higher order recursive functions have been studied by William Tait, I think, and the logical (intuitionistic) consequences of their existence are explored by Girard _et al_ in an infuriatingly obtuse book called "Proofs and Types". I would love to see a video about that!.

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

    Channel is so deeply into Turings work which is really helpful

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

    watching this video in 2020 makes me feel as if I am from the future. The record for n = 6 is 10^2879. For n = 5 the current record
    is 47 176 870, but it is not known about some machines whether they are in a loop, so
    that record could still be broken.

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

      Those machines could never halt even if they're not in a loop. Something equivalent to computing π, for example.

    • @ben_spiller
      @ben_spiller 2 роки тому +8

      Watching this video in 2022, the new record for BB(6) is 10↑↑15.

    • @micfiend5986
      @micfiend5986 Рік тому +2

      47 176 870 is the number of steps, not the number of 1's. The n = 5 record is still 4098 1's (I think).

    • @SuperChooser123
      @SuperChooser123 10 місяців тому

      Lol

    • @Triantalex
      @Triantalex Місяць тому

      ok?

  • @asdf30111
    @asdf30111 10 років тому +131

    At 2 mins the video proves he is a hologram.

    • @antivanti
      @antivanti 10 років тому +29

      At 14:30 it would appear he is a T1000 =P

    • @Borednesss
      @Borednesss 10 років тому +3

      Anders Öhlund That was scary

    • @asdf30111
      @asdf30111 10 років тому +2

      Anders Öhlund That can only mean one thing he is the worlds 1st transhuman. (can't wait for hate comments because I said 1st.)

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

      @@asdf30111 it looks like you have waited.

    • @Triantalex
      @Triantalex Місяць тому

      false.

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

    If this isn't the best science video on UA-cam it's certainly in the top five. I've never seen Turing machines described more clearly.
    John K Clark

  • @magnusnilsson6217
    @magnusnilsson6217 5 років тому +4

    Thid lectures are really nice! They are, in their own kind, masterpieces. Thank you all involved!

  • @schelsullivan
    @schelsullivan 10 років тому +131

    He needs a roll of Brady's brown paper.

    • @Computerphile
      @Computerphile  10 років тому +111

      schel sullivan that's just for Numberphile, Sean has his computer printer paper!
      >Brady

    • @Triantalex
      @Triantalex Місяць тому

      false.

  • @seanski44
    @seanski44 10 років тому +100

    Arghh missed some compression glitches at 2mins in 😠

    • @NNOTM
      @NNOTM 10 років тому +28

      It looks kind of cool, though.

    • @Faxter313
      @Faxter313 10 років тому +16

      almost thought it was intended.

    • @antivanti
      @antivanti 10 років тому +8

      There's something really funky at 14:30 as well =P

    • @seanski44
      @seanski44 10 років тому +5

      Anders Öhlund ah yes, but that was 'by design' :)

    • @antivanti
      @antivanti 10 років тому +19

      You're just trying to hide the fact that he's a T1000 or a hologram :-P

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

    7:01 "Wow, bound to win an award."
    Oh man, this is priceless.

  • @u06jo3vmp
    @u06jo3vmp Місяць тому +2

    BB(5) was proven to be 47176870 this year

  • @SyntekkTeam
    @SyntekkTeam 10 років тому +5

    Really cool video. It reminds me a little of langstons ant. A video about that would be cool too.

  • @coopergates9680
    @coopergates9680 9 років тому +7

    So to get that 10^10500 number for a score estimate for the 6-card machine case, you had to evaluate a computable function, otherwise you would not have had an answer. It sounds like you can estimate how fast the busy beaver function grows, but it will always be faster than the estimate and you will never know exactly how fast it grows because you can't compute it.

    • @jamesdavis3851
      @jamesdavis3851 9 років тому +11

      +Cooper Gates The bb function is perfectly computable for any particular value, in the same sense way that it's perfectly reasonable to determine if a particular program will halt. It's non-computable in the sense that no algorithm can output the correct bb number for an *arbitrary* input.

    • @coopergates9680
      @coopergates9680 9 років тому

      +James Davis Yes, though calculating 10^18500 (I think the bound has been raised already!) directly by running all those turing machines until the highest halting score is found would be very impractical, so that wasn't what was used to find the result.

    • @coopergates9680
      @coopergates9680 9 років тому +1

      +James Davis A polynomial versus an exponential is a much less painstaking problem, such as if you wanted to know when 2^x overtakes x^45, you just set them equal to each other and solve for x, and you know that the solution is greater than 45 in this case because 2^45 < 45^45.

    • @jamesdavis3851
      @jamesdavis3851 9 років тому +2

      +Cooper Gates The solution is a transcendental that's arguably non-trivial to compute, but my point was that you don't have to compute where 2^x overtakes *every* polynomial to know that it eventually will overtake *any* polynomial. That's what defines the rate of growth of a function, not where it overtakes another class of functions, but the fact that it does at some point. The proof that bb overtakes any computable function is extremely easy, even finding an upper bound like you did in your example is very easy. But yes, the exact point at which bb overtakes a particular computable function isn't easy.

    • @coopergates9680
      @coopergates9680 9 років тому

      +James Davis I said that I found a *lower* bound because 45 for x gives 2^45 for the exponential and 45^45 for the polynomial. Anyway, what about comparing the growth rates of the Xi, Rayo, and FOOT functions?

  • @imacds
    @imacds 7 років тому +18

    Finally I comprehend what the fuss is about the halting problem.

  • @GideonMaina
    @GideonMaina 6 років тому +5

    "Get yourself a super computer"- hmmm, I would love to, great insights Prof.

  • @spendle
    @spendle 9 років тому +76

    For shits and giggles, I calculated the amount of 5-card Turing machines. It's 63,403,380,965,376 machines, or 6.34*10^13 if that floats your boat.

    • @jrg3213
      @jrg3213 8 років тому +18

      But can they run crysis? XD

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

      6-card is 232,218,265,089,212,416 machines
      7-card is 1,180,591,620,717,411,303,424 machines
      8-card is 7,958,661,109,946,400,884,391,936 machines
      Can't imagine how the large the "best" machine is from any of those considering the growth rate.

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

      @@jrg3213 The number isn't computing power tho

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

      So if you had a supercomputer than can run a million Turing machines a second, it would take about 2 years (I'm not sure how fast they can really do it.)

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

      That number is so large, there is no way my boat will stay afloat after it boards

  • @toast_recon
    @toast_recon 10 років тому +15

    Does this have to do with the fact that turing machines can run any algorithm? So the busy beaver problem is essentially "what is the largest number of 1s that can come out of an algorithm that only requires n cards", therefore after a point the busy beaver can always exceed a given algorithm, because it will at least include that algorithm (and every one that exceeds it).

    • @mightyNosewings
      @mightyNosewings 10 років тому +16

      The proof that the busy beaver function is incomputable is actually quite straightforward.
      Let _BB_ denote the busy beaver function; _BB(n)_ is the busy beaver for _n_ states.
      Now assume _BB_ is a computable function. In this case, we have a computable function _BBT_ which computes the maximum number of transitions that a *halting* Turing machine with _n_ states can go through.
      This gives us a solution to the Halting Problem. Given a Turing machine with _n_ states, simply run it until either:
      * it halts; or
      * it has gone through _BBT(n)_ transitions.
      If it is not in a halting state by the end of _BBT(n)_ transitions, then it will never halt, because _BBT(n)_ is the upper bound on the number of transitions that a *halting* Turing machine of _n_ states can go through.
      But the Halting Problem has been proven to have no solution. Thus, by contradiction, the busy beaver function is not computable.

    • @Triantalex
      @Triantalex Місяць тому

      ??

  • @shiinondogewalker2809
    @shiinondogewalker2809 5 років тому +2

    so if busy beaver is a function, say b(n), that grows faster than any computable function,
    it also should grow faster than f(n) = b(b(n)).
    how?
    edit - I found out my error, appearently b(n) wouldn't be a computable function so f(n) is clearly faster but there's no problem about that.
    I find it really hard to see that b overtakes TREE, not that I really understand how big of a number such as TREE(3) is anyways.

  • @gedstrom
    @gedstrom 7 років тому +11

    Another statistic that I think would be interesting would be for Turing machines that actually halt, what is the maximum excursion of the read/write pointer in both the positive and negative directions? In other words, how much tape was needed?

    • @ChristianBrugger
      @ChristianBrugger Рік тому +2

      The wiki page on Busy beaver has a function S(n) for the maximum shifts. Its kind of close to what you have in mind.

    • @Triantalex
      @Triantalex Місяць тому

      ??

  • @PeterWalkerHP16c
    @PeterWalkerHP16c 9 років тому +38

    Oh look, the ground is opening up beneath me. And there is Godel, Cantor, Turing, Conway, Mandelbrot, Heisenberg, Chaitin et al already falling, all screaming as they descend.

  • @rykehuss3435
    @rykehuss3435 8 місяців тому

    The proof for why BB function eventually grows faster than any computable function is beautiful in its simplicity. Its because of the infinite tape. Because the beaver has infinite tape, it can create any computable function on the tape. It can create anything on the tape that can be expressed in binary code, like the works of Shakespeare.

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

    Someone once explained to me that BB(768) is such an unimaginably huge number that if we dedicated all the atoms in the universe to computing it, we still wouldn't be able to - and yet it is a finite integer. That boggled my mind. Such a short description of such a gargantuan quantity.

    • @ben_spiller
      @ben_spiller 7 місяців тому

      Don't even need to go that high. It was proved BB(18) > Graham's number.

    • @PaulFurber
      @PaulFurber 7 місяців тому

      @@ben_spiller Whoah. Didn't know that, thanks.

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

    I would have killed to have him as my compsci professor.

  • @KungFucianist
    @KungFucianist Рік тому +2

    This man could make drying paint entertaining.

  • @shortguy014
    @shortguy014 10 років тому +1

    I could listen to David all day!

  • @johnno4127
    @johnno4127 10 років тому +2

    I love how the beaver teeth hang over the tape sometimes, a nice detail.

  • @RGC_animation
    @RGC_animation Місяць тому

    The reason that at some points, BB numbers simply cannot be calculated with our current understanding of computers, even with infinite time, space, and ressources, is precisely because of the halting problem, where you cannot know wether any given turing machine will stop or not.

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

    Is there an equivalent problem that can be stated in terms of the lambda calculus instead of a Turing machine?

  • @NeonsStyleHD
    @NeonsStyleHD 10 років тому +14

    Given that this races up faster than any other computable process, could it be used for something other than as a curiosity?

    • @watcher314159
      @watcher314159 9 років тому +6

      +NeonsStyle Assuming all the laws of physics are Turing computable, which seems like a safe bet, then learning the size of the program our physics runs on lets us derive the size of the multiverse, and potentially even simulate ourselves.
      Granted, that would be of somewhat limited value for the most part, but it would still be an awesome datum of which to claim possession.

    • @jetison333
      @jetison333 8 років тому +1

      +eodguy83 you can write a program for a turing machine that calculates primes. it would just be horribly inefficient.

    • @watcher314159
      @watcher314159 8 років тому

      jetison333 Actually, over on Numberphile it was mentioned that fairly recently there was discovered a computationally efficient perfect test for primality.

    • @NeonsStyleHD
      @NeonsStyleHD 8 років тому

      ***** Well that's as clear as mud!

    • @Quasarbooster
      @Quasarbooster 6 років тому

      eodguy83 I believe Tor Diryc'Goyust is referring to an efficient primality test that only works for Mersenne primes (numbers of the form 2^p-1 where p is prime). I'm not sure if these kinds of primes are used in cryptography, but I would suspect not.

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

    14:30 I love that you can see how many people pressed replay for this part XD

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

    Consider Σ(n); where n= ackermann(g64,g64)

  • @njclondon2009
    @njclondon2009 7 років тому +1

    i watched this then built one of these things in R at work. great video, fascinating problem

  •  7 років тому

    Love the Busy Beaver Problem - a close relative to the Halting Problem. However when he says the machine head moves to the right on the tape, that was actually in the animation the Beaver's left so I was confused when he said "right" - was it our - the viewer's right - or the Beaver's right - I think he meant our right, but it was confusing lol.

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

    I suspect I could be mind-blown by this if I understood.

  • @saber1epee0
    @saber1epee0 10 років тому +2

    Absolutely Glorious.

  • @BB-zp8lu
    @BB-zp8lu 4 роки тому +58

    Who is here after watching George Hotz's busy beaver stream?

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

    Some beavers are actually putting in a lot of work, but others are just repeating the same thing pretending they’re working every time the boss comes past.

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

    Is there a more slowly growing incommutable function?

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

    Are there any online groups dealing with the busy beaver problem? This video was made 8 years ago and at that time, he said that there were 40 five-card busy beaver machines still running. I was wondering if any of those machines had been resolved in these past 8 years.

    • @liam.28
      @liam.28 Рік тому

      leaving this here in case someone answers so i get a notification

    • @diegoparedes-vincent8910
      @diegoparedes-vincent8910 Рік тому

      Same

    • @asagiai4965
      @asagiai4965 3 місяці тому +1

      Yes there is he mentioned the club. I just forget the time stamp.
      There's also T Rado's group if you search for it.
      There are other independent researchers too.
      Then there's also you and I which can create busy beaver programs.

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

      @@asagiai4965 Thank You!

  • @Kram1032
    @Kram1032 10 років тому +14

    So are there Busy Beaver equivalents for other models of computing? Say, lambda calculus? Or process algebras? Or type theory? Or what ever other magical models there are out there?
    What about Conway's game of life, for instance? You could have something like "Which n by k pattern, which actually becomes static in finite time (after some finite n, it may only contain periodic patterns or static ones (although I guess, busy beavers completely rule out dynamics, so perhaps periodic patterns are not allowed either)), produces the largest number of life cells?

    • @FerroNeoBoron
      @FerroNeoBoron 10 років тому +1

      I haven't heard of one.
      I think that for any calculus the tape would be the axioms, the program the inference rules, the 1s are the number of theorems it can output and the halt state is a fixed point.
      It would be a little weird for games of life. I think the board would be the tape, the program would be the ruleset, the 1s would be the live cells and the halt state ... I guess an idempotent board state like you said but that does seem a little arbitrary.

    • @Kram1032
      @Kram1032 10 років тому +6

      Ferroneoboron san actually, a quick google search suggested that this idea indeed exists for cellular automata of sorts - namely those which are also 2D turing machines. Turmites.
      ( ***** please do a video on those too :) )
      Though I was unable to find something for other computational models, at least not from a 5min search.

    • @unvergebeneid
      @unvergebeneid 10 років тому +8

      Yep. en.wikipedia.org/wiki/Busy_beaver#Generalizations
      "For any model of computation there exist simple analogs of the busy beaver."

    • @Kram1032
      @Kram1032 10 років тому

      Penny Lane damn, sometimes one should just try the obvious thing

    • @unvergebeneid
      @unvergebeneid 10 років тому +1

      Kram1032 Oh yeah, hi! You should get yourself a profile pic, good for recognition value :)
      I guess they didn't go into detail because it's rather trivial to construct these things for any given model and the fundamental argument will be basically the same as for the original one.

  • @dukestt
    @dukestt 6 років тому +1

    i get that the tape is infinite, i get that the head moves in either direction. I get that the number can be a 1 or 0, what i dont get is what the tape starts with. is it all 1's all 0's or is it a random mixture of the two??

    • @gedstrom
      @gedstrom 5 років тому +2

      For the Busy Beaver problem, the tape starts with all zeros by definition.

  • @adamkatav9752
    @adamkatav9752 9 років тому +1

    So the longest thing to compute and print is Busy Beaver with the input as Busy Beaver output starting from 1

  • @DavenH
    @DavenH 10 років тому

    This is one charismatic prof.

  • @thomasreglar2410
    @thomasreglar2410 9 років тому +20

    I saw this and just said to myself "well it would loop forever", but when he said you have to find a finite number of 1's, I thought " well how the f**k am I supposed to do that?"
    I'm still smiling about it now

  • @siprus
    @siprus 9 років тому +1

    I wanna know how long the longest running busy beaver machine of given amount of cards, runs?

    • @htmlguy88
      @htmlguy88 9 років тому

      siprus from wikipedia: 2-symbol621107≥ 47,176,870> 7.4 × 1036534 for number of steps

  • @aplcc323
    @aplcc323 7 років тому +14

    " join the Beaver club!
    Get your own super computer! "

  • @justahker3988
    @justahker3988 10 років тому

    The Wikipedia entry for Busy Beaver has a (very weak) lower bound. It uses arrow notation, of course.

  • @StevePagetWorld
    @StevePagetWorld 10 років тому

    I wish this guy had been my tutor at Uni. What fun!

  • @Calvinatorzcraft
    @Calvinatorzcraft 7 років тому +14

    People have their pc's cracking hashes all day. We need them to be finding busy beavers!

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

    Remember watching this for my A-level studies.
    I graduated from university 2 years ago and remember learning about the term busy beaver all them years ago.
    Came back to this video after all this time, after coming across the term "busy beaver" again but not quite remembering what it was about. Suffice to say this video jogged my memory.

  • @eddiehazel1259
    @eddiehazel1259 11 місяців тому

    love the glitching effect! how does one do that?!

  • @nowonmetube
    @nowonmetube 5 років тому +1

    Sure that it grows faster than Loader's number?
    Edit: Loader's number is computable, so it's answered right there. But what about Rayo's Number? What about the FOOT function?

    • @Peter_Schluss-Mit-Lustig
      @Peter_Schluss-Mit-Lustig 5 років тому +2

      Slower than Rayo
      Foot is ill-defined btw and has no output

    • @Peter_Schluss-Mit-Lustig
      @Peter_Schluss-Mit-Lustig 5 років тому +3

      That's because you can completely recreate the busy beaver game in rayo's function in like 2000 symbols so with like 3000 symbols you overtake every single bb number below

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

    this video is underrated

  • @vfoster9000
    @vfoster9000 10 років тому

    I would be interested to learn a little more about Bremermann's limit.

  • @tabularasa0606
    @tabularasa0606 10 років тому +1

    @Marian Gherca You forgot to add: "in 24 bits" You can easily define a 48 bit RGB palette or a 12 bit one.

  • @philipstuckey4922
    @philipstuckey4922 9 років тому

    so ... If I have the busy beaver function BB(n) that for any n it calculates the maximum number of 1s writable by an n card halting Turing machine, would the function F(n) = BB(n)*n grow faster than the busy beaver function?

  • @JakeFace0
    @JakeFace0 10 років тому

    are there any numbers of cards for which any finite number of 1s may be produced?

  • @oscarchivas3123
    @oscarchivas3123 10 років тому

    I may have missed it in the video, but what is the point of solving the problem? What would it accomplish?

    • @MrCmon113
      @MrCmon113 6 років тому

      It's fun.
      Welcome to mathematics.

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

      maybe if we develop computers that are not turing machines we can calculate BB(n) and use that to solve the halting problem

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

    Another excellent video!

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

    Correct me if I'm wrong but 256*10^8 is 25.6 billion in the short scale and 25.6 milliards in the long scale? Not 25.6 trillion...

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

      yeah he must have misspoke

  • @j.f.8502
    @j.f.8502 7 років тому

    In the instruction layout, for the 2-card case, how can the final column represent 3 possibilities -- 0 to halt, 1 to repeat the instruction on the current card, and 2 to go to the other card -- when a single bit can only represent two states?

    • @gedstrom
      @gedstrom 7 років тому +2

      There is no requirement that that final column be a single bit wide. For the 2 or 3 card cases, you would need a 2-bit wide field. for 4-7 cards, you would need a 3-bit wide field.

  • @PvblivsAelivs
    @PvblivsAelivs 9 років тому

    I think a difficulty I have with this video is that, when I hear "looping," I think of periodic behavior -- the machine returning to a previous state. What makes this so nasty is that it can turn out non-periodic. It might never repeat a state. If it got into a loop (as I think of loops) the condition could be detected. But if all programs that failed to halt periodically repeated their state, the halting problem would be solvable.

    • @PvblivsAelivs
      @PvblivsAelivs 9 років тому

      eNSWE
      "I haven't ever really heard anyone referring to the tape as part of the machine's state,"
      You have now. And the reasoning is simple. The contents of the tape can influence whether a Turing Machine halts or not and how long it takes, if it does halt. (It also influences the final "answer."
      "these are loops in the sense that the machine is in a certain state c, reads some input symbol a, and the transition function returns the same state and moves the head so that the same thing will keep happening over and over again."
      The problem with that analysis is the the machines that are still undecided don't quite do that. They only keep repeating their state number in the same sense as the decimal expansion of pi keeps repeating the digit '1'. Their behavior (as near as can be determined) is non-periodic.
      Even if you have a "partial state" that you know must return after n moves, you still determine a type of periodic behavior and can rule that it does not halt. If all Turing Machines either halted or exhibited periodic behavior, the halting problem would be decidable.

    • @eNSWE
      @eNSWE 9 років тому

      look, I didn't make up the fact that what this video refers to as "cards" is actually what is referred to as "states" in the formal definition.
      of course I understand that the input can affect whether the TM halts or not (if it is a parital recursive function, otherwise it doesn't matter), but the "state" of the machine is explicitly defined as what "rules" the machine is operating under at the moment (and thus how the transition function behaves). it's just terminology. the transition function takes the current state and the next character on the tape as it's arguments.

    • @PvblivsAelivs
      @PvblivsAelivs 9 років тому

      eNSWE
      What you said is that you had not previously encountered anyone who regarded the contents of the tape as part of the state. I took that at face value and simply told you that you have now. I also told you why I consider it part of the state.
      " it's just terminology."
      Language is just terminology. The point of my original comment is that it is evident that he is trying to convey some idea other than what the words used mean to me. That is a difficulty as I am not able to determine conclusively what he is really trying to say.
      Your apparent position is that it should be self-evident what he really means. That's the trouble with natural language. It doesn't always work that way.

    • @PvblivsAelivs
      @PvblivsAelivs 9 років тому

      Mat M
      Well, there are a few "tricks." If you can identify a partial state that must repeat itself after some finite number of turns, you can prove non-halting. It was once believed that any set of shapes that could tile the plane could do so periodically. And then it was proven that that assumption would make the halting problem decidable.

  • @signegolash4091
    @signegolash4091 10 років тому +1

    Where does this problem lie in the P-NP space?

    • @lukeinvictus
      @lukeinvictus 7 років тому +1

      you take the next left, go a 2 blocks and then go into the nearest corner store. If you look in the aisle containing toilet paper, remove the third one in the fourth column. The problem will be waiting for you there.

    • @marcthatcher
      @marcthatcher 7 років тому +2

      P = problems computable in polynomial time. NP = checkable in poly time or computable in non-deterministic poly time. BB is not computable so does not live in any set of computable functions.

  • @juliangoulette7600
    @juliangoulette7600 9 років тому +4

    you can have infinite tape, but what about loops of tape?

    • @coopergates9680
      @coopergates9680 9 років тому

      +Julian Goulette Maybe use a massive loop of tape with a highly composite number of slots so that loops could be detected easily; the problem is that if the tape is linked to itself, the results will be different, since it can wrap around and reach 1s it made that would otherwise be very far away. A Mobius strip would be fun ;)

    • @juliangoulette7600
      @juliangoulette7600 9 років тому

      loop of tape = finite + unbounded topology

    • @coopergates9680
      @coopergates9680 9 років тому

      +Julian Goulette Doesn't take away from the fact that it changes the problem. First of all, a practical loop of tape wouldn't have enough slots for the winning machine with 7 cards - it would already need to print way more than a googolplex 1s.

    • @juliangoulette7600
      @juliangoulette7600 9 років тому

      I was just curious,

    • @GoldenKingStudio
      @GoldenKingStudio 8 років тому

      +Julian Goulette A looped tape is one way of expressing a function that terminates, if I recall correctly. I was doing some basic reading on the various types of Turning Machines and looped tape was a thing for some of them. I am very tired right now and am probably remembering exactly what they are used for wrong.

  • @Mrayis100
    @Mrayis100 7 років тому +1

    Great vid, thank you so much!!!

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

    sounds like someone needs to create a function that grows so fast it puts the Busy Beaver to shame

    • @functional-tim
      @functional-tim 2 роки тому +1

      There already exist a couple of functions that grow faster than Busy Beaver. The Busy Beaver is only the biggest function for a Turing machine and with that also for a computer.
      But functions like Rayo's number are not even possible to calculate with any tool. We just know they exist because of formal logic.

  • @Chalisque
    @Chalisque 8 місяців тому

    I find it amazing that ZFC cannot prove what the 745th BB number is.

  • @ZXGuesser
    @ZXGuesser 10 років тому

    Yay, Professor Brailsford!
    More of this please ;)

  • @andrerenault
    @andrerenault 5 років тому +1

    Take a shot every time he says Busy Beaver

  • @Jacob011
    @Jacob011 10 років тому +3

    LOL. This prof is awesome!

  • @Viewer453
    @Viewer453 10 років тому

    Can someone explain the multi card turing machine please?

  • @Seegalgalguntijak
    @Seegalgalguntijak 10 років тому

    I had a thought which went like: "Well, would a quantum computer here be much help? Could you program it to calculate the max number of 1's for a 10 card Turing machine, and it would take some time (but not like centuries) and give you the correct answer?
    Or if so, is there maybe just some mathematical trick to the busy beaver problem, so that it can be put into a rather simple formula like "beaver of x" (with x being the number of cards) equals to y (with y being the max number of 1's)? I think such a thing should be possible (for a mathematical genius like Turing it might not even have posed much of a problem, but unfortunately not many people like him are alive today, if any)...

    • @MrCmon113
      @MrCmon113 6 років тому +2

      Seegal Galguntijak
      You don't need a genius for that. Here BB(n). There is your mathematical formula.
      Thing is that you can write formulas for anything, but that doesn't make them computable. What you are looking for is an algorithm and because algorithms are just as powerful as TMs, you cannot construct a computable function growing faster than BB by definition.

  • @NepalAnup
    @NepalAnup 6 років тому

    Why cant the head stay still, what will happen if the head stayed still? Can all move left, move right and stay still exists in busy beaver game?

    • @nowonmetube
      @nowonmetube 5 років тому

      What?

    • @TheUglyGnome
      @TheUglyGnome 5 років тому +1

      In Turing machine head can't stay still, because that would be redundant. You can simulate still head with other sequences of instructions. And because Turing machine is guaranteed to be simplest example of machine capable of computing all computable functions, you can't have redundancy.

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

      Well you can make a busy beaver out of that.
      It will be your own game version.

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

    irl the programs that win the BB game are similar to ackermann functions

  • @Canuckish
    @Canuckish 5 років тому +1

    The David Attenborough of CS

  • @GodzillaGoesGaga
    @GodzillaGoesGaga 6 років тому +1

    I’d be interested to know if a compute problem is actual following a Mandelbrot/fractal compute when it goes on forever. We have a situation of self modifying code (which is what a Turing machine is) and if you change the program, you can in essence, setup a chain of events which can recursively become the original program (or become a form of cyclic code such as a CRC algorithm).

    • @GodzillaGoesGaga
      @GodzillaGoesGaga 6 років тому

      Shift left and right and change to a ‘1’or ‘0’ can be thought of as a logic function. If ‘1’ change to a ‘0’/If ‘0’ change to a ‘1’ is an XOR. Shifting is how a cyclic redundancy code (or LFSR) works. So surely a program can be broken down to logical and LFSR instructions and recompiled to figure out the order of LFSR.

  • @PoppyMusica
    @PoppyMusica 7 років тому +3

    By 3 card, does he mean 3 states?

    • @MrCmon113
      @MrCmon113 6 років тому

      Yeah, dunno why he says cards. States is much more obvious.

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

    Can't we take integral or some other operation to calculate directly without need of turing machine?

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

      Integrals are usually used on continuous functions, due to the need of multiplying differencials with the value of the original function at infinite points. BB(n) is a step function, so I don't think it would work. But you might be able to use other forms of infinite sums.

  • @Hurfdurfhurf
    @Hurfdurfhurf 9 років тому +3

    The professors face at 14:30 scared me a bit

    • @Tulanir1
      @Tulanir1 8 років тому

      reptile shapeshifter conspiracy theorists incoming ( ͡° ͜ʖ ͡°)

  • @njclondon2009
    @njclondon2009 8 років тому

    that was fascinating! great vid.

  • @nand3kudasai
    @nand3kudasai 9 років тому +1

    try to program them in piet

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

    was this filmed in Mexico?

  • @brett1234-s7f
    @brett1234-s7f Рік тому

    Is this concept similar to finite automata?

  • @midnightrizer
    @midnightrizer 6 років тому

    if numbers get too big exponentially do you not get buffer over flow or out of range error>?

    • @dannygjk
      @dannygjk 6 років тому +1

      Not if the tape is infinite.

    • @dannygjk
      @dannygjk 6 років тому

      Oh I see what you mean on a real computer. No you can write a program which extends the size of numbers which can be dealt with. You are not limited by the limits of the MPU or operating system.

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

    So, would higher busy beavers eventually overtake something like TREE(TREE(TREE(TREE(TREE(...(X))))))?

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

      Yeah easily. SCG is vastly bigger than TREE, Loader is vastly, vastly bigger than SCG, Busy Beaver is a whole other ballpark to Loader.

  • @Rintse
    @Rintse 7 років тому

    how would one express the time complexity of this function?

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

      BB(n), remember that it's been proven that it is not computable so there's no formula for it that you can plug into a computer. besides, all algorithms are O(BB(n))

  • @julkiewitz
    @julkiewitz 5 місяців тому

    Well this function grows faster than any computable function, but it also means it's proven that it's uncomputable, correct?

    • @FrostDirt
      @FrostDirt 4 місяці тому

      Yes, it's uncomputable

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

    Go to red light district if you want to find the busiest beaver.