Showing posts with label Shakespeare. Show all posts
Showing posts with label Shakespeare. Show all posts

Friday, September 15, 2017

The Infinite Monkey Theorem & biology

Today in my logic class we discussed probability calculations as a way of illustrating inductive arguments.  I amused my students and myself by discussing the infinite monkey theorem and, better yet, actually calculating the odds.  It occurs to me tonight that this has some bearing on one of the big questions in biology. 
The IMT is a famous thought problem in philosophy.  If you had a number of monkeys randomly typing on keyboards, could they eventually produce a copy of one of Shakespeare’s plays?  The IMT is a good test of rationality.  Some students simply refuse to agree that it would be possible, even given infinite numbers of monkeys and time.  That suggests a mental block.  Given those assumptions, the outcome is not only possible but inevitable.  It is also a good illustration of the difference between logical possibility (which the IMT demonstrates) and causal possibility (which the IMT demonstrably fails). 
The monkeys in the theorem are, of course, metaphors for random signal generators.  They are also cute.  To explain my test, I’ll employ metaphorical chimpanzees (they’re easier to train).  I stipulate the following:
a constant team of 100 chimps;
each has a keyboard with twenty-six letters (no other symbols or spaces);
each chimpanzee has an equal chance of hitting any of the twenty-six keys on each keystroke;
each chimpanzee types exactly twenty-six characters per minute;
a full team of 100 primates is working at the stipulated speed twenty-four hours a day;
all the keystrokes are entered in a single line that we test for results;
there is no time limit on how long I can keep the experiment going. 
If you think that these stipulations are unrealistic, you think correctly; it’s a thought problem. 
Now: forget about a whole play; let’s just ask our simian team to produce
Now is the winter of our discontent made glorious summer by this son of York. 
One of my favorite lines, opening Richard III if memory serves.  That doesn’t look so hard.  If my apes are following the above stated rules, each will produce an “n” about once every minute.  To get the first and second letters in the right order, we have to multiply the probability of each: 26 x 26.  So, each 676 keystrokes will produce “no” and our team will produce about four examples every minute.  That’s pretty good.  We’ll be done by lunch.  Bananas all around!
The team will produce the first word in the line about every seven minutes.  Unfortunately, the wonders of geometrical progressions slow us down precipitously.  To get the first two words will require three full days.  Better alert the[KB1]  caterer. 
It gets worse fast.  Given our stipulations, the first three words “nowisthe” are going to appear in order, somewhere in our line, about once every 153 years.  Just to get the next three letters of the fourth word in order will require our team to work for about three million years. 
So how long will it take to get the first four words out?  Forty-seven billion, two hundred and six million, one hundred and four thousand, eight hundred and ninety-four years.  We are going to need a lot of chimpanzees and a lot of bananas.  Unfortunately, the Kosmos is only fourteen billion years old. 
I submit that our thought problem demonstrates two things.  One is that it is logically possible for our chimpanzees to produce Richard III.  Given enough animals, bananas, and time, they could produce the entire corpus.  The other is that it is causally impossible.  Vast stretches of time beyond calculation are necessary even to get going. 
There have been two recent attempts to play out the scenario.  One involved a number of macaque monkeys.  After two months, they failed to produce a single English word (they did have an inexplicable fondness for “s”); they broke the computer and pissed on the keyboard. 
The other was actually interesting.  Someone created a very large number of virtual monkeys, using the cloud to borrow computer time.   He claims to have produced almost the entire Shakespearean corpus by this method.  However…he cheated.  Whenever his virtual monkeys produced nine letters that appeared consecutively anywhere in the corpus, the program took them out and put them in their place.  The monkeys would not have to produce that string again. 
That is cheating because it means that our monkeys can produce Shakespeare only if they begin with Shakespeare as a forced sorting device, even with vast resources.  One might argue that it is analogous to divine intervention. 
It occurs to me that this is analogous to natural selection.  Instead of monkeys we have random changes in DNA.  Very large numbers of organisms constantly reproducing result in very large strings of genetic characters.  Natural selection saves the ones that code for viable traits.  That is how natural selection eventually builds a Shakespeare. 
But what about the UR organism, the first genuine replicator?  Is the simplest such organism that science can yet imagine more or less complex than the Bard’s Dickey Three?  Allow me to suggest that the answer is “more”.  How do you get from inorganic processes to even the simplest organic processes without some kind of preordained sorting? 
I don’t know and neither do you.  No one knows.  I have previously blogged on one attempt to answer that question.  Andreas Wagner argues that evolution worked because nature had a preexisting library of Platonic forms.  As a Platonist, I like that idea and I am pretty sure he is right.  I am just wondering who, precisely, was the librarian? 




Friday, July 8, 2016

Aristotle Saves Biology

I confess that I did not know, until tonight, that Aristotle understood precisely what a lunar eclipse is.  This is rather significant, because I had generally assumed that Aristotle’s physics was entirely indefensible.  While I am now on solid ground in holding that is biology is mostly solid ground, what of his view that a pitched falls back to earth because its earthy nature compels it to return to its natural place?  Aristotle did not have a reliable theory of momentum.  But then I came across this passage in the Posterior Analytics. 
τί ἐστιν ἔκλειψις; στέρησις φωτὸς ἀπὸ σελήνης ὐπὸ γῆς ἀντιφραξεως. 
Pretty straight forward, no?  Here it is in English.
What is an eclipse?  A deprivation of light against the moon due to the obstruction of the earth.
That is dead spot on, which is astonishing for his time.  He even goes on to say that this explanation, which relies on speculation, would be directly apparent if we were standing on the moon.  We would see the earth moving across the sun.  I am not going to try to rehabilitate Aristotle’s astronomy; however, I can’t help pointing out that, in considering the same event from two different points in space, he is perilously close here not only to Newton but to Einstein. 
I was reading the PA because I read a very fine paper by Lucas Mix: “Nested explanations in Aristotle and Mayr,” in Synthese (2016) 193: 1817-1832, and Mariska Leunissen’s book Explanation and Teleology in Aristotle’s Science of Nature.  Leunissen points out that Aristotle’s explanatory strategies may help us resolve certain fundamental problems in the modern philosophy of biology.  This is what Mix tries to do in joining Aristotle with Ernst Mayr, two of my favorite philosophers of biology. 
Modern biology involves a host of evolutionary and organismal explanations that cannot be generated by physics and chemistry alone.  Chemistry can tell you a lot about the DNA molecules but it cannot explain what a gene is, let alone make sense of organisms, adaptation, end-directed processes, etc.  At the same time, all biological phenomena depend on the mechanical laws of physics.  All organic activities, from metabolism to mental gymnastics require the expenditure of energy and fail when the energy runs out; yet only organisms can succeed or fail at anything.  How are we to understand the relationship between these two domains of science?
Here is how Mix puts it:
Nested explanations provide the most utility for biology. Good evolutionary explanations involve natural selection acting on replicating physical systems; therefore, the fullest biological knowledge will appeal to an evolutionary explanation nested within a mechanical explanation (or series of explanations). The evolutionary explanation is etiologically prior; it defines the categories in question (functions, organisms, genes). The mechanical explanation is temporally prior; it includes the material from which they are made and the rules by which they interact.
To say that evolutionary explanations are nested with mechanical explanations is to say they are a very special case of mechanical explanations.  Some physical systems have nothing to do with the former, as in the case of volcanoes.  Other physical systems like redwood trees cannot be understood without the former.  To say that the evolutionary explanation is etiologically prior to the mechanical explanation is to say that one must approach the study of living organisms with a basic understanding of what they are and that this is something that mechanical explanations cannot provide. 
Here is my take, for which Mix bears no responsibility.  The relationship between the mechanistic sciences, which ask only how something happened or is what it is, and the life sciences, which ask why something happened or why it is as it is, is analogous to the relationship between the Oxford English dictionary and a good English grammar, on the one hand, and Shakespeare’s Richard the Third on the other hand. 
Ignoring poetic license for the moment, Shakespeare was limited to a specific number of letters, a large but finite vocabulary, a large but finite number of grammatical rules, as well as a brevity dictated by the realities of the stage.  Given those restraints, an astronomically vast but finite number of plays was possible.  If you don’t believe me, read Jorge Luis Borges’ famous story, “The Library of Babel.”  It’s a good but sad joke to say that all one needs is a dictionary because all the other books are in it.  To get Dickey Three out of the OED, among the vast alternative populations, you need Shakespeare. 
To get William Shakespeare out of the vast possibilities that the physical kosmos offers, you need what?  It is hardly clear.  We have no good idea how life arose out of the chemical soups, sunlight, and lightening scoured landscapes that the earth offered just before it began to fruit.  Fruit it did, and the playwright known as natural selection has been scribbling furiously ever since. 
Just as an interpreter of Shakespeare must begin with the play and not the dictionary, so a biologist must begin with living organisms and not with the periodic table of elements.  Organic chemistry is organic first and chemical second.  Of course here the analogy breaks down.  The dictionary doesn’t tell you much about the play.  Chemistry and physics tell you a lot about living organisms.  Why are there a lot of animals here and not so many there?  Sunlight and temperature tell you a lot about why there are trees with certain kinds of leaves and that tells you why there are a lot of creates that eat the leaves and predators that eat the leaf eaters. 
I like the notion of nested explanations because it seems to reflect the most basic human reality.  We are nested within the biosphere on the surface of this planet.  We thrive on certain geographies and not so much or at all on others.  The biosphere is also nested in a larger range, but still only a sliver of the world.  Outside, there is the too cold or too hot and the empty silence. 
As Mix observes, Aristotle was good at nesting one kind of explanation within another.  He saw no contradiction between material and mechanistic causation, on the one hand, and the power of organic forms and teleological processes on the other.  He might have been the last great philosopher to be altogether comfortable with all the ways that science could offer for understand the physical and existential realities of our life on this world.  I must admit that I am a little uncomfortable with that. 

Discomfort drives the history of philosophy and science.  Still, both must continue to pursue the final view that will integrate and resolve all the problems.  Just right now, I am feeling some of Aristotle’s confidence.  

Thursday, May 26, 2016

How do you say "physics" in the tongue of biology?

Okay, so we have our chimpanzee banging away at typewriters.  Each keystroke is assumed to be random (this is a thought problem, not a hiring problem).  Let’s limit the keys to the twenty six letters of the alphabet so I don’t have to count the keys on my laptop.  How long does it take our pan troglodytes to produce Shakespeare’s Richard the Third? 
Well, our hairy scribe will produce one “n” about every twenty-six strokes.  Multiply 26 by 26 and that is how many strokes will be needed to produce the first two letters “no”.  Assuming that Bonzo types 260 letters a minute, how long will it take him to turn out Now is the Winter of Our Discontent Made Glorious Summer by this Son of York?
I once actually calculated this out and quickly determined that it would take more time than the kosmos has existed for our chimp or indeed a whole army of chimps to get even halfway through that first line. 
I like to use this popular thought problem to test my philosophy students.  Could chimpanzees produce a Shakespeare play by random typing?  The answer is that not only could they do so but they would inevitably do so, given enough resources including time.  The problem is that the requirements are so vast as to be, for all practical purposes, impossible.  She who agrees with what I have just said is capable of thinking logically.  He who refuses to acknowledge even the contingent possibility is not. 
One might say that Darwin explained how it was not only possible but actual that that random typing produced chimpanzees.  What you need is some means of saving the good letters.  If every good letter survives and every bad letter perishes, then every twenty six strokes will get you one letter closer to My Kingdom for a Horse! 
Darwin can explain how you get from the simplest replicating organisms to certified public accountants because replicating organisms, by definition, have a means of saving and compiling the good letters in the DNA (or RNA) script.  But how do you get from inorganic chemistry to those UR organisms? 
Physicist Jeremy England has an intriguing guess.  His work is discussed in “How do you say “life” in Physics” by Alison Eck in Nautilus.  England addresses the problem that life presents to physicists. 
To the physicist steeped in statistical mechanics, life can, in this sense, appear miraculous. The second law of thermodynamics demands that for a closed system—like a gas in a box, or the universe as a whole—disorder must increase over time. Snow melts into a puddle, but a puddle does not (on its own) spontaneously take the shape of a snowflake. Were you to see a puddle do this, you’d assume you were watching a movie in reverse, as if time were moving backward. The second law imposes an irreversibility on the behavior of large groups of particles, allowing us to play with words like “past,” “present,” and “future.”

The arrow of time points in the direction of disorder. The arrow of life, however, points the opposite way. From a simple, dull seed grows an intricately structured flower, and from the lifeless Earth, forests and jungles. How is it that the rules governing those atoms we call “life” could be so drastically different from those that govern the rest of the atoms in the universe?
England’s guess is that the solution turns on irreversible shifts in states of atoms.  Here is my version, which mixes the metaphors in the Nautilus articles.  Someone jumping a fence with a pogo can jump back, given that she has enough energy to do so.  That’s a reversible change in state.  Someone being shot out of a canon cannot return.  His flight is irreversible. 
How does this work at the atomic level? 
A group of atoms could take a burst of external energy and use it to transform itself into a new configuration—jumping the fence, so to speak. If the atoms dissipate the energy while they transform, the change could be irreversible. They could always use the next burst of energy that comes along to transition back, and often they will. But sometimes they won’t. Sometimes they’ll use that next burst to transition into yet another new state, dissipating their energy once again, transforming themselves step by step. In this way, dissipation doesn’t ensure irreversibility, but irreversibility requires dissipation.
Now, if I understand the argument, a shift in a configuration of atoms that dissipates the energy required to effect it is a means of saving information.  If the configuration acquires more energy and then jumps to yet another new configuration, then information is in effect compiled.  The third configuration has a history.  To really understand what it is, you would have to know the steps that led up to it.  To the extent that that is true, the history involves the compiling of information.  The gaggle of atoms is saving the good letters. 
This is a very long way from explaining how genuine organisms emerge out of the inorganic soup.  It doesn’t give us any idea of the chimpanzee typing odds.  It does give us an idea of how the simplest mechanics might have produced a selection pressure that tilted inorganic processes towards the emergence of life. 

The origin of life is one of the major mysteries.  The fact that life did emerge on planet Earth tells us that inorganic nature contained within it the seeds of life.  I like that idea.  England may be onto an important clue as to where those seeds lay and how they germinated.  

Monday, July 13, 2015

Defending the Humanities



It is generally agreed that the humanities are in crisis.  James McWilliams sums up the evidence at The Hedgehog Review. 
Nationally, the number of students majoring in the humanities has fallen substantially since 1970.5 At Stanford, 45 percent of the faculty is trained in the humanities, but only 15 percent of students major in humanities fields.6 At Yale, between 1971 and 2013 the proportion of humanities majors dropped from 53 percent to 25 percent among women, and from 37 percent to 21 percent among men. Meanwhile, economics has skyrocketed as a preferred major, with the number of economics majors growing almost threefold at traditionally humanities-inclined institutions such as Brown University.7 The acronym STEM—science, technology, engineering, mathematics—is now part of every university’s lingua franca.
I have read a lot of pieces recently that defended the value of the humanities and found them all reasonably convincing to someone who values the humanities.  That was good enough over the last two or three centuries, during which time the universities did the work that was once done by the Church: deciding what was worthy thinking about.  The authority of universities has been eroded by a number of factors, but the most important is the pressure from two directions: outside support (donors and state legislatures) and the market for students. 
I am pretty sure I know how not to defend the humanities in this situation.  One should not argue, as McWilliams does, for the value of not knowing everything.  He is worried in particular about the value of not knowing how the brain produces consciousness.  If we did know, he supposes, the humanities would lose all purpose.  
Knowing that there are things we don’t know—and may never know—has a humbling effect on the human mind. Humility is a form of modesty that asks us to accept ambiguity. Ambiguity, in turn, is ultimately what brings us together to explore the mysteries of existence through the wonder-driven endeavors we lump under that broad umbrella known as the humanities. If we knew it all, if we understood what it was like to be a bat, probably even Logan Sander would not be a comparative literature major.
In a way, to catch consciousness, to close the mind-body gap, would be to eliminate that humility. It would be to answer most of the big questions—to collapse the umbrella and move into a post-human world. And that might sound great to logical positivists and atheists and neurobiologists. But as the essayist Charles D’Ambrosio reminds us, “Answers are the end of speech, not the beginning.”
I share McWilliams’ concern for humility; however, the “STEM” disciplines are quite capable of humiliating themselves.  All one has to do is consider the recent epidemic of scientific scandals and the never ending number of cases where some very well-known scientific fact (dietary cholesterol is bad) turn out to be blunders.  Science doesn’t need Shakespeare for that. 
If the humanities are to survive in a STEM heavy environment, it won’t be by building walls between the physical brain and consciousness.  It won’t be by teaching people to value dumbstruck awe more than the thrill of aha!  It will be by philosophers and other readers engaging with the best science available. 
Allow me to demonstrate.  In a marvelous piece at Aeon, “Last hominin standing,” Dan Falk opens with a fundamental question.
In the movie Sliding Doors (1998), a woman named Helen, played by Gwyneth Paltrow, rushes to catch a train on the London Underground, but just misses it, watching helplessly from the platform as the doors slide shut. The film explores two alternative universes, comparing the missed-train universe to a parallel reality in which she caught the train just in time. It wasn’t a cinematic masterpiece but it vividly confronts a question that many of us have asked at one time or another: if events had unfolded slightly differently, what would the world be like?
This question, applied to the history of life on our planet, has long beguiled thinkers of all stripes. Was the appearance of intelligent life an evolutionary fluke, or was it inevitable? This was one of the central themes in Stephen Jay Gould’s book, Wonderful Life: The Burgess Shale and the Nature of History (1989). If we re-played the tape of evolution, so to speak, would Homo sapiens – or something like it – arise once again, or was humanity’s emergence contingent on a highly improbable set of circumstances?
Falk, author of The Science of Shakespeare, begins with a bit of movie criticism and moves quickly to grand evolutionary theory.  Everyday human drama and the most profound questions about the earth and the kosmos are not found in separate realms; they are, as every Zen master will tell you, the same things. 
Falk pits Gould against Simon Conway Morris.  
To Gould, the late Harvard paleontologist, evolution was deeply contingent, an endless series of fluke events, the biological equivalent of just-caught and just-missed subway trains. By contrast, Conway Morris, a professor of paleobiology at the University of Cambridge, focused on convergence: evolution, he argued, is not random, but strongly constrained; where environmental niches exist, evolution finds a way to fill them, often with similar creatures.
If Gould is right, a vast number of accidents both large and small determine the forms of living organisms on planet earth.  If this asteroid that veered a bit or that tiny proto-mammal hadn’t made it across a short, shallow stretch of water, then someone other than us would be looking at an altogether different catalog of creatures.  Or no one would be looking at all, because the existence of intelligent lookers is one more sheer accident. 
If Conway Morris is right, run the algorithm back to the dinosaurs and hit play.  You will get a lot of the same organic forms as we have now.  That is because evolutionary pathways are highly constrained.  Eyes and wings are useful relatively easy to produce in the evolutionary history of many branches of life, so we have their independence emergence (called convergence in evolutionary theory) about four times.  Eyes emerged independently about 40 times that we know of.  Here is my favorite example. 
Everywhere Conway Morris looked, he saw convergence. He points, for example, to the appearance of tiger-like animals in both North and South America – animals that arose along separate evolutionary paths (the North American version was a placental mammal, the ancestors of today’s wild cats; in South America, they were marsupials)
What this means is that there was an evolutionary niche, a certain condition (meaning plentiful large and small prey) available for a certain type of predator (a cat to be specific). 
I am not at all sure that these two interpretations of evolution are all that much at odds.  I am sure that they recapitulate one of the original arguments in the history of philosophy.  Aristotle argued that these here animals have the forms that they have because they happened to descend from similar groups of animals.  Aristotle only toyed very briefly with the idea of evolution, but if you add natural selection and evolutionary history to his view, you get something like Gould’s view. 
Plato argued that the forms of actual things exist apart from those things and determine how those things come to be and what they are.  Human beings are intelligent because intelligence as an idea is always waiting to shape humans into being.  If we interpret evolutionary niches as Platonic forms, we get pretty much what Plato was talking about. 
Worrying about knowing everything is a very silly worry and an even sillier way to defend the humanities.  If you want to understand how such actual creatures as Shakespeare and such fictional creatures as Romeo and Juliet come to be, you have to read Shakespeare.  If you do, you will be able to tell evolutionary biologists something they will want to know.  That is the way to defend the humanities.