Logic and Madness?

Since reading Logicomix (which, as I said, I really like), I’ve been wondering about the “logic and madness” theme that runs through the book. In the making-of movie (which I also recommend), Papadimitriou says at the beginning, “We were both interested in this very curious fact, that the majority of the protagonists of this intellectual adventure [the quest for mathematical foundations] ended up insane” and Doxiadis cites the well known line from Gian-Carlo Rota’s Indiscrete Thoughts:

It cannot be a complete coincidence that several outstanding logicians of the twentieth century found shelter in asylums at some point in their lives: Cantor, Zermelo, Gödel and Post are some. (p. 4)

And, if you’ve read the book, you’ll probably agree that the “logic and madness” theme does make for a great story. But is it true? Is there a link between logic and madness?

First, some facts, and corrections of claims of facts. It is well known that Georg Cantor underwent psychiatric treatment and “died in an asylum”. But as Grattan-Guiness and Dauben have documented, it was neither Kronecker’s attacks on Cantor’s set theory, nor Cantor’s failure to solve the continuum hypothesis that drove him mad. Cantor suffered from bipolar affective disorder, i.e., he was manic depressive, and stress such as that caused by having your work viciously attacked by a leading member of the profession, or that caused by expending every last effort and yet failing to prove a theorem, caused the onset of manic periods. He would have had such attacks also if he hadn’t invented set theory (see Dauben’s Georg Cantor, Ch. 12, esp. p. 285; Dauben is very critical of people like E. T. Bell here, and offers a very nuanced interpretation of the relationship between Cantor’s mental health and his mathematics). Remember, this all happened between 1884 and 1918, when no effective treatment for bipolar disorder was available; lithium wasn’t used until the 1950s and approved by the FDA for this use only in 1970.

Emil Post likewise was manic depressive, and died from a heart attack following electric shock therapy he was undergoing in 1954. And Gödel did die because he starved himself to death as he suffered from the paranoid fear that people were trying to poison him. But also Gödel’s mental health problems manifested themselves quite early, and not as a result of a lifetime of work on logic, or because he couldn’t prove the continuum hypothesis (see Dawson’s Logical Dilemmas). In addition to Cantor, Post, and Gödel, Moses Schönfinkel, the inventor of combinatory logic, is reported to have been mentally ill.

What about the others? Rota mentions Peano and Zermelo. I couldn’t find any evidence that either of them had mental health problems. Both spent time in medical institutions, but underwent treatment not for mental health problems but for lung disease.

That leaves Frege. In Logicomix, Frege is portrayed as a raving lunatic spewing paranoid anti-semitic nonsense. In the biographical section at the end of the book, one reads the following:

In the last decades of his life, Frege became increasingly paranoid, writing a series of rabid treatises attacking parliamentary democracy, labor unions, foreigners, and especially, the Jews, even suggesting a “final solution” to the “Jewish problem”. (p. 325-326)

The source of these claims is Frege’s infamous “political diary” (edited by Gottfried Gabriel and Wolfgang Kienzler, “Frege’s politisches Tagebuch”, Deutsche philosophische Zeitschrift 42:6 (1994) p.105–1098; translated by Richard Mendelsohn, “Diary: Written by professor Dr Gottlob Frege in the time from 10 March to 9 April 1924“, Inquiry 39 (1996) 303–342; you can get a taste for them with a bit of background in Stroll’s Twentieth-century Analytic Philosophy and in the chapter on Frege in Martin Davis’ The Universal Computer). As you can see for yourself, the diaries reveal the very dark side of Frege’s political views: reactionary, anti-semitic, anti-catholic, anti-socialist. But: Frege didn’t write “increasingly rabid treatises” over “the last decades of his life”—these are diary entries written over two months in the very last year before he died. As far as I can tell, he never advocated a “final solution” to the “Jewish problem” with anything like the meaning that these terms have taken on, and he didn’t use this Nazi terminology. There is no indication that he admired Hitler (he opposed the Munich Putsch of 1923), and there’s no indication that his anti-semitism was racially motivated or anywhere near the level of the Nazis. But most importantly: He wasn’t clinically paranoid. As objectionable as his views are, they were widespread in Germany at the time (Had they not been, Hitler would never have come to power). Moreover, if he had been paranoid, this would, I think, absolve Frege of moral responsibility. After all, we don’t hold people morally (or legally) responsible for their actions when they’re insane. So: Frege: reactionary anti-semite, but no Nazi, and not insane.

Of the “protagonists of this intellectual adventure”, four (Cantor, Schönfinkel, Gödel, Post) had mental health issues. We don’t know enough about Schönfinkel, Cantor and Post were manic depressives, Gödel more than the others, and probably paranoid schizophrenic. Is that “a majority”? Is it even a statistically significant increase from the norm?

The National Institutes of Mental Health puts the percentage of the US population with “serious mental illness” at 6%. What’s the percentage of pioneers of logic with a serious mental illness? We’ve found four, but what’s the sample? Let’s say Rota had in mind the authors of papers in van Heijenoort’s From Frege to Gödel. That’s 30, and doesn’t even include Tarski, Lukasiewicz, Church, Fraenkel, Gentzen, Turing (all not insane), or many of the less well known people working in foundations at around that time. So: 13% of the pioneers of logic had a serious mental illness. But with a sample of 30, the margin of error has to be huge. I’m no statistician, but using the standard formula, I get a margin of error of ±12% (ok, I know you probably shouldn’t use the standard formula for samples this small; if you know stats, help me out, please). This suggests that there’s good reason to think that Rota’s claim is just wrong: it may very well be pure coincidence.

All this of course doesn’t detract from the good story told in Logicomix, which, after all is mainly about Russell, about his personal life, and about his struggle with the foundations of mathematics; the “logic and madness” theme isn’t that pronounced. But that story does play into a myth that, if taken on its own, is not exactly the image any field of science wants to project (or have painted) of itself: that it’s the domain of lunatics. It’s not only detrimental to the field and hurtful to the people working in it, it also distorts and minimizes the actual personal struggles of the protagonists and the interesting historical context. All of these people lived through one world war, many of them through two and the toughest economic times of the last 100 years. Some were forced to flee their home countries, some faced persecution and prejudice, some personal tragedy, some professional misfortune. Most of them produced their groundbreaking results despite these obstacles. These are the important stories, not any myths about how doing logic drives people mad.

Free Peano Biography

A revised version of Hubert Kennedy‘s 1980 biography of Giuseppe Peano, is available as a free download and a cheap print-on-demand paperback through lulu.com: Peano: Life and Works of Giuseppe Peano.

The Thrilling Adventures of Lovelace and Babbage

Sydney Padua has produced a number of amazing and funny comics on Ada Lovelace, Charles Babbage, and the Difference Engine. It’s a bit hard to navigate, to get to all three installments of “Lovelace and Babbage vs. The Economy” you have to click on the “Economic Model” link in the sidebar. The upside is, though, that you’ll get to browse through Sydney’s many intriguing links and finds that follow the strips. If there wasn’t work to be done, I’d probably trace her steps and learn all kinds of fun and interesting things about these two pioneers of computing!

The BBC Techlab has a 6-panel strip (colored) by Sydney up here. A pity that Ada is only “guest-starring” there.

Deadly Ambiguity

Several of the commenters on my previous post on motivating the study of logic in my intro class have suggested that one important aspect of logic is the precision it affords, and hence the usefulness of logic in avoiding ambiguities. So I tried to find some nice examples of where ambiguity in natural language—and the resulting different interpretations—can have important consequences. (I’m still looking for examples, especially form philosophy!) I happened upon a paper entitled “Syntactic Ambiguity” by Paul Conway, which gives some very nice actual examples from law. I picked one of the examples that can be dealt with in propositional logic (no quantifiers used yet).

a is a cube in front of b, or a tetrahedron in front of b, or to the left of b.

That’s ambiguous between*

(Cube(a) ∧ FrontOf(a, b)) ∨
(Tet(a) ∧ (FrontOf(a, b) ∨ LeftOf(a, b))


(Cube(a) ∧ (FrontOf(a, b) ∨ LeftOf(a, b))) ∨
(Tet(a) ∧ (FrontOf(a, b) ∨ LeftOf(a, b))

Here’s the real-life example from the above paper:

In R v. Casement, Sir Roger Casement was charged with high treason contrary to Treason Act, 1351 (Eng.). It was alleged that during World War I he incited British subjects who were prisoners of war in Germany to renounce their allegiance to the King. The statute declared that treason was committed ‘… if a man do levy war against our Lord the King in his realm, or be adherent to the King’s enemies in his realm, giving to them aid and comfort in the realm, or elsewhere, and thereof be properly attainted of open deed by the people of their condition: …’. The charge alleged adhering to the King’s enemies elsewhere than in the King’s realm, namely in the empire of Germany. The defence unsuccessfully submitted that the Crown had failed to prove an offence in law. ‘The contention is that those words “or elsewhere” govern only the words “aid and comfort in the realm” and have no application to the words “be adherent to the King’s enemies in his realm.’

I believe that part of the reason that the trial and conviction caused such an outcry, aside from the fact that Casement was famous as a humanitarian exposing human rights abuses in the Congo and Peru, was that it wasn’t clear if the original document of the Treason Act contained the last comma or not.

* A third reading would be

(Cube(a) ∧ FrontOf(a, b)) ∨ (Tet(a) ∧ FrontOf(a, b)) ∨ LeftOf(a, b)

but that isn’t a possible reading of the clause in the Treason Act.

Logicomix: An Epic Search For Truth

Yesterday’s mail contained my copy of Logicomix: An Epic Search For Truth, a graphic novel by Apostolos Doxiadis and Christos Papadimitriou with art by Alecos Papadatos and Annie Di Donna. It is scheduled to be released in the US on September 29, but amazon.ca apparently already had it. The UK edition is now sold out (a second printing is scheduled to be in stores October 2). It’s a compelling read for everyone interested in logic and its history, or in Bertrand Russell, or in intelligent graphic novels.

The main story arc consists in Russell giving a lecture on “The Role of Logic in Human Affairs” at “an American university” (looks like Berkeley) just after the start of WWII (September 1939). In the lecture, he tells the story of his own life, how his quest for finding certain truth led him to a study of the foundations of mathematics, discovering logic, writing Principia Mathematica with Whitehead, meeting Wittgenstein, the inter-war years with the Tractatus, the Vienna circle, and Gödel—and his personal life. There’s a lot about madness and logic, the conflicts within logicians between their work and their passions, about struggle and failure. All this is interleaved with a frame story in which the authors of the book discuss what they’re trying to do in the book, explain some mathematical details, and reflect on the story that Russell’s telling his audience, ending with a … well, I don’t want to give it away.

The book is very well done overall: it’s an engaging read, the art is great, the logic and philosophy are accurate for the most part. There’s a lot of license taken with historical details, but that usually makes for a better story. My favorite is the barfight between adherents of Poincaré and of Hilbert at the 1900 International Congress of Mathematicians. And, truth be told, you don’t have to take much license with many of the characters in this story to make them compelling—think Wittgenstein:

There was only one thing that really bothered me: they claim—not just in the story but also in the otherwise informative background section at the end of the book—that Hilbert sent his son Franz off to an asylum when Franz was 15, that Franz spent the rest of his life there, and that Hilbert never visited him. But at least according to Constance Reid’s biography of Hilbert, a) that happened when Franz was 21, b) he was in treatment only until 1917, and c) thereafter lived with the Hilberts again. I’m also no great fan of the title (it’s about as unimaginative as “LogBlog” is for a logic blog). But: I am a fan of the book. Finally a logic book for the coffee table! I might even assign it for a history of logic class. Get your copy, it’s even pretty reasonably priced at about $15 on amazon.com.

The website has a preview and some additional information, including nice pictures of the original locations. Feel free to reply with your own opinions, speculations, and queries about the historical details and I’ll see if I can fact-check them…

UPDATE: There’s a book tour which includes a stop at the LA public library, with Zlatan Damnjanovic (USC Philosophy) on Oct 7 and one at MSRI (pronounced “misery”, the Mathematical Sciences Research Institute in the Berkeley hills) with Paolo Mancosu (Berkeley Philosophy) on Oct 19.

UPDATE: More on the logic and madness theme here.

Gender, Culture, and Mathematics Performance

Here’s an interesting new-ish paper on the issue of gender differences in mathematics aptitude:

Janet S. Hyde, and Janet E. Mertz. Gender, culture, and mathematics performance. PNAS vol. 106, no. 22, (June 2, 2009).

Abstract: Using contemporary data from the U.S. and other nations, we address 3 questions: Do gender differences in mathematics performance exist in the general population? Do gender differences exist among the mathematically talented? Do females exist who possess profound mathematical talent? In regard to the first question, contemporary data indicate that girls in the U.S. have reached parity with boys in mathematics performance, a pattern that is found in some other nations as well. Focusing on the second question, studies find more males than females scoring above the 95th or 99th percentile, but this gender gap has significantly narrowed over time in the U.S. and is not found among some ethnic groups and in some nations. Furthermore, data from several studies indicate that greater male variability with respect to mathematics is not ubiquitous. Rather, its presence correlates with several measures of gender inequality. Thus, it is largely an artifact of changeable sociocultural factors, not immutable, innate biological differences between the sexes. Responding to the third question, we document the existence of females who possess profound mathematical talent. Finally, we review mounting evidence that both the magnitude of mean math gender differences and the frequency of identification of gifted and profoundly gifted females significantly correlate with sociocultural factors, including measures of gender equality across nations.

H/T: Justin Snider

Leibniz’s Influence on 19th Century Logic

Volker Peckhaus has a new entry in the Stanford Encyclopedia on the influence of Leibniz on the development of logic in the 19th century.

Library Book Dedication

I got Herbert Feigl’s Theorie und Erfahrung in der Physik from the library, and on the front flyleaf there’s a handwritten dedication to Karl Menger that reads “Herrn Professor Menger ergebenst überreicht vom Verf., 13. VI. 1929.”

Turing Machine Robot in LEGO

Wow. Four students (Sean Geggie, Martin Have, Anders Nissen, Mikkel Vester) at the University of Aarhus, Denmark, constructed a Turing Machine tape read/write assembly in LEGO. This was a final project for the course Embedded Systems – Embodied Agents, taught by Ole Caprani of the LEGO Lab at Aarhus. On their blog Lego of Doom, they describe the initial idea as follows:

The “Turing Machine” will need to traverse a track of some kind, reading marks on the track and altering them. Reading and altering bits on a track entails three things: Detecting that the machine is over a cell, detecting the state of the cell and altering the state of the cell. These three problems will each be solved by careful application of various sensors. Many solutions exist for each problem and much experimentation will be needed to find out which yields the most stable results.

Architecturally speaking, the Turing Machine robot could be in contact with a PC via bluetooth connection. Via this connection, the robot could leave some calculations to the PC which would send back instructions. One example of this could be that the PC handles all the “boring” Turing Machine calculations while the robot itself could be in charge only of cell and bit state detection as well as motor control.

The main part of this project would be getting the robot to accurately read and set the bits on the track. The implementation of the turing machine itself is trivially accomplished. The “meat” of the project is embedding the program in a machine that actually performs computations in a physical environment.

They did all that and then they made an awesome movie about it:

HT: Francesco Berto/Andrea Sereni

Review of Symbolic Logic Published Two of Ten Best Papers of 2008

The new journal of the Association for Symbolic Logic, the Review of Symbolic Logic, started up in 2008. Two of the papers in that first volume were selected for the Philosopher’s Annual, vol 28, which each year “attempts to select the ten best papers in philosophy published in each year”. They are:

  • Thomas Forster, The Iterative Conception of Set, Review of Symbolic Logic 1:1 (2008), 97-110
  • Penelope Maddy, How Applied Mathematics Became Pure, Review of Symbolic Logic 1:1 (2008), 16-41

Only the Phil Review also had more than one (viz., three) papers selected. The selected papers also include another logic paper:

  • Fabrizio Cariani, Marc Pauly & Josh Snyder, Decision Framing in Judgment Aggregation. Synthese 163 (2008), 1-24

You can read the papers online (and free) at the Philosopher’s Annual website. Congratulations to all the authors!