"The computer program I wrote compares that monkey's gibberish to every work of Shakespeare to see if it actually matches a small portion of what Shakespeare wrote. If it does match, the portion of gibberish that matched Shakespeare is marked with green," Andersen explained on his blog. "The parts of Shakespeare that have not been found are colored white. This process is repeated over and over until the monkeys have created every work of Shakespeare through random gibberish."
Anderson developed the project to test Amazon's web servers, but also to satisfy his curiosity of whether an infinite number of monkeys could randomly reproduce Shakespeare's work by pecking away on an infinite number of typewriters.
Link -via Geekologie | Photo by Flickr user Jemima G used under Creative Commons license
I always assumed the theorem implied that a given monkey had to type out the entire works in a single sitting. I always wondered how strict the imagined observers would have been about spelling, punctuation and grammar.
What constitutes a matched section? If you're particularly generous and allow a single letter, you can match ALL of the bard's work after 26 individual keystrokes.
And I can't help but think a computer's randomised simulation wouldn't match a monkey's frustrated bashing of the same few keys for hours on end.
Whilst interesting, this doesn't in any way match my interpretation of the theorem.
The "monkeys" are used as a metaphor for a random generator. And it turns out monkeys aren't very good at typing random stuff on a keyboard, as some students have apparently found useful to test:
http://news.bbc.co.uk/2/hi/3013959.stm
Excerpt: "after a month, the Sulawesi crested macaques had only succeeded in partially destroying the machine, using it as a lavatory, and mostly typing the letter "s"."
If the random keystroke (random mutation) is advantageous (i.e. closer to a specific Shakespearian verse), it is selected for, and that letter is retained in subsequent generations of otherwise gibberish keystrokes. As a result, it takes far less time to ultimately produce a Shakespearian verse than it would if there were no force selecting for advantageous keystrokes.
The idea was to show how Hoyle's fallacy i.e. "the chance that higher life forms might have emerged in this way is comparable to the chance that a tornado sweeping through a junkyard might assemble a Boeing 747 from the materials therein" fails to take into account the non-random force of natural selection selecting for and retaining advantageous random mutations over generations.
So yes, with this method of selection I'd expect the memoirs of Paris Hilton to be written and improved in about 15 seconds.
"Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation.
Multiquines are self-referential and self-representational. They produce a program from their source code, which then produces its own source code from its program and its own program from the source code it discovers through self-reference.
Example: HTML Web Page That Shows Its Own Source Code
http://www.win.tue.nl/~wstomv/edu/javascript/quine.html
I think this will approximate reality better than an infinite series finities.