关于「十干克应(中):辛、壬、癸加临九干」,《转盘奇门百格与六爻商业直断》给出的定量结论是什么?

结论:本章写完了天盘辛、壬、癸加临地盘九干的二十七格。辛为天庭,读错处落在哪里;壬为天牢,读流动被什么接住或缠住;癸为天网,读遮蔽落在哪里。逐时辰枚举 2000 年至 2029 年的 131,496 个时辰盘表明,任何一个异干格都大约每八到九个时辰出现一次(0.1074 到 0.1249),同干格只出现在不转盘的时辰(0.2222);相隔三步的六格因寄宫而略多。落宫上,照通常的画法二十七格都聚在坤二(0.224 到 0.316),但只算主干时坤二降到 0.074 到 0.155,八宫几乎均匀:所谓「专落某宫」,主要是寄宫约定造出来的。这些断语是诠释;本章给出了一项以合同涉诉为结果、可以预先登记的检验,以及它需要的样本量。

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

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.1074, 0.1249, 0.2222, 131496, 2000

double-hour charts 2000-2029: 131,496
heaven over earth: charts, share, lowest and highest year
xinover wu163210.12410.1226 0.1257
xinover ji144920.11020.1088 0.1114
xinover geng148720.11310.1123 0.1143
xinover xin292220.22220.2215 0.2227
xinover ren150850.11470.1136 0.1162
xinover gui144800.11010.1087 0.1116
xinover ding160750.12220.1211 0.1235
xinover bing145960.11100.1098 0.1121
xinover yi148450.11290.1119 0.1144
renover wu149750.11390.1132 0.1148
renover ji164250.12490.1228 0.1268
renover geng148470.11290.1120 0.1137
renover xin147340.11200.1105 0.1132
renover ren292220.22220.2215 0.2227
renover gui151040.11490.1136 0.1158
renover ding144830.11010.1091 0.1110
renover bing159420.12120.1185 0.1231
renover yi142560.10840.1073 0.1096
guiover wu143780.10930.1084 0.1107
guiover ji150860.11470.1135 0.1159
guiover geng161960.12320.1218 0.1244
guiover xin147300.11200.1110 0.1129
guiover ren141280.10740.1062 0.1087
guiover gui292220.22220.2215 0.2227
guiover ding151010.11480.1130 0.1161
guiover bing149820.11390.1128 0.1152
查看完整验算程序
# Chapter 4. p20: How often each of the 27 overlays with xin, ren or gui
# on the heaven plate occurs, over every double-hour chart of 2000-2029,
# and how much that share moves from one calendar year to the next.
# Method. Solar terms from the low-accuracy solar theory (Meeus ch. 25,
# Delta T 69 s, UTC+8). Split-supplement (chai bu) bureau: the last term
# before the moment; the yuan from the latest jia or ji day (zi wu mao
# you -> upper, yin shen si hai -> middle, others -> lower). Earth plate:
# wu ji geng xin ren gui ding bing yi from palace b forward (yang) or
# backward (yin). Rotating heaven plate: the duty star carries the decade
# leader to the palace of the hour stem (jia hours: no turn); the eight
# outer palaces turn as one ring, each carrying its earth symbol; the
# centre symbol rides with Kun 2. A chart "contains" heaven X over earth
# Y if X sits over Y in any outer palace. Charts: midpoints of all
# 131,496 double-hours from 2000-01-01 to 2029-12-31 (10,958 days).
import math

SYM = ("wu", "ji", "geng", "xin", "ren", "gui", "ding", "bing", "yi")
RING = (1, 8, 3, 4, 9, 2, 7, 6)
DAYS = 10958

def nine(x):
    return (x - 1) % 9 + 1

def sun_lon(jd):
    t = (jd - 2451545.0) / 36525
    l0 = 280.46646 + 36000.76983 * t + 0.0003032 * t * t
    m = math.radians(357.52911 + 35999.05029 * t - 0.0001537 * t * t)
    c = ((1.914602 - 0.004817 * t) * math.sin(m) + 0.019993 * math.sin(2 * m)
         + 0.000289 * math.sin(3 * m))
    om = math.radians(125.04 - 1934.136 * t)
    return (l0 + c - 0.00569 - 0.00478 * math.sin(om)) % 360

def term_start(i, guess):
    jd = guess
    for _ in range(40):
        jd += ((270 + 15 * i - sun_lon(jd) + 180) % 360 - 180) / 0.9856
    return jd - 69 / 86400 + 8 / 24                  # local (UTC+8)

def charts():
    """Yield (day offset, [(heaven, earth, palace), ...]) per double-hour."""
    jd_a = 2451544.5                                 # 2000-01-01 00:00 local
    starts = [term_start(i, jd_a - 30 + 15.22 * i) for i in range(30 * 24 + 4)]
    k = 0
    for slot in range(DAYS * 12):
        t = jd_a + slot / 12
        while starts[k + 1] <= t:
            k += 1
        term, day = k % 24, int(t + 0.5)
        fu = next(day - s for s in range(10) if (day - s + 49) % 10 in (0, 5))
        yuan = {0: 0, 6: 0, 3: 0, 9: 0, 2: 1, 8: 1, 5: 1, 11: 1}.get(
            (fu + 49) % 12, 2)
        g, j = divmod(term, 3)
        p, yang = (1, 8, 3, 4, 9, 2, 7, 6)[g], term < 12
        b = nine(nine(p + j) + 6 * yuan) if yang else nine(nine(p - j) + 3 * yuan)
        pal = {s: nine(b + i) if yang else nine(b - i) for i, s in enumerate(SYM)}
        at = {v: s for s, v in pal.items()}
        hs = (2 * ((day + 49) % 10) + slot % 12) % 10
        hk = next(x for x in range(60) if x % 10 == hs and x % 12 == slot % 12)
        lead = SYM[hk // 10]
        dst = lead if hs == 0 else SYM[9 - hs if hs < 4 else hs - 4]
        o = lambda q: 2 if q == 5 else q
        r = (RING.index(o(pal[dst])) - RING.index(o(pal[lead]))) % 8
        out = []
        for i, q in enumerate(RING):
            src = RING[(i - r) % 8]
            heav = [at[src]] + ([at[5]] if src == 2 else [])
            erth = [at[q]] + ([at[5]] if q == 2 else [])
            out += [(h, e, q) for h in heav for e in erth]
        yield slot // 12, out

def year_of(d):
    y = 2000
    while d >= (366 if y % 4 == 0 else 365):
        d -= 366 if y % 4 == 0 else 365
        y += 1
    return y

if __name__ == "__main__":
    mine = [(h, e) for h in ("xin", "ren", "gui") for e in SYM]
    seen = dict.fromkeys(mine, 0)
    per = {y: [0, dict.fromkeys(mine, 0)] for y in range(2000, 2030)}
    n = 0
    for d, c in charts():
        n += 1
        y = per[year_of(d)]
        y[0] += 1
        for pair in {(h, e) for h, e, q in c} & seen.keys():
            seen[pair] += 1
            y[1][pair] += 1
    print("   double-hour charts 2000-2029: {:,d}".format(n))
    print("   heaven over earth: charts, share, lowest and highest year")
    for h, e in mine:
        ys = [v[1][h, e] / v[0] for v in per.values()]
        print("     {:4s} over {:4s} {:6d}  {:.4f}   {:.4f} {:.4f}".format(
            h, e, seen[h, e], seen[h, e] / n, min(ys), max(ys)))
    cross = sorted((v / n, h + "/" + e) for (h, e), v in seen.items() if h != e)
    print("   24 cross overlays: rarest {} {:.4f}, commonest {} {:.4f}".format(
        cross[0][1], cross[0][0], cross[-1][1], cross[-1][0]))
    print("   rarest cross overlay: about one chart in {:.1f}".format(
        1 / cross[0][0]))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《转盘奇门拆补法与六爻纳甲商业断事母典》第 4 章「十干克应(中):辛、壬、癸加临九干」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-121 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026121,
  author    = {Fan, Yafu},
  title     = {The Rotating Qimen Chaibu and Liuyao Najia Codex of Business Verdicts},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论