5D Library › 梦境意象二分图、确定性哈希牌卡与潜意识先验激活 · English

第七章 《周礼》六梦、王符「十梦」、敦煌梦书与荣格的共时性

为什么在这里读这些原典

本书的三个问题都有古老的对应:怎样给梦分类,怎样解读梦,怎样看待惊人的巧合。本章读四种原典,看其中哪些想法经得起前几章的算术。核对后要说明两点:《周礼》的六梦分类的是梦发生时做梦者的状态,而不是梦的讯息;王符列出了「直」与「反」两种梦,但他本人要求占梦者「内考情意,外考王相」,正是这一点使梦成为关于做梦者的证据,而不是关于未来的证据。

《周礼》的占梦之官

原典

《周礼·春官·占梦》

占梦:掌其岁时,观天地之会,辨阴阳之气,以日月星辰占六梦之吉凶:一曰正梦,二曰噩梦,三曰思梦,四曰寤梦,五曰喜梦,六曰惧梦。

(郑玄 and 贾公彦 1980)

六梦的名称描述的是做梦者的状态:平静、惊愕、思虑、半醒、欢喜、恐惧。这样读,这份清单更接近梦境情绪的编码体系 (Hall and Van de Castle 1966),而不像征兆词典;真正的占验则依附于岁时与天象,而不是梦中的意象。

王符的「十梦」

原典

王符《潜夫论·梦列》

凡梦:有直,有象,有精,有想,有人,有感,有时,有反,有病,有性。

孔子生于乱世,日思周公之德,夜即梦之,此谓意精之梦也。

夫占梦,必谨其变故,审其征候,内考情意,外考王相,即吉凶之符,善恶之效,庶可见也。

(王符 et al. 1985)

十梦之中既有「直」也有「反」,正是第二章所说事后挑选便永不落空的那一对。但王符的最后一句话要求占梦者先考察做梦者的情意与处境。下面的计算把这两种读法分开。

推导

# Chapter 7. p13: Wang Fu's ten kinds of dream, read before or after.
# (1) 10,000 dreams each carry good or bad news; outcomes are good or bad
# at random, independent of the dream. A reader who must label a dream
# "direct" or "reverse" BEFORE the outcome is right half the time; one
# who may choose the label AFTER it is always right. (2) A common cause:
# stress (probability 0.30) makes a fearful dream likelier (0.50 vs
# 0.15) and a bad outcome likelier (0.60 vs 0.35). Fearful dreams then
# "predict" bad outcomes, and the link vanishes once stress is known.
import random

if __name__ == "__main__":
    rng = random.Random(89)
    n, pre, post = 10000, 0, 0
    for _ in range(n):
        dream_good = rng.random() < 0.5
        outcome_good = rng.random() < 0.5
        label = "reverse" if rng.random() < 0.3 else "direct"
        pred = dream_good if label == "direct" else not dream_good
        pre += pred == outcome_good
        post += 1      # either "direct" or "reverse" fits afterwards
    print("   labelled before: {:.3f} right; after: {:.3f}".format(
        pre / n, post / n))
    cells = {}
    for _ in range(100000):
        s = rng.random() < 0.30
        fear = rng.random() < (0.50 if s else 0.15)
        bad = rng.random() < (0.60 if s else 0.35)
        c = cells.setdefault((s, fear), [0, 0])
        c[0] += bad
        c[1] += 1
    def rate(keys):
        return sum(cells[k][0] for k in keys) / sum(cells[k][1]
                                                    for k in keys)
    print("   P(bad | fearful dream) {:.3f}, P(bad | other) {:.3f}".format(
        rate([(True, True), (False, True)]),
        rate([(True, False), (False, False)])))
    for s in (True, False):
        print("   stress={}: fearful {:.3f}, other {:.3f}".format(
            "yes" if s else "no ", rate([(s, True)]), rate([(s, False)])))
#    labelled before: 0.501 right; after: 1.000
#    P(bad | fearful dream) 0.494, P(bad | other) 0.406
#    stress=yes: fearful 0.595, other 0.612
#    stress=no : fearful 0.354, other 0.354

在结果出来之前把梦标为「直」或「反」的人,猜对的比例是 0.501,即偶然水平;结果出来之后再选标签的人,猜对的比例是 1.000,却什么也没有学到。王符的「内考情意」指向一个真实的机制:如果压力同时使恐惧的梦与不好的结果更可能出现,恐惧的梦就会「预示」不好的结果(0.494 对 0.406),而一旦知道了压力,这种联系就消失(有压力时 0.595 对 0.612,无压力时 0.354 对 0.354)。梦可以携带关于做梦者状态的信息,正如他所说孔子的「意精之梦」;它不必携带关于世界的信息。

敦煌梦书

二十世纪初在敦煌莫高窟发现的写本中,有一部《新集周公解梦书》,抄写时代大约在唐代。它有约 150 字的序文和按主题编排的 23 章,如天文章、地理章、山林草木章、水火盗贼章、十二支日得梦章;每条的格式是「梦见某物者,主某事」;它是现存最古老的完整梦书 (湯浅邦弘 1995)。用第一章的语言说,它是一份印出来的强边清单。按做梦日子编排的章节也说明,同一个意象在不同日子可以有不同读法,给解读又多加了一个自由度。

荣格的共时性

荣格在 1952 年关于共时性的论文中,描述了他认为是非因果的「有意义的巧合」,其中最著名的一例是:一位病人正讲述梦见金色圣甲虫的梦,一只金龟子恰好敲打诊室的窗户 (Jung 1952)。利特尔伍德式的计数(第五章)要问的是:这样的职业生涯提供了多少次机会。

推导

# Chapter 7. p14: Jung's scarab as a counting problem. An analyst sees
# 1,000 sessions a year for 25 years; in each, a patient reports a dream
# with 4 animal or object motifs. The chance that one of those things
# turns up in the room or at the window during that hour is taken as
# 1 in 20,000, 1 in 100,000 or 1 in 1,000,000 per motif (illustrative).
# Expected count and P(at least one) for one career, and the expected
# number of such stories among 1,000 analysts.
import math

if __name__ == "__main__":
    chances = 25 * 1000 * 4
    print("   motif-hours in one career: {:,}".format(chances))
    for odds in (20000, 100000, 1000000):
        lam = chances / odds
        print("   1 in {:>9,}: expected {:.2f}, P(at least one) {:.3f}"
              .format(odds, lam, 1 - math.exp(-lam)))
        print("                   stories among 1,000 analysts: {:,.0f}"
              .format(1000 * lam))
#    motif-hours in one career: 100,000
#    1 in    20,000: expected 5.00, P(at least one) 0.993
#                    stories among 1,000 analysts: 5,000
#    1 in   100,000: expected 1.00, P(at least one) 0.632
#                    stories among 1,000 analysts: 1,000
#    1 in 1,000,000: expected 0.10, P(at least one) 0.095
#                    stories among 1,000 analysts: 100

一位分析师每年 1,000 次会谈,持续 25 年,大约听到 100,000 个「意象-小时」。如果某个意象在那一小时里出现在室内或窗外的概率是 20,000 分之一,一个职业生涯里预计有 5.00 次这样的事件,至少发生一次的概率是 0.993;即使是 1,000,000 分之一,概率仍有 0.095,而在 1,000 位分析师中会出现约 100 个这样的故事。单独一个惊人案例,无法把非因果原则与大量的机会区分开来。

假说 · 尚未验证

作者的诠释(尚未验证): 由不知情的评分者按《周礼》六梦对梦境报告编码,所得类别对做梦者第二天自评的压力的预测优于偶然,但在已知压力的条件下,对第二天的结果没有预测力。什么会证明它错: 在考虑压力之后,六梦编码仍能预测第二天的结果,或者它根本无法预测压力。

小结

六梦分类的是做梦者的状态;王符的十梦包含无法证伪的「直」「反」一对,但他「内考情意,外考王相」的方法,才是使梦变得有信息量的东西,而信息是关于做梦者的。敦煌梦书是一份按主题与日子编排的强边清单。荣格的圣甲虫,对一个漫长的职业生涯而言是意料之中的事件。

参考文献

Hall, Calvin S., and Robert L. Van de Castle. 1966. The Content Analysis of Dreams. Appleton-Century-Crofts.
Jung, Carl Gustav. 1952. “Synchronizität Als Ein Prinzip Akausaler Zusammenhänge.” In Naturerklärung Und Psyche, edited by Carl Gustav Jung and Wolfgang Pauli. Rascher.
湯浅邦弘. 1995. “夢の書の行方:敦煌本『新集周公解夢書』の研究.” 待兼山論叢 哲学篇 29: 1 to 15.
王符, 汪继培, and 彭铎. 1985. 潜夫论笺校正. 中华书局.
郑玄, and 贾公彦. 1980. 周礼注疏. 十三经注疏(阮元校刻本). 中华书局.

Fan, Y. (2026). Dream Motif Bipartite Graphs, Deterministic Oracle Decks and Subconscious Prior Activation: REM Semantic Spreading, SHA-256 Fisher-Yates Permutations and Retroactive Coincidence Rates [梦境意象二分图、确定性哈希牌卡与潜意识先验激活] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090233 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).