{"id":"N-BABBAGE-CONTROL","url":"https://chrishayuk.com/notebook/where-babbages-1836-count-comes-from-decides-what-his-engine-could-compute","currentVersion":"1.2","publication":"published","scientificStatus":"OPEN","versions":[{"version":"1.0","title":"Where Babbage’s 1836 count comes from decides what his engine could compute.","abstract":"A note about what the control mechanisms of Charles Babbage’s Sketch Books of 1836 to 1838 can compute, at the dates the pages give: one operation repeated a counted number of times (March 1836), combinatorial wheels and backing cards to the first card (December 1837), and backing to any card (30 May 1838). I built a machine with only the rules the pages give, fixed each rule as page, reading or idealisation, and proved theorems about it in Lean. The first conjecture, that no deck that halts computes 2↑↑n, was wrong: it fails as soon as a repetition count may be read from the store, and the page of 7 March 1836 does not say where the count comes from. With repetition counts from number cards, everything a halting deck gives off is below a tower of fixed height. With repetition counts from the store, 2↑↑n is reached and 2↑↑↑n, for every n, is not. Two further steps make the machine general, given Minsky’s theorem: a count set inside the loop it counts, which no page read gives; or a stop at 1 ÷ 0 read as the end of the run, with the unconditional backing card the pages do give (for 30 May 1838 under either reading of repetition counts; for December 1837 only if they come from the store, and otherwise open). With a halt as passing the last card, December 1837 is strictly weaker than May 1838 under both readings. The Lean model and the Rust machine agree on 2,015 decks, which is a test, not a proof. The mathematics is classical; what is new here, as far as the search went, is its application to these pages.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.0","published":"2026-11-27","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"df553e239d4598dcc2e605782bb7ccc8a33117c244b48d4d9211716b6601cbc3","algorithm":"sha256","revision":{"kind":"initial","summary":"First publication, after a fact-check against analytical-engine a9093f5: repetition counts distinguished from combinatorial counts throughout; December 1837 refuses the 1838 trap deck and needs a second deck; pentation stated as 'not for every n'; the Lean-Rust comparison described as 4,015 runs on 2,015 decks; the maximum tested for small inputs; links pinned to the commit."},"display":{"kind":"initial","summary":"First publication, after a fact-check against analytical-engine a9093f5: repetition counts distinguished from combinatorial counts throughout; December 1837 refuses the 1838 trap deck and needs a second deck; pentation stated as 'not for every n'; the Lean-Rust comparison described as 4,015 runs on 2,015 decks; the maximum tested for small inputs; links pinned to the commit."},"next":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.1","sources":[{"title":"C. Babbage, Scribbling Book Vol. II (1835–1837), p. 84, 7 March 1836, BAB/S/1/02, the Babbage Papers, Science Museum Group","url":"https://collection.sciencemuseumgroup.org.uk/documents/aa110001323","note":"“a given variable number of repetitions … put on an axis”. Transcribed at full resolution in the repository (sources/notes/repetition-count-1836-1842.md)."},{"title":"C. Babbage, Scribbling Book Vol. III, pp. 161–165 (December 1837) and reverse pp. 74–75 (“30 May”, the year inferred as 1838), the Babbage Papers, Science Museum Group","note":"The combinatorial wheels and cards, counted and unconditional backing, and backing to any card. Transcribed in sources/notes/sketchbooks-control.md."},{"title":"L. F. Menabrea, “Sketch of the Analytical Engine invented by Charles Babbage”, trans. and with notes by A. A. Lovelace, Scientific Memoirs 3 (1843), pp. 666–731","url":"https://www.fourmilab.ch/babbage/sketch.html","note":"The bell at “the passage through zero or infinity” (p. 685); “the mill will order other cards” (p. 687); Note G (pp. 728–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"R. Rojas, “How to make Zuse’s Z3 a universal computer”, IEEE Annals of the History of Computing 20(3), 1998, pp. 51–54","url":"https://doi.org/10.1109/85.707574","note":"One loop of arithmetic, ended by an operation the machine cannot do."},{"title":"R. Rojas, “Unconventional universal computation in Babbage’s Analytical Engine”, arXiv:2408.03334, 2024","url":"https://arxiv.org/abs/2408.03334","note":"Universality from a backing that depends on a computed result: the step the 1836–1838 arrangements lack."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised, and not read for this note."},{"title":"A. R. Meyer and D. M. Ritchie, “The complexity of loop programs”, Proc. ACM National Meeting, 1967; A. Grzegorczyk, “Some classes of recursive functions”, Rozprawy Matematyczne 4, 1953","note":"The bounds on loops whose count is fixed at entry. Meyer and Ritchie read; Grzegorczyk cited, not read."},{"title":"The literature review","url":"https://github.com/chrishayuk/analytical-engine/blob/a9093f5/docs/literature-expressiveness.md","note":"What was read, what was not, and what was not found."},{"title":"chrishayuk/analytical-engine, commit a9093f5","url":"https://github.com/chrishayuk/analytical-engine/tree/a9093f5","note":"src/sketch.rs (the machine), control/ (the decks), formal/ (Lean: Termination, Growth, Separation, Tower, GrowthStore, RatSize, Minsky, Trap, Classes), scripts/lean-diff.sh, docs/semantics.md, docs/expressiveness.md, docs/growth-classes.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-CONTROL?version=1.0","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-CONTROL?version=1.0"},{"version":"1.1","title":"Where Babbage’s 1836 count comes from decides what his engine could compute.","abstract":"A note about what the control mechanisms of Charles Babbage’s Sketch Books of 1836 to 1838 can compute, at the dates the pages give: one operation repeated a counted number of times (March 1836), combinatorial wheels and backing cards to the first card (December 1837), and backing to any card (30 May 1838). I built a machine with only the rules the pages give, fixed each rule as page, reading or idealisation, and proved theorems about it in Lean. The first conjecture, that no deck that halts computes 2↑↑n, was wrong: it fails as soon as a repetition count may be read from the store, and the page of 7 March 1836 does not say where the count comes from. With repetition counts from number cards, everything a halting deck gives off is below a tower of fixed height. With repetition counts from the store, 2↑↑n is reached and 2↑↑↑n, for every n, is not. Two further steps make the machine general, given Minsky’s theorem: a count set inside the loop it counts, which no page read gives; or a stop at 1 ÷ 0 read as the end of the run, with the unconditional backing card the pages do give (for 30 May 1838 under either reading of repetition counts; for December 1837 only if they come from the store, and otherwise open). With a halt as passing the last card, December 1837 is strictly weaker than May 1838 under both readings. The Lean model and the Rust machine agree on 2,015 decks, which is a test, not a proof. The mathematics is classical; what is new here, as far as the search went, is its application to these pages.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.1","published":"2026-11-27","revised":"2026-12-01","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"c526a487afac23c909dfa5b109d8ad9aea7a142171c8a447c0a890a4bbbb86dd","algorithm":"sha256","revision":{"kind":"clarification","summary":"Visual re-edit, no change of result: every chapter opens with Babbage's page (9 crops of the Science Museum Group's scans, 7 of them new: Sketch Book Vol. III pp 161, 162 and 164, and reverse pp 74–75 of 30 May [1838]; AI-agent readings, unchecked by a person), the question it raises and something to try — the axis of 7 March 1836 under both readings, the cards of December 1837 and May 1838 stepped one by one, the tower deck with its count from the store or a number card — then a shorter account and RECORD, MODEL, PROOF and OPEN strips carrying every condition of 1.0, with 32 Lean links pinned to a9093f5; independently fact-checked (findings applied: the tower figure no longer presents a Model A run of a deck Model A does not admit; the year of 30 May stated as inferred; the June 1839 exception kept within one long addition; readings moved out of RECORD; three theorems named; the nesting of wheels on reverse p 74 marked open)","previous":"1.0"},"display":{"kind":"clarification","summary":"Visual re-edit, no change of result: every chapter opens with Babbage's page (9 crops of the Science Museum Group's scans, 7 of them new: Sketch Book Vol. III pp 161, 162 and 164, and reverse pp 74–75 of 30 May [1838]; AI-agent readings, unchecked by a person), the question it raises and something to try — the axis of 7 March 1836 under both readings, the cards of December 1837 and May 1838 stepped one by one, the tower deck with its count from the store or a number card — then a shorter account and RECORD, MODEL, PROOF and OPEN strips carrying every condition of 1.0, with 32 Lean links pinned to a9093f5; independently fact-checked (findings applied: the tower figure no longer presents a Model A run of a deck Model A does not admit; the year of 30 May stated as inferred; the June 1839 exception kept within one long addition; readings moved out of RECORD; three theorems named; the nesting of wheels on reverse p 74 marked open)"},"previous":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.0","next":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.2","sources":[{"title":"C. Babbage, Scribbling Book Vol. II (1835–1837), p. 84, 7 March 1836, BAB/S/1/02, the Babbage Papers, Science Museum Group","url":"https://collection.sciencemuseumgroup.org.uk/documents/aa110001323","note":"“a given variable number of repetitions … put on an axis”. Transcribed at full resolution in the repository (sources/notes/repetition-count-1836-1842.md)."},{"title":"C. Babbage, Scribbling Book Vol. III, pp. 161–165 (December 1837) and reverse pp. 74–75 (“30 May”, the year inferred as 1838), the Babbage Papers, Science Museum Group","note":"The combinatorial wheels and cards, counted and unconditional backing, and backing to any card. Transcribed in sources/notes/sketchbooks-control.md."},{"title":"L. F. Menabrea, “Sketch of the Analytical Engine invented by Charles Babbage”, trans. and with notes by A. A. Lovelace, Scientific Memoirs 3 (1843), pp. 666–731","url":"https://www.fourmilab.ch/babbage/sketch.html","note":"The bell at “the passage through zero or infinity” (p. 685); “the mill will order other cards” (p. 687); Note G (pp. 728–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"R. Rojas, “How to make Zuse’s Z3 a universal computer”, IEEE Annals of the History of Computing 20(3), 1998, pp. 51–54","url":"https://doi.org/10.1109/85.707574","note":"One loop of arithmetic, ended by an operation the machine cannot do."},{"title":"R. Rojas, “Unconventional universal computation in Babbage’s Analytical Engine”, arXiv:2408.03334, 2024","url":"https://arxiv.org/abs/2408.03334","note":"Universality from a backing that depends on a computed result: the step the 1836–1838 arrangements lack."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised, and not read for this note."},{"title":"A. R. Meyer and D. M. Ritchie, “The complexity of loop programs”, Proc. ACM National Meeting, 1967; A. Grzegorczyk, “Some classes of recursive functions”, Rozprawy Matematyczne 4, 1953","note":"The bounds on loops whose count is fixed at entry. Meyer and Ritchie read; Grzegorczyk cited, not read."},{"title":"The literature review","url":"https://github.com/chrishayuk/analytical-engine/blob/a9093f5/docs/literature-expressiveness.md","note":"What was read, what was not, and what was not found."},{"title":"chrishayuk/analytical-engine, commit a9093f5","url":"https://github.com/chrishayuk/analytical-engine/tree/a9093f5","note":"src/sketch.rs (the machine), control/ (the decks), formal/ (Lean: Termination, Growth, Separation, Tower, GrowthStore, RatSize, Minsky, Trap, Classes), scripts/lean-diff.sh, docs/semantics.md, docs/expressiveness.md, docs/growth-classes.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-CONTROL?version=1.1","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-CONTROL?version=1.1"},{"version":"1.2","title":"Where Babbage’s 1836 count comes from decides what his engine could compute.","abstract":"A note about what the control mechanisms of Charles Babbage’s Sketch Books of 1836 to 1838 can compute, at the dates the pages give: one operation repeated a counted number of times (March 1836), combinatorial wheels and backing cards to the first card (December 1837), and backing to any card (30 May 1838). I built a machine with only the rules the pages give, fixed each rule as page, reading or idealisation, and proved theorems about it in Lean. The first conjecture, that no deck that halts computes 2↑↑n, was wrong: it fails as soon as a repetition count may be read from the store, and the page of 7 March 1836 does not say where the count comes from. With repetition counts from number cards, everything a halting deck gives off is below a tower of fixed height. With repetition counts from the store, 2↑↑n is reached and 2↑↑↑n, for every n, is not. Two further steps make the machine general, given Minsky’s theorem: a count set inside the loop it counts, which no page read gives; or a stop at 1 ÷ 0 read as the end of the run, with the unconditional backing card the pages do give (for 30 May 1838 under either reading of repetition counts; for December 1837 only if they come from the store, and otherwise open). With a halt as passing the last card, December 1837 is strictly weaker than May 1838 under both readings. The Lean model and the Rust machine agree on 2,015 decks, which is a test, not a proof. The mathematics is classical; what is new here, as far as the search went, is its application to these pages.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.2","published":"2026-11-27","revised":"2026-12-02","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"9145da6cb23e48f1bea2172f8d4ab09e7a90050c3baf1929bfbc487a8276a84a","algorithm":"sha256","revision":{"kind":"clarification","summary":"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","previous":"1.1"},"display":{"kind":"clarification","summary":"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"},"previous":"https://chrishayuk.com/records/N-BABBAGE-CONTROL/1.1","sources":[{"title":"C. Babbage, Scribbling Book Vol. II (1835–1837), p. 84, 7 March 1836, BAB/S/1/02, the Babbage Papers, Science Museum Group","url":"https://collection.sciencemuseumgroup.org.uk/documents/aa110001323","note":"“a given variable number of repetitions … put on an axis”. Transcribed at full resolution in the repository (sources/notes/repetition-count-1836-1842.md)."},{"title":"C. Babbage, Scribbling Book Vol. III, pp. 161–165 (December 1837) and reverse pp. 74–75 (“30 May”, the year inferred as 1838), the Babbage Papers, Science Museum Group","note":"The combinatorial wheels and cards, counted and unconditional backing, and backing to any card. Transcribed in sources/notes/sketchbooks-control.md."},{"title":"L. F. Menabrea, “Sketch of the Analytical Engine invented by Charles Babbage”, trans. and with notes by A. A. Lovelace, Scientific Memoirs 3 (1843), pp. 666–731","url":"https://www.fourmilab.ch/babbage/sketch.html","note":"The bell at “the passage through zero or infinity” (p. 685); “the mill will order other cards” (p. 687); Note G (pp. 728–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"R. Rojas, “How to make Zuse’s Z3 a universal computer”, IEEE Annals of the History of Computing 20(3), 1998, pp. 51–54","url":"https://doi.org/10.1109/85.707574","note":"One loop of arithmetic, ended by an operation the machine cannot do."},{"title":"R. Rojas, “Unconventional universal computation in Babbage’s Analytical Engine”, arXiv:2408.03334, 2024","url":"https://arxiv.org/abs/2408.03334","note":"Universality from a backing that depends on a computed result: the step the 1836–1838 arrangements lack."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised, and not read for this note."},{"title":"A. R. Meyer and D. M. Ritchie, “The complexity of loop programs”, Proc. ACM National Meeting, 1967; A. Grzegorczyk, “Some classes of recursive functions”, Rozprawy Matematyczne 4, 1953","note":"The bounds on loops whose count is fixed at entry. Meyer and Ritchie read; Grzegorczyk cited, not read."},{"title":"The literature review","url":"https://github.com/chrishayuk/analytical-engine/blob/a9093f5/docs/literature-expressiveness.md","note":"What was read, what was not, and what was not found."},{"title":"chrishayuk/analytical-engine, commit a9093f5","url":"https://github.com/chrishayuk/analytical-engine/tree/a9093f5","note":"src/sketch.rs (the machine), control/ (the decks), formal/ (Lean: Termination, Growth, Separation, Tower, GrowthStore, RatSize, Minsky, Trap, Classes), scripts/lean-diff.sh, docs/semantics.md, docs/expressiveness.md, docs/growth-classes.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-CONTROL?version=1.2","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-CONTROL?version=1.2"}]}