关于「壬癸:水日主的二十四个月令」,《子平调候与十神博弈》给出的定量结论是什么?
结论:本章写完水日主二十四格。壬是江河,缺的多是堤岸与出口:十二个第一用神里戊土占四、甲木占三。癸是雨露,缺的多是来源:十二个第一用神里金占八。二十四格合计 62 个调候用神,印在 18 格出现,是水最普遍的需要。日历枚举表明,钥匙在盘里的概率差别很大:壬水第一用神「透或藏」在 0.5312 到 1.0000 之间,癸水在 0.4792 到 1.0000 之间;所有钥匙都不在的比例,壬生戌月为 0.1782,癸生申月高达 0.3704。样盘 A 则落在壬生戌月里「甲只藏、丙透出」的那 0.1315 之中。这些读法是诠释,本章给出了可以预先登记的两项检验及其样本量。
数据口径:全部计算由书中程序生成;本书不是投资、职业、心理、法律或婚姻建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.1782, 0.3704, 0.4792, 0.5312, 1.0000
| day stem Ren: month | charts | first-shown | first-anywhere | none-anywhere |
|---|---|---|---|---|
| Yin | 4320 | 0.4167 | 0.6759 | 0.0000 |
| Mao | 4320 | 0.1750 | 0.8931 | 0.0222 |
| Chen | 4320 | 0.3583 | 0.6354 | 0.0926 |
| Si | 4320 | 0.1750 | 0.5312 | 0.0000 |
| Wu | 4320 | 0.1750 | 0.7037 | 0.0167 |
| Wei | 4320 | 0.4167 | 0.7037 | 0.1389 |
| Shen | 4320 | 0.3583 | 1.0000 | 0.0000 |
| You | 4320 | 0.1750 | 0.5312 | 0.1481 |
| Xu | 4320 | 0.2667 | 0.5833 | 0.1782 |
| Hai | 4320 | 0.1750 | 0.8931 | 0.0671 |
| Zi | 4320 | 0.3583 | 0.9157 | 0.0472 |
| Chou | 4320 | 0.1750 | 0.5312 | 0.0625 |
| first key anywhere: lowest Si 0.5312, highest Shen 1.0000 | ||||
| day stem Gui: month | charts | first-shown | first-anywhere | none-anywhere |
| Yin | 4320 | 0.1750 | 0.6583 | 0.0000 |
| Mao | 4320 | 0.1750 | 0.4792 | 0.1167 |
| Chen | 4320 | 0.3583 | 0.6354 | 0.0185 |
| Si | 4320 | 0.3583 | 0.7333 | 0.2667 |
| Wu | 4320 | 0.3583 | 0.5949 | 0.0111 |
| Wei | 4320 | 0.1750 | 0.4792 | 0.0111 |
| Shen | 4320 | 0.1750 | 0.6296 | 0.3704 |
| You | 4320 | 0.3583 | 1.0000 | 0.0000 |
| Xu | 4320 | 0.1750 | 1.0000 | 0.0000 |
| Hai | 4320 | 0.1750 | 0.4792 | 0.0083 |
| Zi | 4320 | 0.3583 | 0.6354 | 0.0875 |
| Chou | 4320 | 0.1750 | 0.5312 | 0.1167 |
| first key anywhere: lowest Mao 0.4792, highest You 1.0000 |
查看完整验算程序
# Chapter 6. p31: How often the climate keys are actually present in a
# Ren or Gui chart, by month branch: exact enumeration of the calendar
# combinations. For a fixed day stem d and month branch m we run over the
# 60 year pillars, the 6 day pillars whose stem is d and the 12 hours:
# 4320 equally weighted charts per cell. The month stem follows the
# five-tiger rule from the year stem, the hour stem the five-rat rule from
# the day stem. A key is "shown" if it stands as the year, month or hour
# stem, "rooted" if it is a hidden stem of any of the four branches.
# Columns: first key shown, first key shown or rooted, no key anywhere.
MONTHS = ["Yin", "Mao", "Chen", "Si", "Wu", "Wei", "Shen", "You", "Xu", "Hai", "Zi", "Chou"]
MIDX = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 1] # branch index, Zi = 0
HIDDEN = [[9], [5, 9, 7], [0, 2, 4], [1], [4, 1, 9], [2, 6, 4],
[3, 5], [5, 3, 1], [6, 8, 4], [7], [4, 7, 3], [8, 0]]
KEYS = {8: [[6, 2, 4], [4, 7, 6], [0, 6], [8, 7, 6, 9], [9, 6, 7], [7, 0],
[4, 3], [0, 6], [0, 2], [4, 2, 6], [4, 2], [2, 3, 0]],
9: [[7, 2], [6, 7], [2, 7, 0], [7], [6, 7, 8, 9], [6, 7, 8, 9],
[3], [7, 2], [7, 0, 8, 9], [6, 7, 4, 3], [2, 7], [2, 3]]}
def charts(d, mb):
for ys in range(10):
for yb in range(ys % 2, 12, 2):
ms = ((ys % 5) * 2 + 2 + (mb - 2) % 12) % 10
for db in range(d % 2, 12, 2):
for hb in range(12):
hs = ((d % 5) * 2 + hb) % 10
shown = (ys, ms, hs)
rooted = set(s for b in (yb, mb, db, hb) for s in HIDDEN[b])
yield shown, rooted
def cell(d, i):
keys, n, a, b, c = KEYS[d][i], 0, 0, 0, 0
for shown, rooted in charts(d, MIDX[i]):
n += 1
a += keys[0] in shown
b += keys[0] in shown or keys[0] in rooted
c += not any(k in shown or k in rooted for k in keys)
return n, a / n, b / n, c / n
if __name__ == "__main__":
for d, name in ((8, "Ren"), (9, "Gui")):
print("day stem {}: month charts first-shown first-anywhere none-anywhere".format(name))
rows = []
for i, m in enumerate(MONTHS):
n, a, b, c = cell(d, i)
rows.append((a, b, c, m))
print(" {:5s} {:6d} {:.4f} {:.4f} {:.4f}".format(m, n, a, b, c))
lo = min(rows, key=lambda r: r[1])
hi = max(rows, key=lambda r: r[1])
print(" first key anywhere: lowest {} {:.4f}, highest {} {:.4f}".format(lo[3], lo[1], hi[3], hi[1]))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《子平调候张力与十神人性博弈母典》第 6 章「壬癸:水日主的二十四个月令」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-119 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026119,
author = {Fan, Yafu},
title = {The Ziping Climate-Tension and Ten-Gods Codex of Human Games},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}