Reanimating the First AI Program from 1956: Executable Archaeology of the Logic Theorist

Executable archaeology resurrects two versions of the Logic Theorist, revealing the interplay between early AI algorithms and language design.
The article introduces the "Executable Archaeology" project, which reimplemented two versions of the Logic Theorist (LT): the IPL-I (LL pseudocode) and IPL-V versions. LT is regarded as the first AI program, initially hand-simulated and later evolved into an executable program through the IPL language family. Comparing the two resurrected versions reveals that the LL version is more abstract and flexible, while the IPL-V version is more engineered due to hardware constraints, reflecting how language design shapes algorithm implementation. This method can verify historical details, understand legacy code, and provide intuitive cases for AI education.

In 1956, Allen Newell, J. C. Shaw, and Herbert Simon created the Logic Theorist (LT), a program many consider the starting point of artificial intelligence. But it wasn't runnable on a machine from the start—it was initially hand-simulated, written in pseudocode called Logic Language (LL), which later evolved into Information Processing Language I (IPL-I). It wasn't until it was rewritten in IPL-II and run on the JOHNNIAC computer that LT truly became an "executable" AI program.
A recent study called "Executable Archaeology" reimplemented two versions of LT—the earliest IPL-I (LL) version and the 1963 IPL-V teaching version released by Einar Stefferud. By comparing these two resurrected versions, researchers revealed subtle details in the invention of early AI algorithms and computer languages.
Two Versions, Two Design Philosophies

The original manuscript version of LT was written in LL pseudocode. At the time, there was no real compiler or interpreter, so researchers could only simulate the program's execution with pen and paper. This version is closer to Newell and Simon's original thinking, but lacking the constraints of machine execution, some design choices appear more abstract.
In 1963, Einar Stefferud rewrote LT in IPL-V and released it publicly—the only version in the IPL language family that was officially made available to the public. The IPL-V version bears stronger engineering marks: it had to adapt to the memory limits and instruction sets of computers at the time, so the code structure is more compact, but it may have sacrificed some clarity of the original concepts.
The "Executable Archaeology" project implemented both versions and ran them again on modern computers. Comparing the two clearly shows the evolution from pseudocode to real machine code: the LL version is more like a logical deduction tool, while the IPL-V version demonstrates how early AI programmers implemented heuristic search under hardware constraints.
Heuristic search is the core mechanism of LT. It refers to using empirical rules (heuristics) to prioritize promising paths when the state space is enormous, rather than exhaustively enumerating all possibilities. LT used heuristics such as "means-ends analysis" and "backward reasoning" to prove theorems from Principia Mathematica in just a few steps, in stark contrast to the brute-force search popular at the time. Heuristic search laid the foundation for the basic paradigm of AI problem-solving and explains why LT is regarded as the starting point of AI—it was the first time a machine displayed "selective intelligence."
From Hand Simulation to Machine Execution: A Microcosm of Language Evolution
The IPL language family itself is a noteworthy case. IPL-I (LL) was the dedicated pseudocode for LT, IPL-II was the first version to execute LT on a machine, and IPL-V was the final publicly released general-purpose version. Each iteration was accompanied by a reunderstanding of "what computers can do."
In IPL-I, the concept of list processing was just emerging, but a complete abstraction had not yet formed. By IPL-V, list processing had become a core mechanism and influenced subsequent languages such as LISP. By resurrecting LT, researchers can compare how the same algorithm is expressed at different language levels, thereby revealing how language design shapes algorithm implementation.
An interesting finding is that the LL version of LT was more flexible in some search strategies than the IPL-V version, because the latter was constrained by IPL-V's fixed instruction format. This suggests that the "invention" of early AI algorithms was not linear progress, but constant compromise and reconstruction under language constraints.
List processing is a core abstraction in early AI programming. It refers to dynamically organizing symbolic data in linked-list structures, supporting operations such as insertion, deletion, and pattern matching. The IPL language family was designed around list processing: IPL-I only vaguely used the list concept, IPL-II systematized it, and IPL-V provided complete list operation primitives. This abstraction enabled programs to flexibly manipulate symbolic expressions (such as logical formulas) without worrying about underlying memory layout. List processing was later carried forward by LISP and became the cornerstone of symbolic AI, which also explains why the code evolution of LT is inseparable from the development of language abstraction.
The Methodological Significance of Executable Archaeology
"Executable Archaeology" is not just about nostalgia. By reimplementing historical programs, researchers can verify whether descriptions in original papers are accurate and discover undocumented design decisions. For example, some steps in the LL version of LT had ambiguous comments, and only by actually running the program could the authors' intentions be inferred.
This approach also helps understand "legacy code" in the AI field. Many early AI programs were never fully published, or exist only as fragments. Executable archaeology provides a means to make these programs testable, modifiable, and even comparable in performance with other versions.
For AI education, resurrecting programs like LT is also inspiring. Students can intuitively see the original form of heuristic search, rather than directly facing the black box of modern deep learning frameworks.
Legacy code refers to program code left over from history that is difficult to maintain or no longer runnable. In the AI field, many early programs exist only as paper fragments or manuscripts, lacking executable versions, making their design details difficult to verify. Executable archaeology, by reimplementing these programs, turns legacy code from "dead documents" into "living specimens," not only restoring runnability but also allowing researchers to modify and conduct comparative experiments. This provides a new tool for software archaeology and the history of science, and also reminds us that many core ideas of AI may be hidden in early code that has not been fully interpreted.
Conclusion
The resurrection of the Logic Theorist reminds us that the starting point of AI was not achieved overnight. From LL to IPL-V, each language conversion was accompanied by a rethinking of the nature of intelligence. Executable archaeology not only preserves history but also allows us to use today's tools to ask: if the hardware and languages of that time had been different, would the evolutionary path of AI have looked entirely different?
Related articles

ChatGPT Plus Top-Up in China: Third-Party Website Recharge That Supports WeChat Pay and Alipay, No Overseas Card Needed
A Bilibili creator tests ChatGPT Plus top-up methods in China: comparing third-party website recharge, direct credit card, and mobile in-app purchase, with a full walkthrough of password-free WeChat/Alipay recharge and an analysis of Session credential and payment risk-control risks.

6GB Delivers Opus-Level Performance: Bonsai 2.5 27B Hands-On Test
Prism ML releases Ternary Bonsai 2.5 27B: ternary quantization brings it to just 5.9GB, runnable on a single consumer GPU while retaining 262k context and vision. Hands-on agentic benchmarks approach full-precision Qwen 3.8 27B, exceeding 150 tokens/s on a 4090, with impressive frontend and dashboard results, though game development and long tasks remain weak spots.

System Exchange Spawns an Offbeat Journey to the West: Why This Comedy Series Works
A Bilibili comedy short series reimagines Journey to the West with a system-exchange premise, as the protagonist challenges Sun Wukong, Erlang Shen, and other classics.