关于「暗动与日破:被日辰冲起的静爻」,《六爻多爻同动、暗动伏神与应期》给出的定量结论是什么?

结论:暗动与日破都发生在静爻上:日辰冲之,旺相为暗动,不旺相为日破。在 2949120 个等权情形中,被日冲的静爻里旺相的比例是 0.4167,所以日破比暗动常见。至少一爻暗动的情形占 0.0998,至少一爻日破的占 0.1391;六爻皆静的卦更高,分别为 0.1910 与 0.2648。十二格中兄弟日破最多(0.0323),子孙暗动最少(0.0155)。暗动是看不见的推动,应在逢合或值日;日破是当日之伤,待值日填实或逢合补起。十二格的直断是诠释,本章给出了一项可预先登记的检验。

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

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.0155, 0.0323, 0.0998, 0.1391, 0.1910, 0.2648

all cases: 2949120
rowkindcasessharelinescoin
FuMuAnDong619200.0210652800.0306
FuMuRiPo868800.0295921600.0428
XiongDiAnDong716800.0243755200.0355
XiongDiRiPo953600.03231011200.0470
ZiSunAnDong457600.0155460800.0232
ZiSunRiPo646400.0219652800.0327
QiCaiAnDong582400.0197601600.0291
QiCaiRiPo790400.0268819200.0395
GuanGuiAnDong568000.0193601600.0280
GuanGuiRiPo843200.0286896000.0415
ShiAnDong518400.0176518400.0264
ShiRiPo710400.0241710400.0361
any AnDong: 294400 cases (0.0998); in still hexagrams 8800 of 46080 (0.1910)
any RiPo: 410240 cases (0.1391); in still hexagrams 12200 of 46080 (0.2648)
clashed still lines: 737280; prosperous share 0.4167
查看完整验算程序
# Chapter 3. p15: Exact shares of hidden motion (AnDong) and day break (RiPo).
# Over 64 hexagrams x 64 moving sets x 60 days x 12 month branches. A STILL line
# whose branch b is clashed by the day branch d ((d - b) mod 12 = 6) is AnDong
# when it is prosperous in the month (its element equals the month branch's
# element or is generated by it: (line - month) mod 5 in {0, 1}), and RiPo when
# it is not. Rows: the still line's relation, or "Shi" when it holds the world
# mark. A cast counts once per cell however many lines hit it. Each day branch
# stands for 5 of the 60 days. coin: the share under three-coin casting (each
# line moves with probability 1/4, so a set of k moving lines has weight 3^(6-k)/4^6).
TRI = {"Qian": (1, 1, 1), "Dui": (1, 1, 0), "Li": (1, 0, 1), "Zhen": (1, 0, 0),
       "Xun": (0, 1, 1), "Kan": (0, 1, 0), "Gen": (0, 0, 1), "Kun": (0, 0, 0)}
START = {"Qian": 0, "Zhen": 0, "Kan": 2, "Gen": 4, "Kun": 7, "Xun": 1, "Li": 3, "Dui": 5}
TEL = {"Qian": 3, "Dui": 3, "Li": 1, "Zhen": 0, "Xun": 0, "Kan": 4, "Gen": 2, "Kun": 2}
YANG = {"Qian", "Zhen", "Kan", "Gen"}
BEL = (4, 2, 0, 0, 2, 1, 1, 2, 3, 3, 2, 4)
REL = ("XiongDi", "ZiSun", "QiCai", "GuanGui", "FuMu")
ROWS = ("FuMu", "XiongDi", "ZiSun", "QiCai", "GuanGui", "Shi")
MASKS = ((), (1,), (1, 2), (1, 2, 3), (1, 2, 3, 4), (1, 2, 3, 4, 5), (1, 2, 3, 5), (5,))
SHI = (6, 1, 2, 3, 4, 5, 4, 3)
NAME = {v: k for k, v in TRI.items()}

def flip(h, lines):
    return tuple(b ^ (i + 1 in lines) for i, b in enumerate(h))

PAL = {flip(b + b, m): (t, g) for t, b in TRI.items() for g, m in enumerate(MASKS)}

def najia(h):
    out = []
    for t, base in ((NAME[h[:3]], 0), (NAME[h[3:]], 6)):
        step = 2 if t in YANG else -2
        out += [(START[t] + base + step * k) % 12 for k in range(3)]
    return out

if __name__ == "__main__":
    kinds = ("AnDong", "RiPo")
    casts = {(r, k): 0 for r in ROWS for k in kinds}
    lines = dict(casts)
    coin = {k: 0.0 for k in casts}
    anyk = {k: 0 for k in kinds}
    quiet = {k: 0 for k in kinds}                     # casts with no moving line at all
    for h in PAL:
        pal, gen = PAL[h]
        ob = najia(h)
        tags = [[REL[(BEL[b] - TEL[pal]) % 5]] + (["Shi"] if SHI[gen] == i + 1 else []) for i, b in enumerate(ob)]
        for s in range(64):
            still = [i for i in range(6) if not s >> i & 1]
            for d in range(12):
                hitl = [i for i in still if (d - ob[i]) % 12 == 6]
                if not hitl:
                    continue
                for m in range(12):
                    hit = set()
                    for i in hitl:
                        k = kinds[0] if (BEL[ob[i]] - BEL[m]) % 5 in (0, 1) else kinds[1]
                        for r in tags[i]:
                            lines[(r, k)] += 5
                            hit.add((r, k))
                    for key in hit:
                        casts[key] += 5
                        coin[key] += 5 * 3 ** len(still) / 4 ** 6 / 64 / 720
                    for k in kinds:
                        if any(x[1] == k for x in hit):
                            anyk[k] += 5
                            quiet[k] += 5 * (s == 0)
    n = 64 * 64 * 60 * 12
    print("   all cases: {}".format(n))
    print("   row      kind      cases    share   lines     coin")
    for r in ROWS:
        for k in kinds:
            x = (r, k)
            print("   {:8s} {:6s} {:9d}  {:.4f} {:8d}  {:.4f}".format(r, k, casts[x], casts[x] / n, lines[x], coin[x]))
    for k in kinds:
        print("   any {:6s}: {} cases ({:.4f}); in still hexagrams {} of {} ({:.4f})".format(
            k, anyk[k], anyk[k] / n, quiet[k], 64 * 720, quiet[k] / (64 * 720)))
    ad = sum(lines[(r, kinds[0])] for r in ROWS[:5])
    rp = sum(lines[(r, kinds[1])] for r in ROWS[:5])
    print("   clashed still lines: {}; prosperous share {:.4f}".format(ad + rp, ad / (ad + rp)))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《六爻多爻同动暗动伏神与精准应期母典》第 3 章「暗动与日破:被日辰冲起的静爻」(版本 1.0.0). 5D Library. DOI 待发布

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

BibTeX
@book{fan2026125,
  author    = {Fan, Yafu},
  title     = {The Liuyao Codex of Multiple Moving Lines, Hidden Motion, Hidden Spirits and Timing},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论