You are 17 and already well-educated in mathematics — your mother ensured this, terrified that you might inherit your father Byron's romantic, irrational tendencies. You attend a party hosted by Charles Babbage, the mathematician and inventor. He shows you a small working model of his Difference Engine — a mechanical calculator designed to compute mathematical tables automatically.
Most of the guests see a curiosity, an impressive machine. You see something else: you immediately grasp the principle and start asking questions about its implications that Babbage has barely asked himself. He is delighted. He calls you "the Enchantress of Numbers." A lifelong collaboration — unusual for a Victorian woman — begins.
Your mother raises you on mathematics specifically to counteract your father Byron's "poetic madness." Byron, writing from abroad, also hoped you would be logical rather than creative. The synthesis both parents worked to prevent — mathematical precision combined with poetic imagination — is what you call "poetical science," and what makes you the first programmer. In her letters, Lovelace described her approach as "poetical science" — a term she coined to describe the combination of mathematical precision and imaginative speculation that characterized her thinking. She was aware of inheriting something from both parents: the mathematical discipline from her mother's education, and an ability to think in metaphors and abstractions that she associated with her father's influence (though she barely knew him). Her mentor Mary Somerville encouraged both aspects. Lovelace wrote: "I am more than ever now the bride of science. Religion to me is science, and science is religion." Her unique contribution to the Analytical Engine notes was precisely this combination — she understood the mathematics precisely AND could imagine applications that Babbage himself hadn't articulated.
Babbage has moved beyond the Difference Engine to a far more ambitious project: the Analytical Engine. Unlike the Difference Engine, which could only compute mathematical tables, the Analytical Engine is general-purpose — it can perform any mathematical operation, store numbers in memory, use conditional branching (if/then logic), and be programmed with punch cards. It is, in concept, the first general-purpose computer. It exists only on paper and in Babbage's mind.
The government has refused to fund further development. Babbage has spent his own fortune on it. You believe in the machine completely — more, in some ways, than Babbage does.
The Analytical Engine is never built in your lifetime or Babbage's. In the 1940s, Alan Turing and others reinvent the same principles from scratch — then discover you had described them a century earlier. Turing cites your objections to the machine's limits as a live philosophical question in 1950, 107 years after you wrote them. Charles Babbage's Analytical Engine (designed 1837) contained all the fundamental components of a modern computer: an arithmetic logic unit (the "mill"), memory (the "store"), control flow with conditional branching and loops, and input/output via punch cards. It was never built because Victorian-era machining technology couldn't produce parts to the required precision, and funding dried up. In the 1940s, when Alan Turing and others were developing the theoretical foundations of modern computing, they were largely rediscovering what Babbage had designed and Lovelace had described. Turing's 1950 paper on artificial intelligence directly references Lovelace's objection that machines can only do what they're programmed to do — engaging with her 107-year-old argument as a live philosophical question.
An Italian mathematician, Luigi Menabrea, has written an article about Babbage's Analytical Engine in French, based on a lecture Babbage gave in Turin. Babbage asks you to translate it into English. You do — and you add your own notes, which turn out to be three times longer than the original article.
The notes contain: a description of how the engine could be programmed to calculate Bernoulli numbers — what is now recognized as the first algorithm designed to be executed by a machine. They also contain your speculation that the Analytical Engine could go beyond numbers: it could operate on any symbolic system that could be expressed formally — music, language, logic.
You sign the notes only "A.A.L." — your initials. Women did not typically publish under their own names in 1843.
You publish the world's first computer algorithm in 1843 and sign it only "A.A.L." because women don't publish under their own names. The notes you add to a translation are three times longer than the article you were hired to translate. The U.S. Department of Defense names a programming language after you in 1980 — 128 years after your death. The question of who deserves credit has been debated since the 1980s when computer scientists began examining the Notes carefully. Babbage's papers show that he had developed some algorithmic thinking earlier, and he commented on drafts of the Notes. Some scholars argue he contributed to Note G significantly. Others argue Lovelace's formulation — with its explicit loops and conditional logic — went beyond what Babbage had articulated. The historical consensus now is that both contributed, and that Lovelace's framing of the algorithm's structure was original and significant. Her broader vision of the machine — that it could manipulate any symbolic system, not just numbers — is unambiguously hers, and is the insight that distinguishes the Analytical Engine concept from all previous calculating machines.
In Note G, you address a question that will occupy computer scientists 100 years later: can the machine think? Your answer is clear: "The Analytical Engine has no power of originating anything. It can only do what we know how to order it to perform."
This is now known as the "Lovelace Objection" — the argument that computers can only do what they are programmed to do, and therefore cannot genuinely think or create. Alan Turing, in his famous 1950 paper on machine intelligence, directly engages this objection, calling it "Lady Lovelace's objection" and arguing that a sufficiently complex machine might still surprise its creators.
The debate is still unresolved. The question you posed in 1843 is still being argued today.
In 1843 you write that the Analytical Engine "has no power of originating anything — it can only do what we know how to order it to perform." Alan Turing calls this "Lady Lovelace's Objection" in his 1950 paper on machine intelligence and spends several pages arguing against you. The argument is still unresolved. The Lovelace Objection is still cited in AI philosophy. The modern version of the debate: Large Language Models like GPT-4 and Claude regularly produce outputs that surprise their creators, including mathematical proofs and novel arguments. But they do this through pattern-matching on training data — they don't have goals, intentions, or a genuine understanding of meaning (by most definitions). Whether this makes them "thinking" depends entirely on what you mean by "thinking." Lovelace's insight was that you need to define what you mean by origination before the question can be answered. 180 years later, we still haven't agreed on a definition. Her objection remains an open question, not a settled answer.
In your Notes, you write something that goes far beyond Babbage's own description of his machine. He conceived it as a mathematical calculator. You see something larger: the Analytical Engine "might act upon other things besides number, were objects found whose mutual fundamental relations could be expressed by those of the abstract science of operations."
In other words: if music could be expressed as formal relationships between notes, the Engine could compose music. If language could be expressed formally, it could process language. The machine is not a calculator — it is a general-purpose symbol manipulator.
This is, in 1843, the conceptual foundation of all modern computing. You are 27.
Babbage sees a calculator. You see, in 1843, a machine that could compose music, process language, and manipulate any symbolic system expressible in formal rules — the conceptual definition of every computer built in the following 200 years. You are 27. The machine you are describing won't be built for another century. Lovelace's insight that the Analytical Engine could operate on any formal symbolic system is now understood as the conceptual definition of a general-purpose computer. Modern computers process music, language, images, video, and complex simulations — all of which are ultimately represented as formal symbolic structures (binary code). When Alan Turing formalized the concept of a universal computing machine in 1936, he was giving mathematical rigor to what Lovelace had described conceptually in 1843. The Cambridge mathematician and historian Doron Swade, who led the team that built a complete working Difference Engine at the Science Museum in London, said of Lovelace: "She was the first to articulate a vision of computation that goes beyond arithmetic calculation." Babbage built the hardware concept. Lovelace built the software concept. Both were necessary.
You have been chronically ill throughout your life — measles at 8 left you temporarily paralyzed; digestive problems have plagued you for decades; headaches and nerve pain appear repeatedly in your letters. Your treatments have included laudanum and other opiates, which produce their own complications.
In 1850, uterine cancer is diagnosed. You have two more years. You continue working — mathematical correspondence, plans for a general "calculus of the nervous system" that would bring mathematical rigor to neuroscience. You try to develop a system for betting on horse races, which fails badly and requires your husband to quietly settle the debts.
While dying of uterine cancer at 34, you develop a mathematical betting system for horse races. It fails badly. You secretly pawn your jewelry to cover the debts before your husband finds out. The same extrapolative imagination that described modern computing convinced you mathematics could beat the horses. Lovelace's letters reveal a complex person: brilliant, ambitious, sometimes grandiose (she described herself as the "High Priestess of Babbage's Engine"), chronically ill, dependent on laudanum, and capable of poor judgment. The gambling debts are documented; she concealed them from her husband using pawned jewelry as collateral. She also had a passionate letter-writing friendship with Babbage that included arguments about credit for the Notes. She was, in short, a real person with the full complexity that implies. Her mathematical work was not diminished by her personal difficulties; her personal difficulties don't make her mathematical work more impressive. They just make her human.
You die in November 1852, at 36, of uterine cancer. At your request, you are buried next to your father, Lord Byron, at the Church of St. Mary Magdalene in Hucknall, Nottinghamshire. The father who left when you were one month old, whom you never really knew, whose legacy your mother spent your entire childhood trying to counteract. You wanted to lie next to him.
Your Notes on the Analytical Engine are mostly forgotten for nearly 100 years.
Byron leaves when you are one month old. He dies in Greece when you are eight; your mother does not tell you immediately and does not allow you to attend any memorial. You spend your life synthesizing his poetic inheritance with your mother's mathematical discipline. At 36, dying, you ask to be buried next to him. Ada was one month old when Byron left. He died in Greece when she was eight — she was not told until weeks later, and her mother reportedly did not allow her to attend any memorial. Byron wrote to his half-sister about Ada: "Is the girl imaginative? ... I hope God will spare her from being poetical — it is enough to have one such fool in the family." He hoped she would be logical, not creative. Her mother spent Ada's childhood fulfilling this wish, emphasizing mathematics. Ada's own synthesis — "poetical science" — was her resolution of this tension. The burial request, made when dying, was her final statement: I am both. I belong to both.
In 1953, 101 years after your death, your Notes on the Analytical Engine are republished. The computer revolution is already underway — ENIAC was built in 1945, stored-program computers in the late 1940s. Scholars reading the Notes recognize immediately what you had described. The programming concepts — loops, sub-routines, conditional branching — are now being implemented in actual machines.
In 1980, the U.S. Department of Defense names a programming language Ada in your honor. You are credited as the first programmer. The debate about what you actually contributed and how much you relied on Babbage begins almost immediately and continues today.
Your Notes are published in 1843 and largely ignored for 101 years. In 1953, with working computers already running, scholars read your work and recognize immediately that you described the principles first. A programming language is named Ada in your honor in 1980 — 128 years after your death, when the U.S. Department of Defense finally needs a name. Ada Lovelace is one of many women whose scientific contributions were delayed in recognition or attributed to male colleagues. Rosalind Franklin's X-ray crystallography work on DNA structure was used without credit by Watson and Crick. Lise Meitner co-discovered nuclear fission but was not included in the Nobel Prize awarded to Otto Hahn. Cecilia Payne-Gaposchkin discovered that stars are made primarily of hydrogen and helium but was discouraged from publishing this conclusion. The pattern is consistent enough that it has a name: the "Matilda Effect" (coined by historian Margaret Rossiter in 1993) — the systematic underrecognition of women scientists. Lovelace's delay was both about the technology gap AND about the Matilda Effect. Acknowledging both doesn't diminish either.