关于「洛书、飞星路径与二面体群」,《飞星置换、罗盘离散与骨相计量》给出的定量结论是什么?
结论:第一章证明飞星排盘是九元循环群上的仿射置换:顺飞与逆飞共 18 张盘,恰为 18 阶二面体群,其中只有中宫为 5 的两张是幻方。9 个元运 × 24 山 = 216 个下卦盘按当运之星的落点分为四类,旺山旺向与上山下水各 48 个,双星会向与双星会坐各 60 个;格局只由山星与向星的飞行方向决定,九运没有旺山旺向的下卦盘。
数据口径:罗盘误差、磁偏角、面部尺寸与标点误差都是示意参数;排盘规则按书中写明的约定执行。 书中以标注框区分证据、可运行的 Python 程序、原典与假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 216, 48, 60
check, period 8, zi sitting: mountain star 8 and facing star
8 at the facing palace S -> shuang xing hui xiang
period wang-wang shang-xia hui xiang hui zuo
1 0 0 12 12
2 6 6 6 6
3 6 6 6 6
4 6 6 6 6
5 12 12 0 0
6 6 6 6 6
7 6 6 6 6
8 6 6 6 6
9 0 0 12 12
all 48 48 60 60
shares of 216: 0.2222, 0.2222, 0.2778, 0.2778
period 8, wang shan wang xiang sitting mountains:
chou xun si wei qian hai
period 9, wang shan wang xiang sitting mountains:
none
Reading: the four classes exhaust all 216 charts, because
a side chart flown forward always carries P to the palace
opposite its start, and flown backward keeps it there. The
class of a chart is fixed by two polarities and nothing else.查看完整验算程序
# Chapter 1. p02: All 216 charts and their four classes.
# A house chart for period P and sitting mountain m has three layers:
# the period chart (P in the centre, flown forward); the mountain-star
# chart, whose centre is the period-chart number n found in the
# sitting palace; and the facing-star chart, whose centre is the
# number found in the facing palace. Each side chart flies forward or
# backward by the polarity of the mountain in the same position
# (earth, heaven or man) within the palace whose Lo Shu number is n;
# when n = 5, the palace where the 5 stands is used instead. The
# twenty-four mountains are listed from ren clockwise in pinyin; the
# facing mountain is the one opposite, in the same position.
# Classes, by where the period star P falls in the two side charts:
# wang shan wang xiang: mountain star P sits, facing star P faces;
# shang shan xia shui: the reverse of that;
# shuang xing hui xiang / hui zuo: both P at the facing / sitting.
import collections
LOSHU = {"SE": 4, "S": 9, "SW": 2, "E": 3, "C": 5, "W": 7,
"NE": 8, "N": 1, "NW": 6}
PALACE_OF = {v: k for k, v in LOSHU.items()}
PATH = ["C", "NW", "W", "NE", "S", "N", "SW", "E", "SE"]
OPP = {"N": "S", "S": "N", "E": "W", "W": "E", "NE": "SW", "SW": "NE",
"NW": "SE", "SE": "NW"}
PAL_ORDER = ["N", "NE", "E", "SE", "S", "SW", "W", "NW"]
MOUNTAINS = ("ren zi gui chou gen yin jia mao yi chen xun si bing wu "
"ding wei kun shen geng you xin xu qian hai").split()
def norm(x):
return (x - 1) % 9 + 1
def fly(c, sign):
return {p: norm(c + sign * k) for k, p in enumerate(PATH)}
def polarity(number, pos):
cardinal = number in (1, 3, 7, 9)
return (1, -1, -1)[pos] if cardinal else (-1, 1, 1)[pos]
def side(base, pal, pos):
n = base[pal]
ref = LOSHU[pal] if n == 5 else n
return fly(n, polarity(ref, pos))
def chart(period, i):
base = fly(period, 1)
sit = PAL_ORDER[i // 3]
face = OPP[sit]
return base, side(base, sit, i % 3), side(base, face, i % 3), sit, face
def category(period, i):
base, m, f, sit, face = chart(period, i)
if m[sit] == period and f[face] == period:
return "wang shan wang xiang"
if m[face] == period and f[sit] == period:
return "shang shan xia shui"
if m[face] == period and f[face] == period:
return "shuang xing hui xiang"
return "shuang xing hui zuo"
if __name__ == "__main__":
base, m, f, sit, face = chart(8, 1)
print(" check, period 8, zi sitting: mountain star {} and facing star"
.format(m["S"]))
print(" {} at the facing palace S -> {}".format(
f["S"], category(8, 1)))
names = ["wang shan wang xiang", "shang shan xia shui",
"shuang xing hui xiang", "shuang xing hui zuo"]
print("\n period wang-wang shang-xia hui xiang hui zuo")
tot = collections.Counter()
for p in range(1, 10):
c = collections.Counter(category(p, i) for i in range(24))
tot.update(c)
print(" {:6d} {:11d} {:11d} {:11d} {:9d}".format(
p, *[c[n] for n in names]))
print(" {:>6s} {:11d} {:11d} {:11d} {:9d}".format(
"all", *[tot[n] for n in names]))
print("\n shares of 216: " + ", ".join(
"{:.4f}".format(tot[n] / 216) for n in names))
for p in (8, 9):
ws = [MOUNTAINS[i] for i in range(24) if category(p, i) == names[0]]
print(" period {}, wang shan wang xiang sitting mountains:"
.format(p))
print(" " + (" ".join(ws) if ws else "none"))
print("\nReading: the four classes exhaust all 216 charts, because")
print("a side chart flown forward always carries P to the palace")
print("opposite its start, and flown backward keeps it there. The")
print("class of a chart is fixed by two polarities and nothing else.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《玄空飞星置换代数、二十四山罗盘离散化与骨相比例计量》第 1 章「洛书、飞星路径与二面体群」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090215
DOI: 10.5281/zenodo.24090215 · 阅读本章所在专著 · 5DL-B-082 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026082,
author = {Fan, Yafu},
title = {Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090215},
url = {https://doi.org/10.5281/zenodo.24090215}
}