{"id":"N-BABBAGE-NOTE-G","url":"https://chrishayuk.com/notebook/two-readings-of-ada-lovelaces-note-g-both-make-babbages-engine-a-general-machine","currentVersion":"1.2","publication":"published","scientificStatus":"OPEN","versions":[{"version":"1.0","title":"Two readings of Ada Lovelace’s Note G both make Babbage’s engine a general machine.","abstract":"A note about the control of Babbage’s Analytical Engine as Menabrea’s account of 1842 and Lovelace’s Notes of 1843 describe it, and about her program for the Bernoulli numbers in Note G, run on a reconstruction of the engine’s control. Note G is explicit that a result, zero or greater than zero, chooses between two courses. That the test ends the repetition of Operations 13 to 23 is a reading (A); that the repetition is counted and the test only chooses a step forward is another (B). Proved in Lean: under Reading A, one card, a backing made effective by a result, is enough for every counter machine to run, halting by passing its last card exactly when the machine halts; under Reading B, a forward course is enough together with the unconditional backing card of Babbage’s Sketch Book of December 1837. With Minsky’s theorem, cited, the machine is general under either reading. Lovelace’s table, transcribed from a camera image of the plate, gives −95/126 as printed where B₇ is −1/30; with three changes of three different kinds it gives −1/30, and 1/42 and 5/66 for the neighbouring Numbers. Under Reading B the test variable V₁₀ ends at zero for every n tried, which Reading A does not manage for the two smallest. That the engine is general from a conditional backing is Rojas’s; what is added here is the tie to Note G, both readings, the proofs, and the program run.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.0","published":"2026-11-27","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"963ef36cf332796203c78257a90cd63af365902481ae68b8af014c7dc34ca2e4","algorithm":"sha256","revision":{"kind":"initial","summary":"First publication, after a fact-check against analytical-engine a9a0b50: the title names Note G and the engine, not the program; the archive's judgement that Reading A fits the text better is given; the Reading B count's source marked as an encoding choice; December 1837 accepts the deck only with the forward course added; the comparison's coverage and the plate's resolution stated exactly; corrections described by kind with their sources."},"display":{"kind":"initial","summary":"First publication, after a fact-check against analytical-engine a9a0b50: the title names Note G and the engine, not the program; the archive's judgement that Reading A fits the text better is given; the Reading B count's source marked as an encoding choice; December 1837 accepts the deck only with the forward course added; the comparison's coverage and the plate's resolution stated exactly; corrections described by kind with their sources."},"next":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.1","sources":[{"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 mill will order other cards” (p. 687); Note G, the two courses (p. 728) and V₁₀ (pp. 730–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"A. A. Lovelace, Note G, “Diagram for the computation by the Engine of the Numbers of Bernoulli”, folding plate after p. 722, Scientific Memoirs 3 (1843)","url":"https://commons.wikimedia.org/wiki/File:Diagram_for_the_computation_of_Bernoulli_numbers.jpg","note":"Transcribed from the Natural History Museum copy on archive.org (scientificmemoir03memo), leaf 0754; sources/notes/note-g-table.md. The image in this note is the public-domain scan on Wikimedia Commons, not the copy transcribed."},{"title":"C. Babbage, Scribbling Book Vol. III, p. 162 (December 1837), the Babbage Papers, Science Museum Group","note":"The card that “always orders the backing”, which Reading B needs. Transcribed in sources/notes/codesign-L023.md §1.2."},{"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 conditional backing, after Bromley (2000). The general result is his."},{"title":"A. G. Bromley, “Babbage’s Analytical Engine plans 28 and 28a: the programmer’s interface”, IEEE Annals of the History of Computing 22(4), 2000","note":"Not read (paywalled); known only through Rojas (2024) and Wikipedia."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised."},{"title":"Note G, “Error”, Wikipedia","url":"https://en.wikipedia.org/wiki/Note_G","note":"Secondary: reports the swapped division of Operation 4. Its figure for the uncorrected program, −25621/630, was not reproduced."},{"title":"chrishayuk/analytical-engine, commit a9a0b50","url":"https://github.com/chrishayuk/analytical-engine/tree/a9a0b50","note":"src/sketch.rs (the machine, configurations 1843 and 1843-B), control/note-g-*.txt, tests/note_g.rs, formal/Babbage/Note43.lean and Multi.lean, scripts/lean-diff.sh, docs/published-control-1843.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-NOTE-G?version=1.0","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-NOTE-G?version=1.0"},{"version":"1.1","title":"Two readings of Ada Lovelace’s Note G both make Babbage’s engine a general machine.","abstract":"A note about the control of Babbage’s Analytical Engine as Menabrea’s account of 1842 and Lovelace’s Notes of 1843 describe it, and about her program for the Bernoulli numbers in Note G, run on a reconstruction of the engine’s control. Note G is explicit that a result, zero or greater than zero, chooses between two courses. That the test ends the repetition of Operations 13 to 23 is a reading (A); that the repetition is counted and the test only chooses a step forward is another (B). Proved in Lean: under Reading A, one card, a backing made effective by a result, is enough for every counter machine to run, halting by passing its last card exactly when the machine halts; under Reading B, a forward course is enough together with the unconditional backing card of Babbage’s Sketch Book of December 1837. With Minsky’s theorem, cited, the machine is general under either reading. Lovelace’s table, transcribed from a camera image of the plate, gives −95/126 as printed where B₇ is −1/30; with three changes of three different kinds it gives −1/30, and 1/42 and 5/66 for the neighbouring Numbers. Under Reading B the test variable V₁₀ ends at zero for every n tried, which Reading A does not manage for the two smallest. That the engine is general from a conditional backing is Rojas’s; what is added here is the tie to Note G, both readings, the proofs, and the program run.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.1","published":"2026-11-27","revised":"2026-12-02","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"a51b66234633f7c11a9219d9c470a62712a356925586fc51e5c34f1f1af9cf35","algorithm":"sha256","revision":{"kind":"clarification","summary":"A visual re-edit with no change of result: every chapter opens with the printed page (twelve new crops of the plate and pp 728 and 730 from the original camera images of the copy transcribed, the Natural History Museum copy digitised by the Biodiversity Heritage Library; readings by an AI agent), the question it raises and something to try (Lovelace's table stepped through as printed, the three changes applied as the repository ran them, the two readings' arrangements of the cards and the groups each passes against her own lists on p 730), then a shorter account and RECORD, MODEL, PROOF and OPEN strips carrying every figure and condition of 1.0, Lean links pinned to a9a0b50. One quotation corrected: Card 23 'has the office of Cards 11 and 7', as printed, where 1.0 gave it with the slip for 12 already corrected","previous":"1.0"},"display":{"kind":"clarification","summary":"A visual re-edit with no change of result: every chapter opens with the printed page (twelve new crops of the plate and pp 728 and 730 from the original camera images of the copy transcribed, the Natural History Museum copy digitised by the Biodiversity Heritage Library; readings by an AI agent), the question it raises and something to try (Lovelace's table stepped through as printed, the three changes applied as the repository ran them, the two readings' arrangements of the cards and the groups each passes against her own lists on p 730), then a shorter account and RECORD, MODEL, PROOF and OPEN strips carrying every figure and condition of 1.0, Lean links pinned to a9a0b50. One quotation corrected: Card 23 'has the office of Cards 11 and 7', as printed, where 1.0 gave it with the slip for 12 already corrected"},"previous":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.0","next":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.2","sources":[{"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 mill will order other cards” (p. 687); Note G, the two courses (p. 728) and V₁₀ (pp. 730–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"A. A. Lovelace, Note G, “Diagram for the computation by the Engine of the Numbers of Bernoulli”, folding plate after p. 722, Scientific Memoirs 3 (1843)","url":"https://commons.wikimedia.org/wiki/File:Diagram_for_the_computation_of_Bernoulli_numbers.jpg","note":"Transcribed from the Natural History Museum copy on archive.org (scientificmemoir03memo), leaf 0754; sources/notes/note-g-table.md. Since 1.1 the crops in this note are from that copy’s original camera images (leaves 754, 760 and 762: the plate, pp 728 and 730); 1.0 showed the public-domain scan on Wikimedia Commons, not the copy transcribed."},{"title":"C. Babbage, Scribbling Book Vol. III, p. 162 (December 1837), the Babbage Papers, Science Museum Group","note":"The card that “always orders the backing”, which Reading B needs. Transcribed in sources/notes/codesign-L023.md §1.2."},{"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 conditional backing, after Bromley (2000). The general result is his."},{"title":"A. G. Bromley, “Babbage’s Analytical Engine plans 28 and 28a: the programmer’s interface”, IEEE Annals of the History of Computing 22(4), 2000","note":"Not read (paywalled); known only through Rojas (2024) and Wikipedia."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised."},{"title":"Note G, “Error”, Wikipedia","url":"https://en.wikipedia.org/wiki/Note_G","note":"Secondary: reports the swapped division of Operation 4. Its figure for the uncorrected program, −25621/630, was not reproduced."},{"title":"chrishayuk/analytical-engine, commit a9a0b50","url":"https://github.com/chrishayuk/analytical-engine/tree/a9a0b50","note":"src/sketch.rs (the machine, configurations 1843 and 1843-B), control/note-g-*.txt, tests/note_g.rs, formal/Babbage/Note43.lean and Multi.lean, scripts/lean-diff.sh, docs/published-control-1843.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-NOTE-G?version=1.1","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-NOTE-G?version=1.1"},{"version":"1.2","title":"Two readings of Ada Lovelace’s Note G both make Babbage’s engine a general machine.","abstract":"A note about the control of Babbage’s Analytical Engine as Menabrea’s account of 1842 and Lovelace’s Notes of 1843 describe it, and about her program for the Bernoulli numbers in Note G, run on a reconstruction of the engine’s control. Note G is explicit that a result, zero or greater than zero, chooses between two courses. That the test ends the repetition of Operations 13 to 23 is a reading (A); that the repetition is counted and the test only chooses a step forward is another (B). Proved in Lean: under Reading A, one card, a backing made effective by a result, is enough for every counter machine to run, halting by passing its last card exactly when the machine halts; under Reading B, a forward course is enough together with the unconditional backing card of Babbage’s Sketch Book of December 1837. With Minsky’s theorem, cited, the machine is general under either reading. Lovelace’s table, transcribed from a camera image of the plate, gives −95/126 as printed where B₇ is −1/30; with three changes of three different kinds it gives −1/30, and 1/42 and 5/66 for the neighbouring Numbers. Under Reading B the test variable V₁₀ ends at zero for every n tried, which Reading A does not manage for the two smallest. That the engine is general from a conditional backing is Rojas’s; what is added here is the tie to Note G, both readings, the proofs, and the program run.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-BABBAGE-NOTE-G/1.2","published":"2026-11-27","revised":"2026-12-02","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"a7bd7f18cd5bc0a99f0c46c12adbc4ac411a930e85be7a6e3f5afc046e3d0b97","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-NOTE-G/1.1","sources":[{"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 mill will order other cards” (p. 687); Note G, the two courses (p. 728) and V₁₀ (pp. 730–731). Read in sources/notes/menabrea-lovelace-1843-control.md."},{"title":"A. A. Lovelace, Note G, “Diagram for the computation by the Engine of the Numbers of Bernoulli”, folding plate after p. 722, Scientific Memoirs 3 (1843)","url":"https://commons.wikimedia.org/wiki/File:Diagram_for_the_computation_of_Bernoulli_numbers.jpg","note":"Transcribed from the Natural History Museum copy on archive.org (scientificmemoir03memo), leaf 0754; sources/notes/note-g-table.md. Since 1.1 the crops in this note are from that copy’s original camera images (leaves 754, 760 and 762: the plate, pp 728 and 730); 1.0 showed the public-domain scan on Wikimedia Commons, not the copy transcribed."},{"title":"C. Babbage, Scribbling Book Vol. III, p. 162 (December 1837), the Babbage Papers, Science Museum Group","note":"The card that “always orders the backing”, which Reading B needs. Transcribed in sources/notes/codesign-L023.md §1.2."},{"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 conditional backing, after Bromley (2000). The general result is his."},{"title":"A. G. Bromley, “Babbage’s Analytical Engine plans 28 and 28a: the programmer’s interface”, IEEE Annals of the History of Computing 22(4), 2000","note":"Not read (paywalled); known only through Rojas (2024) and Wikipedia."},{"title":"M. L. Minsky, Computation: Finite and Infinite Machines, Prentice-Hall, 1967","note":"Two counters suffice. Cited, not formalised."},{"title":"Note G, “Error”, Wikipedia","url":"https://en.wikipedia.org/wiki/Note_G","note":"Secondary: reports the swapped division of Operation 4. Its figure for the uncorrected program, −25621/630, was not reproduced."},{"title":"chrishayuk/analytical-engine, commit a9a0b50","url":"https://github.com/chrishayuk/analytical-engine/tree/a9a0b50","note":"src/sketch.rs (the machine, configurations 1843 and 1843-B), control/note-g-*.txt, tests/note_g.rs, formal/Babbage/Note43.lean and Multi.lean, scripts/lean-diff.sh, docs/published-control-1843.md."}],"manuscript":"https://chrishayuk.com/api/record/N-BABBAGE-NOTE-G?version=1.2","citations":"https://chrishayuk.com/api/citations/N-BABBAGE-NOTE-G?version=1.2"}]}