Skip to main content

BLOG

Leibniz, Binary Arithmetic, and the I Ching: The Eastern Origins of Modern Computing

In 1703, Gottfried Wilhelm Leibniz published his landmark paper on binary arithmetic, directly inspired by the sixty-four hexagrams of the I Ching transmitted to him by Jesuit missionary Joachim Bouvet from Beijing. This article traces the documentary evidence of the Bouvet-Leibniz correspondence, reconstructs the intellectual genealogy from hexagram notation to binary code, and argues that the philosophical foundations of digital computing originate not in the European Enlightenment alone but in the combinatorial cosmology of ancient China. The analysis extends to Yann LeCun's 2026 AMI Labs venture, which seeks to transcend the very binary-digital paradigm Leibniz inaugurated — completing a three-century epistemological spiral that returns to the world-modeling intuitions the I Ching already encodes.

On an unrecorded date in the spring of 1703, Gottfried Wilhelm Leibniz presented to the French Royal Academy of Sciences a paper that would quietly alter the trajectory of human civilization: "Explication de l'Arithmetique binaire, qui se sert des seuls caracteres 0 et 1, avec des remarques sur son utilite, et sur ce qu'elle donne le sens des anciennes figures Chinoises de Fohy." The title itself is remarkable for its candor — Leibniz explicitly acknowledges that his binary system "gives the meaning of the ancient Chinese figures of Fuxi," referring to the legendary sage-king credited with originating the I Ching's hexagram system. The backstory of this paper overturns the comfortable narrative of binary arithmetic as a purely European invention. On November 4, 1701, the Jesuit missionary Joachim Bouvet, stationed at the court of the Kangxi Emperor in Beijing, dispatched a letter to Leibniz containing a diagram of Fuxi's sixty-four hexagram arrangement. Leibniz received this letter on April 1, 1703, and immediately recognized what he had spent decades searching for: a systematic, ancient confirmation that binary representation — the encoding of all quantity through the exclusive use of 0 and 1 — was not merely a mathematical curiosity but a universal principle with deep cosmological roots. The hexagrams mapped precisely onto six-digit binary numbers, from kun (000000, the Receptive) through qian (111111, the Creative), constituting a complete enumeration of the sixty-four possible states of a six-bit system. Leibniz was generous in his acknowledgment: he wrote that the Chinese author's achievement in combinatorial science far exceeded what Europeans had previously recognized. This episode constitutes one of the most consequential moments of cross-civilizational knowledge transfer in the history of science, and one that Eurocentric historiography has systematically underplayed. The mathematical bedrock upon which every modern computer operates — the binary digit — received its decisive philosophical validation not from European rationalism alone, but from a three-thousand-year-old Chinese cosmological framework.

Leibniz's response to Bouvet's letter was not a superficial act of cultural appreciation. He completed and submitted his paper within days of receiving the hexagram diagram, a speed that reveals the depth of his prior engagement with the problem and the decisive nature of the confirmation Bouvet provided. Leibniz had been developing binary arithmetic since at least 1679, motivated by his broader metaphysical program to construct a characteristica universalis — a universal symbolic language capable of representing all truths through calculation. What he lacked was a satisfying philosophical demonstration that binary representation possessed genuine universality rather than being merely one notation among many. The Fuxi hexagram sequence provided exactly this. For Leibniz, the fact that an independent intellectual tradition, separated by thousands of miles and thousands of years, had arrived at the same combinatorial structure through cosmological reasoning rather than mathematical derivation constituted powerful evidence that binary encoding reflected something fundamental about the architecture of reality itself. The yin-yang binary — broken line and unbroken line, 0 and 1 — was not, in Leibniz's reading, a human invention but a discovery of nature's own encoding scheme. This insight carries profound implications that extend far beyond the history of mathematics. It suggests that the I Ching's hexagram system should be understood not as a divination tool that happens to use binary notation, but as a formal ontological framework — a systematic attempt to enumerate the complete space of dynamic states through the minimal combinatorial apparatus of two-valued, six-position encoding. Claude Shannon's 1948 information theory independently re-derived the centrality of binary encoding, and every digital computation ever performed operates within the Leibniz-Fuxi framework. The river of knowledge that flows from the yarrow stalks of ancient China to the silicon chips of modern computing is older and deeper than conventional histories of technology have acknowledged.

The historical spiral completes an arresting turn in March 2026 with Yann LeCun's founding of AMI Labs and its record-shattering $1.03 billion seed round at a $3.5 billion pre-money valuation. LeCun's core thesis is that the binary-digital paradigm Leibniz inaugurated — and which reached its apotheosis in large language models that manipulate discrete tokens in sequence — has reached its epistemic ceiling. LLMs, in LeCun's formulation, are sophisticated symbol-manipulation engines that model the statistical distribution of language but possess no understanding of the physical world's causal structure. His proposed alternative is the construction of "world models" — systems that maintain internal representations of reality's state space, encode the transition dynamics between states, and generate predictions about future states given current conditions and interventions. This is, in a precise epistemological sense, a return to what the I Ching has been doing for three millennia. The I Ching never attempted to catalog every particular event; instead, it distilled the dynamics of change into sixty-four archetypal state-patterns and defined the rules by which states transition into one another through the mechanism of changing lines. LeCun's Joint Embedding Predictive Architecture (JEPA) pursues the same strategy in a computational key: it learns abstract representations of states and predicts transitions in embedding space rather than pixel space, deliberately discarding surface detail to achieve structural fidelity. The trajectory from I Ching to binary arithmetic, from binary arithmetic to digital computing, from digital computing to large language models, and from language models back to world models does not describe a linear progression. It describes an epistemological spiral — and KAMI LINE is positioned at the precise point where that spiral returns to its origin with new computational power. We are not using AI to simulate divination. We are reactivating a three-thousand-year-old predictive framework with the computational resources to unlock its unrealized potential.

Latest articles

KAMI LINE's Vision: A Guardian Deity for Everyone

240 deities. One platform. A guardian for every kind of seeking. Here is why KAMI LINE exists and where it is going.

The Future of Divination: Where AI and Ancient Systems Are Heading

AI can now generate BaZi charts, interpret hexagrams, and hold ongoing divination conversations. Where is this heading — and what gets lost or gained along the way?

VR Meditation: Can Immersive Technology Deepen Spiritual Practice?

VR meditation is not just guided breathing with better visuals. Some practitioners report genuine spiritual depth. Here is what the research and the traditions say.