Have Computers Simulated the Infinite Monkey Theorem to Recreate Literature?

  • Context: Undergrad 
  • Thread starter Thread starter greswd
  • Start date Start date
  • Tags Tags
    Infinite Theorem
Click For Summary

Discussion Overview

The discussion revolves around the simulation of the infinite monkey theorem using computers to generate literature, specifically whether such simulations have successfully produced recognizable phrases or sentences from existing works. The scope includes theoretical implications, practical challenges, and the relationship between randomness and evolution.

Discussion Character

  • Exploratory
  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • Some participants express curiosity about whether anyone has successfully simulated the infinite monkey theorem to generate literature.
  • Others question the purpose of such simulations, suggesting that the existence of infinite sequences inherently guarantees the appearance of any desired sequence.
  • Concerns are raised about the extremely low probability of generating even simple phrases, with calculations indicating that the likelihood is very small.
  • Some participants argue that running such simulations may not yield significant insights or advancements in understanding randomness and evolution.
  • There is a discussion about the implications of equating random letter generation with biological evolution, with some asserting that it could reinforce misconceptions about evolution being purely random.
  • Participants mention existing attempts to simulate the theorem, referencing specific projects and their limitations, such as only generating short character sequences.
  • Technical challenges are highlighted, including the computational resources required to increase the length of generated sequences.
  • Some participants express skepticism about the value of the exercise, suggesting it may be a "fool's errand" or lacking meaningful outcomes.
  • Others emphasize that while randomness plays a role in evolution, it does not define the entire process, which involves complexity and selection.

Areas of Agreement / Disagreement

Participants generally do not reach a consensus, with multiple competing views on the value and implications of simulating the infinite monkey theorem. Disagreement exists regarding the relationship between randomness and evolution, as well as the practical utility of such simulations.

Contextual Notes

Participants express uncertainty about the practical execution of simulations, including the challenges of maintaining focus in a hypothetical scenario involving monkeys typing. There are also unresolved questions about the significance of generating short sequences versus longer, meaningful texts.

Who May Find This Useful

Individuals interested in the intersections of randomness, computational simulations, literature generation, and the philosophical implications of the infinite monkey theorem may find this discussion relevant.

greswd
Messages
764
Reaction score
20
I'm curious if anyone has ever simulated the infinite monkeys on typewriters using a computer, and managed to generate short sentences or phrases that have appeared in books/print media before.

That would demonstrate the effectiveness of the infinite monkey theorem.
 
Physics news on Phys.org
What would be the point? Do you have any grounds to doubt the fact that given an infinite number of sequences, any desired sequence will appear?
 
The major problem is that the probability, although not 0, is very small for even a simple 5 letter word, (\frac{1}{26})^5=8.4\times 10^{-8}, that a simulation would take a lot of computer time and wouldn't add much to what we know.
 
  • Like
Likes   Reactions: Igael
phyzguy said:
What would be the point? Do you have any grounds to doubt the fact that given an infinite number of sequences, any desired sequence will appear?

Hey, relax man.:cool: I was just curious if anyone has ever tried it out big time. Just to see what it looks like when attempted practically.

I have no doubts, but it would help make a case against dumb anti-evolutionists.
 
Last edited:
greswd said:
I have no doubts, but it would help make a case against dumb anti-evolutionists.
It would not. It would reinforce the misconception that evolution would be random. It is not. Every single mutation occurs randomly, but the same is true for each individual photon from the sun reaching your eye. You can clearly see the sun, and you don't have to rely on chance to do so.

Producing a billion random letters will give you a few 5-letter words (and many shorter words), but where is the point?
 
  • Like
Likes   Reactions: Demystifier
greswd said:
perhaps somy question was just about whether anyone had attempted to do so.

I've already seen this guy, http://www.jesse-anderson.com/2011/09/a-few-million-monkeys-randomly-recreate-shakespeare, but he only runs it in chunks of 9 characters.

It's not clear to me how you keep the monkeys concentrating on typing. They might turn the typewriters over and/or pull the paper out. Or worse. And, who decides when to change the paper? Or, do the monkeys do that at random as well? I think the monkeys would all be dead before they got even one sonnet beween them.
 
PeroK said:
It's not clear to me how you keep the monkeys concentrating on typing. They might turn the typewriters over and/or pull the paper out. Or worse. And, who decides when to change the paper? Or, do the monkeys do that at random as well? I think the monkeys would all be dead before they got even one sonnet beween them.
haha very funny. I already said "simulated" though.

also this:
https://www.theguardian.com/uk/2003/may/09/science.arts
 
  • Like
Likes   Reactions: PeroK
  • #10
greswd said:
but he only runs it in chunks of 9 characters.
Adding a tenth character would mean he needs a factor 26 more computing power. Computing power is not free.
 
  • #11
mfb said:
Adding a tenth character would mean he needs a factor 26 more computing power. Computing power is not free.
I know, and that wasn't my question.

Though I believe no one has upstaged Jesse Anderson so far.
 
  • #12
mathman said:
The major problem is that the probability, although not 0, is very small for even a simple 5 letter word, (\frac{1}{26})^5=8.4\times 10^{-8}, that a simulation would take a lot of computer time and wouldn't add much to what we know.
"Choose your battles wisely!"
 
  • Like
Likes   Reactions: FactChecker
  • #13
The odds and expected time required to get any phrase you specify is easy to calculate. There would be no point in running a simulation that is only fast enough to do pathetically small examples.
 
  • #14
Have you ever seen the expression 'a fool's errand'? This is one. That is what everyone is telling you in polite terms, @PeroK with some potty humor. The fact that it is potty humor should tell you a lot about what his opinion is. Please let this thread die and fade away.
 
Last edited:
  • #15
greswd said:
I have no doubts, but it would help make a case against dumb anti-evolutionists.
As @mfb said, randomness and big numbers are not a good model for biological evolution. Evolution is based on complexity and self-organization. A good mathematical model for this sort of phenomena is the Conway game of life:
https://en.wikipedia.org/wiki/Conway's_Game_of_Life

For those who want also to enjoy the Conway game of life, I recommend:
 
  • #16
mfb said:
It would not.
I think it greatly strengthens the case for evolution. The survival selection process is not worth as much if there is not a great variety of options to select from.
It would reinforce the misconception that evolution would be random. It is not.
Just because an important part is random does not mean that the whole thing is random.
Every single mutation occurs randomly, but the same is true for each individual photon from the sun reaching your eye. You can clearly see the sun, and you don't have to rely on chance to do so.
Clearly if it was not random and deterministic (like standing in a closed room) so that no photons reached your eyes, you would not see the sun.
Producing a billion random letters will give you a few 5-letter words (and many shorter words), but where is the point?
Because there is a survival selection process.
 
  • #17
FactChecker said:
Just because an important part is random does not mean that the whole thing is random.
Exactly, but looking for phrases in random letters gives the impression that the whole thing would be random. English has fixed rules and every deviation is a mistake, this is completely different from evolution.
FactChecker said:
Clearly if it was not random and deterministic (like standing in a closed room) so that no photons reached your eyes, you would not see the sun.
You missed my point.
 
  • #18
jim mcnamara said:
Have you ever seen the expression 'a fool's errand'? This is one. That is what everyone is telling you in polite terms, @PeroK with some potty humor. The fact that it is potty humor should tell you a lot about what his opinion is. Please let this thread die and fade away.
An errand at what cost? I'm just asking if anyone happens to know of something (infinite monkey test), if someone is aware, they'll give me an answer and I'll be happy. If not then I just get no answers. I don't see why I'm being impolite, neither do I see any reason for you to be upset. As I have already mentioned in #11.

also, I don't think that that was PeroK's intention.
 
  • #20
greswd said:
I've already seen this guy, http://www.jesse-anderson.com/2011/09/a-few-million-monkeys-randomly-recreate-shakespeare, but he only runs it in chunks of 9 characters.
If this is just seeing if 9 random characters appear in any of the Shakespeare works, you can see that this attempt is a tiny, tiny fraction of what the quote implies. It is doing something much more simple than the quote. Carrying that simplification to the extreme, I could limit myself to 1 character length and claim that all of Shakespeare was recreated as soon as all 26 characters have occurred. That would only take a millisecond on a computer.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
11K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
29
Views
5K