A new study reveals it would take far longer than the lifespan of our universe for a typing monkey to randomly produce Shakespeare. So, while the Infinite Monkey Theorem is true, it is also somewhat misleading.
The question that everyone has been dying to know has been answered. Finally! What will scientists study next?
How is the infinite monkey theorum "misleading". It's got "infinite" in the name. If you're applying constraints based on the size or age of the universe, you are fundamentally misunderstanding the thought experiment.
So, while the Infinite Monkey Theorem is true, it is also somewhat misleading.
Is it though? The Monkey Theorem should make it understandable how long infinity really is. That the lifetime of the universe is not long enough is nothing unexpected IMHO, infinity is much (infinitely) longer. And that's what the theorem is about, isn't it?!
Have the monkey write down a single character. Just one. 29/30 of the time, it won't be the same character as the first one in Shakespeare's complete works; discard that sheet of paper, then try again. 1/30 of the time the monkey will type out the right character; when they do it, keep that sheet of paper and make copies out of it.
Now, instead of giving a completely blank sheet to the monkey, give them one of those copies. And let them type the second character. If different from the actual second character in Shakespeare's works, discard that sheet and give him a new copy (with the right 1st char still there - the monkey did type it out!). Do this until the monkey types the correct second character. Keep that sheet with 2 correct chars, make copies out of it, and repeat the process for the third character.
And then the fourth, the fifth, so goes on.
Since swapping sheets all the time takes more time than letting the monkey go wild, let's increase the time per typed character (right or wrong), from 1 second to... let's say, 60 times more. A whole minute. And since the monkey will type junk 29/30 of the time, it'll take around 30min to type the right character.
It would take even longer, right? Well... not really. Shakespeare's complete works have around 5 million characters, so the process should take 5*10⁶ * 30min = 2.5 million hours, or 285 years.
But we could do it even better. This approach has a single monkey doing all the work; the paper has 200k of them. We could split Shakespeare's complete works into 200k strings of 25 chars each, and assign each string to a monkey. Each monkey would complete their assignment, on average, after 12h30min; some will take a bit longer, but now we aren't talking about the thermal death of the universe or even centuries, it'll take at most a few days.
Why am I sharing this? I'm not invalidating the paper, mind you, it's cool maths.
I've found this metaphor of monkeys typing Shakespeare quite a bit in my teen years, when I still arsed myself to discuss with creationists. You know, the sort of people who thinks that complex life can't appear due to random mutations, just like a monkey can't type the full works of Shakespeare.
Complex life is not the result of a single "big" mutation, like a monkey typing the full thing out of the blue; it involves selection and inheritance, as the sheets of paper being copied or discarded.
And just like assigning tasks to different monkeys, multiple mutations can pop up independently and get recombined. Not just among sexual beings; even bacteria can transmit genes horizontally.
Already back then (inb4 yes, I was a weird teen...) I developed the skeleton of this reasoning. Now I just plopped the numbers that the paper uses, and here we go.
...what? No it isn't. Restricting the premise from infinite to any finite amount of time completely negates it. That doesn't prove it's "misleading", it proves anyone that thinks it does has no idea what they're talking about.
As such, we have to conclude that Shakespeare himself inadvertently provided the answer as to whether monkey labour could meaningfully be a replacement for human endeavour as a source of scholarship or creativity.
To quote Hamlet, Act 3, Scene 3, Line 87: “No”.
I feel like there has to be more to this problem than pure probability. We ought to consider practical nuances like the tendency to randomly mash keys that are closer together rather than assume a uniform distribution.
I just listened to a podcast about assembly theory and I think that it kind of relates here too, though maybe not. If we start randomly generating text that is the lenght of the Hamlet, then Hamlet itself would be one of the possible, finite number of possibilities that could be generated within these parameters. Interesting theory nevertheless.
If we think about a screwdriver, the theory would argue that it couldn’t simply appear out of nowhere because its structure is too specific and complex to have come into existence by chance alone. For that screwdriver to exist, a multitude of precise processes are required: extracting raw materials, refining them, shaping metal, designing the handle, etc. The probability of all these steps happening in the right order, spontaneously, is essentially zero. Assembly theory would say that each stage in the creation of a screwdriver represents a selection event, where choices are made, materials are transformed, and functions are refined.
What makes assembly theory especially intriguing is that it offers a framework to distinguish between things that could arise naturally, like a rock or even an organic molecule, and things that bear the hallmarks of a directed process. To put it simply, a screwdriver couldn't exist without a long sequence of assembly steps that are improbable to arise by chance, thereby making its existence a hallmark of intentional design or, at the very least, a directed process.