关于「实证闭环:随机性声明、满意度对照实验与预注册方案」,《筊杯、三圣杯与签诗》给出的定量结论是什么?
结论:第八章给出随机性声明、满意度与普适性对照实验、预注册方案与小工具「筊杯概率模拟器」。书中以标注框区分已发表的证据、可运行的 Python 计算(19 段程序)、原典与作者的假说。
数据口径:书中参数为示意;全部计算由书中程序生成。 第一章以准静态规则求单片筊杯平面朝上的机会,半圆截面的示意模型给出 0.6278,一对的圣杯随之降到 0.4673,并证明「三种结果各占三分之一」对相同的一对不可能成立。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| shape h/w p holy q^3 1 in wait sim | ||||||
| segment | 0.300 0.5769 | 0.4882 | 0.1163 | 8.60 | 14.84 | 0.1145 |
| segment | 0.500 0.6278 | 0.4674 | 0.1021 | 9.80 | 16.51 | 0.1043 |
| cap | 0.327 0.6128 | 0.4745 | 0.1069 | 9.36 | 15.91 | 0.1089 |
| cap | 0.500 0.6756 | 0.4384 | 0.0842 | 11.87 | 19.36 | 0.0820 |
| shell | 0.500 0.7236 | 0.4000 | 0.0640 | 15.62 | 24.37 | 0.0651 |
| pair 0.70/0.30 | holy 0.5800 | q^3 0.1951 | sim 0.1935 | |||
查看完整验算程序
# Chapter 8. p82: the core of the Moon Block Probability Simulator.
# Model: the same functions as distill/tool.py. A shape (2-D segment
# of p11, solid cap of p12, thin shell of p72) and a height-to-width
# ratio give each block's chance p of landing flat face up under the
# quasi-static rule; two blocks (p1, p2) give holy, laughing and yin
# shares; three holy in a row is holy^3; the mean wait for a run of
# three is (1 - q^3) / ((1 - q) q^3). A seeded simulation of 20000
# three-cast sessions checks the exact numbers. Shapes illustrative.
import math
import random
SESSIONS = 20000
def cap_h(ratio):
# unit-sphere cap height h whose height-to-width h / (2a) = ratio
lo, hi = 1e-9, 1.0
for _ in range(80):
mid = (lo + hi) / 2.0
if mid / (2.0 * math.sqrt(mid * (2.0 - mid))) < ratio:
lo = mid
else:
hi = mid
return (lo + hi) / 2.0
def p_flat_up(shape, ratio):
if shape == "segment":
al = 2.0 * math.atan(2.0 * ratio)
yc = 4.0 * math.sin(al) ** 3 / (3.0 * (2.0 * al
- math.sin(2.0 * al)))
return 1.0 - math.atan(math.sin(al) / (yc - math.cos(al))) / math.pi
h = cap_h(ratio)
a = math.sqrt(h * (2.0 - h))
zg = h / 2.0 if shape == "shell" else h * (4.0 - h) / (4.0 * (3.0 - h))
return 1.0 - (1.0 - zg / math.hypot(zg, a)) / 2.0
def shares(p1, p2):
holy = p1 * (1.0 - p2) + p2 * (1.0 - p1)
return holy, p1 * p2, (1.0 - p1) * (1.0 - p2)
def wait_run(q, k=3):
return (1.0 - q ** k) / ((1.0 - q) * q ** k)
def simulate(p1, p2, rng, sessions=SESSIONS):
three = 0
for _ in range(sessions):
ok = True
for _ in range(3):
a = rng.random() < p1
b = rng.random() < p2
if a == b:
ok = False
three += ok
return three / sessions
if __name__ == "__main__":
rng = random.Random(20261112)
print(" shape h/w p holy q^3 1 in wait sim")
for shape, ratio in (("segment", 0.3), ("segment", 0.5),
("cap", 0.327), ("cap", 0.5), ("shell", 0.5)):
p = p_flat_up(shape, ratio)
q, _, _ = shares(p, p)
print(" {:<7s} {:.3f} {:.4f} {:.4f} {:.4f} {:5.2f} {:5.2f}"
" {:.4f}".format(shape, ratio, p, q, q ** 3, 1.0 / q ** 3,
wait_run(q), simulate(p, p, rng)))
q, _, _ = shares(0.7, 0.3)
print(" pair 0.70/0.30 holy {:.4f} q^3 {:.4f} sim {:.4f}"
.format(q, q ** 3, simulate(0.7, 0.3, rng)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《掷筊杯刚体落地概率、连续三圣杯似然与签诗文本巴纳姆效应母典》第 8 章「实证闭环:随机性声明、满意度对照实验与预注册方案」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-225 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026225,
author = {Fan, Yafu},
title = {Rigid-Body Landing Probabilities of Moon Blocks, the Likelihood of Three Consecutive Holy Casts and Barnum Effects in Temple Oracle Verses},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}