History of AI

What was Leibniz's dream of a calculus of reasoning?

· By Robert Scales · 5 min read

Short answer

In his Dissertation on the Art of Combinations, published in Leipzig in 1666, Gottfried Wilhelm Leibniz proposed that every idea is a combination of a small set of simple ideas, the way words are built from letters. He spent the rest of his life pursuing a universal symbolic language and a "calculus of reasoning" in which arguments could be settled by calculation instead of debate.

Imagine two people arguing about a hard question, and instead of raising their voices, they pick up pencils and say, "Let's work it out." That scene was Gottfried Wilhelm Leibniz's lifelong dream. He wanted a language so exact that reasoning in it would be as mechanical as long division, so that a disagreement could be settled the way an accountant settles a sum.

The dream began with a short, ambitious booklet he published in 1666 in the university town of Leipzig. He later called it immature. It nevertheless contains, in seed form, the idea that thinking can be broken into symbols and rules, which is the starting point of logic as it is used in computers today.

What happened in 1666

The booklet's Latin title is Dissertatio de arte combinatoria, usually translated as "Dissertation on the Art of Combinations." It is an expanded version of Leibniz's first doctoral dissertation, written before he had seriously studied mathematics. It was printed in Leipzig in 1666 and gave him his first taste of fame among scholars.

The work had an odd afterlife. In 1690 it was reprinted without his permission, and Leibniz published a short notice in a learned journal distancing himself from it. He said several times that he wished it had not circulated. Even so, historians treat it as the opening move in a project he kept returning to for decades.

The idea: an alphabet of human thought

The core idea is simple to state. Every concept, Leibniz proposed, is a combination of a fairly small number of basic concepts, in the same way that every word is a combination of letters. If you could list those basic concepts and give each one a symbol, then:

  • every complex idea would have a precise "spelling" made of basic symbols;
  • every true statement would be a correct combination of those symbols;
  • finding new truths would become a matter of trying combinations systematically.

Leibniz borrowed part of this from Ramon Llull, a 13th-century thinker from Majorca who had designed devices for combining basic truths. Leibniz admired the ambition but criticized Llull's categories as arbitrary. He also cited the English philosopher Thomas Hobbes, who had argued in 1651 that all reasoning is a kind of computation.

The booklet also contains real mathematics. Leibniz studied how many ways a set of items can be arranged or grouped, the branch of mathematics now called combinatorics. He applied it to law, to organ stops and to old theories about the elements.

A worked example from the booklet

His most careful example comes from geometry. He gives numbers to simple concepts and builds new concepts as combinations of them. Here is a simplified version:

ConceptNumber or code
point1
space2
included3
parts9
whole10
number14
quantity: the number of the parts14 of 9
interval: space included in a whole2.3.10
line: the interval between pointsinterval of 1

Notice what happens. Once the simple concepts have codes, a definition becomes a formula. You could, in principle, check whether two definitions mean the same thing by comparing their formulas, without arguing about words.

Try it: Make your own tiny "alphabet of thought" for a kitchen. Give numbers to five simple ideas, such as 1 = liquid, 2 = hot, 3 = sweet, 4 = made from beans, 5 = made from leaves. Then write codes for coffee, tea and hot chocolate. Which drinks share codes, and what does a shared code tell you?

From combinations to calculation

In later writings Leibniz went further. He described a characteristica universalis, a universal symbolic language for all ideas, and a calculus ratiocinator, a "calculus of reasoning" that would operate on those symbols by fixed rules. With both in hand, he wrote, philosophers would no longer need to dispute any more than accountants do; they could simply sit down with their slates and say:

"Let us calculate."

He also built mechanical calculators, improving on earlier designs, so he knew that arithmetic, at least, could be handed to a machine.

Why it mattered

Much of Leibniz's work on logic sat unpublished in his papers at Hanover for close to two centuries, so its direct influence is debated. Logicians of the 1800s found themselves walking his path anyway. In the middle of the century George Boole built an algebra of logic; his widow later wrote that when he learned how much Leibniz had anticipated, he felt as if Leibniz had reached across the centuries to shake his hand. In 1879 Gottlob Frege presented his own formal notation as a first step toward the universal language Leibniz had described, though he judged the full project too large for one person. Around 1900 Louis Couturat studied the unpublished papers and argued that Leibniz already held the key principles of the new logic.

That modern logic is what computer circuits and programming languages are built on. In 2019 Leibniz's dream shows up in programs that check mathematical proofs and in rule-based systems that draw conclusions from stated facts. Today's language programs, such as OpenAI's GPT-2, take a different route: they represent each word as a long list of numbers learned from text, not as a hand-built formula.

Did anyone ever build Leibniz's reasoning machine?

Not in the form he imagined. No one has found a small list of basic concepts from which all ideas can be spelled, and most researchers now doubt such a list exists. Everyday words are too flexible, and their meanings shift with context.

Parts of the dream, though, became real. Formal logic gave us exact symbols and rules for valid reasoning. Electronic computers, which Leibniz could only foreshadow with his calculators, apply those rules at enormous speed. Proof checkers can confirm that a long mathematical argument has no gaps, which is close to "let us calculate" for one carefully defined domain.

What remains out of reach is the step Leibniz took for granted: turning ordinary questions about law, ethics or politics into clean symbols that everyone agrees on. That translation is still a human job, and arguably the hardest part of reasoning.

Sources

  1. De Arte Combinatoria — Wikipedia (revision current in 2019), May 27, 2017
  2. Leibniz's Influence on 19th Century Logic — Stanford Encyclopedia of Philosophy, September 4, 2009
  3. History of artificial intelligence — Wikipedia (archived early 2019), March 1, 2019

Get the free Guide to Artificial Intelligence

Sign up for the weekly newsletter and receive the free guide: what changed in AI this week, one lesson, one prompt to try. Unsubscribe in one click.

How we handle your address

Back to top

Display

Your choices are saved in this browser only. No data is sent.

Text size
100%
Colours
Reading
More settings
Accessibility statement