关于「方法:钦天四化、三把刀与一百四十四格」,《钦天三刀与飞忌轨迹》给出的定量结论是什么?
结论:第一章在 43200 种等权情形上穷举:生年忌落在十二宫的比例从 0.0797 到 0.0867,几乎均匀;0.2777 的盘没有任何自化忌,第三刀回退到羊陀夹;0.1567 的盘前两把刀叠在同一宫,其中 0.1000 只因命宫宫干等于年干;一百四十四条飞忌轨迹全部可达,对角线就是自化忌。
数据口径:本书不主张任何占验,只精确呈现规则、计算其结构,并说明怎样检验其解读;全部计算由书中程序生成;本书不是心理治疗、婚姻、投资或医疗建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.0797, 0.0867, 43200
| cases | 43200 |
| birth ji in Self (strikes Travel ) | 3744 0.0867 |
| birth ji in Siblings (strikes Friends ) | 3744 0.0867 |
| birth ji in Spouse (strikes Career ) | 3672 0.0850 |
| birth ji in Children (strikes Property) | 3600 0.0833 |
| birth ji in Wealth (strikes Mind ) | 3504 0.0811 |
| birth ji in Health (strikes Parents ) | 3444 0.0797 |
| birth ji in Travel (strikes Self ) | 3492 0.0808 |
| birth ji in Friends (strikes Siblings) | 3528 0.0817 |
| birth ji in Career (strikes Spouse ) | 3552 0.0822 |
| birth ji in Property (strikes Children) | 3588 0.0831 |
| birth ji in Mind (strikes Wealth ) | 3636 0.0842 |
| birth ji in Parents (strikes Health ) | 3696 0.0856 |
| uniform would be 0.0833; max/min ratio 1.0871 |
查看完整验算程序
# Chapter 1. p02: Where the birth-year ji lands, by exact enumeration.
# 10 year stems x 12 lunar months x 12 hour branches x lunar days 1-30 =
# 43200 equally weighted cases. The year branch only moves stars that never
# carry a ji (Huo, Ling, Ma, Luan, Xi), so the 60 year pillars give exactly
# the same shares. Self palace branch = 2 + (month - 1) - hour; bureau from
# the nayin of the Self palace's stem-branch; Zi Wei from day and bureau;
# Wen Chang and Wen Qu from the hour. The year stem's ji star sits in one
# palace (knife 1); the palace opposite it is the one it strikes.
PAL = ("Self", "Siblings", "Spouse", "Children", "Wealth", "Health", "Travel",
"Friends", "Career", "Property", "Mind", "Parents")
NAY = "310231423042104310231423042104" # nayin phase W F E M A = 0..4
def ji_pos(d, bu, h):
"""Branch of the ji star of each stem Jia..Gui."""
k = 0
while (d + k) % bu:
k += 1
q = (d + k) // bu
zw = (2 + (q - 1) + (k if k % 2 == 0 else -k)) % 12
tf = (4 - zw) % 12
return ((zw - 3) % 12, (tf + 1) % 12, (zw - 8) % 12, (tf + 3) % 12,
(zw - 1) % 12, (4 + h) % 12, (zw - 5) % 12, (10 - h) % 12,
(zw - 4) % 12, (tf + 2) % 12)
def charts():
for ys in range(10):
y0 = (ys % 5 * 2 + 2) % 10
ps = [(y0 + (b - 2) % 12) % 10 for b in range(12)]
for m in range(1, 13):
for h in range(12):
mg = (2 + m - 1 - h) % 12
e = int(NAY[((6 * ps[mg] - 5 * mg) % 60) // 2])
bu = (3, 6, 5, 4, 2)[e]
for d in range(1, 31):
yield ys, mg, ps, ji_pos(d, bu, h)
if __name__ == "__main__":
n, hit = 0, [0] * 12
for ys, mg, ps, jp in charts():
n += 1
hit[(mg - jp[ys]) % 12] += 1
print(" cases: {}".format(n))
for i in range(12):
print(" birth ji in {:<9} (strikes {:<8}) {:5d} {:.4f}".format(
PAL[i], PAL[(i + 6) % 12], hit[i], hit[i] / n))
print(" uniform would be {:.4f}; max/min ratio {:.4f}".format(
1 / 12, max(hit) / min(hit)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《钦天三刀与十二宫飞忌心理转折法典》第 1 章「方法:钦天四化、三把刀与一百四十四格」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-117 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026117,
author = {Fan, Yafu},
title = {The Qintian Three Knives and the Flying-Ji Codex of Psychological Turning Points},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}