John McCarthy

term

programming

Kept in this browser · My desk

The mathematician who wrote 'artificial intelligence' into the title of the 1955 Dartmouth proposal, designed LISP at the Massachusetts Institute of Technology from 1958 and proposed sharing one expensive computer among many users at once.

Three ideas that now feel like infrastructure carry his name. The field of artificial intelligence (AI) took its name from the summer study he proposed with Marvin Minsky, Nathaniel Rochester and Claude Shannon; LISP gave programmers recursion, lists and functions treated as data, with an interpreter that appeared almost by accident; and time-sharing let one machine serve many people at the same time. The Computer History Museum credits him with coining the term AI. His own reminiscence on time-sharing is more careful, saying the idea was not especially new and sorting out who had it first.

Who he was. John McCarthy (1927 to 2011) was the mathematician who named artificial intelligence (AI), designed Lisp, proposed time-sharing and spent fifty years arguing that common-sense reasoning could be written down in formal logic.

Early years. Born in Boston in 1927, McCarthy entered the California Institute of Technology (Caltech) at 16, the Kyoto Prize citation says, took a BS in mathematics there in 1948 and a PhD at Princeton in 1951. The Inamori Foundation's profile lists the posts that followed: Higgins research instructor at Princeton in 1951, acting assistant professor at Stanford in 1953, assistant professor at Dartmouth College in 1955, assistant professor at the Massachusetts Institute of Technology (MIT) in 1958, associate professor there in 1961 and professor at Stanford from 1962. With Claude Shannon he edited Automata Studies (Princeton University Press, 1956).

The name of the field. On 31 August 1955, as a mathematician at Dartmouth College, he signed with Marvin Minsky of Harvard, Nathaniel Rochester of IBM and Claude Shannon of Bell Telephone Laboratories a proposal for a two-month, ten-man study of AI during the summer of 1956 at Dartmouth, in Hanover, New Hampshire. The Computer History Museum (CHM) says he coined the term in connection with that workshop; the proposal read in full carries the phrase in its title.

How Lisp works. His paper Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I (Communications of the ACM, the journal of the Association for Computing Machinery, April 1960) introduces "LISP (for LISt Processor)", developed for the IBM 704 by MIT's AI group to support the Advice Taker, a program he had proposed in November 1958. Everything is a symbolic expression, either an atom or a pair; five elementary functions do all the work: atom tests for an atom, eq compares two atoms, car and cdr take the two halves of a pair, and cons builds one. Programs are defined with conditional expressions and recursion, a notation McCarthy says he proposed for Algol 60; it was rejected there, and the if then else Algol adopted was suggested by John Backus. In the machine, a pair was one IBM 704 word whose address and decrement parts held the locations of its car and cdr. Free words were kept on a free-storage list, and when it ran out a reclamation cycle began: the program marked every word reachable from the base registers by changing its sign, then swept memory and returned the unmarked words to the list. That is garbage collection, described in 1960 as more convenient for the programmer than erasing abandoned lists by hand.

The interpreter by accident. In his History of Lisp, drafted on 12 February 1979, he recalls becoming an assistant professor at MIT in the autumn of 1958, alongside Minsky, and starting to implement LISP that autumn. To show that it was briefer than a universal Turing machine, he wrote the universal function eval, which needed a way to write LISP functions as LISP data; S. R. Russell then noticed that eval could serve as an interpreter, hand-coded it, and, in McCarthy's words, they now had a programming language with an interpreter. The 1960 paper gives the same function, apply, the theoretical role of a universal Turing machine and the practical role of an interpreter. He was also one of the 13 authors of the Revised Report on Algol 60.

Common sense in logic. His paper Programs with Common Sense (1959) describes the Advice Taker: a program that would draw immediate conclusions from a list of premises in a formal language, act on the imperative ones, and keep even its heuristics written in that language, unlike the Logic Theory Machine of Newell, Simon and Shaw or Gelernter's geometry program. The Kyoto citation calls this study of common-sense reasoning the foremost of his achievements.

Time-sharing. His 1983 reminiscence places his first attempts in the autumn of 1957, when he came to the MIT Computation Center on a Sloan Foundation fellowship, and a memo to Morse dated 1 January 1959 proposing to time-share the expected transistorized IBM 709; he notes it has been suggested the date should be 1960 and that he cannot settle it. He complained when Fano and Corbató credited Strachey in a 1966 Scientific American article, while saying himself that the idea was not especially new. The CHM counts time-sharing, with AI, among the fields he co-founded.

Stanford and honours. In 1965 he became founding director of the Stanford Artificial Intelligence Laboratory (SAIL). He received the ACM Turing Award for 1971, the Kyoto Prize in Advanced Technology in 1988, with a lecture in Kyoto on 11 November 1988 on the logic and philosophy of AI, and the National Medal of Science in 1990, and became a CHM Fellow in 1999. He did not publish his Turing lecture at the time: in the version he finally wrote, Generality in Artificial Intelligence, he says he could not put his thoughts into satisfactory written form in 1971 and that the problem was almost as unsolved as ever. His website, kept by Project JMC, gives his dates as 4 September 1927 to 24 October 2011; his essay What Is Artificial Intelligence?, revised on 12 November 2007, remains there as his own introduction for non-specialists.

What gets misread. Two shortcuts recur. The Kyoto Prize and his website call him the father of AI, but the 1955 proposal had four signatories. And the interpreter, the conditional expression and garbage collection are often treated as separate inventions; in his own papers they are parts of one design for symbolic computation.

Neighbours. Lisp, Marvin Minsky, Claude Shannon, Algol, interpreters, the Turing test and the general entry on programming languages.

Also known as: mccarthy, jmc, father of ai

Sources

← Back to J Back to the glossary