Executable Archaeology: Reanimating the Logic Theorist

David Moews, Jeff ShragerarXiv 2026

TL;DR

Researchers have "reanimated" the Logic Theorist (LT)—widely considered the first AI program—by building modern interpreters for its original 1950s and 60s code. This "executable archaeology" revealed that the original 1956 version was never actually capable of printing its own proofs and uncovered significant bugs in later versions that had gone unnoticed for sixty years.

What Problem Does This Paper Address?

In the history of computer science, we often rely on "testimony"—published papers and archival printouts—to understand how foundational systems worked. The Logic Theorist, created by Newell, Shaw, and Simon in 1955–1956, is a prime example. While it famously proved 38 of the first 52 theorems in Whitehead and Russell’s Principia Mathematica, the original version (LT1) was "hand-simulated" by humans acting as hardware.

The authors argue that reading about a program is not the same as running it. Documentation is often incomplete, and published code listings frequently contain typos or logical gaps. By treating old code as an archaeological artifact to be "reanimated," the authors aim to verify historical claims and uncover the "dark matter" of early AI: the implementation details that were never written down but were essential for the programs to function.

Methods

The authors employed a methodology they call executable archaeology:

  1. Transcription and Restoration: They transcribed the source code for two versions of LT:
  2. LT1 (1956): Written in "Logic Language" (later IPL-I), a pseudocode for an abstract machine that was never actually built.
  3. LT5 (1963): A later pedagogical version written in IPL-V (Information Processing Language V).
  4. Interpreter Construction: Since no maintained IPL interpreters exist for modern systems, the authors wrote new ones in Python and Common Lisp. For LT5, they also validated their work using a reconstructed IBM 7094 emulator.
  5. Debugging the Past: They didn't just run the code; they had to "repair" it. This involved fixing 60-year-old typos in the published RAND reports and filling in "obvious" opcodes that the original authors had used but never formally defined.
  6. Verification: They ran the reanimated programs against the same 52 theorems from Principia Mathematica used in the original 1950s experiments to see if the results matched the historical record.

Datasets

The "dataset" for this study consists of the logical axioms and the first 52 theorems of Chapter 2 of Principia Mathematica*. The authors used:

  • The 1956 RAND report (P-868): The source for the LT1 code.
  • Stefferud’s 1963 report: The source for the LT5 code.
  • "Simon’s J’s": A physical card deck from 1962 (preserved by the Computer History Museum) containing the library of standard "J-functions" for IPL-V.

Key Insights and Ideas

  • The "Printing" Gap: The most surprising finding was that the published 1956 LT1 code could find a proof but had no mechanism to actually assemble or print it. The famous proofs seen in early papers were likely reconstructed by hand from the program's internal state.
  • Semantics in Artifacts: The authors discovered that certain behaviors—like how a specific primitive (J73) handles a null input—were never documented. These details were only discoverable by running the code or comparing it to emulated 1960s hardware.
  • The Cost of Generality: LT1 (specialized for logic) was roughly 300 instructions. LT5 (written in the general-purpose IPL-V) was nearly 3,000 lines. This illustrates the massive jump in complexity when moving from a "logic-specific" language to a general-purpose list-processing language.
  • Historical Errors: The reanimation proved that the 1963 version (LT5) contained an incorrect forward chaining rule. It would occasionally produce "dubious" proofs because it used a rule of inference that wasn't logically valid in all cases.

Key Results

  • First Machine Execution of LT1: The authors achieved what is likely the first-ever machine execution of the 1956 LT1 code on non-human hardware.
  • Result Replication: They successfully replicated the "38 of 52" theorem-proving result. LT1 found 40 correct proofs, while LT5 found 33 (plus two "dubious" ones due to the aforementioned bugs).
  • Bug Discovery: They identified and patched a loop in the variable substitution routine (LSb) of LT1 that would have caused the program to hang indefinitely.
  • Open Source Legacy: The authors have open-sourced their IPL-I and IPL-V interpreters, along with the repaired source code for LT, allowing other researchers to experiment with these foundational AI algorithms.

Limitations and Future Work

  • Cycle Accuracy: The modern Python/Lisp interpreters are not "cycle-exact" to the original hardware (like the JOHNNIAC or IBM 7094), meaning "effort" metrics (execution time/cycles) are approximations.
  • Missing Versions: This study skipped versions LT2, LT3, and LT4, as their source code is either lost or incomplete.
  • Next Steps: The authors plan to apply "executable archaeology" to other landmark AI systems, specifically the General Problem Solver (GPS) and EPAM (a model of human memory), using the interpreters developed for this project.

Summary updated

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.
BibTeX
@misc{moews2026executable,
  author = {David Moews and Jeff Shrager},
  title = {{Executable Archaeology: Reanimating the Logic Theorist}},
  year = {2026},
  eprint = {2611.19167},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19167},
}
Figure