Paper commentary
Executable Archaeology: Reanimating the Logic Theorist
The Logic Theorist's claims can now be tested by running its original code
- Problem The 1956 Logic Theorist was only hand-simulated, so its claims could not be run.
- Method The authors write new interpreters for the IPL-I and IPL-V abstract machines and run the published code on them.
- Results The reanimated LT1 found 40 correct proofs, compared with 38 for LT2 on the first 52 theorems.
Why the 1956 program could not be checked
The 1956 Logic Theorist was written in LL, a pseudocode for an abstract machine that nobody had built. Its claims could not be run on any hardware, because the machine it described did not exist.
The first machine run came later, when the program was written in IPL-II for the JOHNNIAC and produced its first proof in August 1956. The widely cited result of 38 of the first 52 theorems comes from these JOHNNIAC experiments. Checking the 1956 claim would have required running the program itself, which no one had done on a machine.
Numerous IPL-V implementations existed in the 1960s, yet no maintained versions appear in modern environments. The only prior modern attempt the authors know is Howard B. Richman's unpublished IPL-V interpreter in Microsoft BASIC, used in the early 1990s. Without a working interpreter, the original code stayed on paper, so checking the claims meant relying on testimony and archival output.
The paper argues that the 1956 hand-simulation claim and the 1957 38-of-52 result rested on testimony and listings. Reanimating the code lets these claims be tested directly, and it lets further experiments be run. A 1968 Lisp reimplementation of LT showed the algorithms could be expressed in Lisp, but it didn't run the original IPL code.
Running the original code instead of rebuilding it
The authors ran the published code itself, on interpreters that imitate the original abstract machines. They reasoned that early AI programs cannot be fully understood from their descriptions, since LT1 was hand-executed.
LT1 runs on a new interpreter for the abstract IPL-I machine, since it was never implemented beyond hand simulation. LT5 runs on an emulated IBM 7094, following the approach the team used for the ELIZA reanimation. The authors also tried the interpreter approach on LT5, so both versions rest on abstract-machine emulation. The LT1 source was published three times in 1956, and Moews worked from the least corrupt listing.
Moews transcribed the listing, corrected obvious typos, and implemented the data structures from the P-868 descriptions.
Shrager's Common Lisp interpreter had problems, so Moews wrote a new interpreter in Python. Moews worked mostly from the second edition IPL-V manual, and used Simon's J's, a 1962 card deck, as a library. Running Stefferud's code exposed a bug in the M16 and M17 routines, so the interpreter had to work around it. The IBM 7094 emulator also gave very similar results, so the two runs cross-checked each other.
Running the original IPL code instead tests whether it functions as its authors described.
Repairing the 1956 IPL-I listing
Moews worked from the least corrupt of the three 1956 printings of the LT1 source, which was P-868. He transcribed the listing, fixed obvious typos, and built the data structures and operations that P-868 describes. The opcode TCv was never defined, though its purpose looked obvious. The opcode PM was used but never defined, and it seemed to match PA, which was defined but never used.
For processes the authors left undefined, Moews invented new opcodes, and he also made some operations more precise.
The first serious failure was in LSb, the routine that substitutes expressions for variables. LSb replaced a variable with an expression that still contained that variable, so it looped forever. Moews fixed this by blocking LSb from substituting into non-free variables and marking all subproblem variables as non-free. The chaining routine MCh also needed rewriting, because storage and working memory had become incoherent with each other.
Moews added opcodes that print each proof step as the program finds it. He also wrote a separate program that reassembles the proof, if one exists. The original design could find proof steps and recognize a proof, but it could not assemble or output the proof.
Because LT1 had only ever been hand simulated, this is most likely the first time it ran on non-human hardware. The repaired LT1 is about 300 IPL-I instructions, while LT5 is around 3,000 lines of IPL-V. LT1 leaves memory management more or less unspecified, whereas LT5 requests and frees cells explicitly.
Running Stefferud's 1963 IPL-V code
Anthony Hay and Shrager copied Stefferud's 1963 LT code from the report into a spreadsheet. Rupert Lane later caught several transcription errors with gridlock, a tool built to pull tabular code out of PDF files. Shrager had already written an IPL-V interpreter in Common Lisp, but its problems pushed Moews to write a new one in Python. Moews worked mainly from the second-edition IPL-V manual, and from Simon's J's, a 1962 card deck of J-functions.
Running the code exposed a gap, because the manual never documented how the list copy primitive J73 handles a zero input. The zero input stands for NIL, the empty list in Lisp. Storey's IBM 7094 emulator behaved similarly on this point, which gave Moews a reference to check against.
Stefferud's code ran badly on the emulated IBM 7094, because the line read primitives it called didn't exist there. Moews implemented the line read primitives in the Python interpreter, which he had skipped at first. A bug in the M16 and M17 routines also had to be worked around, so Moews patched the Python interpreter.
Effort figures still differ, because the interpreter isn't cycle-exact. Some printed numbers that index formulae also differ, since they are raw machine addresses. The IBM 7094 emulator run also gave results very similar to those in the paper.
Proof counts on the first 52 theorems
Moews ran LT1 and LT5 in succession on the first 52 theorems of *2, up to *2.64. The LT5 runs used Storey's IBM 7094 emulator, and the new Python interpreter gave very similar results. Each theorem could use all preceding theorems, whether or not the program had proved them, as in the original LT2 experiments. Work limits shape the counts, because LT1 stops attempting new subproblems once its work counter exceeds 50.
The replication yields 40 correct proofs for LT1 and 33+2·? for LT5. The published LT2 record gives 38 of the first 52 theorems, from the JOHNNIAC experiments. The LT5 count carries an unresolved term, which the paper explains through the *2.13 and *2.2 cases. That gap compares two different programs, so it doesn't by itself show that one is better.
LT2 split chaining into forward and backward methods, and LT5 split it the same way.
They differed when one program used forward chaining and the other used backward chaining. They also differed when one program used theorems written with disjunction and the other used equivalent theorems written with implication. Theorem *2.55 is the exception, and LT5 begins its proof from *2.25 as the minor premise of detachment. LT1 instead proves a result definitionally equivalent to *2.53 and uses a substitution instance of *1.5 as the major premise.
Counts don't settle whether proofs are valid
Each theorem could use all preceding theorems, and earlier theorems stayed available even after a failed attempt. Those counts don't show that each proof is valid, because LT5's chaining methods are faulty. Stefferud split chaining into forward and backward methods, but his implementation of both is incorrect.
The clearest case is *2.13, p ∨ ∼∼∼p, which LT5 proves through a forward rule. The rule takes q C r and r ⊃ s and infers q C s, where C is a connective. That rule fails when C is ≡, but it works when C is ∨. So the proof is right here only because the connective happens to be ∨. The step draws on *2.11, p ∨ ∼p, and a substitution instance of *2.12.
LT5 also finds a dubious proof of *2.2, where (c ∨ p) ⊃ (p ∨ q) follows from *1.4 by substitution. Here c is a free variable, so the substitution could be read as valid for some choice of c.
One complete proof: *2.55
LT5 proves *2.55 by detachment, with *2.25 as the minor premise and a substitution instance of *2.53 as the major premise. The printed trace records 3 subproblems and 4 substitutions, each checked against a limit of 50. Its actual effort is 28443, while the effort limit of 200,000 cycles prints as 000000 because of a bug. The trace works backward from the goal, reducing it by replacement before it applies detachment with *2.53.
LT1 reaches the same theorem along a different route, starting from a result definitionally equivalent to *2.53. It uses that result as the minor premise in detachment, with a substitution instance of *1.5 as the major premise. After definitional rewriting, the result is again *2.55, so both programs end at the same theorem. The LT1 output in Figure 2 names a theorem and a remaining problem, and it marks each step as a substitution or detachment.
Theorem *2.55 is an exception to the usual agreement, because the two programs take different routes to it. LT5 splits chaining into two methods, while LT1 chooses the direction of chaining from its premises. The trace names each rule, so a reader can check the proof line by line. Stefferud's chaining is incorrect, so LT5 doesn't always produce valid proofs, even when a proof is found.
The Python IPL-V interpreter gave results almost identical to those in Stefferud's paper. Its effort figures differ from the paper's, because the interpreter isn't cycle-exact. LT1 could only print proof steps after new opcodes were added for that purpose.
What running the code adds
It cannot assemble or output the proof itself, so the program stops short of printing a proof.
LT5 is larger partly because it can assemble and print proofs, which LT1 cannot do. IPL-V is a general-purpose language, whereas LL was specialized for the Logic Theorist. LT1 leaves memory management largely unspecified, while LT5 explicitly requests and frees cells. Reimplementing both languages puts them on a common footing, which allows a fairer comparison of LT1 and LT5.
Some semantics exist only in the artifact, and the NIL behavior of J73 is absent from the documentation. The authors found it only by running Stefferud's code or by comparing with the IBM 7094 emulator. Reanimation requires such details to be clarified and recorded, rather than left implicit. Both the 1956 IPL-I listings and Stefferud's 1963 code contain errors that the authors had to repair.
The 1957 paper reported the 38-of-52 result for the JOHNNIAC version. Before reanimation, such claims rested on testimony and archival output listings. Reanimation lets these claims be tested and supports many further experiments.
How this differs from earlier reanimation work
The closest prior work is the ELIZA reanimation by Lane and colleagues, which restored ELIZA on a reconstructed CTSS. The present work takes a parallel but different route, emulating abstract machine specifications in modern languages. It builds emulators of the IPL-I and IPL-V abstract machines rather than the hardware beneath them.
Running the original code is what separates this work from a Lisp reimplementation. A Lisp rewrite shows that LT's algorithms can be expressed in Lisp, which the authors call unsurprising. A 1968 paper describes an implementation of LT in LISP 1.5. The original IPL code, as written and published, functions as described.
The IPL-V interpreters are not specific to the Logic Theorist and can, in principle, run any IPL-V program. The planned targets are GPS and EPAM, and running them should need substantially less effort than LT did.
Limitations
The weakest part of the evidence is the LT5 proof output, because Stefferud's forward and backward chaining is incorrect. So LT5 doesn't always produce valid proofs, and each proof it reports needs checking before anyone treats it as valid. The paper's example is *2.13, which LT5 proves even though Newell, Shaw, and Simon say the program can't prove it.
Stefferud's rule fails when C is ≡ but happens to work when C is ∨.
The LT5 proof listing prints the effort limit as 000000 because of a bug in the system. The limit was actually set to 200,000 cycles, so the printed value can't be trusted. The Python interpreter isn't cycle-exact, so its effort figures differ from those in Stefferud's paper. The emulated IBM 7094 run cut off output lines on the right, so the authors reconstructed them.
The LT2 count of 38 of 52 theorems comes from the published experiments, not from a rerun in this work. The authors don't seem to have stated LT2's time and space bounds, so those limits remain unknown. The LT5 count of 33+2·? still carries an unresolved term, which the authors mark with a question mark.
The replication lets each theorem use every earlier theorem, whether the program proved it or not. Each later proof therefore can depend on earlier results that were never proved. LT5 also caps substitution proofs at 50, subproblems at 50, and effort at 200,000 cycles.
Paper info
- Authors
- David Moews, Jeff Shrager
- Venue
- arXiv · Preprint
- First published
- 2026-11-14
- Added
- 2026-11-17
- Updated
- 2026-11-14
- Version
- v1
- arXiv
- 2611.19167
- Category
- cs.AI · cs.LO · cs.PL · cs.SC
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
The Logic Theorist (LT), created by Allen Newell, J. C. Shaw, and Herbert Simon in 1955--1956, is regarded by some as the first artificial intelligence program. It was originally simulated by hand and written in a pseudocode called the Logic Language (LL), which was later called Information Processing Language One (IPL-I). LT was revised many times. The first machine-executed version was written in IPL-II and ran on the JOHNNIAC, and a late version was published in 1963 by Einar Stefferud as a pedagogical document and written in IPL-V, the only version of IPL that was formally released to the public. We describe a reanimation of both the IPL-I (LL) version of LT and the 1963 IPL-V version. Comparing the two reanimations illuminates the process of the invention of early AI algorithms and computer languages.
Quote from the paper
David Moews, Jeff Shrager (2026). Executable Archaeology: Reanimating the Logic Theorist. arXiv:2611.19167v1. https://arxiv.org/abs/2611.19167v1
BibTeX
@misc{moews2026executable,
title = {{Executable Archaeology: Reanimating the Logic Theorist}},
author = {David Moews and Jeff Shrager},
year = {2026},
eprint = {2611.19167},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.19167v1}
}