Chapter 3: The Analytical Engine's Ghost
In the summer of 1833, a young woman visited a London salon to see what her hostess called "the thinking machine."...
Chapter 3: The Analytical Engine's Ghost
In the summer of 1833, a young woman visited a London salon to see what her hostess called "the thinking machine."
Augusta Ada Byron was seventeen years old, the daughter of a poet she had never met and a mathematician mother determined to steer her away from her father's romantic excesses. The machine she encountered, a small working portion of Charles Babbage's Difference Engine, was designed to calculate polynomial functions using nothing but gears and cranks. It was, in essence, a very sophisticated adding machine.
But Ada saw something more.
Over the next decade, she would become Babbage's most important intellectual collaborator. And in 1843, she would publish a set of notes that contained the first computer algorithm ever writtenâand the first philosophical questions about whether machines could truly think.
The questions would take a century to be understood. The answers are still being debated.
Charles Babbage was a man possessed by an idea he could not quite realize.
His first machine, the Difference Engine, was designed to automate the production of mathematical tablesâthe tedious logarithmic and trigonometric values that navigators, engineers, and scientists relied upon. These tables, computed by human "computers" (the job title before it was a machine category), were riddled with errors. Babbage dreamed of a machine that would eliminate human fallibility from calculation.
He never finished it. The Difference Engine required precision manufacturing beyond what Victorian technology could reliably produce. Babbage quarreled with his engineer. Government funding dried up. By the mid-1830s, he had abandoned the project for something more ambitious.
The Analytical Engine was to be the first general-purpose computing machine. Where the Difference Engine could only calculate specific polynomial functions, the Analytical Engine could, in principle, compute anything computable. It would read instructions from punched cards, borrowed from the Jacquard loom, which used them to weave complex patterns in silk. It would have a "store" (what we would call memory) and a "mill" (a processor). It would loop, branch, and execute conditional operations.
It was, in every conceptual sense, a computer. It was also never built. Babbage spent the rest of his life refining its design, producing thousands of pages of plans. When he died in 1871, the Analytical Engine remained an elaborate dream.
In 1842, the Italian mathematician Luigi Menabrea published a paper describing Babbage's design. Ada Lovelace (she had married William King, who became Earl of Lovelace) undertook to translate it into English.
The translation took nine months. When it was finished, her notes exceeded the original article threefold: 41 pages of commentary appended to 25 pages of translation. She signed it only with her initials, A.A.L., standard practice for women publishing in scientific contexts, a way of being visible while remaining invisible.
Note G contained what we now recognize as the first computer program: an algorithm for calculating Bernoulli numbers using the Analytical Engine. The algorithm specified loops, variables, and operations in a form that modern programmers can read and understand. Ada had written instructions for a machine that did not exist, would not exist in her lifetime, and would not be built for another century.
But the algorithm was not her most important contribution.
"The Analytical Engine," Lovelace wrote in Note A, "weaves algebraic patterns just as the Jacquard loom weaves flowers and leaves."
This single sentence marks a conceptual leap that Babbage himself may not have fully grasped. The loom's punched cards didn't weaveâthey encoded instructions for weaving. The pattern existed abstractly, in the arrangement of holes, and could produce any design the cards specified. Similarly, the Analytical Engine's cards didn't calculateâthey encoded instructions for calculation. The machine manipulated symbols according to rules.
Lovelace saw the implication: the symbols need not be numbers. "The engine might compose elaborate and scientific pieces of music of any degree of complexity or extent," she wrote. Numbers could represent notes, durations, dynamics. The rules of harmony and counterpoint could be encoded in cards. The machine would compose.
This was the "fundamental transition from calculation to computationâto general-purpose computation," as one historian put it. Babbage had designed a calculating engine. Lovelace understood it as something more: a machine for manipulating any symbols whatsoever, according to any rules that could be specified.
She had, in 1843, described the computer.
And then she asked whether it could think.
"The Analytical Engine has no pretensions whatever to originate anything," Lovelace wrote. "It can do whatever we know how to order it to perform. It can follow analysis; but it has no power of anticipating any analytical relations or truths."
This is the passage that Alan Turing would later name "Lady Lovelace's Objection." It remains one of the most quoted statements in the philosophy of artificial intelligence. And it is frequently misunderstood.
Lovelace was not saying that machines could never thinkâor at least, not simply saying that. She was making a more subtle point about the relationship between execution and origination. The Analytical Engine could follow instructions with perfect fidelity. It could perform operations of arbitrary complexity. It could weave algebraic patterns, compose music, manipulate symbols in any way its human operators specified.
But could it surprise its creators? Could it discover something not already implicit in its instructions? Could it have an idea that its programmers had not, in some sense, already had?
Lovelace's answer was no. The machine was a perfect executor, but it could not originate. It reflected the intelligence of its designers, amplified and automated, but it added nothing genuinely new.
This was not contempt for the machine. It was a philosophical position about the nature of creativity and mindâa position that would take more than a century to properly engage.
Lovelace died in 1852, at 36, of uterine cancer. Babbage died in 1871, his engine unbuilt. The Notes gathered dust.
"Her understanding of computing remained unparalleled and unappreciated for 100 years," one historian observed. The Analytical Engine received a mention in the 1911 Encyclopaedia Britannica, but Lovelace herself was largely forgotten. She had published under initials. She was a woman in a field that did not admit women. The machine she had written programs for did not exist. What was there to remember?
Meanwhile, mechanical calculators evolvedâadding machines, tabulators, punch-card systems. The nineteenth century's office machinery bore little resemblance to Babbage's grand vision. These were tools for arithmetic, not engines for thought. The conceptual leap Lovelace had madeâfrom calculation to general-purpose computationâwas not rediscovered until the 1930s.
In 1936, a young English mathematician named Alan Turing published a paper on computable numbers. He described a theoretical machineânow called a Turing machineâthat could compute anything computable by following simple rules applied to symbols on a tape. It was the Analytical Engine stripped to its mathematical essence, not gears and cards but states and transitions.
Turing's paper established the theoretical foundations of computer science. And when he turned, in 1950, to the question of machine intelligence, he found that someone had been there before him.
"The Analytical Engine has no pretensions to originate anything," Turing quoted. He called it Lady Lovelace's Objection, and he disagreed.
"The view that machines cannot give rise to surprises," Turing wrote, "is due, I believe, to a fallacy to which philosophers and mathematicians are particularly subject. This is the assumption that as soon as a fact is presented to a mind all consequences of that fact spring into the mind simultaneously with it."
In other words: we might specify the rules, but we cannot always foresee the results. A machine following deterministic instructions might produce outputs that genuinely surprise its creatorsânot because the machine added something, but because the consequences of the rules were not obvious in advance. Origination, Turing suggested, might be an illusion. What looked like creativity might be the unfolding of implications too complex for the programmer to anticipate.
This was not a refutation of Lovelace. It was an answer to her questionâa different position on the same problem she had identified. Could machines originate? Turing said: perhaps "origination" is not what we think it is.
The debate continues.
The figure of Ada Lovelace was rescued from oblivion gradually, and then all at once.
In 1953, a British physicist named Bertram Bowden republished her notes in an anthology called Faster Than Thought. Turing's 1950 paper had already brought her objection to scholarly attention. As electronic computers emergedâENIAC, UNIVAC, the machines of the 1940s and 1950sâhistorians began to look backward. Who had imagined this first?
They found Lovelace. They found Note G, with its Bernoulli number algorithm. They found the notes that exceeded the translation, that grasped what Babbage had only partially articulated, that asked questions the field was still trying to answer.
In 1980, the U.S. Department of Defense named a programming language "Ada" in her honor. By then, the recognition was overdue by more than a century. The first computer programmer had finally become visible.
What does it mean that the first philosopher of artificial intelligence was a Victorian woman who died at 36?
It means that the questions precede the machines. Lovelace asked about origination, creativity, and the limits of mechanical execution before any mechanical executor existed. She was philosophizing about technology that would not arrive for a hundred years. The questions were that obviousâto someone paying attention.
It also means that ideas can be lost. Lovelace's Notes were published, read, and forgotten. The insight that a calculating machine might manipulate any symbolsâcompose music, analyze language, represent thoughtsâvanished into obscurity for a century. When the machines finally arrived, their builders had to rediscover what she had already understood.
And it means that the hardest questions are not technical. Babbage struggled with gear tolerances and manufacturing precision. Those were engineering problems, eventually solved. But Lovelace's questionâcan a machine originate?âwas not solved by better engineering. It required a different kind of thinking altogether.
The Analytical Engine was never built. Its ghostâthe idea of general-purpose computation, of symbolic manipulation, of machines that could do more than calculateâhaunted the twentieth century until the machines arrived.
When they did, they found that Ada Lovelace had already asked their hardest question.
A century later, Alan Turing would try to answer. His answer was ingenious. But it was not final. The question remains open.
Can machines originate? Can they think? Can they be more than perfect executors of human will?
The ghost of the Analytical Engine still waits for its answer.