A Thousand-Year Lineage from the Tang Dynasty to the Modern Era
Most people who encounter Chinese fate-calculation - often called Bazi or Four Pillars of Destiny - assume it is a single, ancient tradition passed down intact from some distant origin. The reality is far more interesting and far more human. Chinese fate-calculation is not one tradition. It is two: an older system and a newer one, separated by a political upheaval, a thousand years of textual loss and a fundamental disagreement about how the cosmos speaks through a birth chart.
The older tradition is called 禄命术 (Lùmìng Shù) - the Art of Fortune and Fate. It dominated Chinese destiny-reading for over a millennium, from the Han dynasty through the Tang and into the early Song. It placed enormous weight on spirit-markers called 神煞 (Shénshà), on the 纳音 (Nàyīn) sound-element system and on the year of birth as the primary anchor of a person's fate. It produced a vast library of texts, most of which are now lost.
The newer tradition is called 子平术 (Zǐpíng Shù) - the Method of Ziping, named after the shadowy figure 徐子平 (Xú Zǐpíng) who is credited with its founding. It shifted the primary focus from the year pillar to the day pillar, developed the Ten Gods (十神) system of relationship analysis and gradually relegated the 神煞 spirit-markers to secondary or even irrelevant status. This is the system that most modern Bazi practitioners learn and use today.
Between these two traditions lies a story of emperors, exiles, monks, soldier-scholars and one quiet compiler from Jiangxi who may have saved a civilization's metaphysical heritage from vanishing entirely.
This article traces that story through the actual surviving texts - not legends, not internet summaries, but the documented books, their known authors and the historical circumstances that shaped what survived and what was lost.
The figure traditionally honoured as the ancestor of systematic Chinese fate-calculation is 李虚中 (Lǐ Xūzhōng), who lived from approximately 762 to 813 CE during the Tang dynasty.
Li Xuzhong was not a wandering fortune-teller. He was a scholar-official - an eighth-generation descendant of 李冲 (Lǐ Chōng), a minister of the Northern Wei dynasty. He passed the 进士 (jìnshì) examination, the highest tier of the imperial civil service exam and served as 殿中侍御史 (Diànzhōng Shìyùshǐ), a supervisory censor within the imperial court. This was a man of serious education and social standing.
What made Li Xuzhong famous was not his official career but his extraordinary skill at reading human fate from birth data. When he died, the great Tang literary master 韩愈 (Hán Yù) - one of the most celebrated prose writers in Chinese history - personally composed his tomb inscription. In it, Han Yu wrote:
"He was most deeply versed in the books of the Five Phases. Using the stems and branches corresponding to a person's year, month and day of birth, he would assess their mutual generation, overcoming, flourishing and decay and from this deduce their longevity or early death, their nobility or lowliness, their fortune or misfortune - invariably placing the timing with such precision that he was wrong in barely one or two cases out of a hundred."
That phrase - 百不失一二, "wrong in barely one or two out of a hundred" - became the most famous endorsement in the entire history of Chinese fate-calculation. It was written not by a fellow practitioner trying to promote the art, but by one of Tang China's most respected literary intellectuals.
Yet there is an irony in Li Xuzhong's legacy. Despite his fame, he left no surviving book. The text known as 《李虚中命书》 (The Book of Li Xuzhong's Fate Method), which exists today in three volumes, is attributed on its title page to 鬼谷子 (Guiguzi, the legendary Warring States strategist) with Li Xuzhong's annotations. But the editors of the 《四库全书》 (Complete Library of the Four Treasuries) - the massive Qing dynasty bibliographic project - examined it carefully and reached a measured verdict: the early sections of the book, which discuss the sixty Jiazi cycle without reference to the hour of birth, are consistent with what Han Yu described. But the later sections refer to "four pillars" - a concept that only emerged in the Song dynasty. The vocabulary and official titles mentioned also point to Song-era origins.
Their conclusion was that the book is a composite: genuinely old material from the Tang period, mixed with later additions by Song dynasty practitioners who inserted their own ideas under the authority of Li Xuzhong's famous name. The core is real. The layers are added. This pattern - ancient knowledge surviving only in contaminated, composite form - will repeat throughout this entire lineage.
What Li Xuzhong established, whether through his own hand or through the tradition that formed around his reputation, was the foundational architecture of the 禄命 system. The year of birth was primary. The 纳音 sound-element (a system that assigns one of thirty elemental types to each pair of the sixty Jiazi) was a central analytical tool. And 神煞 - spirit-markers like 华盖 (the Imperial Canopy), 天乙贵人 (the Heavenly Noble) and 十灵日 (the Ten Spiritual Days) - were not decorative footnotes. They were the primary language through which a practitioner read the chart.
This was the 禄命 method. For the next several centuries, it was the only method.
In 960 CE, a general named 赵匡胤 (Zhào Kuāngyìn) staged a military coup - the famous Chenqiao Mutiny - and founded the Song dynasty. He had used astronomical omens and fate-calculation rhetoric to legitimize his seizure of power. Soldiers in his camp pointed to unusual phenomena in the sky and declared it was heaven's mandate that their commander become emperor.
Having ridden celestial rhetoric to the throne, Zhao Kuangyin understood exactly how dangerous it was. If fate-calculation could make an emperor, it could unmake one too. The Song court began restricting private study of astronomical and divinatory arts almost immediately.
But the real blow came from his successor. When 宋太宗 (Sòng Tàizōng) took the throne in 976 CE - under circumstances so murky that the phrase "烛影斧声" (shadows of candles and the sound of an axe) still echoes through Chinese historical debate - he faced immediate questions about his legitimacy. He had not inherited the throne from his father in the normal way. Rumours swirled. Fate-calculators were talking.
In 太平兴国二年 (977 CE), barely a year into his reign, Song Taizong issued a formal edict: the 《禁天文相术六壬遁甲三命及阴阳书诏》 - an imperial decree banning the private study of astronomy, physiognomy, Liuren divination, Dunjia methods, Three Fates calculation (三命, the formal term for 禄命术) and yin-yang texts. Those who possessed such materials were ordered to surrender them. Those who harboured practitioners were threatened with severe punishment.
The impact on the 禄命 tradition was profound. A system that had flourished in the courts and scholarly circles of the Tang dynasty was driven underground. Practitioners who had served the educated elite now had to hide among the marketplace fortune-tellers, the itinerant diviners, the Buddhist and Daoist temple fairs. The texts that had circulated among officials and literati became dangerous to own.
Not all copies were destroyed. Not all practitioners stopped working. But the institutional support that had sustained the tradition - the scholarly networks, the court positions, the libraries - was severed. And when texts are no longer copied by professional scribes with institutional backing, they begin to degrade. Pages are lost. Versions diverge. Cheaper copies introduce errors. Within a few generations, the once-robust literary tradition of 禄命 was fragmenting.
It was in this context - a tradition under pressure, its texts scattering and degrading - that one man in the Southern Song decided to gather everything he could find before it was too late.
His name was 廖中 (Liào Zhōng), courtesy name 伯礼 (Bólǐ). He came from 清江 - modern-day Zhangshu in Jiangxi province. He held the rank of 乡贡进士 (xiānggòng jìnshì), meaning he had passed the provincial-level civil service examination. His exact birth and death dates are unknown. Almost nothing survives about his personal life.
What survives is his book.
The 《五行精纪》 (Wǔxíng Jīngjì) - which might be translated as "The Essential Record of the Five Phases" - is a massive compilation of fate-calculation knowledge. In thirty-four volumes, 廖中 gathered, organized and preserved the key writings of the 禄命 tradition as it existed in the late twelfth century.
The great Southern Song scholar 周必大 (Zhōu Bìdà) wrote the preface in 1196 CE (庆元二年). This was not a minor endorsement. Zhou Bida was one of the most distinguished literati of his era - a former Grand Councillor, a prolific writer and a man whose recommendation carried serious weight. That he would lend his name to a compilation of fate-calculation texts tells us something about the intellectual respectability the subject still commanded, even after the Song ban.
The first printed edition appeared in 1228 CE (绍定元年), with a preface by 岳珂 (Yuè Kē) - the grandson of the legendary general 岳飞 (Yuè Fēi), China's most famous patriotic military hero. At the time, Yue Ke was serving as Vice Minister of Revenue and regional military commander. Again, this was not a marginal figure lending his name to a fringe project.
The 五行精纪 was organized systematically. The first two volumes cover the sixty Jiazi cycle. Volumes three through six address the Heavenly Stems and Earthly Branches. Volumes seven through nine discuss the Five Phases. Volume twenty - and this is significant for anyone interested in the spirit-marker tradition - specifically covers 华盖 (the Imperial Canopy star), along with other markers like the Golden Carriage (金舆), the Hall of Learning (学堂) and military rank indicators.
But the most extraordinary feature of the 五行精纪 is not its structure. It is what it preserved.
廖中 cited fifty-one earlier texts in his compilation. Among them: the 烛神经 (Candle Spirit Classic), the 壶中子赋 (Master Within the Gourd), the 李虚中命书 (Li Xuzhong's Fate Book), the 鬼谷子遗文 (Lost Writings of Guiguzi), the 神白经 (Spirit Clarity Classic), the 林开五命书 (Lin Kai's Five Fates Book), the 玉霄宝鉴 (Jade Firmament Precious Mirror) and dozens more.
Of those fifty-one texts, nearly all are now lost as independent works.
The Qing dynasty bibliographer 钱曾 (Qián Céng), who examined a surviving manuscript of the 五行精纪, left a remark that captures the scale of what was saved: "Of the fifty-one texts it cites, I possess only the 《珞琭子》 - all the others I have never seen." He was one of the most prolific book collectors of his age and even he could not find the originals. They survived only because 廖中 had quoted them.
This is why the 五行精纪 matters. It is not just a book about fate-calculation. It is a rescue operation. Without it, the 烛神经, the 壶中子 and dozens of other pre-Song texts would be entirely unknown to us - not even their names would survive. 廖中 built an ark for a tradition that was drowning and the ark is all that remains of many of its passengers.
The book itself became rare. The original Song printed edition is lost. Only two incomplete Qing dynasty manuscript copies survive in the National Library of China. A Korean printed edition also exists. In 2015, a scholarly reconstruction was published in Hong Kong. The text that saved fifty-one books nearly failed to save itself.
Among the fifty-one texts preserved in the 五行精纪, two deserve special attention because they are the direct sources for much of the 神煞 tradition - the spirit-marker system that includes 华盖, 十灵日, 天乙贵人 and the other markers that many practitioners still use today.
The 烛神经 (Zhú Shén Jīng) - "The Classic of the Spirit-Illuminating Candle" - is a pre-Song text whose author is unknown. Its name evokes the image of a candle that illuminates what is hidden in darkness, a divine light revealing the unseen patterns of fate. It belongs to the 禄命 tradition and survives only in the fragments quoted by the 五行精纪 and later compilations.
Despite its fragmentary state, the 烛神经 contains some of the most precise and vivid descriptions of the spirit-markers in the entire classical literature. Its description of 华盖 has been quoted in virtually every subsequent Bazi text for centuries: "华盖为庇荫之清神,主人旷颖神清,性灵恬淡,不较是非,好仙道技巧事" - "华盖 is a sheltering pure spirit. Its people are broad-minded, spiritually clear, gentle in nature, indifferent to conflict and drawn to the ways of immortals and skilled arts."
This is not vague mysticism. It is a specific, technical description of a specific marker's influence, written in language that practitioners have found accurate enough to preserve and transmit for at least eight centuries.
The 壶中子 (Hú Zhōng Zǐ) - "The Master Within the Gourd" - is another pre-Song text, surviving primarily in verse and formulaic (歌诀) form. The name is a Daoist literary allusion: the 壶中天 (Heaven Within a Gourd) legend tells of a sage who enters a magical gourd and discovers an entire cosmos inside. The name implies a practitioner who sees a complete universe of fate-patterns within the small vessel of a birth chart.
The 壶中子's most famous surviving line concerns 华盖: "华盖本清高近贵之物,得之者好方外之学" - "华盖 is inherently a pure, lofty and noble object. Those who possess it love the studies beyond the mundane world." The phrase 方外之学 - "studies beyond the mundane" - is a classical Chinese term for metaphysical, spiritual and esoteric pursuits. It is the same phrase used in Daoist literature to describe the practices of those who seek the Way.
Both texts share a common characteristic: they treat 神煞 not as superstitious add-ons but as a sophisticated symbolic language for reading the relationship between cosmic patterns and human temperament. In the 禄命 tradition from which they come, these markers were the primary analytical framework - not supplements to something else, but the main vocabulary of the art.
When the 子平 revolution later displaced the 禄命 system, these markers were gradually demoted. Modern Bazi textbooks often mention 华盖 or 天乙贵人 as interesting but optional footnotes. What gets lost in that demotion is the awareness that these markers come from a documented classical tradition older than the Bazi system most people learn today. They are not medieval superstitions grafted onto a rational system. They are the original system and the "rational" approach came later.
The transition from the 禄命 system to the 子平 method was the most significant paradigm shift in the history of Chinese fate-calculation. It did not happen overnight. It unfolded across several centuries, driven by a combination of political disruption, intellectual innovation and the practical demands of a changing society.
The key figure in the transition is 徐子平 (Xú Zǐpíng), a semi-legendary practitioner whose exact dates and biography remain uncertain. What is documented is the transmission chain that carried his method forward. According to the Ming dynasty scholar 戴冠 (Dài Guān) in his 《濯缨亭笔记》 (Notes from the Hat-Washing Pavilion):
After Xu Ziping died, during the reign of Song Xiaozong (淳熙 period, 1174-1189), there appeared a practitioner from the Huainan region who called himself 冲虚子 (Master of Soaring Emptiness). He was skilled in Xu Ziping's method and highly regarded. A Buddhist monk named 道洪 (Dào Hóng) secretly received the transmission from him. When asked about the lineage, Daohong would say it was Xu Ziping's legacy method. Daohong later travelled to Qiantang (modern Hangzhou) and spread the teaching there. He transmitted it to 徐大升 (Xú Dàshēng).
This chain - Xu Ziping → Chongxuzi → the monk Daohong → Xu Dasheng - is the documented bridge between the original innovator and the first surviving text of the new method. Xu Dasheng compiled his 《子平三命通变渊源》 (The Comprehensive Origins of Ziping's Three Fates Method) in 1254 CE (宝祐甲寅), during the Southern Song. This text was long thought lost but was rediscovered in the early 2010s through copies preserved in Korea.
What did the 子平 method change? The core innovations were structural:
The 禄命 method used the year pillar as the primary reference point. The 子平 method shifted to the day pillar - specifically the Day Stem (日干) - as the representation of the self. This was not a minor adjustment. It fundamentally changed what the chart was "about."
The 禄命 method relied heavily on 纳音 (the sound-element system that assigns one of thirty special elemental types to pairs of the sixty Jiazi) as a major analytical tool. The 子平 method used 正五行 - the direct Five Elements associations of the stems and branches - and developed the Ten Gods (十神) system: a set of relational categories (wealth, authority, resource, output, companion) derived from the Five Elements interactions between the Day Stem and the other elements in the chart.
The 禄命 method placed 神煞 at the centre of analysis. The 子平 method treated them as supplementary at best, irrelevant at worst.
The result of this merger was the book we know today as 《渊海子平》 (Yuānhǎi Zǐpíng) - "The Deep Sea of Ziping." But even this book has a complicated history. It is not a single work by a single author. According to the Ming dynasty editor 唐锦池 (Táng Jǐnchí), it was created in 1600 CE by combining two earlier books - the 《渊海》 and the 《渊源》 - which had been circulating separately for centuries, accumulating anonymous additions and revisions along the way. The 渊海子平 as we have it today is therefore itself a composite: some content traceable to the Southern Song, some added during the Yuan and Ming dynasties, some of uncertain origin.
By the mid-Ming dynasty, Chinese fate-calculation had accumulated centuries of texts, theories, competing schools and unresolved contradictions. It needed someone to gather everything together, sort through it and produce a comprehensive reference.
That person was 万民英 (Wàn Mínyīng), who lived from 1521 to 1603. His literary name was 育吾 (Yùwú) - "Nourishing Understanding." He was born into a family with a history of government service. His grandfather 万义 had served as a censor before being demoted and exiled to the frontier garrison at Daning. 万民英 himself passed the 进士 examination in 1550 (嘉靖庚戌) - placing him in the highest tier of Ming dynasty scholarship.
He served as 河南道监察御史 (Surveillance Commissioner of the Henan Circuit) and later as 福建兵备参议 (Military Preparedness Vice Commissioner of Fujian), where he personally led troops against the 倭寇 - Japanese pirates who were terrorizing China's southeastern coast. He was a soldier-scholar in the most literal sense: a man who could write learned commentary on cosmic patterns and also command a garrison under pirate siege.
His forthrightness cost him his career. After clashing with powerful officials at court, he took the occasion of escorting his mother's coffin home to retire permanently from government service. He spent the remaining thirty-plus years of his life in his hometown, teaching students, engaging in charity and writing.
The 《三命通会》 (Sānmìng Tōnghuì) - "The Comprehensive Meeting of the Three Fates" - was published in 万历六年 (1578 CE). It is structured in twelve volumes. The first nine are organized by the Ten Heavenly Stems, analysing each day master in combination with the months and hours. The final three volumes collect classical essays and verse-form teachings from over thirty earlier scholars.
What makes the 三命通会 historically significant is 万民英's editorial philosophy. He did not pick sides in the 禄命 versus 子平 debate. He included both. The book contains extensive discussions of 神煞 - their classical definitions, their interactions, their implications - alongside the 子平 method's Ten Gods analysis and Five Elements reasoning. 万民英's position, based on decades of practice, was that both systems had validity and that a skilled practitioner should be able to draw on either.
The Qing dynasty editors of the 四库全书 recognized the book's value while also noting its limitations. They praised it for "gathering the essential points of various authorities" on the meanings of the Ten Gods, the weights of the useful spirits and the auspicious and inauspicious implications of the 神煞. They included it in the imperial library - a mark of serious scholarly recognition.
The 三命通会 became, in the words of the 四库全书 editors, a book that "nearly every household possessed." For the next two centuries, it was the standard reference for anyone studying Chinese fate-calculation.
And because 万民英 quoted earlier texts extensively - including passages from the 烛神经, the 壶中子 and other works preserved in the 五行精纪 - the 三命通会 became another layer of preservation. The fragments that 廖中 had saved in the twelfth century were now re-quoted in a sixteenth-century bestseller, reaching an audience that the original texts could never have found on their own.
The last major development in this lineage was not an addition but a subtraction.
The 《滴天髓》 (Dī Tiān Suǐ) - "Dripping from Heaven's Marrow" - is traditionally attributed to a Song dynasty figure named 京图 (Jīng Tú), with annotations by 刘基 (Liú Jī), the legendary military strategist who helped found the Ming dynasty. Its exact origins are disputed, but its impact is not.
The 滴天髓 represented the intellectual culmination of the 子平 revolution. Where 万民英 had tried to bridge the old and new systems, the 滴天髓 drew a clear line. The Qing dynasty scholar-official 陈素庵 (Chén Sù'ān), in his evaluation of the text, praised it in terms that reveal the ideological shift: "Its method probes the dispositions of the stems and branches, penetrates the transformations of yin and yang, is not confined by set patterns, does not employ 神煞, but pursues meaning purely through the principles of fate - the deeper one goes, the more subtle it becomes."
That phrase - 不拘格局,不用神煞 - "not confined by set patterns, not employing spirit-markers" - was not just a description. It was a declaration. The 滴天髓 was explicitly rejecting the thousand-year-old 禄命 tradition's reliance on 神煞 as a primary analytical tool.
The later annotators who made the 滴天髓 famous - 任铁樵 (Rèn Tiěqiáo) in the Qing dynasty and 徐乐吾 (Xú Lèwú) in the early Republic - deepened this emphasis. Their commentaries focused entirely on Five Elements interaction, chart balance and the Ten Gods framework. 神煞 were barely mentioned except to be dismissed.
This intellectual victory was so complete that by the twentieth century, most Chinese fate-calculation practitioners had fully adopted the 子平 framework. The 禄命 tradition with its 纳音 and 神煞 was pushed to the margins - seen by many as superstitious remnants from a less sophisticated era.
But the irony is that the very markers which modern practitioners dismiss as "optional" or "superstitious" - 华盖, 十灵日, 天乙贵人, 太极贵人 - come from the older, more deeply documented tradition. They come from texts like the 烛神经 and the 壶中子, preserved in the 五行精纪, restated in the 三命通会 and based on over a thousand years of accumulated observation. To dismiss them is not to be "modern." It is to be unaware of the full depth of the tradition.
The story of Chinese fate-calculation's classical texts is, in the end, a story about what survives and what doesn't.
Of the fifty-one texts cited in the 五行精纪, nearly all are gone as independent works. We have fragments - quoted passages, isolated verses, referenced definitions - but not the books themselves. The 烛神经 exists only in pieces. The 壶中子 survives only as quoted verses. The 神白经, the 玉霄宝鉴, the 天元变化书 and dozens of others are names in a list, ghosts in a catalogue.
What caused this loss was not a single catastrophe. It was the accumulated weight of a political ban, a paradigm shift and the simple economics of book production. After Song Taizong's edict, 禄命 texts became risky to own. After the 子平 method gained dominance, 禄命 texts became commercially unviable to copy. Scribes reproduced what people wanted to buy. As demand for the new method grew, the old texts stopped being copied. Pages crumbled. Ink faded. Libraries burned in wars. What 廖中 did not quote, we will likely never read.
This is why the chain matters - not as an intellectual exercise, but as a practical question of cultural preservation. Every text in the lineage saved something from the one before it:
The 五行精纪 (1196/1228) saved fragments of fifty-one earlier texts. The 三命通会 (1578) re-quoted many of those fragments for a wider audience. The 四库全书 (1780s) preserved the 三命通会 in the imperial library. Modern scholarly editions continue the chain today.
For an English-speaking reader encountering Chinese metaphysics for the first time, this lineage provides something that most available resources do not: context. When you see the term 华盖 on a website or hear a practitioner mention 十灵日, you are not encountering a modern invention or an internet fabrication. You are encountering the tail end of a documented transmission chain that reaches back through the Ming, the Song, the Tang and beyond - through the hands of soldier-scholars, Buddhist monks, provincial exam graduates and one literary giant who thought his friend's fortune-telling was worth immortalizing in stone.
The books are old. Many are lost. But the chain is unbroken. And the tradition it carries - for those willing to trace it to its source - is deeper and more carefully documented than most people imagine.
Continue exploring: Daoist Studies | Buddhism in China | Confucian Studies
↑ Back to Home