Logic Theorist and the symbol system hypothesis
Why:You’ll see how the first theorem-proving program searched for proofs, and understand symbolic AI’s central bet: that a mind is symbols handled by rules. Afterwards you’ll be able to explain how that bet differs from the way today’s language models work, and why a chatbot that needs to be exact calls on a calculator or runs code.
Part 1, lesson 3 · 25 minutes
Logic Theorist was a 1956 program by Newell, Shaw and Simon that proved theorems of logic by heuristic search. The symbol system hypothesis grew out of it.
A program first run by people
Allen Newell worked at the RAND Corporation, Cliff Shaw was a programmer there, and Herbert Simon taught at the Carnegie Institute of Technology in Pittsburgh. In 1955 they took on a task people considered the work of a mind: finding proofs of mathematical theorems. Not calculating, but reasoning.
In January 1956 Simon told his students that over the Christmas break he and Newell had invented a thinking machine. They had no machine to hand, though, and historians retell how the program was tested another way: its steps were handed out to people, Simon’s family and students, and each one, holding a card, carried out only their own part. People played the computer.
The program ran on a real machine, RAND’s JOHNNIAC, later. Sources disagree on exactly when, anywhere from the summer of 1956 to early 1957. The report on its runs was published in February 1957.
Check yourself: who wrote Logic Theorist?
Allen Newell and Cliff Shaw of RAND, and Herbert Simon of the Carnegie Institute of Technology.
What it proved
The problems came from Principia Mathematica, the three-volume work in which Alfred North Whitehead and Bertrand Russell derive mathematics from logic. The program was given the first 52 theorems of chapter 2 of the first volume, theorems about logical statements. According to its authors’ 1957 report, it proved 38 of them, about three in four.
You’ll sometimes read that it proved all 52. That’s a mix-up: all 52, among more than two hundred theorems of the first five chapters, were proved later, in the summer of 1958, by the logician Hao Wang’s program, which worked quite differently; more on it below.
There’s a famous story too: for theorem 2.85 the program found a proof shorter and neater than the book’s. That Simon wrote to Russell is on record: his letter of 2 October 1956, with a report on the program, is kept in Russell’s archive. The detail about theorem 2.85, Russell’s delight, and the Journal of Symbolic Logic declining a paper that listed the program as a co-author come from historians’ retellings, not from the 1957 report. Treat them as a well-known anecdote rather than a record.
Check yourself: how many theorems from chapter 2 did Logic Theorist prove?
38 of 52, by the authors’ own 1957 report. “All 52” is a mix-up with another program.
Search and heuristics
A proof is a chain of steps: from axioms and what’s already proved, the rules of logic give you something new. The trouble is that at every step many rules apply, and the number of possible chains snowballs. A machine of 1956 couldn’t possibly try them all.
Logic Theorist went about it another way. It started from the goal, the theorem, and asked: what could this follow from? That gave it subgoals, and it looked for ways to reach them from what it already had. Its moves were to substitute one expression for another, to detach a conclusion from its condition, and to chain two statements together. Above all, it didn’t follow every fork; it picked the promising ones. Rules for picking like that are called heuristics.
Move the slider to see why a long proof can’t be found without heuristics.
If every step can be taken 10 ways, a proof of 4 steps means trying 10,000 paths by brute force. A rule that keeps only the 2 most promising moves tries 16. The price of a heuristic: sometimes it throws away the one path that led to the goal. The numbers are made up: this is a sketch, not Logic Theorist’s data.
A heuristic has a price: it may throw away exactly the path that led to the goal. That’s one reason Logic Theorist failed on some theorems; more often, its report says, it simply ran out of time or memory. Hao Wang showed the other side. In the summer of 1958 he wrote a program with no heuristics at all: it relied on an exact method suited to this particular logic. On an IBM 704 it proved over two hundred theorems of the first five chapters of Principia in 37 minutes, less than three of them spent on the proofs themselves and the rest on input and printing.
For this work the authors also invented a language, IPL, which keeps data in lists that are easy to extend and rearrange. The idea of lists went on to shape the language Lisp.
Check yourself: what is a heuristic, and what does it pay for speed?
A rule that cuts unpromising paths. The price is that it sometimes cuts the only right one.
The central bet: symbols
Twenty years later Newell and Simon received the Turing Award, computing’s highest honor. In their lecture, published in 1976, they stated what had grown out of this work. The physical symbol system hypothesis reads: “A physical symbol system has the necessary and sufficient means for general intelligent action.”
A symbol here is a sign that stands for something: a word, a formula, an entry in memory. “Necessary” means that any mind, a human one included, is at bottom working with symbols. “Sufficient” means a mind needs nothing beyond symbols and rules for handling them. Next to it they put a second hypothesis: such a system shows its intelligence by solving problems through search, as Logic Theorist did.
That is symbolic AI’s central bet. If it holds, a mind can be written down as a program, and the only question is which symbols and rules to write. The authors were candid that it was a hypothesis, to be tested by experience.
Check yourself: what do “necessary and sufficient” mean in the hypothesis?
There’s no intelligent behavior without processing symbols, and nothing else is needed.
The bet and its price
The bet led to bold forecasts. In 1958 Simon and Newell wrote that within ten years a computer would be world chess champion and would prove an important new theorem. A computer, Deep Blue, won a match against the world champion Garry Kasparov only in 1997, almost forty years later, and did it mostly by fast brute-force search. It’s the same pattern as Dartmouth: the direction right, the timing wrong.
Why did symbols turn out harder than they looked? Logic is a world where all the rules are known in advance. Everyday life has more rules than anyone can write down, and every one has exceptions. That’s what the next lessons are about: the blocks world, expert systems and the AI winters.
Symbols and today’s models
A language model works with signs too: it reads and writes tokens, pieces of words. But between input and output there are no rules a person wrote. Its behavior is set by billions of numbers, the weights, found by training on vast amounts of text. That’s closer to Turing’s “child machine” than to Logic Theorist.
Do such models refute Newell and Simon’s hypothesis? Researchers disagree. Some say the models behave intelligently without written rules, so symbols in that sense aren’t necessary. Others reply that any program on a computer processes symbols in a broad sense, so the hypothesis isn’t refuted, it just doesn’t explain much. The honest answer today: the question is open.
In practice, the old idea has come back. When a chatbot works out a tricky percentage or checks data, good systems don’t trust the model; they run code or a calculator. That is a symbol system: exact rules that don’t slip on arithmetic. The model understands the request, the symbolic machine does the sums. If something important depends on the answer, check whether the model calculated it itself or handed it to a tool.
Check yourself: why does a chatbot run code for an exact calculation?
The model predicts how text continues and can slip on arithmetic. Code calculates by exact rules, which is what symbolic systems do best.
Do it now
- Ask a chatbot to multiply two five-digit numbers without tools, then again with code if it can run it. Check both answers on a calculator.
- Explain to someone in your own words what a heuristic is, using an everyday example: how you look for your keys or choose a route.
- Press “Finish the lesson” so the cards go into Review.
Test
Question 1 of 6
Cards
These cards go into your review once you finish the lesson.
What was Logic Theorist?
Answer
A program by Newell, Shaw and Simon from 1955–56. It searched for proofs of theorems of logic from Principia Mathematica and, by its authors’ 1957 report, proved 38 of 52.
What is a heuristic?
Answer
A rule that cuts unpromising paths in a search. It saves time, but doesn’t guarantee a solution will be found.
What does the physical symbol system hypothesis (Newell and Simon, 1976) claim?
Answer
A system that processes symbols has the necessary and sufficient means for general intelligent action.
How does a language model differ from a symbolic program like Logic Theorist?
Answer
Logic Theorist’s rules were written by people. A language model has symbols only at its input and output; its behavior is set by numbers found in training.
Why does a chatbot run code or a calculator?
Answer
Exact calculation by rules is what symbolic systems do best. The model hands over what it might get wrong itself.
Sources
- A. Newell, H. Simon, Computer Science as Empirical Inquiry: Symbols and Search (1976) link only, in English
- Logic Theorist (Wikipedia) CC BY-SA, in English
- A. Newell, H. Simon, The Logic Theory Machine (RAND, 1956) link only, in English
- A. Newell, J. C. Shaw, H. Simon, Empirical Explorations of the Logic Theory Machine (Western Joint Computer Conference, 1957) link only, in English
- H. Wang, Toward Mechanical Mathematics (IBM Journal, 1960) link only, in English
- Simon’s letter to Bertrand Russell, 2 October 1956 (Bertrand Russell Archives, McMaster University) link only, in English
- Physical symbol system (Wikipedia) CC BY-SA, in English
- Hao Wang (Wikipedia) CC BY-SA, in English
Next
Next in the course: SHRDLU and the blocks world