关于「五槽拆解:歧义计数、裁决记录与祈使陈述之分」,《愿望形式化编译》给出的定量结论是什么?
结论:第二章把愿望拆成五槽,六句虚构愿望共 99 种读法,七个含混词全部裁决记 10.34 比特损耗,三人小组一次暴露全部歧义的概率只有 0.121。
数据口径:书中金额为无币种示意单位,参数为示意,全部计算由书中程序生成;本书是非个人化经营建议,不作个人财务或投资建议,心理学文献只写关联与适用条件,区间下界不是任何收入承诺。 书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.121, 10.34
| term | k | bits | hid n=1 | n=2 | n=3 | n=5 |
| steady | 3 | 1.58 | 1.000 | 0.380 | 0.160 | 0.034 |
| batch | 3 | 1.58 | 1.000 | 0.460 | 0.244 | 0.080 |
| glance | 2 | 1.00 | 1.000 | 0.580 | 0.370 | 0.170 |
| willing | 3 | 1.58 | 1.000 | 0.420 | 0.190 | 0.042 |
| net margin | 2 | 1.00 | 1.000 | 0.680 | 0.520 | 0.328 |
| fast | 3 | 1.58 | 1.000 | 0.360 | 0.136 | 0.021 |
| annoy | 4 | 2.00 | 1.000 | 0.300 | 0.100 | 0.013 |
| bits ruled away if every term is fixed: 10.34 | ||||||
| chance a 3-reader panel exposes all seven terms: 0.121 |
查看完整验算程序
# Chapter 2. p22: auditable ambiguity loss and how many readers find it
# Each vague term has readings with popularity shares (illustrative).
# Ruling a term to one reading discards log2(k) bits of the wish when
# the k readings are counted equally; the ledger records each ruling.
# A panel of n independent readers exposes the ambiguity unless all n
# pick the same reading: P(hidden) = sum of p_i ** n.
import math
TERMS = [
("steady", (0.5, 0.3, 0.2)),
("batch", (0.6, 0.3, 0.1)),
("glance", (0.7, 0.3)),
("willing", (0.5, 0.4, 0.1)),
("net margin", (0.8, 0.2)),
("fast", (0.4, 0.4, 0.2)),
("annoy", (0.4, 0.3, 0.2, 0.1)),
]
print("{:<11}{:>4}{:>7}{:>9}{:>9}{:>9}{:>9}".format(
"term", "k", "bits", "hid n=1", "n=2", "n=3", "n=5"))
bits_all = []
for name, p in TERMS:
k = len(p)
bits = math.log2(k)
bits_all.append(bits)
hid = [math.fsum(x ** n for x in p) for n in (1, 2, 3, 5)]
print("{:<11}{:>4}{:>7.2f}{:>9.3f}{:>9.3f}{:>9.3f}{:>9.3f}".format(
name, k, bits, *hid))
total = math.fsum(bits_all)
print("bits ruled away if every term is fixed: {:.2f}".format(total))
both = 1.0
for _, p in TERMS:
both *= 1.0 - math.fsum(x ** 3 for x in p)
print("chance a 3-reader panel exposes all seven terms: {:.3f}".format(
both))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《创始人模糊愿望形式化编译、约束反演与可执行商业系统生成母典》第 2 章「五槽拆解:歧义计数、裁决记录与祈使陈述之分」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-414 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026414,
author = {Fan, Yafu},
title = {Formalising Fuzzy Founder Wishes: Constraint Inversion, Falsifiable Spec Synthesis and Executable Revenue System Compilation},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}