CHRIS HAY

IDEAS · SYSTEMS · OBJECTS / LONDON · 2026

Before the Punched Card: How Powerful Was Babbage’s Engine?

Before cards, Babbage’s engine was to be ordered by drums that ran a fixed cycle and recommenced. Proved in Lean for an idealised model with unbounded numbers and store: the March 1836 drums simulate any counter machine if repetition counts are read from the store (one ambiguous reading of 7 March 1836) and a failed operation ends the run (Model D, which no page states); universal by Minsky’s theorem (cited). Not a claim that Babbage designed a universal computer.

ABOUT THIS NOTE +

A note about the drums that were to order Charles Babbage’s Analytical Engine in 1835 and 1836, before he proposed Jacquard’s cards on 30 June 1836, and about the card sets and the lever he worked out a month later. The pages read give the great drum of 1835 a fixed cycle that “backs and recommences”; nothing in the pages of February to June 1836 changes it for the store and mill drums; and the first cards run that cycle again. In models built only from those pages, drums and first cards order the same programs, a theorem in Lean that follows from the reading. A sizing of June 1836 shows a long formula needing 800 inches of studs, and what is read, in low-legibility lines a person should check, as Babbage’s own answer to it: a spiral. The July 1836 sets shorten a program without adding power; the lever, read one way, makes an address depend on the pass, and is shown separated only when the whole store is the input; for fixed-column inputs none is shown. December 1837 outgrows every July 1836 schedule run for a number of passes fixed by the deck, with normal halting, but this is proved only with the input on the wheels; with empty wheels these bounds do not separate. The central result is conditional, and about an idealised model with unbounded numbers and store: with repetition counts read from the store (one historically ambiguous reading of a page of 7 March 1836, rule 3a), a failed operation read as the end of the run (Model D, a project assumption no page states), and, for universality, Minsky’s theorem (cited), a drum of March 1836 is ended by a trap exactly when a given counter machine halts, with its counters in the store (drum_trap_iff). It is a theorem about an idealised reconstruction, not a claim that Babbage designed or saw a universal computer in March 1836. The manuscript readings are an AI agent’s, unchecked by a person.

N-BABBAGE-DRUMSOPENRECORDED 2026-11-29PUBLISHED · V1.1CITE ↓FOLLOW ↓

01 / THE GREAT DRUM, 1835

Before the cards there was a drum. On 24 July 1835 Babbage wrote how it moved: “Each operation at its end tells the G.t Drum to move”, and “After all op.ns are done G.t Drum backs and recommences”. The pages read give a fixed sequence of steps set by hand, one step per operation, and after the last a return to the first. They give no repetition of part of the sequence, no counted repetition, and no choice made by a result at the drum: not found, which is not the same as absent.

Scribbling Book Vol. XIII, Science Museum Group ↗The first survey of the drums ↗What the sources say, finding by finding ↗

02 / STORE AND MILL DRUMS, FEBRUARY – JUNE 1836

On 16 February 1836 Babbage gave up the great central drum for “small drums governed by one great wheel”; by 23 May, store drums that give off and receive, and mill drums that “always indicate operations”. Nothing in these pages changes what the drums order. Results already steer the mill’s barrels inside an operation, by November–December 1835; from 7 March 1836 a drum step can call an operation repeated “a given ⟨variable⟩ number” of times, without saying where the number comes from. No general arrangement read shows a drum, which is weak evidence.

Scribbling Book Vol. II, Science Museum Group ↗The second survey (Vol II pp 64–67, 120–121, 146–148) ↗The third survey (Vol II pp 68–145) ↗The general arrangements, July 1835 – March 1836 ↗

03 / 800 INCHES OF STUDS

In June 1836, three to four weeks before the cards, Babbage sized the store drums: one inch a stud, 200 operations on each of four variables, 800 inches of studs, a circle about 255 inches across. On a low-legibility reading he winds it as a spiral of 64 turns on drums 4 inches across, and ends “Let Drums be 30 inches high”. A program stored as mechanism sets the size of the part that holds it. Babbage draws no conclusion on the page; that the size bears on the change to cards is this note’s interpretation.

Vol II p 129, read with its uncertain words marked ↗The sizing as an illustration, not a cause (§5a) ↗

04 / THE CHANGE TO CARDS, AND THE SAME PROGRAM ON TWO MEDIA

On 30 June 1836: “Suggested Jacards loom as a substitute for the Drums”. Every gain he lists is of convenience, extent or keeping; no loss is stated. On 10 July the cards “direct a series of operations and then recommence with the first”: the drum’s cycle. Built only from these pages, the drums and the first cards order the same programs, step for step, with one card per cycle to back to the first (trace_equiv). The proof makes that general for the two models; it is a consequence of the reading, not an independent historical finding.

Vol II p 146 and the history, image 86 ↗The drum machine (src/drum.rs) ↗The proof (formal/Babbage/Drum.lean) ↗

05 / ENTRIES DATED A YEAR LATE

The history sheets for 1835 and 1836 (BAB/N/002, N/003), whose authorship is not established, order the events. Checked against dated pages, six N/003 entries are 1835 events written on the 1836 sheet, and three N/002 entries are 1836 events; a ringed note signed “C.B.”, “This must be 1835”, points the same way. So one barrel per variable is a plan of July 1835, under the great drum. One entry, General Plans in April, needs the sheet A/033 read in full. No date the models rely on changes.

The dating check ↗The corrections, with evidence and certainty (§5b) ↗

06 / JULY 1836: ONCE, TWICE, THREE TIMES

A month after the cards, Babbage worked one series four ways, and on 31 July wrote “No 5”: one pass of nine cards written once, twice and three times. Page 178 gives a lever that “advances laterally one hole” at each backing, and two sets of cards that “would do the same thing”. Both are built. Run for a fixed number of passes, the sets shorten a program without adding power (unroll_equiv). The lever, a forerunner of indexed addressing, reads an ever wider window of the store, a table no fixed deck gives for every store — only with the whole store as the input. Which Babbage meant is unresolved.

The card sets of 30–31 July 1836 ↗F/061x–F/063x, read ↗The two configurations and their rules ↗Program size and the three questions (§3.2) ↗The proofs (formal/Babbage/CardSets.lean) ↗The lever with fixed-column inputs (formal/Babbage/LeverFixed.lean) ↗

07 / GENERAL, UNDER FOUR CONDITIONS

A drum of March 1836 can be made to compute anything a counter machine can, with no conditional instruction, under three conditions: repetition counts read from the store (one reading of an ambiguous page); a failed operation read as the end of the run (Model D, a project assumption no page states); and unbounded numbers, store and drum (drum_trap_iff). With Minsky’s theorem, cited, that makes it universal. Without Model D the drum never ends of itself. With counts from number cards the question is open. It is not a claim that Babbage designed, or saw, a universal computer in March 1836.

The theorem and its assumptions (formal/Babbage/DrumTrap.lean) ↗The counter-machine translation (src/minsky.rs) ↗Rule 3a, and why it is open ↗

08 / HOW A RUN ENDS

Five endings are kept apart: passing the last card, which a drum never does (drum_never_halts); a trap, Model D’s hypothetical end; an error, where what was given off is kept and the store is not a result; an endless table, the job of the formulae on the 1835–36 pages; and the model’s own limit on how long it watches, which is not a mechanism. How Babbage’s runs stopped is not found.

Endings, in three kinds (§5) ↗drum_never_halts, cards_not_halts (formal/Babbage/Drum.lean) ↗

09 / DECEMBER 1837, AND WHERE THE INPUT STANDS

December 1837 adds wheels that count backings to the first card. Against every July 1836 schedule of a fixed number of passes, with normal halting, what is proved depends on where the input n stands. With n in v0 and on its wheels, for both sides, it gives 2ⁿ with counts from number cards (sep_numcards) and 2↑↑n with counts from the store (sep_store; the lever not covered). With n in the store alone these bounds do not separate it: it obeys the straight-line bounds, and with counts from number cards cannot give 2ⁿ (no_two_pow_1837_empty). With n on the wheels alone the separation is weaker, about access to the input (sep_wheels_only).

Fixed schedules against December 1837 (§3.6) ↗The proofs (formal/Babbage/Straight.lean) ↗tower_halts (formal/Babbage/Tower.lean) ↗lever_no_two_pow (formal/Babbage/LeverFixed.lean) ↗

10 / NOT ONE QUESTION BUT SEVERAL

“Was it universal?” is the wrong single question. The dated designs differ along independent dimensions: how a program is represented, how long it can be, whether instructions are reused, how addresses are formed, what repeats, whether a result chooses the next card, which formal class each model is in under which assumptions, and how a run ends. Under the conditional theorem with all four of its conditions, it is argued, not proved, that no later configuration computes a function of fixed-width inputs the drums cannot — the argument rests on drum_trap_iff, Minsky’s theorem, and the later configurations being simulable by a counter machine, which is not formalised; what the later developments add, on that reading, is size, convenience, addressing uniformity and growth under other conventions. Under the other readings the classes differ, and some comparisons are open.

The separations, summarised (§3.5) ↗The dated card configurations, 1836–1843 ↗

11 / BROMLEY’S SUPER BARRELS

Allan Bromley wrote in 1990 that “super” barrels directed the engine, “included looping and branching capabilities”, and “in mid-1836 … were replaced by strings of Jacquard punched cards”. Read as the drums as a system, a working assumption, the first and last fit. Looping and branching are not found at drum level; in the pages read, they are only in the mill’s barrels. Bromley cites no sheet, so his account is not shown wrong; his reading stays open.

Against Bromley (§2) ↗

12 / HOW IT WAS CHECKED

Every theorem named is in Lean 4 core only (the project’s lake-manifest lists no packages), and no proof is left unfinished. Classical.choice enters drum_trap_iff, through cards_to_dtrap, and the whole-number separation theorems of Straight.lean and LeverFixed.lean. deck_drum37, drum37_count_from_store, drum37_never_halts, the theorems of Drum.lean and CardSets.lean, lever_in_1836, empty37_le_pow, empty37_le_tw, dbl_halts and tower_halts use only the standard axioms propext and Quot.sound. The Rust machines run the decks in the repository’s tests: the drum decks under every medium, No 5 by sets and by lever against the rows of the sheet, the unrolled decks under the drums and the first cards. The Lean models are not proved to be the Rust machines. Every run on this page is produced by the Rust code and shipped as data; the page computes no run (only the p 129 sizing figure does arithmetic in the page), and a test re-runs the drum traces with a small interpreter of its own. The manuscript readings, and every quotation of Babbage here, are an AI agent’s readings of the Science Museum Group’s images, the decisive passages compared in a second AI reading. No person has checked them.

WHAT THIS DOES NOT SHOW

  • That Babbage designed, or saw, a universal computer in March 1836. drum_trap_iff is about an idealised model, and needs the store reading of rule 3a, Model D (which no page states), unbounded numbers and store, and Minsky’s theorem (cited). Without Model D the drum never ends; with counts from number cards the question is open.
  • That the drums and the cards were historically equivalent. Their models are the same because the pages read describe the same cycle; a drum ability on a page not read, or in a drawing not found, would be outside both. Bromley’s looping and branching at drum level are unfound, not refuted.
  • That the size of the drums caused the change to cards. Babbage’s sizing on p 129 ends, on a low-legibility reading, in a spiral and draws no conclusion; the link is an interpretation.
  • Which of the sets, the lever or the barrel Babbage meant, or which of the two 29 July sheets came first. The lever is shown separated only when the whole store is the input; for fixed-column inputs none is shown. The December 1837 separations are proved only with the input on the wheels; with empty wheels these bounds do not separate.
  • Historical priority. Unrolling, locality, growth bounds of the Meyer–Ritchie kind and Rojas’s trap are standard techniques; their application to these dated designs was not located in the literature read, which is not proof that it is new. Bromley 1987 and his 1980 reports were not read.
  • That the readings are final. They are an AI agent’s, from the Science Museum Group’s images, and no person has checked them against the images or the originals.

Say which page, which reading, and which ending. The answer changes with each.

OPEN

Were the March 1836 drums universal without Model D, or with repetition counts from number cards only?

Still open here: universality of drums with number-card counts under Model D; the lever’s endless tables from fixed-column inputs against a drum’s; whether the sets, the lever or the barrel was meant; the N/003 April entry, which needs A/033; an elevation of the engine, or a drawing of a drum, if one exists; and whether a person reading the manuscripts agrees with the readings this rests on.

PUBLICATION HISTORY

Each version preserves its manuscript, claims and source references. Research status is recorded separately from publication.

  1. V1.0 · 2026-11-29 ↗

    First edition after an independent fact-check and a formal-reference audit against analytical-engine aec7f6c: conditional universality of the March 1836 drum model with its four conditions wherever summarised; the 2↑↑n separation re-proved with n in v0 and on the wheels for both sides and independently reviewed, the earlier form kept as an input-access result; three input conventions kept apart; p 178's three ways; No 5's fourth group cut off; interactive panels replay repository-generated traces OPEN

    MANUSCRIPT JSON ↗ · BIBTEX ↗ · CSL JSON ↗

  2. V1.1 · 2026-11-30 ↗

    Visual re-edit, no change of result: every chapter opens with Babbage's page (crops of the Science Museum Group's scans, read by an AI agent, unchecked), the question it raises and something to try — the great drum turning through a repository run, the p 129 sizing to change, the five endings, where the input stands, the N/003 entries moved a year, No 5's card counts — then a shorter account and RECORD, MODEL, PROOF and OPEN strips that carry every condition of 1.0; independently fact-checked (19 findings applied) OPEN

    MANUSCRIPT JSON ↗ · BIBTEX ↗ · CSL JSON ↗

  3. V1.2 · 2026-12-02 ↗

    Rewritten for readability with no change of result: each act now opens with a question or observation and reads as a short narrative, with technical terms explained on first use; dates, quotations, theorem names and qualifications stay in the strips and sources. A repeated disclaimer about review of the readings is removed; the readings are still attributed to an AI agent OPEN

    MANUSCRIPT JSON ↗ · BIBTEX ↗ · CSL JSON ↗

MACHINE-READABLE HISTORY ↗

SOURCES & PROVENANCE

AUTHOR / Chris Hay · VERSION / 1.1

PUBLISHED 29 NOV 2026 · REVISED 30 NOV 2026 · VERSION 1.1

CITE

CITE THIS

Research note · 1.1

Hay, C. (2026). Before the Punched Card: How Powerful Was Babbage’s Engine? (Version 1.1). Chris Hay. https://chrishayuk.com/records/N-BABBAGE-DRUMS/1.1