AI Wiki中文/EN

Babbage, Lovelace and a programmable engine

巴贝奇、洛夫莱斯与通用计算

Follow data, operations and historical evidence through the Difference Engines, Analytical Engine and 1843 Notes.

On this pageHistorical contextDates and evidenceContributions and methodsDebates and boundariesQuestions and exercisesResearch connections

The problem in its time

A machine that produces a table and a machine that follows a changeable sequence of operations are different designs. Babbage’s Difference Engines targeted numerical tables through repeated differences. The Analytical Engine broadened the ambition: organize arithmetic operations, stored values and instructions so that different calculations could use the same general machinery.

The distinction matters more than the familiar image of brass gears. A calculator can automate one procedure impressively without making the procedure itself programmable. Reading Babbage and Lovelace is a way to ask where a system keeps its instructions, how intermediate results move and what a change of task requires.

The Computer History Museum dates their meeting to 1833. In 1843 Lovelace published her English translation of Menabrea’s account, originally written in French, with extensive notes. Menabrea was Italian; the language she translated was French. These small distinctions prevent a surprisingly persistent historical mix-up. The Babbage Engine: The Engines — historical account; Sketch of the Analytical Engine, with Notes by the Translator

What the evidence establishes

Menabrea’s account describes a store for values and a mill for operations, with cards directing the calculation. Lovelace’s Note A distinguishes operating on numbers from the more general possibility of operating on other things whose relationships admit a suitable representation. Her musical example is explicitly conditional; it does not report a machine actually composing a piece. Sketch of the Analytical Engine, with Notes by the Translator

Note G includes a detailed operation scheme for Bernoulli numbers. Its importance is visible in the arrangement of data, working variables and repeated operations. Historical Bernoulli notation needs care: the subscripts in that document should not be silently read as the modern sequence convention. We do not reproduce its table as a supposedly tested modern program. Sketch of the Analytical Engine, with Notes by the Translator

Babbage’s 1864 memoir describes their collaboration. He recalls offering the Bernoulli calculation and Lovelace finding a serious error in his work. This is a participant’s retrospective account, written decades later. It supports a collaborative reading, but it is not an independent transcript of every exchange. Passages from the Life of a Philosopher — Chapter VIII

Work through the idea

Use a small table to understand the difference method. Let the desired values be n(n+1), starting at n=0. The values are 0, 2, 6, 12 and 20. Their first differences are 2, 4, 6 and 8; the second difference is the constant 2. Keep the current value v and next increment d. Starting from v=0 and d=2, repeatedly add d to v, then add 2 to d. The order matters: changing d first gives the wrong next value.

Now ask for the sum of three supplied quantities multiplied by a fourth. A general operation scheme can reserve places for inputs, add the first two, add the third and multiply the intermediate sum. Changing the supplied values is a data change. Replacing the final multiplication with division is an operation change. This is our modern desk exercise for reading the store/mill distinction, not a reconstruction of the Engine’s card deck.

Neither exercise establishes that the Analytical Engine was completed. A design, a written operation table, a working fragment and a full working machine are different artifacts. The museum’s historical account explicitly distinguishes the unrealized nineteenth-century projects and surviving or later constructions. The Babbage Engine: The Engines — historical account

Attribution and limits

“The first programmer” is a compressed label. It can refer to publication, the preparation of an operation scheme or practical execution on a working machine; these are not interchangeable criteria. The surviving Notes provide a concrete contribution to examine without settling every priority question by a title. Babbage’s design work, Menabrea’s exposition and Lovelace’s translation and analysis should remain visible together.

Note G’s discussion of originality is also often detached from its object. Lovelace limits what the proposed Engine can originate, while recognizing that organizing calculations can illuminate relationships for investigators. That passage is evidence about her account of this machine, not a theorem that no future learning system can produce a useful unexpected result. Sketch of the Analytical Engine, with Notes by the Translator

Likewise, a present-day program producing the same numbers would demonstrate our implementation. It would not retroactively show that a nineteenth-century engine executed the historical scheme. Preserve that distinction whenever a reconstruction is used to tell a history.

Exercises with answers

1. What value follows 20 in the n(n+1) table?

  1. The next first difference is 10, following the constant second difference 2.

2. Why is “translated from Italian” incorrect here?

Menabrea was Italian, but the article Lovelace translated was written in French.

3. Does the musical passage document a performed composition?

No. It proposes a possibility conditional on expressing musical relationships in a suitable operational form.

4. What evidence would establish historical execution?

Records tying a specified operation scheme to an actually functioning machine and its run, rather than merely a modern reproduction.

Read the original sources

Read Note A for the scope of operations, Note G for the operation scheme and originality passage, and Chapter VIII of Babbage’s memoir for his recollection. The museum supplies a useful artifact-centered chronology. Keep the memoir’s perspective and the later museum account distinct.

Continue with Turing’s computability work to move from a particular proposed engine to an abstract account of effective computation. The questions are related, but the artifacts and the standards of proof differ. Sketch of the Analytical Engine, with Notes by the Translator; Passages from the Life of a Philosopher — Chapter VIII; The Babbage Engine: The Engines — historical account

Make a prediction, then check

What does Lovelace’s conditional discussion of music establish?

Choose one answer

Learning objectives

  • Distinguish data changes, operation changes and evidence of execution.
  • Explain the collaborators’ contributions without relying on an ambiguous priority label.

Prerequisites & connections

This article can be used as an entry point.

Explore related knowledge →

References

  1. Sketch of the Analytical Engine, with Notes by the Translator
    Luigi Federico Menabrea; translated and annotated by Ada Lovelace · 1843
  2. Passages from the Life of a Philosopher — Chapter VIII
    Charles Babbage · 1864
  3. The Babbage Engine: The Engines — historical account
    Computer History Museum

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-07 · Codex single-AI-author check: bounded primary passages, attribution, stated assumptions, original examples, bilingual structure and exercises; computational tests only for the algorithm chapter. Not independent human or second-agent review.

  • Single-AI-author historical check of bounded primary passages, chronology, attribution, claims versus later interpretation, and corresponding bilingual examples and exercises. No independent human or second-agent review; historical essays require no executable program.
  • Hand-checked difference table and update order; distinguished French language from author nationality, design from execution, and retrospective collaboration account from independent evidence.
  • Complete bilingual prose and corresponding exercises promoted with formal status and SHA binding. Algorithm tests read formal MDX; historical essays claim no executable program or computational tests.

Source locations checked:

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.