关于「壬癸:水日主的二十四个月令」,《子平调候与十神博弈》给出的定量结论是什么?

结论:本章写完水日主二十四格。壬是江河,缺的多是堤岸与出口:十二个第一用神里戊土占四、甲木占三。癸是雨露,缺的多是来源:十二个第一用神里金占八。二十四格合计 62 个调候用神,印在 18 格出现,是水最普遍的需要。日历枚举表明,钥匙在盘里的概率差别很大:壬水第一用神「透或藏」在 0.5312 到 1.0000 之间,癸水在 0.4792 到 1.0000 之间;所有钥匙都不在的比例,壬生戌月为 0.1782,癸生申月高达 0.3704。样盘 A 则落在壬生戌月里「甲只藏、丙透出」的那 0.1315 之中。这些读法是诠释,本章给出了可以预先登记的两项检验及其样本量。

数据口径:全部计算由书中程序生成;本书不是投资、职业、心理、法律或婚姻建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.1782, 0.3704, 0.4792, 0.5312, 1.0000

day stem Ren: monthchartsfirst-shownfirst-anywherenone-anywhere
Yin43200.41670.67590.0000
Mao43200.17500.89310.0222
Chen43200.35830.63540.0926
Si43200.17500.53120.0000
Wu43200.17500.70370.0167
Wei43200.41670.70370.1389
Shen43200.35831.00000.0000
You43200.17500.53120.1481
Xu43200.26670.58330.1782
Hai43200.17500.89310.0671
Zi43200.35830.91570.0472
Chou43200.17500.53120.0625
first key anywhere: lowest Si 0.5312, highest Shen 1.0000
day stem Gui: monthchartsfirst-shownfirst-anywherenone-anywhere
Yin43200.17500.65830.0000
Mao43200.17500.47920.1167
Chen43200.35830.63540.0185
Si43200.35830.73330.2667
Wu43200.35830.59490.0111
Wei43200.17500.47920.0111
Shen43200.17500.62960.3704
You43200.35831.00000.0000
Xu43200.17501.00000.0000
Hai43200.17500.47920.0083
Zi43200.35830.63540.0875
Chou43200.17500.53120.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}
}

本书其他章节结论