The Surprising Ancient Roots of Artificial Intelligence
When most people think about the origins of artificial intelligence, they picture Silicon Valley server farms, Alan Turing's wartime codebreaking, or perhaps the mid-twentieth century labs where the first digital computers whirred to life. What almost nobody pictures is a seventeenth-century German philosopher hunched over a Chinese divination text, scribbling notes by candlelight. Yet that image is closer to the true origin story of modern computing — and by extension, AI — than many of us have been taught to believe.
The intellectual history of artificial intelligence is long, tangled, and deeply cross-cultural. Tracing it properly means following a thread that runs from ancient China through Enlightenment Europe and into the algorithm-driven present. At the center of that thread sits one of history's most underappreciated intellectual exchanges: the meeting of the I Ching and the mind of Gottfried Wilhelm Leibniz.
Who Was Leibniz, and Why Does He Matter for AI?
Gottfried Wilhelm Leibniz was born in Leipzig in 1646, making 2026 the 380th anniversary of his birth. He is best remembered in mathematics for co-inventing calculus alongside Isaac Newton — a priority dispute that consumed much of both men's later careers. But Leibniz's contributions ranged far beyond calculus. He was a philosopher, a diplomat, a linguist, a theologian, and, crucially for our story, a pioneer of symbolic logic and mechanical computation.
Among his most consequential achievements was the development of the binary numeral system: the method of representing all numbers using only two digits, 0 and 1. This system is not merely a mathematical curiosity. It is the literal language of every computer, smartphone, and AI model operating today. When a large language model generates a sentence, or a neural network recognizes a face, the underlying operations are all cascading sequences of binary arithmetic. Without binary, modern computing as we know it simply does not exist.
What is less commonly taught is where Leibniz found his inspiration — or at least his most compelling confirmation that binary logic was a universal principle rather than a personal invention.
The I Ching: China's Ancient Binary System
The I Ching, or Book of Changes, is one of the oldest texts in the Chinese literary canon, with roots stretching back to at least the Western Zhou dynasty, around the tenth century BCE. It is a divination manual built on a system of 64 hexagrams — geometric symbols composed of six stacked lines, where each line is either unbroken (solid) or broken (divided). Two possible states per position, six positions per hexagram, sixty-four possible combinations. To anyone versed in modern computing, the structure is immediately recognizable: it is a six-bit binary system.
The I Ching was not designed by its ancient authors as a computing framework. It was a tool for reading cosmic patterns and guiding human decisions. But its underlying architecture encodes a profound logical structure that transcends its original spiritual purpose.
The Leibniz–I Ching Connection: A Cross-Cultural Intellectual Spark
Leibniz first encountered detailed information about the I Ching through his correspondence with Joachim Bouvet, a French Jesuit missionary stationed in China at the court of the Kangxi Emperor. Bouvet sent Leibniz diagrams of the hexagrams, and Leibniz — who had already been developing his binary arithmetic — was electrified by what he saw. He recognized in the ancient Chinese diagrams an independent, centuries-old expression of the same binary logic he had been formalizing in Europe.
For Leibniz, this was not mere coincidence. He interpreted the convergence as evidence that binary notation reflected a universal mathematical truth, one that human minds on opposite ends of the Eurasian continent had independently discovered. He wrote enthusiastically about the connection, positioning binary arithmetic as a kind of universal philosophical language — what he called a characteristica universalis — capable of encoding all rational thought.
This moment of cross-cultural recognition is one of the most remarkable and least celebrated intellectual events of the early modern period. It represents a genuine exchange between two great civilizational traditions, each illuminating the other across a gulf of geography, language, and culture.
From Binary Logic to the Birth of Computing
The line from Leibniz's binary system to modern computers runs through several subsequent centuries of mathematical development. In the nineteenth century, George Boole formalized binary logic into what we now call Boolean algebra — the system of true/false operations that governs how computers process decisions. A generation later, Ada Lovelace and Charles Babbage conceptualized programmable mechanical computation. Then Claude Shannon, in his landmark 1937 master's thesis, demonstrated that Boolean algebra could be implemented directly in electrical circuits. That insight made the digital computer physically possible.
Each of these steps built on the one before, and the chain leads back, step by step, to Leibniz's binary numeral system — which was itself sparked, or at least confirmed and energized, by his encounter with the I Ching.
Why This History Matters in the Age of AI
The rise of artificial intelligence can feel disorienting precisely because it seems to arrive from nowhere — a sudden technological rupture with no precedent. Understanding its deep history is one antidote to that disorientation. AI did not spring fully formed from a California garage. It grew from centuries of accumulated human thought, stretching across cultures and continents.
Recognizing the I Ching's structural role in this lineage also challenges a persistent assumption: that the core ideas driving modern technology are purely Western in origin. They are not. The binary logic at the heart of every computer on the planet has an intellectual ancestor in a Chinese text that predates Leibniz by nearly three millennia. That is not a footnote to the history of AI. It is one of its opening chapters.
Rediscovering the Global Roots of Modern Science
The story of Leibniz and the I Ching is an invitation to read the history of science more honestly and more generously. Great intellectual breakthroughs rarely happen in isolation. They happen at the intersections — when ideas from different traditions collide, resonate, and amplify one another. The cross-cultural exchange between Enlightenment Europe and imperial China produced one such collision, and its reverberations are still shaping the world today every time an AI model processes a query, generates an image, or helps a programmer debug their code.
As we mark the 380th anniversary of Leibniz's birth, it is worth pausing to appreciate not just his genius, but the global conversation that helped give that genius its direction. The origins of artificial intelligence are older, stranger, and more cosmopolitan than the popular narrative suggests — and that is a story well worth telling.
