Dandogli abbastanza tempo, un ipotetico scimpanzé premendo i tasti a caso would, arriverà quasi sicuramente a scrivere tutte le opere di Shakespeare. N.B: Lo scimpanzé non è una scimmia ma un Hominoidea

Il Teorema della scimmia instancabile afferma che una scimmia che prema a caso i tasti sulla tastiera per un tempo infinitamente lungo arriverà quasi sicuramente a scrivere un qualsiasi testo dato. I francofoni prendono come esempio i libri della Biblioteca Nazionale di Francia mentre gli anglofoni le opere di William Shakespeare.

In questo contesto, "quasi sicuramente" è un termine matematico con un significato ben preciso e la scimmia non è una vera e propria scimmia, ma una metafora per un dispositivo immaginario che produce una sequenza astratta di lettere ad infinitum. Il teorema illustra il pericolo di ragionare sull'infinito immaginando un vasto ma finito numero di oggetti e viceversa. La probabilità che una scimmia scriva esattamente un testo dato, ad esempio l'Amleto di Shakespeare, durante un periodo di tempo dell'ordine dell'età dell'universo è minuscola, ma non pari a zero.

Alcune varianti del teorema includono molti e anche infiniti "scrittori", e il testo obbiettivo varia da un un intero libro a una sola frase. La storia di questo teorema può essere ripercorsa fino ad Aristotele con il libro Sulla generazione e corruzione e a Cicerone con il De natura deorum, passando per Blaise Pascal e Jonathan Swift e infine alla formulazione moderna. Agli inizi del 20esimo secolo Émile Borel e Arthur Eddington utilizzarono il teorema per illustrare i termini impliciti nelle fondamenta della meccanica statistica.

L'interesse popolare delle scimmie che digitano è sostenuto dalle numerose apparizioni in letteratura, televisione, radio, musica e Internet. Nel 2003 fu eseguito un esperimento con sei Macaca nigra. Il loro contributo letterario è costituito da 5 pagine riempite in larga parte dalla lettera 'S'.[1]

Soluzione modifica

Prova diretta modifica

  Lo stesso argomento in dettaglio: Probabilità e Teorema della probabilità composta.

C'è una semplice dimostrazione per questo teorema. Se due eventi sono indipendenti, allora la probabilità che accadano entrambi è uguale al prodotto delle probabilità dei singoli eventi. Per esempio, se la probabilità che a Roma piova in un dato giorno è 0,3 (30%) e la probabilità che sempre in un dato giorno ci sia un terremoto a San Francisco è 0,008 (0,8%), la probabilità che avvengano entrambi gli eventi nello stesso giorno è  

Supponiamo che la macchina da scrivere utilizzata abbia 50 tasti e che la parola da scrivere sia banana. Se assumiamo che i tasti siano premuti in modo casuale ed indipendente, allora la probabilità che la prima lettera premuta sia la 'b' è 1/50, la probabilità che la seconda lettera premuta sia la 'a' è di nuovo 1/50 e così via. Perciò, la probabilità che la prima parola scritta sia banana ovvero che vengano scritte, nell'ordine, le lettere b, a, n, a, n, a è

 

cioè meno di una su 15 miliardi. Per la stessa ragione, la probabilità che le successive sei lettere corrispondano a banana è sempre meno di 1 su 15 miliardi, e così via.

Da quanto sopra, la probabilità di non scrivere banana in un certo blocco di sei lettere è  . Dato che ogni blocco è scritto indipendentemente, la probabilità Xn di non scrivere banana in nessuno dei primi n blocchi di sei lettere è

 

Al crescere di n, Xn diminuisce. Con n = 1.000.000 (1 milione) Xn è circa 0,9999, ma con n = 10.000.000.000 (10 miliardi) Xn è circa 0,53 e con n = 100.000.000.000 (100 miliardi) è circa 0,0017 (0,17%). Per n tendente ad infinito (cioè quando n assume valori sempre più grandi), la probabilità Xn tende a zero; questo significa Xn può essere reso tanto piccolo quanto si vuole, semplicemente aumentando n: in questo modo la probabilità di scrivere banana almeno una volta si avvicina al 100%. [2][note 1]

La stessa argomentazione mostra come mai almeno una delle infinite scimmie produrrà il testo tanto velocemente quanto lo produrebbe un dattilografo umano esperto copiandolo dall'originale. In questo caso Xn = (1 − (1/50)6)n dove Xn rappresenta la probabilità che nessuna delle scimmie scriva correttamente banana la prima volta. Considerando 100 miliardi di scimmie la probabilità è circa lo 0,17% ed all'aumentare del numero di scimmie n, la probabilità che le scimmie falliscano nel riprodurre correttamente la prima volta il testo dato Xn si avvicina sempre più a zero (tende a zero). Il limite, per n tendente all'infinito è zero.

Comunque per un numero fisicamente possibile di scimmie che scrivono e per un tempo fisicamente possibile, i risultati sono capovolti. Se ci fossero tante scimmie quante sono le particelle nell'universo osservabile (circa 1080), e se ognuna scrivesse una lettera al secondo per 100 volte la vita dell'universo (circa 1020 secondi), la probabilità che le scimmie replichino anche un piccolo libro è praticamente zero. Vedi sotto la sezione Probabilità.

Stringhe infinite modifica

Le due dichiarazioni sopra possono essere formulate in modo più generico e compatto in termini di stringhe, sequenze di caratteri scelti da un alfabeto finito:

Entrambi seguono dal secondo Lemma di Borel-Cantelli. Per il secondo teorema, sia Ek l'evento che la k-esima stringa inizi con il testo dato. Dato che questo ha una probabilità fissa diversa da zero p di accadere, e Ek è indipendente e la somma sotto diverge:

 

la probabilità che all'infinito molti degli eventi Ek si verifichino è 1 (100%). Il primo teorema è mostrato in modo simile; è possibile dividere la stringa casuale in blocchi non sovrapposti che combacino con la dimensione del testo desiderato e rendano Ek l'evento dove il k-esimo blocco sia uguale alla stringa desiderata.[note 2]

Probabilità modifica

Ignorando la punteggiatura, lo spazio e le lettere maiuscole, la scimmia, premendo tasti a caso, ha una possibilità su 26 di di scrivere correttamente la prima lettera di un opera, ad esempio Amleto di William Shakespeare. Per il Teorema della probabilità composta ha una possibilità su 676 (26 × 26) di scrivere correttamente le prima due lettere. Poichè la probabilità si riduce in modo esponenziale, a 20 lettere la probabilità crolla ad una possibilità su 2620 = 19.928.148.895.209.409.152.340.197.376 (quasi 2 × 1028). In caso dell'intero testo di Amleto, la probabilità è tanto bassa da poter essere a mala pena immaginata in termini umani. Il testo dell'opera in questione contiene circa 130.000 lettere. [note 3] Perciò c'è una possibilità su 3.4 × 10183.946 di ottenere il testo corretto alla prima prova. 3.4 × 10183.946 è anche il numero medio di lettere da scrivere prima che appaia il testo corretto. [note 4] Considerando anche la punteggiatura, il numero sale a 4.4 × 10360.783. [note 5]

Anche se tutto l'universo osservabile fosse riempito con scimmie che scrivono sulla tastiera, per un tempo che va da ora alla morte termica dell'universo, la probabilità di produrre l'Amleto sarebbe comunque minore di 1 su 10183.800. Come dicevano Kittel e Kroemer, "La probabilità di Amleto è perciò zero in ogni senso operativo di un evento..." e dire che le scimmie potrebbero riuscirvi "fornisce una conclusione ingannevole nei confronti dei numeri molto molto grandi."[3]

Storia modifica

Meccanica statistica modifica

Il teorema apparve in una delle forme oggi più conosciute, con le scimmie "dattilografe", nell'articolo di Émile Borel del 1913 intitolato "Mécanique Statistique et Irréversibilité" (Meccanica statistica e irreversibilità), [4] e poi nel 1914 nel suo libro Le Hasard. Le scimmie di cui tratta Borel non sono vere scimmie, ma una metafora per un modo immaginario di produrre enormi sequenze casuali di lettere. Borel affermò che se anche un milione di scimmie scrivesse per dieci ore al giorno, sarebbe stato alquanto improbabile che il loro risultato fosse esattamente uguale ai libri di tutte le librerie del mondo; e ancora, sarebbe stato ancora più improbabile che le leggi della meccanica statistica potessero essere violate, anche per poco.

Il fisico Arthur Eddington scrisse riguardo la metafora di Borel nel suo The Nature of the Physical World (La natura del mondo fisico), pubblicato nel 1928:

«Se lascio che le mie dita vaghino oziosamente sopra i tasti di una macchina da scrivere, potrebbe accadere che il mio movimento produca una frase comprensibile. Se un esercito di scimmie scrivesse su macchine da scrivere, potrebbero scrivere tutti i libri nel British Museum. Le probabilità che riescano in questo compito sono molto più favorevoli di quelle di una molecola che ritorna in una metà del recipiente.[5]»

Queste immagini invitano il lettore a considerare l'incredibile improbabilità di un enorme ma finito numero di scimmie che lavorino per un enorme ma finito periodo di tempo producendo un lavoro significativo e di comparare tale improbabilità all'improbabilità ancora più grande che avvengano certi fenomeni fisici. Tutti i processi fisici che è ancora meno probabile della riuscita delle scimmie sono nella pratica impossibili e potremmo affermare con sicurezza che tali processi non avverranno mai.[3]

Origins and "The Total Library" modifica

In a 1939 essay entitled "The Total Library", Argentine writer Jorge Luis Borges traced the infinite-monkey concept back to Aristotle's Metaphysics. Explaining the views of Leucippus, who held that the world arose through the random combination of atoms, Aristotle notes that the atoms themselves are homogeneous and their possible arrangements only differ in shape, position and ordering. In De Generatione et Corruptione (On Generation and Corruption), the Greek philosopher compares this to the way that a tragedy and a comedy consist of the same "atoms", i.e., alphabetic characters.[6] Three centuries later, Cicero's De natura deorum (On the Nature of the Gods) argued against the atomist worldview:

«He who believes this may as well believe that if a great quantity of the one-and-twenty letters, composed either of gold or any other matter, were thrown upon the ground, they would fall into such order as legibly to form the Annals of Ennius. I doubt whether fortune could make a single verse of them.[7]»

Borges follows the history of this argument through Blaise Pascal and Jonathan Swift, then observes that in his own time, the vocabulary had changed. By 1939, the idiom was "that a half-dozen monkeys provided with typewriters would, in a few eternities, produce all the books in the British Museum." (To which Borges adds, "Strictly speaking, one immortal monkey would suffice.") Borges then imagines the contents of the Total Library which this enterprise would produce if carried to its fullest extreme:

«Everything would be in its blind volumes. Everything: the detailed history of the future, Aeschylus' The Egyptians, the exact number of times that the waters of the Ganges have reflected the flight of a falcon, the secret and true nature of Rome, the encyclopedia Novalis would have constructed, my dreams and half-dreams at dawn on August 14, 1934, the proof of Pierre Fermat's theorem, the unwritten chapters of Edwin Drood, those same chapters translated into the language spoken by the Garamantes, the paradoxes Berkeley invented concerning Time but didn't publish, Urizen's books of iron, the premature epiphanies of Stephen Dedalus, which would be meaningless before a cycle of a thousand years, the Gnostic Gospel of Basilides, the song the sirens sang, the complete catalog of the Library, the proof of the inaccuracy of that catalog. Everything: but for every sensible line or accurate fact there would be millions of meaningless cacophonies, verbal farragoes, and babblings. Everything: but all the generations of mankind could pass before the dizzying shelves—shelves that obliterate the day and on which chaos lies—ever reward them with a tolerable page.[8]»

Borges's total library concept was the main theme of his widely read 1941 short story "The Library of Babel", which describes an unimaginably vast library consisting of interlocking hexagonal chambers, together containing every possible volume that could be composed from the letters of the alphabet and some punctuation characters.

Applications and criticisms modifica

Evolution modifica

 
Thomas Huxley is sometimes misattributed with proposing a variant of the theory in his debates with Samuel Wilberforce.

In his 1931 book The Mysterious Universe, Eddington's rival James Jeans attributed the monkey parable to a "Huxley", presumably meaning Thomas Henry Huxley. This attribution is incorrect.[9] Today, it is sometimes further reported that Huxley applied the example in a now-legendary debate over Charles Darwin's On the Origin of Species with the Anglican Bishop of Oxford, Samuel Wilberforce, held at a meeting of the British Association for the Advancement of Science at Oxford in June 30, 1860. This story suffers not only from a lack of evidence, but the fact that in 1860 the typewriter itself had yet to emerge.[10]

Despite the original mix-up, monkey-and-typewriter arguments are now common in arguments over evolution. For example, Doug Powell argues as a Christian apologist that even if a monkey accidentally types the letters of Hamlet, it has failed to produce Hamlet because it lacked the intention to communicate. His parallel implication is that natural laws could not produce the information content in DNA.[11] A more common argument is represented by Reverend John F. MacArthur, who claims that the genetic mutations necessary to produce a tapeworm from an amoeba are as unlikely as a monkey typing Hamlet's soliloquy, and hence the odds against the evolution of all life are impossible to overcome.[12]

Evolutionary biologist Richard Dawkins employs the typing monkey concept in his 1986 book The Blind Watchmaker to demonstrate the ability of natural selection to produce biological complexity out of random mutations. In a simulation experiment Dawkins has his weasel program produce the Hamlet phrase METHINKS IT IS LIKE A WEASEL, starting from a randomly typed parent, by "breeding" subsequent generations and always choosing the closest match from progeny that are copies of the parent, with random mutations. The random choices furnish raw material, while cumulative selection imparts information.[13]

A different avenue for rejecting the analogy between evolution and an unconstrained monkey lies in the problem that the monkey types only one letter at a time, independently of the other letters. Hugh Petrie argues that a more sophisticated setup is required, in his case not for biological evolution but the evolution of ideas:

«In order to get the proper analogy, we would have to equip the monkey with a more complex typewriter. It would have to include whole Elizabethan sentences and thoughts. It would have to include Elizabethan beliefs about human action patterns and the causes, Elizabethan morality and science, and linguistic patterns for expressing these. It would probably even have to include an account of the sorts of experiences which shaped Shakespeare's belief structure as a particular example of an Elizabethan. Then, perhaps, we might allow the monkey to play with such a typewriter and produce variants, but the impossibility of obtaining a Shakespearean play is no longer obvious. What is varied really does encapsulate a great deal of already-achieved knowledge.[14]»

James W. Valentine, while admitting that the classic monkey's task is impossible, finds that there is a worthwhile analogy between written English and the metazoan genome in this other sense: both have "combinatorial, hierarchical structures" that greatly constrain the immense number of combinations at the alphabet level.[15]

Literary theory modifica

R. G. Collingwood argued in 1938 that art cannot be produced by accident, and wrote as a sarcastic aside to his critics,

«…some … have denied this proposition, pointing out that if a monkey played with a typewriter … he would produce … the complete text of Shakespeare. Any reader who has nothing to do can amuse himself by calculating how long it would take for the probability to be worth betting on. But the interest of the suggestion lies in the revelation of the mental state of a person who can identify the 'works' of Shakespeare with the series of letters printed on the pages of a book…[16]»

Nelson Goodman took the contrary position, illustrating his point along with Catherine Elgin by the example of Borges' “Pierre Menard, Author of the Quixote”,

«What Menard wrote is simply another inscription of the text. Any of us can do the same, as can printing presses and photocopiers. Indeed, we are told, if infinitely many monkeys … one would eventually produce a replica of the text. That replica, we maintain, would be as much an instance of the work, Don Quixote, as Cervantes' manuscript, Menard's manuscript, and each copy of the book that ever has been or will be printed.[17]»

In another writing, Goodman elaborates, "That the monkey may be supposed to have produced his copy randomly makes no difference. It is the same text, and it is open to all the same interpretations…." Gérard Genette dismisses Goodman's argument as begging the question.[18]

For Jorge J. E. Gracia, the question of the identity of texts leads to a different question, that of author. If a monkey is capable of typing Hamlet, despite having no intention of meaning and therefore disqualifying itself as an author, then it appears that texts do not require authors. Possible solutions include saying that whoever finds the text and identifies it as Hamlet is the author; or that Shakespeare is the author, the monkey his agent, and the finder merely a user of the text. These solutions have their own difficulties, in that the text appears to have a meaning separate from the other agents: what if the monkey operates before Shakespeare is born, or if Shakespeare is never born, or if no one ever finds the monkey's typescript?[19]

Random number generation modifica

The theorem concerns a thought experiment which cannot be fully carried out in practice, since it is predicted to require prohibitive amounts of time and resources. Nonetheless, it has inspired efforts in finite random text generation.

One computer program run by Dan Oliver of Scottsdale, Arizona, according to an article in The New Yorker, came up with a result on August 4, 2004: After the group had worked for 42,162,500,000 billion billion monkey-years, one of the "monkeys" typed, “VALENTINE. Cease toIdor:eFLP0FRjWK78aXzVOwm)-‘;8.t" The first 19 letters of this sequence can be found in "The Two Gentlemen of Verona". Other teams have reproduced 18 characters from "Timon of Athens", 17 from "Troilus and Cressida", and 16 from "Richard II".[20]

A website entitled The Monkey Shakespeare Simulator, launched on July 1, 2003, contained a Java applet that simulates a large population of monkeys typing randomly, with the stated intention of seeing how long it takes the virtual monkeys to produce a complete Shakespearean play from beginning to end. For example, it produced this partial line from Henry IV, Part 2, reporting that it took "2,737,850 million billion billion billion monkey-years" to reach 24 matching characters:

RUMOUR. Open your ears; 9r"5j5&?OWTY Z0d...

Due to processing power limitations, the program uses a probabilistic model (by using a random number generator or RNG) instead of actually generating random text and comparing it to Shakespeare. When the simulator "detects a match" (that is, the RNG generates a certain value or a value within a certain range), the simulator simulates the match by generating matched text.

Questions about the statistics describing how often an ideal monkey should type certain strings can motivate practical tests for random number generators as well; these range from the simple to the "quite sophisticated". Computer science professors George Marsaglia and Arif Zaman report that they used to call such tests "overlapping m-tuple tests" in lecture, since they concern overlapping m-tuples of successive elements in a random sequence. But they found that calling them "monkey tests" helped to motivate the idea with students. They published a report on the class of tests and their results for various RNGs in 1993.[21]

Real monkeys modifica

Primate behaviorists Cheney and Seyfarth remark that real monkeys would indeed have to rely on chance to have any hope of producing Romeo and Juliet. Unlike apes and particularly chimpanzees, the evidence suggests that monkeys lack a theory of mind and are unable to differentiate between their own and others' knowledge, emotions, and beliefs. Even if a monkey could learn to write a play and describe the characters' behavior, it could not reveal the characters' minds and so build an ironic tragedy.[22]

In 2003, lecturers and students from the University of Plymouth MediaLab Arts course used a £2,000 grant from the Arts Council to study the literary output of real monkeys. They left a computer keyboard in the enclosure of six Celebes Crested Macaques in Paignton Zoo in Devon in England for a month, with a radio link to broadcast the results on a website. One researcher, Mike Phillips, defended the expenditure as being cheaper than reality TV and still "very stimulating and fascinating viewing".[1]

Not only did the monkeys produce nothing but five pages[23] consisting largely of the letter S, the lead male began by bashing the keyboard with a stone, and the monkeys continued by urinating and defecating on it. Phillips said that the artist-funded project was primarily performance art, and they had learned "an awful lot" from it. He concluded that monkeys "are not random generators. They're more complex than that. … They were quite interested in the screen, and they saw that when they typed a letter, something happened. There was a level of intention there."[1][24]

Cultura popolare modifica

Il teorema della scimmia instancabile è considerato una proverbiale illustrazione della teoria delle probabilità, ampiamente conosciuta al pubblico grazie alla cultura popolare piuttosto che alla scuola. Il teorema, insieme all'immaginario collegato, è considerato una proverbiale illustrazione della Teoria della probabilità, spesso conosciuta tramite la cultura popolare, piuttosto che dalla scuola. [note 6]

È stato menzionato e usato come una sorta di scherzo nel romanzo Guida galattica per autostoppisti di Douglas Adams. Nel capitolo 9:

«Ford! Di fuori c'è un infinito numero di scimmie che vogliono parlarci del copione di Amleto che hanno realizzato.»

Nell'episodio "Ultima fermata per Springfield" del cartone I Simpsons, Mr. Burns afferma: "Queste sono un mille scimmie che lavorano su mille macchine da scrivere. In poco tempo avranno scritto i più celebri romanzi conosciuti all'uomo. Vediamo... 'È stato il migliore dei tempi, è stato il "più sfocato" dei tempi'? Stupide scimmie!"

La diffusa e duratura fama del teorema venne notata nell'introduzione di un articolo del 2011, intitolato Monkeys, Typewriters and Networks: The Internet in the Light of the Theory of Accidental Excellence (Scimmie, Macchine da scrivere e Reti: Internet alla luce della teoria dell'eccellenza accidentale) di Hoffmann e Hoffman.[25] Nel 2002, un articolo sul Washington Post affermava "Un gran numero di persone si sono divertite sapendo che un infinito numero di scimmie con un infinito numero di macchine da scrivere e un infinito periodo di tempo potrebbe scrivere tutte le opere di Shakespeare."[26] Nel 2003, il sopracitato Arts Council England ha organizzato un esperimento con vere scimmie e tastiere di computer, che ha ricevuto un'ampia copertura mediatica.[27] Nel 2007, il teorema venne inserito da Wired nella lista di 8 classici esperimenti mentali.[28]

Note modifica

  1. ^ a b c No words to describe monkeys' play, BBC News, 9 maggio 2003. URL consultato il 25 luglio 2009.
  2. ^ Richard E. Isaac, The Pleasures of Probability, Springer, 1995, pp. 48–50, ISBN 0-387-94415-X. Isaac generalizza subito questo argomento con la dimensione dell'alfabeto e il testo variabile. Conclusioni a p.50
  3. ^ a b Charles Kittel e Herbert Kroemer, Thermal Physics (2nd ed.), W. H. Freeman Company, 1980, p. 53, ISBN 0-7167-1088-9.
  4. ^ Émile Borel, Mécanique Statistique et Irréversibilité, in J. Phys. 5e série, vol. 3, 1913, pp. 189–196.
  5. ^ Arthur Eddington, The Nature of the Physical World: The Gifford Lectures, New York, Macmillan, 1928, pp. 72, ISBN 0-8414-3885-4.
  6. ^ Aristotle, De Generatione et Corruptione, 315b14.
  7. ^ Marcus Tullius Cicero, De natura deorum, 2.37. Translation from Cicero's Tusculan Disputations; Also, Treatises On The Nature Of The Gods, And On The Commonwealth, C. D. Yonge, principal translator, New York, Harper & Brothers Publishers, Franklin Square. (1877). Downloadable text.
  8. ^ Borges, Jorge Luis. "La biblioteca total" (The Total Library), Sur No. 59, August 1939. Trans. by Eliot Weinberger. In Selected Non-Fictions (Penguin: 1999), ISBN 0-670-84947-2.
  9. ^ Thanu Padmanabhan, The dark side of astronomy, in Nature, vol. 435, 2005, pp. 20–21, DOI:10.1038/435020a. Platt, Suzy; Library of Congress Congressional Research Service, Respectfully quoted: a dictionary of quotations, Barnes & Noble, 1993, pp. 388–389, ISBN 0-88029-768-9.
  10. ^ Nicholas Rescher, Studies in the Philosophy of Science, ontos verlag, 2006, pp. 103, ISBN 3-938793-20-1.
  11. ^ Doug Powell, Holman Quicksource Guide to Christian Apologetics, Broadman & Holman, 2006, pp. 60, 63, ISBN 0-8054-9460-X.
  12. ^ John MacArthur, Think Biblically!: Recovering a Christian Worldview, Crossway Books, 2003, pp. 78–79, ISBN 1-58134-412-0.
  13. ^ Richard Dawkins, The Blind Watchmaker, Oxford UP, 1986, ISBN 0-393-99546-1.
  14. ^ As quoted in James Blachowicz, Of Two Minds: Nature of Inquiry, SUNY Press, 1998, pp. 109, ISBN 0-7914-3641-1.
  15. ^ James Valentine, On the Origin of Phyla, University of Chicago Press, 2004, pp. 77–80, ISBN 0-226-84548-6.
  16. ^ p.126 of The Principles of Art, as summarized and quoted by Richard J. Sclafani, The logical primitiveness of the concept of a work of art, in British Journal of Aesthetics, vol. 15, n. 1, 1975, pp. 14, DOI:10.1093/bjaesthetics/15.1.14.
  17. ^ John, Eileen and Dominic Lopes, editors, The Philosophy of Literature: Contemporary and Classic Readings: An Anthology, Blackwell, 2004, pp. 96, ISBN 1-4051-1208-5.
  18. ^ Gérard Genette, The Work of Art: Immanence and Transcendence, Cornell UP, 1997, ISBN 0-8014-8272-0.
  19. ^ Jorge Gracia, Texts: Ontological Status, Identity, Author, Audience, SUNY Press, 1996, pp. 1–2, 122–125, ISBN 0-7914-2901-6.
  20. ^ [1] Acocella, Joan, "The Typing Life: How writers used to write", The New Yorker, April 9, 2007, a review of The Iron Whim: A Fragmented History of Typewriting (Cornell) 2007, by Darren Wershler-Henry
  21. ^ Marsaglia G. and Zaman A., Monkey tests for random number generators, in Computers & mathematics with applications, vol. 26, Elsevier, Oxford, 1993, pp. 1–10, DOI:10.1016/0898-1221(93)90001-C, ISSN 0898-1221 (WC · ACNP).
  22. ^ Cheney, Dorothy L. and Robert M. Seyfarth, How Monkeys See the World: Inside the Mind of Another Species, University of Chicago Press, 1992, pp. 253–255, ISBN 0-226-10246-7.
  23. ^ Notes Towards the Complete Works of Shakespeare (PDF), su vivaria.net, 2002. URL consultato il 13 giugno 2006.
  24. ^ Associated Press, Monkeys Don't Write Shakespeare, Wired News, 9 maggio 2003. URL consultato il 2 marzo 2007.
  25. ^ Monkeys, Typewriters and Networks, Ute Hoffmann & Jeanette Hofmann, Wissenschaftszentrum Berlin für Sozialforschung gGmbH (WZB), 2001.
  26. ^ "Hello? This is Bob", Ken Ringle, Washington Post, 28 October 2002, page C01.
  27. ^ Notes Towards the Complete Works of Shakespeare
  28. ^ The Best Thought Experiments: Schrödinger's Cat, Borel's Monkeys, Greta Lorge, Wired Magazine: Issue 15.06, May 2007.
  1. ^ Questo dimostra che la probabilità di scrivere banana in uno dei blocchi predefiniti di 6 lettere non sovrapponibili tende a 1 (cioè al 100%). Inoltre, questa stima è conservativa: infatti la parola potrebbe essere scritta separata in due blocchi.
  2. ^ Il primo teorema è dimostrato in modo simile tramite percorsi più indiretti: Allan Gut, Probability: A Graduate Course, Springer, 2005, pp. 97–100, ISBN 0-387-22833-0.
  3. ^ Usando il testo di Amleto rilasciato gratuitamente dal sito gutenberg.org, ci sono 132.680 lettere dell'alfabeto e 199749 caratteri totali
  4. ^ Per ogni sequenza richiesta di 130.000 lettere dall'insieme dell'alfabeto (a-z), il numero medio di lettere che devono essere scritte prima che appaia la sequenza corretta è circa 3.4 × 10183.946, a meno che tutte le lettere della stringa richiesta non siano uguali, in tal caso il valore è circa il 4% in più, 3.6 × 10183.946. In questo caso il fallimento di avere una sequenza corretta partendo da una posizione particolare riduce di circa il 4% la probabilità di avere una sequenza corretta partendo da una posizione successiva. (per esempio, per posizioni sovrapposte, gli eventi di avere la sequenza corretta non sono indipendenti; in questo caso c'è una correlazione positive tra i due successi, così la probabilità di successo dopo un fallimento è minore della probabilità di successo in generale). Il numero 3.4 × 10183,946 è stato derivato dall'equazione n = 26130000, prendendo entrambi i membri come argomento della funzione logaritmo: log10(n) = 1300000×log10(26) = 183946.5352; perciò n = 100.5352 × 10183946 = 3.429 × 10183946.
  5. ^ 26 lettere ×2 a causa delle maiuscole, altre 12 per la punteggiatura = 64, 199749×log10(64) = 4.4 × 10360,783.
  6. ^ Esempi dell'uso "proverbiale" del teorema: "Why Creativity Is Not like the Proverbial Typing Monkey". Jonathan W. Schooler, Sonya Dougal, Psychological Inquiry, Vol. 10, No. 4 (1999); The Case of the Midwife Toad (Arthur Koestler, New York, 1972, page 30): "Neo-Darwinism does indeed carry the nineteenth-century brand of materialism to its extreme limits—to the proverbial monkey at the typewriter, hitting by pure chance on the proper keys to produce a Shakespeare sonnet." Consultare anche Parable of the Monkeys, una collezione di riferimenti al teorema.

Link esterni modifica


  Portale Matematica: accedi alle voci di Wikipedia che trattano di matematica
  Portale Statistica: accedi alle voci di Wikipedia che trattano di statistica