5D Library › Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology · 中文
Preface. A Chart as a Table of Permutations
Note
This book does not discuss whether any feng shui configuration or face reading comes true, and it is not property, medical or other advice. Please read this first. It studies only the structure of Xuankong flying stars and craniofacial proportions that arithmetic can test: what algebra flying-star charts have as a set of permutations, how often each configuration occurs among the 216 ordinary charts, how many houses change chart because of compass error and magnetic declination, and how much of a proportion read from a photo comes from camera distance, landmark error and base rates. Its compass errors, declinations, facial dimensions and landmark errors are illustrative parameters; the chart rules follow conventions written out in the book, and different conventions give different counts.
Three claims are common about Xuankong flying stars and physiognomy. First, flying-star charts are a precise model of space and time, in which “prosperous mountain, prosperous facing”, “double stars at the facing”, “sum to ten” and “three combinations” each carry good or bad fortune. Second, reading the compass is exact; a few degrees do not matter, and “near the edge” facings and replacement charts are details. Third, the thirds and fifths of a face and the golden ratio can be read from a photo and reveal a person’s character and fate. This book says nothing about fortune; it writes the structures these claims rely on as runnable programs to see what they are in arithmetic.
As in the other works of 5D Library, the book first tries to refute, then states the limits, and reports negative results as they are.
What the book contains
Chapter 1 proves that flying-star charts are affine permutations of the cyclic group of order nine, that the eighteen charts form exactly the dihedral group of order 18, and enumerates the four classes among the 9 periods × 24 mountains = 216 ordinary charts. Chapter 2 counts “sum to ten”, “three combinations” and “string of pearls” among the 216 charts, and compares charts under two conventions for replacement charts. Chapter 3 computes how many houses cross into another mountain, another palace or another chart because of compass error and declination. Chapter 4 computes base rates for equal thirds, five eyes and golden faces, and the perspective magnification of selfies. Chapter 5 propagates landmark error and shows the Barnum effect of measuring many ratios: everybody turns out special. Chapter 6 discusses body units, the royal cubit and canons of proportion, what satisfied clients can prove, and how street orientation manufactures a false “configuration effect”. Chapter 7 reads Shen Kuo’s Mengxi Bitan on the compass needle and explains the place in this book of Jiang Dahong’s Dili Bianzheng, Shen Zhureng’s Shenshi Xuankong Xue and the Mayi Shenxiang. Chapter 8 gives a ten-flag audit and a pre-registered blind paired test.
Claims corrected after checking
- Flying-star charts are not arbitrary nine-square diagrams but a very small permutation group. The forward and backward families together make 18 charts, exactly the maps on the cyclic group of order nine; only the two with 5 at the centre are magic squares (p01).
- Configuration is decided by two polarities. Among the 216 ordinary charts, “prosperous mountain, prosperous facing” and its reverse, “mountain up, water down”, have 48 each, “double stars at the facing” and “double stars at the sitting” 60 each, and the four classes exhaust all charts; period 9 has no ordinary chart of the first class (p02).
- Replacement charts are not a detail. Two conventions, both in use, each change 182 charts and agree with each other on only half of them (p04).
- A few degrees of compass error change the chart. With an error standard deviation of 3 degrees, 0.1594 of readings cross into another mountain and the period-9 chart changes for 0.1063; the “near the edge” call flips for 0.3118 (p05). If true or magnetic north is not stated, a declination of 5 degrees moves 0.3333 of houses to another mountain (p06).
- A proportion in a photo is not only the face. A selfie at 30 cm inflates nose width against cheekbone width by 1.273; keeping the distortion under 2% needs the camera beyond 377.5 cm (p08).
How to read the boxes
Boxes mark published evidence, runnable Python computations (16 programs, standard library only, fixed random seeds; each is run at build time and its real output printed below it), classical sources, notes and the author’s hypotheses; every hypothesis states what result would show it wrong. To keep code intact in print, the programs and their output use ASCII only, with palaces, mountains and configurations written as English abbreviations or pinyin, as listed below.
Note
Code key: palaces N (Kan, north), NE (Gen), E (Zhen), SE (Xun), S (Li), SW (Kun), W (Dui), NW (Qian), C (centre). The twenty-four mountains, clockwise from north: ren, zi, gui, chou, gen, yin, jia, mao, yi, chen, xun, si, bing, wu, ding, wei, kun, shen, geng, you, xin, xu, qian, hai. Configurations: wang shan wang xiang (prosperous mountain, prosperous facing); shang shan xia shui (mountain up, water down); shuang xing hui xiang / hui zuo (double stars at the facing / sitting); he shi (sum to ten); san ban gua (father-and-mother three combinations); lian zhu (string of pearls); ti gua (replacement chart); jian xiang (near the edge); kong wang (void); kua shan (crossing a mountain); chu gua (leaving the trigram). Also: period; sitting; facing; declination; thirds; five eyes; landmark; cubit; palm; finger.
Disclosure
The author uses the works of 5D Library, including this book, as the methodological basis of his community courses, the 5D Ascension Cards (Dimensional Shift Card Decks) and the Yafu AI knowledge base, and develops and runs paid online reading software, courses and AI products on traditional divinatory and mind-body themes (which may include feng shui chart and face analysis functions); the models of this book apply directly to those products, so he has a direct commercial interest in its subject. The book promotes no software, course, card deck or service, uses no user or sales data from the author’s businesses, and accepts no sponsorship. All its models are offered for mathematical study and teaching only and constitute no promise that any reading comes true and no property, medical, cosmetic or other business advice. The test in Chapter 8 must be carried out with pre-registered code by an independent analyst who has no financial relationship with the author, and its results will be published whether positive or negative.
Fan, Y. (2026). Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology: Lo-Shu Orbit Cycles, Magnetic Declination Flip Rates and Landmark Measurement Error Propagation [玄空飞星置换代数、二十四山罗盘离散化与骨相比例计量] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090215 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).