But we aren't talking about one monkey. We are talking about infinite monkeys.
Infinity is already a loaded concept in our universe.
This is a most excellent place for technology news and articles.
But we aren't talking about one monkey. We are talking about infinite monkeys.
Infinity is already a loaded concept in our universe.
This is clownery, humanity is infinite monkeys, and we wrote Hamlet ages ago.
Are they arguing it wasn't random though? I mean Shakespeare had to think through the plot and everything, not just scribble nonsense on a page
The thought experiment suggests that over a long enough period of time, every possible combination of letters would be typed out on a keyboard, including Hamlet.
They are not arguing about randomness, as it is inherent to the thought experiment. Randomness is necessary for the experiment to occur.
They are arguing that the universe would be dead before the time criteria is met. It is a bitter and sarcastic conclusion to the thought experiment, and is supposed to be funny.
In conversation, it would be delivered like this:
"You know, over a long enough period of time, monkeys smashing typewriters randomly would eventually produce Hamlet"
"The universe isn't going to last that long."
Nobody asked but I had to share this
It's important to me that everyone understands the joke, even if that understanding robs them of the joy of it. "Explaining a joke is like dissecting a frog. It kills it".
But it's important because I suffered a lot of being left out as a kid. Others found how good it felt to be exclusive, and shoulder me out of things, or refuse to explain things, or whatever it was that made me the outcast. I could tell from their faces that they love the way it felt when they did that to me. But it hurt me a lot.
I don't want there to be any exclusivity anymore. Nobody deserves that pain. I want everyone to understand the joke, even if that prevents them from ever laughing at it.
The theorem holds true. The theorem states that the monkey has infinite time, not just the lifetime of our universe.
That's just lazy science to change the conditions to make sensational headlines. Bad scientists!
This just in: scientists disprove validity of thought experiment; philosophers remain concerned that they've missed the point.
It also makes a pretty bold claim about us actually knowing the lifespan of the universe.
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.
Infinite monkeys would produce everything in the time that it would take to type it out as fast as anyone can type, infinite times. There would also be infinite variations of slower versions, including an infinite number of versions where everything but the final period is written, but it never gets added (same with every other permutation of missing characters and extra ones added).
There would be infinite monkeys that only type one of Shakespeare's plays or poems, and infinite monkeys that type some number greater than that, and even infinite monkeys that type out plays Shakespeare wanted to write but never got around to, plus infinite fan fictions about one or more of his plays.
Like infinite variations of plays where Juliette kills Hamlet, Ceasar puts on a miraculous defense and then divides Europe into the modern countries it's made up of today, Romeo falls in love with King Lear, and Transformers save the Thundercats from the Teenaged Mutant Ninja Turtles who were brainwashed to think they were ancient normal samurai lizards. Some variations having all of that in the same play.
That's the thing about infinity. If there's any chance of something happening at all, it happens infinite times.
Even meta variants would all happen. Like if there's any chance a group of monkeys typing randomly on typewriters could form a computer, there would be infinite variations of that computer in that infinite field of monkeys, including infinite ones that are trying to stimulate infinite monkeys making up a computer to verify that those monkeys make up a valid computer worth building and don't have some bug where the temperature gets too high and melts some of the monkeys or the food delivery system isn't fast enough to keep up and breaks down because monkeys get too tired to keep up with necessary timings.
BUT, even though all of these would exist in that infinite sea of monkeys, there would be far more monkeys just doing monkey things. So many more that you could spend your whole lifetime jumping to random locations within that sea of monkeys and never see any of the random organization popping out, despite an infinite number of monkeys and societies of monkeys dedicating their whole existence to making sure you, specifically, can find them (they might be too busy fighting off the infinite number of monkeys and societies of monkeys dedicating their lives to prevent you from ever finding non-noise in the sea of monkeys).
Lifetime of the universe is infinitely less than infinite time. So they solved for the wrong problem. Of course it may take longer than the life of the universe, or it may happen in a year. That's the whole point of the concepts of infinity and true randomness. Once you put a limit on time or a restriction on randomness, then the thought experiment is broken. You've totally changed the equation.
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?!
There's still a chance that a monkey will type it on the first attempt. It's just very small.
If I understand statistics correctly, it's actually a 50/50 chance.
It was the best of times, it was the blurst of times??
You stupid monkey!
Ignoring the obvious flaw of throwing out the importance of infinity here, they would be exceedingly unlikely but technically not unable. A random occurrence is just as likely to happen on try number 1 as it is on try number 10 billion. It doesn't become any more or less likely as iterations occur. This is an all too common failure of understanding how probabilities work.
How is this a study? It's just basic probability on a bogo sort style algorithm.
It’s not a “study”, it’s just 2 mathematicians having some fun. The paper is a good read, and as a math teacher I see a lot of pedagogical values in such publications.
OK, what about 2 monkeys?
The whole point of the thought experiment is that you have infinite monkeys.
I don't think so, because if you had infinite monkeys an infinite number of them would get it on the first try.
It was the best of times, it was the blurst of times? You stupid monkey!
Abiogenisis in shambles again
I have a way to make it work.
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.
I think the point is less about any kind of route to Hamlet, and more about the absurdity of infinite tries in a finite space(time). There are a finite (but extremely large) number of configurations of English characters in a work the length of Hamlet. If you have truly an infinite number of attempts (monkeys, time, or both are actually infinite) and the trials are all truly random (every character is guaranteed to have the same chance as every other) then you will necessarily arrive at that configuration eventually.
As far as your process, of procedurally generating each letter one by one until you have the completed works, we actually have a monkey who more or less did that already. His name is William.
Well you're not supposed to just have one. It's supposed to be a thousand monkies at a thousand typewriters.
Now do the Mythbusters thing and figure out how many monkies and typewriters it would take for them to write Hamlet in just under a year. Don't just solve the myth; put it to the test!
The statement isn't about "A" monkey. It's about an infinite amount of monkeys.
And an infinite amount of time.
This "rebuttal" is forced contrarianism. It's embarrassing.
A thought experiment has rules, you can't just change them and say the experiment doesn't make sense...
it is also somewhat misleading
...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.
So the secret to this thought experiment is to understand that infinite is big. Really big. You just won't believe how vastly, hugely, mind-bogglingly big it is...
The lifespan of the universe from big bang to heat death (the longest scenario) is a blink of an eye to eternity. The breadth and size of the universe -- not just what we can see, but how big it is with all the inflation bits, even as its expanding faster than the speed of light -- just a mote in a sunbeam compared to infinity.
Infinity itself looks flat and uninteresting. Looking up into the night sky is looking into infinity – distance is incomprehensible and therefore meaningless. And thus we don't imagine just how vast and literally impossible infinity is.
With an infinite number of monkeys, not only will you get one that will write out a Hamlet script perfectly the first time, formatted exactly as you need it, but you'll have an infinite number of them. Yes, the percentage of the total will be very small (though not infinitesimally so), and even if you do a partial search you're going to get a lot of false hits. But 0.000001% of ∞ is still ∞. ∞ / [Graham's Number] = ∞
It's a lot of monkeys.
Now, because the monkeys and typewriters and Shakespeare thought experiment isn't super useful unless you're dealing with angels and devils (they get to play with infinities. The real world is all normal numbers) the model has been paired down in Dawkin's Weasel ( on Wikipedia ) and Weasel Programs which demonstrate how evolution (specifically biological evolution) isn't random rather has random features, but natural selection is informed by, well, selection. Specifically survivability in a harsh environment. When slow rabbits fail to breed, the rabbits will mutate to be faster over generations.
What caught me out recently was infinity minus infinity.
It does not equal zero. Instead it breaks your sorting algorithm.
That's because they only considered one monkey.
You need a thousand monkeys working at a thousand typewriters.
They did not limit themselves to one monkey. From the article:
As well as a single monkey, they also did the calculations using the current global population of around 200,000 chimpanzees.
The whole study is trash. A chimpanzee is not a monkey.
There was a plank computer post here last couple of days. It showed an atomic sized computer performing one crack attempt every 10^-44 seconds would take a 95 character alphabet 100 years to crack a 121 character password.
Monkeys take up 1m^3. 10^105 bigger than a plank length. Typing 120wpm is 10^43 slower. Ignoring punctuation and spaces and capitalization, a 26 character alphabet allows for about 52 more characters than a 95 character alphabet.
Bottom line, monkeys can't come anywhere close to being able to crack a 100 character password from a 26 character alphabet.
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”.