Claude Shannon's 1948 paper "A Mathematical Theory of Communication," published in the Bell System Technical Journal, established the mathematical foundations of modern information science. The theory's core insight is elegantly simple: any information, regardless of the complexity of its surface form, can be reduced to a sequence of binary choices — combinations of 0 and 1. Shannon defined the minimal unit of information as the bit (binary digit) and derived the entropy formula H = -Sum p(x) log2 p(x), which quantifies the average information content of a random variable. If we examine the I Ching's symbolic system with the same formal rigor, a remarkable fact presents itself: the yao — the yin line and the yang line — constitute a precise binary encoding system in which each line carries exactly 1 bit of information. Six lines compose a hexagram, yielding 6 bits, with a state space of 2^6 = 64 — precisely the number of hexagrams. This is not a loose analogy but a mathematically provable isomorphism: the I Ching's hexagram system and 6-bit binary encoding are informationally equivalent in the strict sense defined by Shannon's theory. Gottfried Wilhelm Leibniz recognized this correspondence as early as 1703 in his paper on binary arithmetic, when he saw the hexagram sequence diagram sent by the Jesuit Bouvet from Beijing and realized that the hexagram arrangement perfectly mapped his independently developed binary number system. The intellectual history is unambiguous: the mathematical structure that underlies every digital computer, every telecommunications network, and every information system in the modern world was first systematically instantiated — not as a mathematical abstraction, but as a cosmological model of reality — in the hexagram lines of the I Ching.
But the information-theoretic significance of the I Ching extends far beyond static binary encoding. A key concept in Shannon's theory is entropy — which measures not certain information but the degree of uncertainty. When we perform an information-theoretic analysis of the I Ching's divination system, a deeper structure emerges. In the traditional yarrow stalk (da yan) method, the four possible line states are not generated with equal probability: young yang (unchanging yang) has probability 5/16, young yin (unchanging yin) has probability 7/16, old yang (yang about to change) has probability 1/16, and old yin (yin about to change) has probability 3/16. This means the Shannon entropy of each line is not the 1 bit of an ideal binary system but approximately H = 1.63 bits — because each line actually encodes four states rather than two. More profoundly, the existence of old yin (yin transforming to yang) and old yang (yang transforming to yin) introduces a concept that Shannon himself addressed in his communication models: state transition probability. Old yin and old yang do not merely mark the current state; they encode the system's tendency to evolve toward the opposite state. This is mathematically equivalent to the transition matrix of a first-order Markov chain. The I Ching is therefore not merely a static state-encoding system but a dynamic probabilistic transition model, whose "changing hexagram" mechanism precisely captures the conditional probability distribution from the current state to the future state. The yarrow stalk method, with its asymmetric probabilities, generates a non-uniform distribution over line types that builds directional bias into the system — old yin is three times as likely as old yang, embedding the Daoist intuition that yin transformations (receptive, yielding, withdrawing) are more frequent in the natural course of change than yang transformations (creative, assertive, advancing).
From the broader vantage of information theory, the I Ching's yin-yang system also encodes a profound epistemological principle: binary opposition is the minimally sufficient structure for understanding complex systems. Shannon proved that any finite discrete information source can be losslessly represented by binary encoding, and the I Ching's philosophical presupposition — that all phenomena arise from the interaction of yin and yang — expresses the ontological version of the same proposition. The deep learning architectures that dominate modern AI employ high-dimensional vector embeddings that appear to transcend the binary framework, but at the hardware level, every floating-point number is decomposed into a binary bit sequence. More importantly, Shannon's channel capacity theorem demonstrates that the maximum information transmission rate of any communication channel is bounded by the Shannon limit — and the calculation of that limit ultimately reduces to the binary entropy function. The I Ching's generative logic — "the Supreme Ultimate generates the two modes (yin and yang), the two modes generate the four images, the four images generate the eight trigrams" (Taiji sheng liang yi, liang yi sheng si xiang, si xiang sheng ba gua) — perfectly prefigures this hierarchical information architecture: from 1 bit (yin-yang, the two modes) to 2 bits (the four images) to 3 bits (the eight trigrams) and finally to 6 bits (the sixty-four hexagrams). This is a strict binary power expansion of information capacity. KAMI LINE's design deeply respects this mathematical structure. We do not treat hexagrams as mystical symbols requiring "translation" into natural language; we treat them as an informationally complete encoding system in which the state and transition probability of every line carries a precisely calculable quantity of information. Three thousand years of yin and yang, and seventy-eight years of the bit, are proved in the language of mathematics to be two expressions of a single truth.