Ifá as an Information and Memory System: What Is Established and What Is Overclaimed
The mathematics of the system, the mnemonic architecture that makes a corpus this large holdable, and a careful separation of the documented claims from the popular ones.
Ifá is a binary addressing system over a very large memorised corpus. That statement is accurate and is worth taking seriously. What follows separates it from the claims that have grown up around it, several of which are false, and one of which is false in a way that does the tradition no favours.
The reader this corpus is written for has usually arrived at Ifá through the observation that it is binary, often via a viral version of the claim that Leibniz took binary arithmetic from Ifá and that Yorùbá diviners therefore invented the computer. That claim is not true, and the chronology refutes it decisively. The real story is more interesting and requires no exaggeration, which is why this file spends as much space dismantling the flattering version as building the accurate one.
Confidence on this file is medium overall, because it mixes well-established mathematics with genuinely contested history. Individual claims are marked.
The mathematics, stated exactly
The combinatorial facts are settled and are set out fully in file 02. In summary:
The atomic unit has two states, single mark or double mark, produced physically by one-or-two nuts remaining or by a shell landing concave or convex up . Four positions make a column, giving 2^4 = 16 columns. Two ordered columns make an Odù, giving 16^2 = 256. Bascom states the formula in exactly these terms, invoking 2^n for four tosses and then 16 x 16 = 256 .
The system is non-commutative: Ọ̀kànràn Ìrẹtẹ̀ and Ìrẹtẹ̀ Ọ̀kànràn are different Odù with different content . Order-sensitivity is what raises the count from 136 unordered pairs to 256 ordered ones.
The address space is exactly 256 and no larger. Bascom explicitly refutes the older inflated figures of 4,096 and 65,536 that entered the literature through J. Johnson and Farrow: "As any reader may verify for himself, however, the system permits no more"
In information-theoretic terms, one cast carries eight bits, which is one byte. This is a true statement and an arresting one, and it is also where care is needed. Eight bits identifies one of 256 slots. It does not measure the information in what is retrieved, which is a body of verse, nor does it mean the system performs byte arithmetic.
What the eight bits actually do. They are an index, not a payload. The randomising cast selects an address; the content lives in the diviner's memory. This is the correct way to understand the system's information design, and it is genuinely elegant: a compact, uniformly distributed, physically generated address over a corpus far too large to search linearly.
The mnemonic architecture
The problem the system solves is this: how does a society without writing hold something in the order of 150,000 to 200,000 verses , keep them accurate across generations, and retrieve the right one on demand?
Several features work together, and they are worth naming as design rather than as custom.
Indexed rather than sequential storage. The corpus is not a list. It is 256 labelled bins. A diviner does not search the corpus; he goes to one address and recites from it. This reduces the retrieval problem by more than two orders of magnitude.
Uniform partitioning. Because each cast is equally likely to produce any Odù, material is distributed across the address space rather than concentrated. Each bin holds a comparable load.
Fixed skeleton, free body. The eight-part verse structure with four obligatory and four optional parts is the key mnemonic device . The obligatory parts, the diviners' names, the client, the occasion, and the moral, are rendered in the same form and same language by all priests within a dialect area, while the narration is the individual priest's own . This protects verse identity and conclusion against drift while keeping the memory load tractable, since only the skeleton must be exact.
Text before meaning. Trainees memorise verses first, then learn interpretations and offerings afterwards . Learning sound before sense prevents a learner's understanding from reshaping the wording.
Distributed redundancy. No one holds the corpus. Initiates hold at least sixteen verses per Odù, so common verses are held by many practitioners and can be corrected in performance, while rare verses are held by specialists . The corpus exists as the union across the profession.
Formulaic devices. Repetition and word-play are the characteristic stylistic features , and both aid recall. Names in the verses are often descriptive phrases rather than arbitrary labels, which makes them reconstructible.
Ordered learning. Memorisation proceeds from the most senior Odù downward , which gives the syllabus a fixed sequence and makes progress checkable.
Abimbola's conclusion is the one the architecture supports: the training "shows that pre-literate societies can transmit bodies of well-codified knowledge from one generation to the other without knowing the art of writing"
Eglash and the recursion claim
Ron Eglash's African Fractals (1999) is the source of most contemporary claims about African divination and recursive mathematics, and it is worth reading what he actually argues, because the popular version has drifted from it.
Eglash's mathematical observation concerns Bamana sand divination, not Ifá. His description: the system "begins with four sets of random dashed lines. These are paired off (i.e. summed by addition module two), and the even/odd results recorded with two strokes or one stroke. Four of these binary digits represents one of 16 possible divination archetypes" The recursive step is what interests him: "Although the first four are generated by this random process, the following 12 are created by recursively applying the same pairing operation on the binary digits making up the four symbols"
This is a real and specific mathematical claim: a deterministic recursive operation, addition modulo 2, applied to generated symbols to produce further symbols. It amounts to a pseudorandom generator seeded by a physical random process.
This is not how Ifá works, and the distinction matters. In Ifá all eight positions of the Odù are generated by independent physical events, either eight palm-nut manipulations or one throw of the chain with eight shells . There is no modulo-2 pairing step, no derivation of later figures from earlier ones, and no recursion in the generative procedure. Eglash himself treats the West African Fa and Ifá systems as related to the geomantic family rather than as the locus of his recursion finding, referring to "the nearly identical system of divination in West Africa associated with Fa and Ifa" as noted by Trautmann .
So: recursion is documented for Bamana sand divination, not for Ifá casting. Sources that attribute Eglash's fractal and recursion findings directly to Ifá are transferring a claim from one system to another. This is one of the commonest errors in the popular literature.
What Ifá does have is a self-similar naming structure: sixteen basic patterns, each of which appears as a component of the 256 compound figures, with compound names built from the component names. That is hierarchical and compositional. Whether it is fractal in any technical sense is a stronger claim that I have not found rigorously demonstrated for Ifá specifically. Confidence: contested.
The Leibniz claim, which is false
The popular claim runs: Leibniz derived binary arithmetic from Ifá, or from African geomancy, and therefore the digital computer descends from Yorùbá divination. It fails on chronology, and it fails on what Eglash actually wrote.
The chronology
Leibniz's earliest known document on binary is the manuscript De Progressione Dyadica, dated in his own hand 15 March 1679, held at the Niedersächsische Landesbibliothek in Hanover . It sets out the binary numeral system, its properties and its arithmetic, and describes what appears to be the earliest known design for a binary calculating machine .
He discussed binary numeration in a letter to his patron Duke Rudolph August in 1697 . He wrote to the Jesuit Joachim Bouvet describing his binary arithmetic on 15 February 1701 . Bouvet replied from Peking on 4 November 1701, pointing out the correspondence with the hexagrams of the I Ching and enclosing a woodcut of the Fuxi arrangement; that letter reached Leibniz on 1 April 1703 . Leibniz published Explication de l'Arithmétique Binaire in the Paris Academy's journal in 1703 .
The sequence is unambiguous. Leibniz had binary arithmetic in 1679 and encountered the Chinese hexagrams in 1703, twenty-four years later. He did not derive binary from the I Ching, and the same chronology rules out derivation from any West African system encountered later. There is no documented contact between Leibniz and Ifá at any date.
What Eglash actually claimed
Eglash's own route does not run through Ifá to Leibniz. His text: "The modern binary code, essential to every digital circuit from alarm locks to super computers, was first introduced by Leibniz around 1670. Leibniz has been inspired by the binary-based 'logic machine' of Raymond Lull, which was in turn inspired by the alchemists' divination practice of geomancy (Skinner 1980). But geomancy is clearly not of European origin. It was first introduced there by Hugo of Santalla in twelfth century Spain and Islamic scholars had been using it in North Africa since at least the 9th century"
So the chain Eglash proposes is: African divination, to Islamic geomancy in North Africa, to Europe via Hugo of Santalla in the twelfth century, to Ramon Llull, to Leibniz. Ifá appears in his argument as a related member of the geomantic family, not as Leibniz's source.
Every link in that chain is weaker than the popular version implies, and two are seriously weak.
The Llull to Leibniz link is real but is not about binary. Leibniz cites Llull's Ars Magna in his Dissertatio de Arte Combinatoria of 1666, and he criticises Llull for the arbitrariness of his categories . Llull's art is combinatorial, using rotating figures to generate combinations of concepts; it is not a binary numeral system. Influence on Leibniz's combinatorics is documented. Influence on his binary arithmetic is not.
The geomancy to Llull link is attributed by Eglash to Stephen Skinner's Terrestrial Astrology rather than argued from primary evidence .
The Africa to Islamic geomancy link is the contested one, treated in the next section.
Eglash's own confidence has been characterised by later commentators as modest, and one summary of his position notes that his evidence for the spread claim "is not too strong" The popular versions carry none of that hedging.
Correcting the overclaims by name
"Leibniz got binary from Ifá." False. Binary manuscript 1679; no documented contact with Ifá ever .
"Leibniz got binary from the I Ching." False, and this one at least has a real historical episode behind it. Bouvet's letter arrived in 1703, twenty-four years after De Progressione Dyadica . Bouvet recognised a correspondence; he did not supply the system.
"Ifá is a computer, or the first computer." False as stated. Ifá has an address space and stored content, but no operations defined on addresses, no writing to storage during use, and no computation on values. It is an indexing system, not a computational one.
"Ifá has 4,096 or 65,536 Odù." False. Bascom traces these to J. Johnson and Farrow and refutes them: the system permits no more than 256 .
"Eglash showed Ifá is fractal and recursive." Misattributed. Eglash's recursion finding is about Bamana sand divination . Ifá's casting has no recursive step.
"Ifá proves Africans invented binary before Europeans." Unsupportable as framed, in both directions. It presumes a single inventor and a single line of descent for a notion, two-state notation, that has arisen independently in many places. What can be said is that a two-state notation with a 256-element ordered address space was in documented use in West Africa, and that European binary arithmetic is documented from 1679 . These are separate facts and neither requires the other.
Why this matters. A reader who was told Yorùbá heritage was worthless, and who then discovers a compensating story in which it secretly founded computing, has swapped one distortion for another. The overclaims are also fragile: anyone who checks the Leibniz dates finds the story collapses, and the collapse can take the genuine achievement down with it. The genuine achievement is a 256-address randomised retrieval system over a corpus of a hundred thousand-plus verses, held in memory, with quality control, in a society without writing. That needs no help.
Ifá and geomancy: the honest state of the question
The relationship between Ifá, the Islamic geomancy ʿilm al-raml (science of the sand), and European geomancy is genuinely unsettled, and it is one of the more interesting open problems in the history of divination.
What is established. The systems share a formal structure. Sixteen figures, each of four binary positions, generated by a randomising physical procedure. European geomancy uses the same sixteen four-position figures with different names and meanings. Bascom found that the names of the Ifá figures are standard across Yorùbáland, the Fọ̀n, the Ewe, Cuba and Brazil .
Arabic geomancy is documented in texts from the ninth century, with the earliest systematic descriptions in Arabic and some rudimentary material earlier . It entered Latin Europe through translation in twelfth-century Spain, the Ars geomantiae translated by Hugo of Santalla being the oldest divinatory handbook of Western geomancy .
What is disputed. The direction of transmission. Trautmann assumed geomancy originated in Arabic society . Eglash argued the reverse, that African divination spread to the Muslim world and thence to Europe, on the grounds that base-2 calculation was ubiquitous in ancient Egypt while surrounding traditions favoured base 10, that doubling recurs across African knowledge systems, and that number bases have long historical persistence . He offers this as a plausibility argument, not as demonstration.
The most careful recent treatment I found is Ayodeji Ogunnaike's work on the spread of geomancy in Africa, which rejects both simple directions. His position is that Yorùbá Ifá likely appropriated the structure and figures of geomancy and grafted them onto a pre-existing divinatory tradition, and that influence subsequently ran both ways, with indigenous traditions reshaping local Islamic geomancy in turn . His supporting points include that al-Zanātī, author of a foundational geomantic text, was probably Berber; that early figure names show Berber origins; that African societies already practised binary and recursive systems; and that Ifá's two divination methods suggest the four-position structure was a later technological addition to something older .
That last point deserves attention because it is a structural argument rather than a documentary one. If the tetragram framework were original to Ifá, one would expect the instruments to be built around it from the start.
How to hold this. The most defensible summary is that Ifá and Arabic geomancy are formally related and historically connected, that the connection is old, that transmission was probably not one-directional, and that no one has demonstrated which system's four-position structure came first. Anyone stating flatly that Ifá derives from Arabic geomancy, or that Arabic geomancy derives from Ifá, is asserting more than the evidence supports.
Confidence: contested. This is the correct marking for the current state of the field rather than a hedge.
Note also that this question does not bear on the Leibniz claim at all. Even if African priority in geomancy were established, Leibniz's 1679 manuscript would still predate any contact, and his documented sources would still be Llull's combinatorics rather than any geomantic figure system .
What is genuinely remarkable
Set the overclaims aside and the following remain, each documented:
A physical randomisation procedure with a rejection rule, discarding draws that yield zero or more than two nuts, which converts a messy manual process into a clean two-state output .
Two instruments of different speed producing informationally identical results, with the fast one used for routine work and the slow one reserved for public and ritual occasions .
An address space of exactly 256, ordered rather than unordered, with a naming scheme that lets any practitioner name any address from its marks and reconstruct the marks from the name .
A corpus of the order of 10^5 verses held in distributed memory with no written record, indexed by those 256 addresses .
A verse format that separates invariant from variable parts, protecting identity and conclusion while leaving performance free .
A retrieval protocol that deliberately withholds the query from the operator and delegates relevance-matching to the client .
A training pipeline of ten to twenty years to a documented entry standard of 4,096 verses with their interpretations and prescriptions, followed by specialisation and lifelong continuation .
Considered as information design, that is a serious body of work. It is what the evidence supports, and it is enough.
Sources
- [1]Bascom, William, Ifa Divination: Communication Between Gods and Men in West Africa (Bloomington: Indiana University Press, 1969), Chapter IV, pp. 39-52. https://archive.org/details/ifadivinationcom0000basc_h9f3 (The 2^n formulation and 16 x 16 = 256; the refutation of the 4,096 and 65,536 claims from J. Johnson and Farrow; the non-commutativity of Ọ̀kànràn Ìrẹtẹ̀ and Ìrẹtẹ̀ Ọ̀kànràn; the casting procedures and the rejection rule; the standardisation of figure names across Yorùbáland, the Fọ̀n, the Ewe, Cuba and Brazil.)
- [2]Abímbọ́lá, Wándé, Sixteen Great Poems of Ifá (UNESCO, 1975), Introduction, pp. 12-16. https://archive.org/details/sixteen-great-poems-of-ifa-wande-abimbola (The palm-nut and chain procedures; the derivation of sixteen columns and 256 figures.)
- [3]Abímbọ́lá, Wándé, Sixteen Great Poems of Ifá, Introduction, pp. 7-12, 28-32. (The eight structural parts with four obligatory and four optional; obligatory parts rendered identically within a dialect area and optional parts in the priest's own language; text memorised before interpretation; sixteen verses from each of the 256 Odù for initiation; memorisation from most senior Odù downward; repetition and word-play; the estimate of 600 verses per Odù; ten to twenty years of pre-initiation training and at least five after; the claim about pre-literate transmission of codified knowledge.)
- [4]UNESCO, "Ifa divination system," Representative List of the Intangible Cultural Heritage of Humanity, element no. 00146, inscribed 2008. https://ich.unesco.org/en/RL/ifa-divination-system-00146 (Approximately 800 ẹsẹ per odù, exact number unknown and growing; the corpus of texts and mathematical formulas.)
- [5]Eglash, Ron, "Africa in the Origins of the Binary Code," Cybernetic Culture Research Unit, Digital Hyperstition (formerly at ccru.net/digithype/Afrobinary.htm). https://organicdesign.nz/files/0/08/African_Divination.pdf (Binary "first introduced by Leibniz around 1670"; the Llull to Leibniz and geomancy to Llull links, the latter attributed to Skinner, Terrestrial Astrology, 1980; Hugo of Santalla and twelfth-century Spain; Islamic scholars in North Africa since at least the ninth century; the Bamana procedure with four sets of random dashed lines paired by addition modulo two, four binary digits giving one of 16 archetypes, and the following 12 generated recursively; the reference to Trautmann on Fa and Ifá as a nearly identical West African system and Trautmann's assumption of Arabic origin; the ancient Egyptian base-2 and doubling arguments, citing Zaslavsky, Africa Counts.) See also Eglash, Ron, African Fractals: Modern Computing and Indigenous Design (New Brunswick: Rutgers University Press, 1999).
- [6]Leibniz, Gottfried Wilhelm, De Progressione Dyadica, manuscript dated 15 March 1679, Niedersächsische Landesbibliothek, Hanover. Analysis: Serra, Yves, "Le manuscrit 'De Progressione Dyadica' de Leibniz," BibNum. https://journals.openedition.org/bibnum/553 (The 15 March 1679 dating in Leibniz's own hand; the earliest reliable document on the binary numeral system and its arithmetic; the earliest known description of a binary calculating machine; mentioned by Couturat in 1903, facsimile with incomplete German translation in 1966.)
- [7]Leibniz, Gottfried Wilhelm, "Explication de l'Arithmétique Binaire," Mémoires de l'Académie Royale des Sciences (Paris, 1703). On the chronology: Leibniz wrote to Joachim Bouvet describing his binary arithmetic on 15 February 1701; Bouvet replied from Peking on 4 November 1701 identifying the correspondence with the I Ching hexagrams and enclosing a woodcut of the Fuxi arrangement; the letter reached Leibniz on 1 April 1703. Leibniz had discussed binary numeration with Duke Rudolph August of Brunswick in 1697. (Chronology as reported in the history-of-mathematics literature summarised at https://www.historyofinformation.com/detail.php?id=395 and in the Journal of East-West Thought article on the development of binary arithmetic by Leibniz. Confidence high on the 1701 and 1703 dates, which are consistently reported; the 1697 letter is likewise consistently reported.)
- [8]Leibniz, Gottfried Wilhelm, Dissertatio de Arte Combinatoria (Leipzig, 1666). https://en.wikipedia.org/wiki/De_Arte_Combinatoria (Leibniz's explicit reference to Llull's Ars Magna of 1290 and his criticism of the arbitrariness of Llull's categories; the work as combinatorial rather than binary, deriving theorems on permutation and combination.)
- [9]On Arabic geomancy: ʿilm al-raml, also khaṭṭ al-raml and darb al-raml, "the science of the sand"; earliest systematic descriptions in ninth-century Arabic texts; entry into Latin Europe through twelfth-century Spain, the Ars geomantiae translated by Hugo of Santalla being the oldest divinatory handbook of Western geomancy. https://en.wikipedia.org/wiki/Arabic_geomancy and https://en.wikipedia.org/wiki/Hugo_of_Santalla (Cited as summary of the standard account; readers wanting the primary scholarship should go to Charmasson and to Savage-Smith and Smith on Islamic geomancy.)
- [10]Ogunnaike, Ayodeji, "The Dynamic Spread of Geomancy in Africa," presented and summarised at the Islamicate Occult Sciences symposium (19 October 2021). https://www.islamicoccult.org/ogunnaike (The argument against simple one-directional transmission; Ifá as having appropriated the structure and figures of geomancy and grafted them onto a pre-existing divinatory tradition, with subsequent mutual influence; al-Zanātī likely Berber; Berber origins of early figure names; pre-existing binary and recursive systems in African societies; the argument from Ifá's two divination methods that the four-position structure was a later innovation; Islamic geomancy carried to the Americas by enslaved Muslim Africans.)
- [11]Maupoil, Bernard, La Géomancie à l'ancienne Côte des Esclaves, Travaux et Mémoires de l'Institut d'Ethnologie XLII (Paris: Institut d'Ethnologie, 1943), xxvii + 686 pp. (The major study of Fa among the Fọ̀n and the standard French-language reference for the geomantic question in West Africa. Cited as the reference work; I did not have access to the full text.)