Ifá in Fifteen Minutes
What Ifá is, how the divination actually works step by step, how the binary structure produces 256 addresses into a memorised corpus, and what is true and false in the claim that it is an ancient computer.
Ifá is a Yorùbá divination system and the body of knowledge it retrieves. A trained priest performs a randomising procedure that produces one of 256 signs, each sign is the address of a large body of memorised verse, and the priest recites from that body until something in it fits the client's situation, then interprets it and usually prescribes an offering. UNESCO, which inscribed Ifá on the Representative List of the Intangible Cultural Heritage of Humanity in 2008, describes it as making use of "an extensive corpus of texts and mathematical formulas" and states plainly that it "does not rely on a person having oracular powers but rather on a system of signs that are interpreted by a diviner"
That last sentence is the one to keep. The diviner is not a psychic. The diviner is a person who has memorised an enormous indexed corpus and who runs a randomised lookup into it.
The pieces
Ọ̀rúnmìlà is the òrìṣà associated with Ifá. In the tradition's own account he was present when human beings chose their destinies before birth, and therefore knows what was chosen; this is why he can be asked about a person's situation. Ifá is also used as a name for Ọ̀rúnmìlà and for the system itself, and the ambiguity is in the Yorùbá.
Èṣù is required. Nothing offered reaches its destination unless Èṣù carries it, and the opening of a consultation acknowledges him. He is not the devil and there is no devil in the system; the identification came from a nineteenth-century Bible translation and is documented in the foundations section.
The babaláwo, literally father of the secret, is the diviner. UNESCO renders the title "the priest's father" The corresponding title for women in Ifá is ìyánífá.
The Odù are the 256 signs. Each one is a binary figure and each one is the address of a body of verse.
The ẹsẹ are the verses. UNESCO gives roughly eight hundred per Odù and notes that the exact total is unknown because it is constantly increasing . Take the arithmetic loosely: it is a corpus in the hundreds of thousands of verses, held orally.
The tools. The ọ̀pẹ̀lẹ̀ is a divining chain with eight seed halves. The ikin are sixteen sacred palm nuts. The ọpọ́n Ifá is a carved wooden divination tray, and ìyẹ̀rosùn is the fine powder spread on it in which marks are made.
How a consultation actually runs
The client does not say the problem
This is the feature that most surprises people and it is central to how the system works. The client does not tell the babaláwo what they came about. In the common practice the client holds a coin or another object, whispers or thinks the question, and the divination proceeds without the diviner being told. The system is designed so that the diviner's knowledge of the client's situation is not an input.
Producing the sign
There are two methods and they produce the same kind of result.
With the ọ̀pẹ̀lẹ̀. The chain has eight seed halves, four on each side of a central link. The babaláwo holds it at the middle, lets the halves hang, and casts it down onto the tray or a mat . Each half lands one of two ways: concave surface up or concave surface down. A shell with the concave surface upward is given a single mark, concave downward a double mark . The four on one side give the first half of the figure, the four on the other give the second half, and a trained priest reads the whole figure at a glance . One cast, one complete Odù.
With the ikin. Slower, older and regarded as the more serious method. The sixteen palm nuts are held in one hand and the babaláwo grasps at them with the other, aiming to take up all but one or two. If two nuts remain in the original hand, he makes a single mark in the ìyẹ̀rosùn on the tray; if one nut remains, he makes a double mark . Any other number is a void result and the grab is repeated . Note the inversion, which is not intuitive: two remaining gives one mark, one remaining gives two. Repeating this four times gives one of the sixteen basic figures; repeating it eight times gives a pair, which is one of the 256 . Eight valid results may take considerably more than eight attempts . The marks are left in two columns of four, right column first .
Reading the sign
The result is a figure in two columns of four positions each. Every position is either a single mark or a double mark. That is the whole notation.
Four positions, two states each, gives sixteen possible half-figures. These sixteen are the principal Odù, known as the Ojú Odù, and they have names and a fixed order of seniority that the diviner must know: Èjì Ogbè, Ọ̀yẹ̀kú, Ìwòrì, Òdí, Ìrosùn, Ọ̀wọ́nrín, Ọ̀bàrà, Ọ̀kànràn, Ògúndá, Ọ̀sá, Ìká, Òtúrúpọ̀n, Òtúrá, Ìrẹtẹ̀, Òṣé and Òfún . When both columns show the same figure the Odù is a méjì, a doubled one, and these sixteen doubled Odù are the senior ones. When the columns differ, the combination is one of the remaining 240.
Sixteen possibilities in the left column and sixteen in the right gives 16 × 16 = 256, which Wikipedia's summary renders as "a collection of sixteen, each of which has sixteen alternatives ⇔ 16², or 4⁴"
Retrieving the verse
Once the Odù is identified, the babaláwo begins reciting ẹsẹ belonging to it. He does not know which one applies. He recites, and the client indicates recognition, or the diviner narrows down with further casts using ibò, small objects held in the client's hands to give binary answers to yes-or-no questions posed by the diviner.
The verses themselves have a characteristic shape. Most are a precedent case: Ifá was consulted for a named figure, who was going somewhere or wanted something; he was told to make a specific offering; he did, or he did not; and this was the result. The verse arrives with a narrative already attached, and the interpretive work is establishing the correspondence between that narrative and the client's unstated situation.
The prescription
The verse ordinarily prescribes an ẹbọ, an offering: kola nut, palm oil, water, cooked food, cloth, money, sometimes a fowl or a goat. Often it prescribes conduct as well, and a substantial proportion of ẹsẹ prescribe changes in character rather than material offerings, on the corpus's own principle that ìwà, character, is more decisive than sacrifice.
The binary structure, done properly
Here is the part the reader who came for the information system wants, and it is worth doing carefully because both the dismissive and the inflated versions of it are wrong.
What is genuinely there
A binary sign system. Eight positions, each resolving to one of two states, produced by a physical randomising device. That is exactly a binary word of length eight. In modern notation, writing 0 for a single mark and 1 for a double mark, an Odù is an eight-bit string, and the number of distinct eight-bit strings is 2⁸ = 256.
Positional structure, not a tally. The positions are ordered and the order matters. Èjì Ogbè and Ọ̀yẹ̀kú Méjì are not distinguished by how many marks they contain but by which positions carry which mark. This is what makes it a place-value sign system rather than a counting system, and it is the non-obvious part.
Addressing. The 256 signs are not the answer. They are the address of the answer. Each Odù points to a body of verse held elsewhere, in the diviner's memory, and the divination retrieves rather than computes. This is precisely the structure of an indexed lookup: a key, generated by a defined procedure, resolving to a stored record.
Ranking. The Odù have a fixed order of seniority, which means the 256 addresses are not an unordered set but an ordered one, and the order carries information used in interpretation.
Scale. The corpus indexed is on the order of hundreds of thousands of verses, in UNESCO's estimate roughly eight hundred per Odù with the total unknown and increasing . All of it is held in memory, distributed across a priesthood, transmitted by apprenticeship over years.
Deliberate randomisation. The system is built so that the input is not under anyone's control, and the ikin procedure discards results that fall outside the valid range rather than accepting them. That is a rejection-sampling rule, and its purpose is to keep the key generation clean.
What the scholarship says
Ron Eglash's African Fractals (1999) treats Ifá as among the most developed indigenous mathematical systems and identifies combinatorial reasoning in it centuries before Europe formalised the same reasoning . Olu Longe's analysis identifies binary representation, Boolean algebra and memory addressing in the system . Formal algebraic characterisations of the Ifá codes have been published in the mathematical literature . UNESCO's own description refers to the system's mathematical formulas . The most careful recent framing describes Ifá as a decision-support system in which a coded output is mapped to narrative data and interpreted by a trained practitioner, and summarises the point as "It's not mystical, it's algorithmic"
What is not supported
That Ifá caused, influenced, or is the origin of modern computing.
Eglash proposed a transmission lineage running from African divination through Arab geomancy and European alchemy to Leibniz, and the evidence for that specific chain is weak . Historians of mathematics working directly on Leibniz's binary have examined the proposed external influences and found none of the candidates plausible, with the manuscript evidence showing that Leibniz paid no attention to alternative number systems before developing binary, which is why the scholarly question has moved from whom he got it from to why he invented it . The careful writers making the Ifá-as-binary case do not claim otherwise; the LSE treatment argues for recognition within a wider history of knowledge and for Ifá as an alternative model for system design, and specifically makes no origin claim about computing .
There is also a lineage question that deserves honesty. Ifá belongs to a family of West African and North African divination systems with related binary structure, including Fá among the Fon, Afá among the Ewe, sixteen-cowrie divination, and the geomantic systems of the Arab world and medieval Europe. Which direction influence ran, and how much, is genuinely open. The Ifá corpus is the largest and most elaborated member of the family by a wide margin, which is a strong claim on its own and does not require a priority claim to be interesting.
Why the true version is better
"A West African oral tradition independently developed a formal binary sign system, used it as an addressing scheme over a corpus of several hundred thousand verses, kept the whole thing in human memory, and transmitted it by apprenticeship for centuries" is a remarkable and defensible statement. "Ifá invented the computer" is neither, and asserting it invites a rebuttal that takes the true statement down alongside it. The interesting question is not whether Ifá anticipated binary arithmetic; it is what problem the binary structure solves, and the answer is a real problem in information design: how to build a stable, memorable, unbiased index into a body of knowledge too large to search linearly, using no writing.
What the system is doing
Three readings of Ifá circulate, and they are not mutually exclusive.
As religion. Ọ̀rúnmìlà witnessed the choosing of destiny and can be consulted about it, the òrìṣà are real, ẹbọ is efficacious, and the divination discloses something true about the client's situation and what should be done. This is the tradition's own account of itself and it is what practitioners hold.
As a knowledge system. The corpus is a repository. Verses carry medical knowledge, botanical knowledge, historical precedent, genealogy, social norms, ethical argument and law, organised under a retrieval scheme that a trained person can search. On this reading the divination is the interface and the corpus is the point.
As a decision procedure. A person facing a decision is presented with a narrative precedent selected by a process outside their control, and must work out how it maps onto their case. That structure interrupts rumination, forces articulation of the actual problem, brings a stored body of accumulated judgment to bear, and produces a prescribed action. Whether or not one accepts the metaphysics, that is a functional description of what the procedure does to the person undergoing it.
A reader coming from a Christian or Muslim background can hold the second and third readings without holding the first, and many of the scholars who have documented Ifá most carefully do exactly that.
What is not in this file
Ifá is a system with initiated levels, and a great deal of its content is not published. The training of a babaláwo runs for years, the Odù are learned in sequence, particular material is transmitted at particular stages, and some of it is not repeated outside a grove. What is set out above is the publicly attested structure. It is not the whole system, and any source claiming to give you the whole system in a book is telling you something about itself.